Thanks & ?'s

kc shesha at televar.com
Thu Jan 22 23:42:52 UTC 1998


Hi!

	1) Thanks to all for the EXCELLENT work on 1.3!!!
	2) Sam & Andreas: thanx for the Windoze work!!!

A couple questions:

	1) I'm running 1.3 on Win 95 (166 mhz MMX) and found a problem when
checking out the Sound examples:  there was a clicking noise like a
metronone that sullied the experience (on nearly ALL the examples). I
changed the SoundPlayer sampling rate to 11025 and now all the examples
work fine - it was originally set at 22050. Here are my SoundPlayer
settings:
 		
	SamplingRate _ 11025.	
	BufferMSecs _ 1000.	
	Stereo _ true.

My question/problem is that I want to keep all my Sound work
(specifically, SampledSounds) at a 44100 SamplingRate (44100 16bit)...
but I haven't yet figured how to do it or if it is possible :-(  I can't
get Squeak to play back ANY 44100 16bit mono signed AIFF sample at the
same quality as any of my sound editing apps... eeeeeek!!! I have
tweaked and reset all of the sampling rate stuff and tried out
everything I can think of in the SampledSound Utilities, to no avail!
So, IS THIS A POSSIBILITY? ANY POINTERS? P L E A S E .

	2) I'm not sure if this is related to the "Text initialize" or "Text
initTextConstants" problem I've read about (I've done both and the ?
remains) or not, but, for instance, in a browser looking in
SampledSound/instance/copying, nothing at all shows up. Is it SUPPOSED
to be like that?

	3) MIDI/SampledSound stuff: Bravo!!! Built in MIDI access!!! My
question here involves changing the track instruments to SampledSounds.
I have found that sometimes it works, and sometimes it doesn't...
meaning that sometimes I can use samples as instruments for tracks and
they play back fine, but once I do that, I can't change the instrument:
it gets STUCK on whatever was first played... and then again, sometimes
it doesn't work at all! Here is a workspace example:

| data s score sp |
data _ SampledSound raw16BitDataFromAIFFfileNamed: 'sax16ms.aif'.
s _ SampledSound samples: data samplingRate: 44100.

score _ MIDIFileReader scoreFromFileNamed: 'nw.MID'.
sp _ ScorePlayer new.
sp onScore: score.
sp instrumentForTrack: 1  put: s;
instrumentForTrack: 2  put: FMSound brass1;
instrumentForTrack: 3  put: FMSound oboe1.

sp play
 
Now, how's THAT for BEGINNER ST coding :-)  Sometimes it actually plays
back the sax sound as the instrument and other times it plays back the
CoffeeCupClink sound! I'm wondering what may be the best way to set the
instruments (SampledSounds) for MIDI file playback. I'm getting LOST...

	One last thing, Re: "Squeak Music: Siren", I tried emailing STP about
that a couple of months ago and still haven't heard anything... I'm sure
he's busy, but it would be nice to know more about Siren. 


	Again, thanx everyone for Squeak!!! (even though I can't afford a GURU
to teach it to me :-)


Ken





More information about the Squeak-dev mailing list