Re: CoreMidi and CoreAudio for software synth
Re: CoreMidi and CoreAudio for software synth
- Subject: Re: CoreMidi and CoreAudio for software synth
- From: William Stewart <email@hidden>
- Date: Wed, 21 Sep 2005 12:12:33 -0700
You should look at the MusicSequence API - this is a much better
(sample accurate) scheduler for events to ANY audio unit - see
MusicPlayer.h in the AudioToolbox framework. There are a couple of
examples of using this in the SDK as well (PlaySequence is one)
Bill
On 21/09/2005, at 11:38 AM, Edwin Vane wrote:
Hi,
I'm still fairly new to CoreAudio/MIDI and finding the reading slow
since the documents seem pretty fragmented. Hopefully these questions
have easy answers.
I currently have a software synthesizer that uses an AUGraph with a
synth unit in it (like the example in /Developer/...). I'm using
QuickTime to act as the timekeeper to trigger note events to be sent
through the graph. However, since the update interval in QuickTime
seems
to be about 20ms and it varies over time, I can hear slight
irregularities in any music produced. I thought perhaps the scheduling
part of CoreMIDI could help me out.
So, is it possible to use the CoreMIDI scheduling to schedule notes
into
the short future (to cover the next update interval for instance) and
have CoreMIDI send info to the AUGraph for rendering? The documents
mention AUMIDIController which seem to provide glue between
CoreMIDI and
CoreAudio. Is that the right direction to go in? Also, are the
timestamps for events in CoreMIDI those of the system clock? In the
docs
it looks like we do the converting between the usual MIDI
timestamps and
host time.
Finally, can CoreMIDI support the extended control protocol of
MusicDevices?
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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