Hi, I have an AUv3 app extension that relies on an AVAudioUnitSampler to do the work. In my application, I can trigger a sound event when the user changes a preset/patch, but I am unable to get the same result from the AUv3 extension. I tried three ways:
Commanding note on/off via the AVAudioUnitMIDIInstrument startNote and stopNote methods (this works just fine in the app version) Commanding note on/off via the AVAudioUnitMIDIInstrument sendMIDIEvent Posting MIDI events to the scheduleMIDIEventBlock of the AUAudioUnit When I play a note on the keyboard of the AU host (AUM or Audiobus 3) I see MIDI events arrive on the internalRenderBlock, but I do not see anything there due to #2 or #3. Should I? So my big question: how can I command the AVAudioUnitSampler to play a note when it is being used inside a AUv3 AUAudioUnit, just like it does when it is running in an app? Thanks in advance! Regards, Brad SoundFonts app — https://apps.apple.com/us/app/soundfonts/id1453325077 <https://apps.apple.com/us/app/soundfonts/id1453325077>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
