• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MusicPlayerStop() and all-notes-off messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicPlayerStop() and all-notes-off messages


  • Subject: Re: MusicPlayerStop() and all-notes-off messages
  • From: Christopher Corbell <email@hidden>
  • Date: Sun, 19 Jan 2003 09:57:55 -0800

Yes, it's only with the DLS synth, but I only see the problem when calling
these MusicPlayer functions.

When I use a DLS synth unit directly without MusicPlayer I have no problem
stopping all notes.

On Sunday, January 19, 2003, at 08:41 AM, Lars Peters wrote:

Are you seeing this with DLS Synth only or with other devices as well?
Since I don't have the problem with my external synth and Andre Lipinski had the same problem with DLS Synth but without MusicPlayer, I assume it's a problem of the AU rather than MusicPlayer.

Regards,
Lars


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).

Sending a midi all-notes-off message (0xBn 123) does help. I'm now sending
this both at the time the sequence is stopped and before every call to
MusicPlayerStart(). However even here there will be a brief "thunk" of the
formerly sounding notes when you call MusicPlayerStart(), which immediately
becomes silent and lets the sequence begin again.

I think this is overall a pretty minor thing now, except that if someone has finished
a sequence and is ready to do something like output it to an external audio recorder
they'll get the thunk if they weren't lucky enough to stop the last playback at a silent
instant.

Note that you won't notice any of this behavior if you cal MusicPlayerStop() after
a sequence has finished or while no notes are sounding.

Can anyone offer any suggestions?

Thanks in advance,
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.

References: 
 >Re: MusicPlayerStop() and all-notes-off messages (From: Lars Peters <email@hidden>)

  • Prev by Date: Re: MusicPlayerStop() and all-notes-off messages
  • Next by Date: Zoyd goes preview beta
  • Previous by thread: Re: MusicPlayerStop() and all-notes-off messages
  • Next by thread: Re: MusicPlayerStop() and all-notes-off messages
  • Index(es):
    • Date
    • Thread