Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!ucsd!ames!uhccux!waikato!ldo From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem with Sound Manager Message-ID: <2462.275f8a3e@waikato.ac.nz> Date: 6 Dec 90 23:25:34 GMT References: <1990Dec6.120506.11284@jarvis.csri.toronto.edu> Organization: University of Waikato, Hamilton, New Zealand Lines: 24 Contrary to the documentation for the 6.0.7 Sound Manager, it does *not* support frequencies specified as some number of Hertz, only as discrete semitone note numbers. I personally found this out with freqCmd, you've found it applies to noteCmd as well. My workaround was to use rateCmd to modify the pitch of the playing note--this does support arbitrary fractional values, as documented. It's a real kludge, I know, and I suspect it wouldn't work all that well with a note that's already started playing. Myself, I was messing around with notes of indefinite duration, so I could set the amplitude to zero before changing the pitch, and then make it audible at the right pitch. The guy who wrote that Inside Mac chapter told me the reason for the omission was to avoid compatibility problems with some software. Hard to believe, but there you go... Lawrence D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00 >>insert worthless, irrelevant, space-consuming saying here<<