How to gradually increase or decrease an FMSound frequency over time?

Rob Rothwell r.j.rothwell at gmail.com
Fri Apr 21 23:49:54 UTC 2006


On 4/21/06, Hans-Martin Mosner <hmm at heeg.de> wrote:

>You should really experiment with PitchEnvelope a little more (and
>VolumeEnvelope for fade-in/fade-out).
>I'm certain that you can achieve your goals with it.
>When adding more slope points to the envelope, always remember to set
>loopStart and loopEnd to the size of the points array, as you don't want
>to have a looping part.

>Cheers,
>Hans-Martin

Thanks for the great example.  With very low frequencies, you can edit the
WAV file and really see how well it works.  I knew Squeak could do this!
Now I'm going to try to understand what it is actually doing.  As you
suggested, I am definitely going to try to understand the Envelope classes.
>From your explanation of loopStart and loopEnd, I guess you just add more
slope points to the envelope, and then you can create a "series" of constant
and/or changing frequencies.

Thanks again for all your help.  Maybe someday I'll understand something
enough to help somebody else out!

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060421/f78a11e5/attachment.htm


More information about the Squeak-dev mailing list