[comp.sys.mac.programmer] New Sound Mgr stuff is on AppleLink!

ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (11/07/90)

For those with AppleLink access, a new "System Software 6.0.7" folder
has appeared under the Developer Tech Support icon. Besides the same
four 800K disk images plus release notes for System 6.0.7 that you can
FTP from apple.com, there is also (wait for it...)

	* the interim Inside Mac Vol VI chapter on compatibility
	  (including documentation for Gestalt).
	* the interim Inside Mac Vol VI chapter on the Sound Manager,
	  including the Sound Input Manager.
	* a glue object file for Gestalt.
	* interface files for Pascal, C and Assembler. For some reason,
	  the Assembler interfaces don't include ones for the Sound
	  Manager (gee...).

The two Inside Mac chapters are in Glue format, and can be viewed/
printed from either the Glue Viewer or the AppleLink program.

No, let me rephrase that. You can *attempt* to view them from Viewer,
though I wouldn't give much for your chances. If you've got AppleLink,
it's safest to use that, and just delete Viewer from your disk.

There are some interesting discrepancies between the Sound Manager
chapter and the contents of the interface files. For example, the latter
seem to have omitted the SndRecordToFile and SPBRecordToFile calls.
Also, there is no documentation in the former about the mysterious
functions "SndGetBufferStufferLoad" and "SndGetMixerLoad".

I must say the capabilities of the Sound Manager have been *much*
improved. My vintage Mac II can manage four channels of uncompressed
sound playing at once. I did notice one capability that seems to be
absent, that the documentation says is there: namely, the frequency
specification for a freqCmd only seems to support the whole note number
form: you can't specify arbitrary frequencies, fractions of semitones,
etc. The only way to do this is to use a combination of commands
including rateCmd.

Lawrence "We Do Windoids" 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

darth@athena.mit.edu (Darren T Garnier) (11/08/90)

Hey thats great! :') 
But I don't have AppleLink. :-[

Somebody send it to me, please.

Or, better still, for those Apple DTS people let me request
PUT IT ON APPLE.APPLE.COM
How hard could it be?  Surely much easier than me
trying to disassemble the .AppleSoundInput driver included
in 6.07.

Thanks in advance,

Darren.
--
                        Darren Garnier                
darth@athena.mit.edu                     | Some rise, some fall,
garnier@alcvax.pfc.mit.edu               | some try to get to Terrapin.