[SqueakAudio] Playing sounds without loading them

Craig Latta Craig.Latta@NetJam.ORG
Sun, 20 Feb 2000 15:44:06 -0800


Hi Russell--

> I'm looking for a way to play sounds stored on disk without loading the
> entire sound into the Squeak image.

	I wrote a StreamingSampledSound class that does this. There's also an
"AudioConfetti"
class that will play sub-second snippets of audio (forward or backward)
from continuously random
points in a file. It's rather amusing, and a good stress test of Squeak
(I can get six of them going
at once on my P166).

	This is at http://netjam.org/streamingAudio1g1.zip. Please let me know
if you have any
problems.


	take care,

-C

--
Craig Latta
composer and computer scientist
craig.latta@netjam.org
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]