Craig,<br><br>Thanks for your reply:<br><br>&gt;&nbsp; &nbsp; &nbsp;&nbsp; Just send &gt;&gt;pitch: to the FMSound at the appropriate times, sweeping<br>&gt;between your two values?<br><br>&nbsp;I had thought of doing that, but I was hoping that I could end up at a specific frequency at a specific time.&nbsp; However, for my purposes, the frequencies are more important to me than the times, so that may be what I end up doing.
<br><br>Basically, I am trying to use Squeak to generate Binaural Beat Sequences for brainwave entrainment.&nbsp; A Binaural Beat basically consists of a beat@carrier frequency pair, so I want to be able to write something like:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp; sequence := BinauralSequence new.<br>&nbsp;&nbsp;&nbsp;&nbsp; sequence to: <a href="mailto:10.00@109.65">10.00@109.65</a> for: 2.75 minutes.<br>&nbsp;&nbsp;&nbsp;&nbsp; sequence to: <a href="mailto:9.78@108.52">9.78@108.52</a> over: 15 seconds for: 
2.75 minutes.<br>&nbsp;&nbsp;&nbsp;&nbsp; etc...<br>&nbsp;&nbsp;&nbsp;&nbsp; 
 <br>...and have it produce the desired effect, which in this case would be produce a beat frequency of 10.00Hz around a center carrier frequency of 109.65Hz (104.65 Left pan and 114.65 Right pan) for 2.75 minutes, then slide the beat and carrier frequency to 
<a href="mailto:9.78@108.52">9.78@108.52</a> over 15 seconds, hold for another 2.75 minutes, etc...<br><br>The BinauralSequence would just be a part of a BinauralProgram, which would basically create a MixedSound with background sounds (rain, babbling brook, etc...) mixed in as desired, fade in and out as necessary, etc...
<br><br>While there are available tools to do this, it is either difficult or time consuming to tell the tool what you want it to do, and the natural message format of Smalltalk would just be perfect for this!<br><br>However, for the time being, maybe I'll have the times in the above example be more of a request than a command, and fudge the time to keep the frequencies in phase and avoid any clicks or pops...
<br><br>I still think it would be fun to know how to phase shift a wave form in Squeak, though, and I still have to figure out how to fade in and out, but other than that, it's really pretty straightforward in Squeak once you start getting used to the classes!
<br><br>Thanks again,<br><br>Rob<br>