Re: How to use a midi note on event to trigger an action method
Re: How to use a midi note on event to trigger an action method
- Subject: Re: How to use a midi note on event to trigger an action method
- From: William Stewart <email@hidden>
- Date: Mon, 10 Mar 2008 15:31:12 -0700
Just so I understand....
You want to get the MIDI messages from the keyboard, and then you will
do something based on the different MIDI messages?
To do that - you need to get CoreMIDI going and parse through the MIDI
Packets that come from the device. The TestEcho example in the
CoreAudio examples directory is the simplest example we have of this I
think. We probably should have something really simpler than this (so
that is something for us to do)
Bill
On Mar 9, 2008, at 2:53 PM, Brian Hughes wrote:
I am a total newbie to programming. I have read some books on C and
Objective C. I have also been through some tutorials on basic Cocoa
programming (Cocoa Recipes, Cocoa Programming for Mac OS X, Cocoa
Programming). So I am really stupid about a lot of things regarding
programming.
I am creating a application to teach kids basic music concepts. The
application consists of a number of games. In the pitch games the
players interact with either the mouse or the qwerty keyboard. I
would like to have midi functionality so they can interact with
their music keyboards. I cannot seem to penetrate this. I have
linked my program with Core Midi but I am at a loss as what to do now.
I have no idea how to get the midi note on message to trigger my
Action methods. Are there any tutorials or sample code that explains
this. Or any information that points me in the right direction would
be greatly appreciated.
Thanks,
Brian
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge
with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
_______________________________________________
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
_______________________________________________
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