• 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
Virtual MIDI Sending Help Needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Virtual MIDI Sending Help Needed


  • Subject: Virtual MIDI Sending Help Needed
  • From: Joel Pigdon <email@hidden>
  • Date: Wed, 26 Apr 2006 09:21:05 +1000


I am working on an app that will have a midi input and an output and do some processing on midi going through it. I have the midi input working. My readProc gets called when MIDI occurs, excellent.
However my head is being twisted when I try and send the midi packet onwards to the reciever. I am trying to set up a system like this and I'm using MIDIKeys and Rax for testing:
MIDIKeys--->My App---->Rax
I just want a simple passthrough at the moment.
I have set up a clientRef and an endpoint sourceRef
and an input Port.
As I said before the first part if the chain is working, My app gets the MIDI from MIDIKeys.
I tried a simple MIDIRecieved(sourceRef,pktlist)
from within the read callback. but nothing is happening, well theres no signal coming through.
Whats wrong???

the important source is below, most is a copy and paste job from various sources and is probably terrible.

any help would be greatly appreciated

thanks

Joel Pigdon
 
static void MyMidiReadProc(const MIDIPacketList *pktlist, void *refCon, void *connRefCon)
{
    CFStringRef clientName = (CFStringRef)refCon;
    printf("got some MIDI");    
    MIDIReceived(sourceRef,pktlist);
}



 _______________________________________________
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

  • Prev by Date: Re: Is there such a thing as a "CoreMIDI Version Number" that can be queried?
  • Next by Date: Re: CoreMIDI functions returning kMIDIWrongThread
  • Previous by thread: Re: CoreMIDI functions returning kMIDIWrongThread
  • Next by thread: playing audio buffer content - Newbie question
  • Index(es):
    • Date
    • Thread