Re: music sequence/music device
Re: music sequence/music device
- Subject: Re: music sequence/music device
- From: Bill Stewart <email@hidden>
- Date: Sat, 20 Apr 2002 13:06:28 -0700
on 20/4/02 1:44 AM, Jean-Alexis Montignies wrote:
>
Hello,
>
>
I'm new to the core audio apis, and I've read the coreaudio.pdf and the
>
header files.
>
>
I'm trying to implement a simple application (very very simple: a
>
metronome) using a music sequence to play some notes with a dls synth.
>
I'm now trying to create an event, but I don't understand how to fill
>
its parameters.
>
>
Is there some sample code somewhere that do that kind of things?
We're preparing a bunch of sample code that we'll be going through at WWDC
that covers most of the CA APIs (including these issues). This code will
also be available for download after the conference - I'll send a note out
to the list when and where this is available.
That said, however, the event structures in MusicPlayer.h should be pretty
self explanatory... MIDINote events are noteNum, channel, velocity, duration
(in beats), MIDI Channel events are just like the MIDI spec...
As with other MIDI uses, you should send a program change/bank select event
to select the particular patch you want the synth to use before you send it
note events.
Bill
>
Something else, for curiosity, how a MusicPlayer passes events to a
>
MusicDevice? (I'm thinking about replacing the MusicPlayer by the
>
MusicKit)
>
>
Jean-Alexis Montignies
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.