Re: MusicPlayerStop() and all-notes-off messages
Re: MusicPlayerStop() and all-notes-off messages
- Subject: Re: MusicPlayerStop() and all-notes-off messages
- From: Christopher Corbell <email@hidden>
- Date: Mon, 20 Jan 2003 22:02:17 -0800
On Monday, January 20, 2003, at 08:03 PM, Andre Lipinski wrote:
Hi,
I'm having a different problem than this (the DLS just ignores
incoming MIDI under some circumstances) I realise now that the problem
you're seeing is not related to the DLS, but to your interpretation of
what Stop means to the music player. It doesn't mean "stop playing and
close all open notes" it means stop advancing forward in time.
Andre.
This does make sense, but then I suppose there is a more general
question of
how to make the DLS unit forget about the MusicSequence notes it's
playing,
or otherwise reset itself? Since an all-notes-off message does not
work before
or after calling MusicPlayerStop(). It only seems to work after I
start the sequence
again at time zero, but then only after the formerly sounding notes
sound again.
Is there any way, short of something brute force like completely
uninitializing the graph
or disposing of the MusicDevice, to stop the sounding of all sequenced
notes in conjunction
with MusicPlayerStop() and a DLS synth unit?
[....]Am Samstag, 18.01.03 um 21:36 Uhr schrieb Christopher Corbell:
I've noticed that when playing a music sequence, if you stop the
playback
with MusicPlayerStop() the notes appear to be still "sounding" in
the device
even though they are audibly stopped. If you then call
MusicPlayerStart() at
time 0, the notes that were sounding will become audible again.
I'm assuming this is more or less a bug, but I'm hoping to find a
work-around.
One thing I've tried is stopping the AUGraph right after I call
MusicPlayerStop(),
and starting it again before I call MusicPlayerStart(), but this
didn't seem to
change anything (other than maybe saving a little CPU when no
sequence
is running).
[....]
Thanks for help,
- Chris
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.