[comp.sys.mac.programmer] click before sound

es1o+@andrew.cmu.edu (Eric Mitchell Snider) (10/06/89)

    How can I get rid of the speaker click before playing a digitized sound.
I'm working in Pascal and I'm using StartSound...  I'm also wondering if
someone can tell me how to chain sounds together.  Basically I'd like to
play one sound right after another.  I tried checking SoundDone but couldn't
get things working.  So..if anyone can send me some code to do any of these
things, I'd really appreciate it.

                        Eric Snider

d88-sli@nada.kth.se (Stefan Lindmark) (10/06/89)

In article <AZ=2fce00WB4IDyl4u@andrew.cmu.edu> es1o+@andrew.cmu.edu (Eric Mitchell Snider) writes:
>
>    How can I get rid of the speaker click before playing a digitized sound.

Edit the sound in a sound editor (my favorite is SoundEdit) and check the
beginning and ending of the sound. It should not start off at full 
amplitude, but rather fade up (in SoundEdit, use Envelope) and down.

If the sound ends in silence, then you should explicitly fade down the
ending to absolute silence. Otherwise, you may get a click when the sound
ends.



-- 
Stefan Lindmark  Email: d88-sli@nada.kth.se  Snail-mail: Don't even bother...
- Don't ask me, I haven't even read the manual of this space shuttle.