• 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
Re: MIDI, basic approach question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI, basic approach question


  • Subject: Re: MIDI, basic approach question
  • From: Kurt Revis <email@hidden>
  • Date: Sat, 21 Feb 2009 11:20:04 -0800

On Feb 21, 2009, at 3:12 AM, Hado Hein wrote:

First the problem playing out midi (to system bus) from QT Player.

It has this preference that says 'always use best possible synthesizer'
but there do not show up my external devices, neither the system bus.


I guess I have to write some media handler, component, plugin, bundle -
whatever: How is it called?
Where do I go reading for that?

You will probably have more luck asking on the QuickTime-API list: http://www.lists.apple.com/mailman/listinfo/quicktime-api

In general I get the impression that this QT feature is leftover from the Classic MacOS, and that it hasn't gotten much, if any, attention on OS X.

Second:
Some vocabulary question for a midi implementation in my custom app.
I want (at least) send and receive midi data from the system busses.

I digged into the MidiRef. Do I need to implement a device (MidiServer)
or interfaces (MidiClient) in my app.

You use the API in CoreMIDI/MIDIClient.h and link against CoreMIDI.framework.


Ignore everything in CoreMIDIServer; that's generally for things like drivers for USB-MIDI interfaces.

Is there an easy howto (or snippet) that shows the basic steps? Figuring
out the implementation is not that problem.

This is a very brief example of how to send and receive MIDI: /Developer/Examples/CoreAudio/MIDI/SampleTools/Echo.cpp

It shows how to get the available MIDI sources and destinations, how to receive MIDI from the sources, and how to send MIDI to a destination. It just echoes the input to the output (possibly changing the channel of MIDI events), so it isn't a very realistic example, but it does demonstrate how to use the API.

--
Kurt Revis
email@hidden

_______________________________________________
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


References: 
 >MIDI, basic approach question (From: email@hidden (Hado Hein))

  • Prev by Date: RE: Debugging cocoa
  • Next by Date: Re: Recommend way for an Audio Unit to implement a background timer
  • Previous by thread: MIDI, basic approach question
  • Next by thread: AudioServicesCreateSystemSoundID error - [asked and answered]
  • Index(es):
    • Date
    • Thread