• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quick question on configuring an AU for a certain channel config
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick question on configuring an AU for a certain channel config


  • Subject: Re: Quick question on configuring an AU for a certain channel config
  • From: William Stewart <email@hidden>
  • Date: Thu, 20 Dec 2007 19:14:28 -0800

MIDI Effects implement the MusicDeviceMIDIEvent and RawData methods from MusicDevice.h - the type is different (which tells the host you implements MIDI)

On Dec 20, 2007, at 1:54 PM, tahome izwah wrote:

Quick followup question:

Is there any way I can get MIDI note information through the
AudioUnits API, or do I have to add my own MIDI code using CoreMIDI?
Any problems or pitfalls I should be aware of?

Thanks again!
--th


2007/12/20, Bernd Burhoff <email@hidden>:
Hi tahome,

the pointer thing is something that I found out while testing around the
same problem with HasInput() (that it always returned TRUE).
It still looks strange to me, but in my case it worked, so I used it. Just a
workaround.


This way did not work with AudioBufferLists in my AU.

I use GetChannelData() instead of the GetBufferList().

Bernd


Am 20.12.2007 um 14:07 schrieb tahome izwah:

Bill and Bernd, thank you! It looks indeed like a bug in Logic 8 to me.

Bernd, I tried something similar to what you are suggesting, like
comparing the pointer to the audio data in the ABLs that I get from
the side chain and the main input (ie sideChainAbl->mBuffer[0].mData
!= inputAbl->mBuffer[0].mData). They appear to be different so there's
no telling if the sidechain is connected or not. I did not use
GetChannelData(), however, I might give this a try, even though I'm
not sure what difference it would make (it should point to the same
data, right?).


I am curious - how do you know the two pointers have to be the same in
Logic if the sidechain is not connected? Ie. what is the logic behind
this - is this just something you discovered empirically or is this
documented somewhere? Is it guaranteed to work? I mean, Logic could as
well use some pre-set buffer containing silence for an unconnected
sidechain, couldn't it?


Thanks again,
--th




_______________________________________________
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

_______________________________________________ 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
References: 
 >Re: Quick question on configuring an AU for a certain channel config (From: "Sophia Poirier [dfx]" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: William Stewart <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: William Stewart <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: Bernd Burhoff <email@hidden>)
 >Re: Quick question on configuring an AU for a certain channel config (From: "tahome izwah" <email@hidden>)

  • Prev by Date: Re: Quick question on configuring an AU for a certain channel config
  • Next by Date: Re: AUVal Reported error: kAudioUnitErr_TooManyFramesToProcess
  • Previous by thread: Re: Quick question on configuring an AU for a certain channel config
  • Next by thread: Re: Quick question on configuring an AU for a certain channel config
  • Index(es):
    • Date
    • Thread