<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
As for forwarding keypresses and mouse events to an application ...<BR>
<BR>
I have done this in Windows to control FLStudio (aka FruityLoops) by sending menu events and keypresses through python windows scripting, pywinauto, and osc in python.<BR>
<BR>
<A HREF="http://www.robotcowboy.com/?p=60">I have info and code on my website</A>.&nbsp; It should still work but it's a bit old (2006) and I don't use Windows anymore.<BR>
<BR>
On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
fiddle~ comes with pd (look in the &quot;extra&quot; folder), there is a help 
patch that will explain how it works.
hope this helps.
marius.

Hugh Sung wrote:
&gt; i'm not familiar with that program - can you provide a link to fiddle~, 
&gt; or any other program that can easily do what i'm looking for with all 
&gt; the various parameters?
&gt; 
&gt; Many thanks!
&gt; 
&gt; On Tue, Apr 29, 2008 at 12:50 PM, marius schebella 
&gt; &lt;<A HREF="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</A> &lt;<A HREF="mailto:marius.schebella@gmail.com">mailto:marius.schebella@gmail.com</A>&gt;&gt; wrote:
&gt; 
&gt;     Hugh Sung wrote:
&gt; 
&gt;         Actually, this isn't for speech recognition - i'm trying to come
&gt;         up with a simple way to use key triggers to activate visuals.
&gt; 
&gt;         For example:  if the piano plays A440, i'm presuming PD can be
&gt;         configured to recognize that pitch with a microphone input and
&gt;         then echo out a text string - the letter &quot;A&quot;, perhaps.
&gt; 
&gt; 
&gt;     in that case, you best use fiddle~. what's the other program? does
&gt;     it accept network communication? then you can send the letters over
&gt;     tcp or udp connection (netsend).
&gt;     marius.
&gt; 
&gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Hugh Sung
&gt; <A HREF="http://www.hughsung.com">www.hughsung.com</A> &lt;<A HREF="http://www.hughsung.com">http://www.hughsung.com</A>&gt;
&gt; <A HREF="http://www.TabletPCMusician.com">www.TabletPCMusician.com</A> &lt;<A HREF="http://www.TabletPCMusician.com">http://www.TabletPCMusician.com</A>&gt;
&gt; <A HREF="http://www.musicmeetstech.com">www.musicmeetstech.com</A> &lt;<A HREF="http://www.musicmeetstech.com">http://www.musicmeetstech.com</A>&gt;



</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
---<BR>
Dan Wilcox<BR>
<A HREF="http://www.robotcowboy.com">robotcowboy.com</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>