• 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: AUSampler and inOffsetSampleFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AUSampler and inOffsetSampleFrame (From: ben kamen <email@hidden>)

  • Prev by Date: Re: Which Audio Units work in iOS?
  • Next by Date: Automation in audio unit not working
  • Previous by thread: AUSampler and inOffsetSampleFrame
  • Next by thread: Using AVSampleRateKey in outputSettings for AVAssetReaderTrackOutput
  • Index(es):
    • Date
    • Thread