[comp.sys.mac.hypercard] HyperCard and the sound manager

mjm@eleazar.dartmouth.edu (Michael McClemen) (05/04/89)

I am trying to write an XCMD which uses the note synthesizer.  When I try
to run it, it seems to open a channel with no problems but the noteCmd does
not produce any sound (or any error code.)  I then tried running Farallon's
SoundEdit(TM), opening a new sound window, closing it, and switching back to
HyperCard.  Voila! My XCMD now works perfectly.  But HyperCard now refuses to
play sounds.  No error, but no sound.  I switch back to SoundEdit, open another
sound window and close it, and then HyperCard will play sounds.  But after it
plays a sound, my noteSynth XCMD stops working.  It seems that SoundEdit is
resetting something, so that either the sampled synth or the note synth will
work from HyperCard after that, but whichever is called first installs itself
and will not be ejected.  Is HyperCard doing something nasty to the sound
manager?  I notice that it has its own ID 5 synthesizer (sampled synth.)  If
anyone knows what SoundEdit is doing that frees the manager up, that would do
the trick...

-- Michael McClennen (mjm@dartmouth.edu)

d83_sven_a@tekno.chalmers.se (Sven (Sciz) Axelsson) (05/04/89)

Hear, hear!
I almost thought it was me going crazy... I've tried to write an XCMD
which uses the sampledSynth. It is pretty simple and straightforward and
works perfectly ON SEs AND PLUSSES ONLY! Almost drove me crazy because
I need to use it on the Mac II I have where I work. If someone knows
what's going on I would love to know.


+-------------------------+--------------------------------+------------------+
|   Sven Axelsson         |  d83_sven_a@tekno.chalmers.se  |  DISCLAIMER:     |
|   dep:t of Linguistics  |          (^^ best ^^)          |                  |
|   univ. of Gothenburg   |        dlv_sa@hum.gu.se        |  This is not     |
|   SWEDEN                |      usdsa@seguc21.bitnet      |  a disclaimer.   |
+-------------------------+--------------------------------+------------------+