Speaker problems

Ken collins bibsybabs at hotmail.com
Fri May 19 02:17:38 UTC 2000


Hi all,

I have been experiencing some strange behavior in the Speaker Class and 
don't understand what the problem is.

Stats: Win 98. 450 mhz Celeron. 64 Ram. Squeaks: 2.8 alpha - updates: 2005 
and 2158, as well as a 2.7 update: 1782.

When I try out the example voices, sometimes they work and sometimes they 
don't. Most obvious is the "woman" voice: sometimes it plays correctly 
(correct pitch, etc.) and then, the next time I try it, it is wrong - "her" 
voice changes to the "exorsist" or "default" (or ?) voice for no apparent 
reason. Once this happens, ALL of the example voices sound the same.

Once time I changed the screen depth from 32 to 16, and all was well for 
about 30 minutes. Then all the voices changed (defaulted?) into that one 
horrible voice (well it's not really a horrible voice, but is isn't good 
that all the voices sound the same)... Even the manWithEditor example gets 
stuck with the same voice: moving the sliders and hitting the "test" button 
plays back the same voice with no change.

Yesterday I updated to #2158 and set screen depth to 16, and all was well 
for a couple of hours before all the voices reverted back to the same thing.

I did make one change to the system: I reset the SoundPlayer like this:

SamplingRate _ 44100.
	BufferMSecs _ 100.
	Stereo _ true.
	UseReverb ifNil: [UseReverb _ true]
and then did: SoundPlayer initialize; shutDown; startUp.

I made this change BEFORE I tried the voice examples in any of the images.

I don't see why the voices only work correctly sometimes. Maybe once every 
10 times when I start one of the images, the example voices work fine 
(distinct) for a while, and all the other times, they all sound the same. 
And there is always just one image open at a time.

Well, I just tried the #2158 update image again and it is working fine :)
But I don't know how long it will continue :(

TIA for any help.
BTW, we're mostly working MORPHIC, but get the same results in MVC.

KenC




________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





More information about the Squeak-dev mailing list