MusicPlayer.h or NANoteAllocator?
MusicPlayer.h or NANoteAllocator?
- Subject: MusicPlayer.h or NANoteAllocator?
- From: Craig Bakalian <email@hidden>
- Date: Sun, 20 Oct 2002 15:33:08 -0400
Hi,
Let's say I have a Midi hardware device hooked up to my mac that
doesn't have a midi input, or it does not generate midi timbres, and it
only sends midi data. If my app is using
MIDIPortRef = NULL;
MIDIInputPortCreate(client, CFSTR("Input"), readProc, NULL, &inport);
and I have a readProc set up to receive packet lists of midi data...
I gather that I can't send data directly to a MusicPlayer object,
like...
MusicPlayer player; // does this need to be set to NULL?
NewMusicPlayer(&player);
I am making this next part up in my own little technology world
NoteOn(player, noteNumber, noteVelocity, ChannelNumber);
Why can't the MusicPlayer pop a note out from a real time hit from a
readProc?
Is it possible for me to pop a note out of the
QuickTimeMusicArchitecture's NANoteAllocator from the CoreMIDI's
readProc? Not that I want to do this but... it may be my only solution.
Craig Bakalian
I just finished reading and doing the Learning Cocoa book. Objective-
C is a beautiful language. I'll never go back to java again.
_______________________________________________
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.