• 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
MusicPlayer.h or NANoteAllocator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: MusicPlayer.h or NANoteAllocator?
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: New synth available
  • Next by Date: Re: 3DMixer - Observations and Suggestions
  • Previous by thread: Re: 3DMixer - Observations and Suggestions
  • Next by thread: Re: MusicPlayer.h or NANoteAllocator?
  • Index(es):
    • Date
    • Thread