• 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
Send MIDI Sequence to GarageBand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Send MIDI Sequence to GarageBand


  • Subject: Send MIDI Sequence to GarageBand
  • From: Michael B Allen <email@hidden>
  • Date: Wed, 14 Sep 2011 12:22:41 -0400

Hello,

Is it possible to write a Java program that OSX will see as a virtual
MIDI device (just like it might see a real MIDI USB keyboard) so that
I can programmatically generate and send MIDI sequences through
GarageBand?

I am experienced with Java and C and I have written device drivers.
But I am not sure where to begin because I have zero experience with
the Core Audio API.

I envision the following: When I run the program from a terminal it
initializes a virtual device and then pauses. At this point if
GarageBand is running I should see the familiar "The number of midi
inputs has changed" message. Then each time I hit <Enter> and it plays
my coded MIDI sequence. I can select a different instrument in
GarageBand and hit <Enter> again and it will play the sequence again
using the new instrument. Pressing 'x' or a special character will
cause the device to deinitialize again triggering the aforementioned
GarageBand message and the Java program will exit.

Is this possible?

Any direction would be greatly appreciated.

Mike
 _______________________________________________
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

  • Follow-Ups:
    • Re: Send MIDI Sequence to GarageBand
      • From: Paul Davis <email@hidden>
  • Prev by Date: Limiting available sample rates
  • Next by Date: Re: Send MIDI Sequence to GarageBand
  • Previous by thread: Re: Limiting available sample rates
  • Next by thread: Re: Send MIDI Sequence to GarageBand
  • Index(es):
    • Date
    • Thread