Re: Does anybody implement 'reset' in their Instrument Audio Units?
Re: Does anybody implement 'reset' in their Instrument Audio Units?
- Subject: Re: Does anybody implement 'reset' in their Instrument Audio Units?
- From: Ian Kemmish <email@hidden>
- Date: Thu, 25 Feb 2010 07:42:05 +0000
On 24 Feb 2010, at 14:32:, Eagle Offshore <email@hidden> wrote:
Long story short - when I remove an instrument from the graph - I
send it MIDI all notes off, bender/mod control zero (why reset
doesn't do this as well I have no idea), then remove callbacks from
it, and call AudioUnitReset on it.
Unless you find some which ignore that too, I'd go with all sound off
rather than all notes off. The MIDI spec suggests that the latter
merely causes all notes to start decaying, whereas the former tells
the synth to shut up as soon as practicable (typically one or two
bufferfuls with my synth, because of scheduling and garbage collecting
issues).
As for AudioUnitReset(), I don't even recall seeing it in the vintage
2004 documentation upon which my synth is based :-) Quickly reviewing
my code, there certainly doesn't seem to be any attempt to implement
it, unless the AU base classes do something.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds
SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952
854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
_______________________________________________
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