Re: MIDI sequencer timer
Re: MIDI sequencer timer
- Subject: Re: MIDI sequencer timer
- From: Paul Davis <email@hidden>
- Date: Thu, 09 Jul 2015 13:16:50 -0400
On Thu, Jul 9, 2015 at 12:21 PM, Paul Davis <email@hidden> wrote:
> On Thu, Jul 9, 2015 at 12:18 PM, Luther Baker <email@hidden> wrote:
>> I'm pretty naive ... if I plug an MAudio USB keyboard into my iPad and want
>> to record the MIDI notes ... I guess you're suggesting I'd use the clock of
>> the provided A/D interface? Is that accessible via Core Audio or Core Midi?
>
> You're going to get a callback from the coreaudio internals to process
> (generate/consume) audio samples. That's your clock.
I should note that your software design will be significantly
different depending on whether you plan to work with MIDI only (i.e.
no interactions with an audio interface at all, no synthesis or audio
processing) or with audio and MIDI. As Brian notes, in the first case
you can just read and write MIDI event timestamps. In the latter case,
the audio interface clock is your master reference and most
interesting things will happen in the callback that is executed on
your behalf.
_______________________________________________
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