AudioUnitReset and MusicDevice - very common bug
AudioUnitReset and MusicDevice - very common bug
- Subject: AudioUnitReset and MusicDevice - very common bug
- From: Stefan Gretscher <email@hidden>
- Date: Thu, 3 Mar 2005 15:53:48 +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