Re: MIDI Transpose?
Re: MIDI Transpose?
- Subject: Re: MIDI Transpose?
- From: William Stewart <email@hidden>
- Date: Mon, 2 Jun 2008 14:27:43 -0700
On Jun 2, 2008, at 11:57 AM, Jay Koutavas wrote:
Thanks Bill.
The parts you outlined here I already knew about. The thing I don't
know is:
"I've yet to figure out how to identify the destination endpoint
representing the speakers (built-in audio)."
There is no destination endpoint to represent the speakers. When
rendering in software it is using an audio unit directly. If you are
sending this out to an external midi device, then it uses a MIDI
endpoint to send out to that device.
And actually, why would I want to copy them? I'm going to play them
to the speaker. One per track.
You are just copying the events (which are very small) - not the audio
data that is rendered as a response to them. You can edit them in
place as it were, but then you would lose the original data.
Bill
/Jay
At 11:54 AM -0700 6/2/08, William Stewart wrote:
you would need to go through the sequence data and do this work
yourself. Probably the best way is to:
(1) Copy the original track
(2) Mute the original track
(3) Iterate through the copied track
- if event is note on (and matches any other conditions you might
want to impose)
transpose the note number accordingly
One thing NOT to do - if your notes are on a rhythm channel, then
you don't want to transpose those :)
Bill
On May 31, 2008, at 11:02 AM, Jay Koutavas wrote:
What's the recommended way to transpose MIDI notes coming off a
playing MusicPlayer sequence before it hits the speakers?
.MIDI file --> MusicPlayer --> (transposer) --> speakers
I sort of expect MIDIThruConnection to have some role in this, but
I've yet to figure out how to identify the destination endpoint
representing the speakers (built-in audio). Ihave succeeded in
making my own endpoints for tracks in the sequence and can read
the notes -- just don't know where to send them to.
/Jay
--
--------------------------------------------------------
Jay Koutavas mailto:email@hidden
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
_______________________________________________
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
--
--------------------------------------------------------
Jay Koutavas mailto:email@hidden Heynow
Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
_______________________________________________
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