Re: AUMIDIController questions
Re: AUMIDIController questions
- Subject: Re: AUMIDIController questions
- From: Bill Stewart <email@hidden>
- Date: Tue, 19 Nov 2002 03:46:18 +0100
This maybe a subtle bug due to our mis-naming of the MusicEffect
component type in Jaguar (that has since been fixed)
My guess is that you will see ParameterEvents (as they're mapped to the
AU), but not the direct SendMIDIEvent calls being done.. (this has also
been fixed)
Bill
On Friday, November 15, 2002, at 02:26 PM, Robert Grant wrote:
I'm trying to use the AUMIDIController functions to support Marc's
MusicEffect
units. Trouble is that no MIDI data seems to be making it to the
effect.
Here's how I'm creating the controller and connecting it to the effect:
status = AUMIDIControllerCreate(NULL, &m_midiController);
NSLog(@"ControllerCreate status: %d", status);
status = AUMIDIControllerMapChannelToAU(
m_midiController,
m_channel,
[self unit],
m_channel,
FALSE);
NSLog(@"ControllerMapChannel status: %d", status);
Both of these are returning '0'. (m_channel defaults to -1) ([self
unit] returns the AU).
BTW I've tried both TRUE & FALSE settings.
Later I connect a MIDI source:
status = AUMIDIControllerConnectSource(m_midiController,
MIDIGetSource(m_source + 1));
NSLog(@"ControllerConnectSource status: %d", status);
This also is returning '0'
Here's a dump from a run to demonstrate:
2002-11-15 08:24:07.471 Rax[518] ControllerCreate status: 0
2002-11-15 08:24:07.471 Rax[518] ControllerMapChannel status: 0
2002-11-15 08:24:11.501 Rax[518] ControllerConnectSource status: 0
And yet I'm getting nothing... Am I misusing it somehow?
I'd really like to get MusicEffect support working for Rax :-)
Thanks,
Robert.
_______________________________________________
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
________________________________________________________________________
__
"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
________________________________________________________________________
__
_______________________________________________
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.