Re: Dose AUSampler supports sending After-Touch MIDI Message? (tin)
Re: Dose AUSampler supports sending After-Touch MIDI Message? (tin)
- Subject: Re: Dose AUSampler supports sending After-Touch MIDI Message? (tin)
- From: Ian Kemmish <email@hidden>
- Date: Fri, 10 Oct 2014 20:42:25 +0100
On 10 Oct 2014, at 15:30, tin <email@hidden> wrote:
>
> I’m trying to use MusicDeviceMIDIEvent to send after-touch message (or named poly-pressure , 0xA..) to a synth audioUnit. in my Mac app.
>
> it seems doesn’t works. is it unsupported in CoreMIDI or AUSampler ?
It's definitely supported by CoreAudio, as my homebrew synth uses it. I think it's safe to say that CoreMIDI supports it too (after all, they're just standard MIDI commands requiring no special processing until you want to do something with them).
Unfortunately, since 1) supporting polypressure in a synth requires adding code, and 2) very few MIDI keyboards have ever generated polypressure commands, I suspect that the vast majority of synths will simply ignore them.
So, my guess would be that polypressure is supported by CoreMIDI, but not by AUSampler.
You could try GetParameterInfo() with kAUGroupParameterID_KeyPressure_FirstKey, and see if AUSampler returns useful information or an error.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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