We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Simulating key presses
Page Index Toggle Pages: 1
Simulating key presses (Read 469 times)
Simulating key presses
Apr 5th, 2008, 7:56pm
 
Hello, I am trying to get a Processing sketch to interact with Ableton Live via key presses. Ableton is set up to listen to input from the keyboard and I want Processing to send certain key strokes depending on what the user does to the Processing sketch.

I can't find a simple processing command for this. Will I have to use low-level Java stuff like Robot? Or would using MIDI possibly be easier?
Re: Simulating key presses
Reply #1 - Apr 8th, 2008, 12:25pm
 
you'll have to use Java, but it looks pretty simple,

http://forum.java.sun.com/thread.jspa?threadID=440311&messageID=1983027

does that help?
Re: Simulating key presses
Reply #2 - Apr 10th, 2008, 6:53am
 
Thank you, that's what I've done and it works fine. For the record, it seems to be much easier to interact with Ableton this way than with MIDI.
Page Index Toggle Pages: 1