Re: AUSampler and inOffsetSampleFrame
Re: AUSampler and inOffsetSampleFrame
- Subject: Re: AUSampler and inOffsetSampleFrame
- From: ben kamen <email@hidden>
- Date: Sun, 13 Jan 2013 14:25:47 -0800
My mistake was that I had been using a Byte datatype (being in MIDI land and all) instead of an UInt32. Now it works much better!
Ben
On Jan 11, 2013, at 4:59 PM, ben kamen <email@hidden> wrote:
> Does AUSampler recognize inOffsetSampleFrame (in iOS)? I have a an audio rate sequencer in my callback and it calculates an frame offset to use when sending a note to AUSampler:
>
>
> //THIS->mDrumMachine is an AUSampler
> CheckError(MusicDeviceMIDIEvent(THIS->mDrumMachine, midiStatus, note, velocity, offset), "couldn't send midinote");
>
> I'm pretty sure the AUSampler is not actually doing anything with the offset - it seems like the timing is coming out a bit warbly, particularly at faster tempos.
>
> Does anyone have any experience with this?
>
> Ben
>
_______________________________________________
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