• 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
AudioUnitReset and MusicDevice - very common bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioUnitReset and MusicDevice - very common bug


  • Subject: AudioUnitReset and MusicDevice - very common bug
  • From: Stefan Gretscher <email@hidden>
  • Date: Tue, 1 Mar 2005 16:01:03 +0100

Dear list,

we're often receiving bug reports about Logic not clearing audio buffers of AU instruments properly.
It turns out that there are quite a lot of MusicDevices that don't clear their audio buffers and pending
notes upon an "all notes off" MIDI message followed by AudioUnitReset().


Therefore I'd like to use this list to remind everybody about the topic - please make sure your AU(s)
set all their processing variables to a clean state when receiving AudioUnitReset() and "all notes off".


Here's how the bug typically strikes in Logic:

- a user records some MIDI for an AU instrument with a long release time
- he then starts playback of his recording (instrument plays), then
- stops playback (release sounds keep playing), then
- moves to a different song postion (release sounds keep playing)
- starts playback again (release sounds keep playing and mix with new notes)


The bug is in the last line: when the playback is started again, Logic first sends "all notes off" to the
AU, followed by AudioUnitReset(). At this point, the AU is expected to clear its audio buffers so that
the release sounds are being cut off and audio starts upon clean buffers again.


Please take some time to check your code about this issue as it causes a lot of problems when
bouncing.


Thanks,

Stefan Gretscher

plug-in development & 3rd party plug-in support
Emagic Soft- & Hardware GmbH
a subsidiary of Apple Computer, Inc.

email: email@hidden
phone: (+49)-4101-495-586

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: sound input component
  • Next by Date: OfflineRender and Render Quality
  • Previous by thread: Sound Input Component
  • Next by thread: AudioUnitReset and MusicDevice - very common bug
  • Index(es):
    • Date
    • Thread