Re: Total Newbie Needs Help!!!
Re: Total Newbie Needs Help!!!
- Subject: Re: Total Newbie Needs Help!!!
- From: Jeff Moore <email@hidden>
- Date: Tue, 29 Aug 2006 16:03:36 -0700
I don't think you can do what you want to do without getting your
hands dirty with writing code in one of the C-like languages.
Further I'm not sure that writing such a tool will accomplish what you
want anyway. There is overhead in forking processes and getting data
from them. This overhead is unpredictable and so there's no guarantee
that the tool will reliably capture the user's gesture.
Perhaps you ought to step back and explain what you are trying to do
and perhaps folks can chime in on ways to make it work.
On Aug 28, 2006, at 4:34 PM, djl wrote:
I'm after some advice/help and would appreciate your comments.
Basically, I'm trying to create a simple application primarily using
FaceSpan (and hence AppleScript, not AppleScript Studio) and I need
to, if possible, call a command line executable that returns MIDI In
data.
I don't need to capture any data other than the MIDI note number of
the key pressed eg, I don't need velocity, after-touch, note-off or
volume data or even the ability to route the MIDI anywhere.
So, being that I'm no C, C++, Obj C or Java programmer is there
anyway to easily create a command line executable that can be called
from AppleScript's 'do shell script' command to:-
1. run in the background waiting for a key press
2. return the decimal value of the key pressed
3. exit/quit
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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