--============_-1268105171==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Attached is a change set that implements AbstractSound>>asSampledSound. This enables you to convert a synthesized sound (e.g., PluckedSound hiMajorScale) into a sampled sound, which can then be saved out as AIFF, WAV, whatever. Useful for dynamically generating a sound for a Web page. See the preamble for an example.
Side story: I remember asking about this over a year ago, and Andreas Raab sent me some leads on how to build it, but I couldn't figure it out then. Today, it took less than 10 lines of code. The intervening time was spent learning WHICH 10 lines of code to write...:-)
Mark --============_-1268105171==_============ Content-Type: text/plain; name="generated-sampled.1.cs" ; x-mac-type="65417070" ; x-mac-creator="43534F6D" Content-Disposition: attachment; filename="generated-sampled.1.cs" Content-Transfer-Encoding: imap_stub
0,1856,2.2,1242,0,
--============_-1268105171==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed"
-------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html --============_-1268105171==_============--
squeak-dev@lists.squeakfoundation.org