[comp.sys.mac.programmer] play notes using 'snd ' resource

hui@landau.uchicago.edu (Hui Dong) (05/24/91)

    I have been trying to play notes using recorded 'snd ' resource without
success. What I do is first get a handle of the 'snd ' resouce: mysound,
then pass **mysound as a param of soundCmd to channel 0L using SndDoCommand,
then get noteCmd and pass them to channel 0L using SndDoCommand, and pass a
restCmd to terminate the loop. No sound is generated, although I can hear
the mysound using SndPlay. Should I create my own soundchannel to make it
work? If that is the case, I don't know how to get the "init" parameter in
SndNewChannel, which need to use SndControl routine to pass initCmd? Any
help will be very appreciated.

hui@landau.uchicago.edu (Hui Dong) (05/31/91)

   I am trying to play notes using 'snd ' resources without success. I had post
on the net ask for help a couple of weeks ago and so far not yet get any
responce. There got to be some experts on the net, could you please tell me
how to do this. Thanks a lot.