• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AUMIDIController questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUMIDIController questions


  • Subject: AUMIDIController questions
  • From: Robert Grant <email@hidden>
  • Date: Fri, 15 Nov 2002 08:26:36 -0500

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.

  • Follow-Ups:
    • Re: AUMIDIController questions
      • From: Bill Stewart <email@hidden>
  • Prev by Date: AU - latency changes
  • Next by Date: Re: attention AU host-makers -> MusicEffects
  • Previous by thread: Re: AU - latency changes
  • Next by thread: Re: AUMIDIController questions
  • Index(es):
    • Date
    • Thread