• 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: Bill Stewart <email@hidden>
  • Date: Wed, 22 Jan 2003 17:52:41 -0800

We're still a little confused about why this has changed in 10.2.3 (something we're looking into)

I have my suspicions:)

It does go back to the fact that the all notes off message is not an ideal message to send to a synth that is not actively rendering (though it should have the desired consequent effect - and that is what appears to have been broken)

As a workaround, when you stop the player if you call AudioUnitReset on the synth unit that will turn off the sounding notes next time you ask it to render...

Bill

On Tuesday, January 21, 2003, at 11:45 PM, Lars Peters wrote:

Hi,

Oh, o.k., I thought you had the same problems. Either way: may interpretation of how MusicPlayerStop() should work with DLS is based on what I saw before 10.2.3. On 10.2.3 my old code is broken.

Lars


Am Dienstag, 21.01.03 um 05:03 Uhr schrieb Andre Lipinski:

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.


On Sunday, January 19, 2003, at 11: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 off 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.
_______________________________________________
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.
_______________________________________________
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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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.
  • Follow-Ups:
    • Re: MusicPlayerStop() and all-notes-off messages
      • From: Urs Heckmann <email@hidden>
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: Re: Problems with AUEffectBase w/o Kernels
  • Previous by thread: Re: MusicPlayerStop() and all-notes-off messages
  • Next by thread: Re: MusicPlayerStop() and all-notes-off messages
  • Index(es):
    • Date
    • Thread