Thank you so much DS !    it works,   AU Lab is amazing ! 

-Tin

On 2014年10月28日, at 上午7:44, Douglas Scott <[email protected]> wrote:

> It is supported, but you cannot do queries on the kAUGroupParameter IDs.  You 
> will have to create (with AU Lab) your own aupreset for the AUSampler which 
> makes use of the PolyPressure events.  There is no default behavior for 
> these.  There are a couple of Tech Notes about creating aupresets.
> 
> -DS
> 
> On Oct 10, 2014, at 12:42 PM, Ian Kemmish <[email protected]> wrote:
> 
>> 
>> On 10 Oct 2014, at 15:30, tin <[email protected]> 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 protected]        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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
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]

Reply via email to