Board index » delphi » Play Wave Files Slower

Play Wave Files Slower

I want to play some wave files at a reduced speed, and have attempted to change
the SamplesPerSec (setting it to a different speed so that the sound plays
slower) using the MCI_Setcommand. But this has not worked - I just get an error
result from the mciSendCommand function.

If I change the values in the file itself (by MSDOS Debug before playing) then
it works OK, but I really want to change it on the fly.

Any suggestions would be appreciated.

Alan Lloyd
alangll...@aol.com

 

Re:Play Wave Files Slower


Wait until you are low on resources... Then everything will get slower. :-)

Quote
>I want to play some wave files at a reduced speed, and have attempted to
change
>the SamplesPerSec (setting it to a different speed so that the sound plays
>slower) using the MCI_Setcommand. But this has not worked - I just get an
error
>result from the mciSendCommand function.

>If I change the values in the file itself (by MSDOS Debug before playing)
then
>it works OK, but I really want to change it on the fly.

>Any suggestions would be appreciated.

>Alan Lloyd
>alangll...@aol.com

Re:Play Wave Files Slower


guess you couldn't expect anything better from an aol user ;)

Sent via Deja.com http://www.deja.com/
Before you buy.

Re:Play Wave Files Slower


Quote
In article <8ar70s$td...@nnrp1.deja.com>, me...@my-deja.com writes:
>guess you couldn't expect anything better from an aol user ;)

What's that got to do with it , I'm on AOL and had the problem - "Guru" /
hamster is not on AOL and made the comment.  His comment was slightly amusing
and ironic.

What have you contributed to _anything_, this NG, slightly OT humour, or  a
solution to the problem - you've just wasted bandwidth - if you know what that
is.

Alan Lloyd
alangll...@aol.com

Re:Play Wave Files Slower


yeah, whatever

Sent via Deja.com http://www.deja.com/
Before you buy.

Re:Play Wave Files Slower


on the Delphi Super Page, there is at least 2 audio components:
AUDIO:
TAudio v4.1

See the Windows help file (audio.hlp) for info about how to use the
component
and version changes

Comments: Hakan Bergzen, hakan_berg...@hotmail.com

TAUDIOIO:
Although this component may be freely used and distributed, it is
Copyright 1997 by John Mertus and cannot be sold.   Any question
should be mailed to John_Mer...@Brown.EDU

One of these (the latter, if i understood it correctly), includes the
possibility to play audio data from Delphi event, so that you can read
the file and convert it yourself to a different playning speed on the
fly.

On 13 Mar 2000 22:39:13 GMT, alangll...@aol.com (AlanGLLoyd) wrote:

Quote
>I want to play some wave files at a reduced speed, and have attempted to change
>the SamplesPerSec (setting it to a different speed so that the sound plays
>slower) using the MCI_Setcommand. But this has not worked - I just get an error
>result from the mciSendCommand function.

>If I change the values in the file itself (by MSDOS Debug before playing) then
>it works OK, but I really want to change it on the fly.

>Any suggestions would be appreciated.

>Alan Lloyd
>alangll...@aol.com

Other Threads