The pedals basically operate as programmable usb keyboard extensions, where you can custom assign any keystroke to any pedal (up to 12).&nbsp; I&#39;m hoping that by assigning a certain set of keys to the pedals and reserving the rest for PD to control that everything can simply work together, if PD can output keyboard letters/numbers.&nbsp; Everything would run from the same computer.&nbsp; Again, please forgive me if i sound completely ignorant regarding what&#39;s possible with PD...<br>
Many thanks again!<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 6:13 PM, Andrew Turley &lt;<a href="mailto:aturley@acm.org">aturley@acm.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The [fiddle~] and [bonk~] objects should let you capture all of the<br>
information that you are looking for. As far as getting that<br>
information from Pd to Liquid Media, that may be the tricky part. Your<br>
current pedals are sending keystrokes straight to Liquid Media. Do you<br>
know if there is a way to control Liquid Media via MIDI messages, or<br>
some sort of message sent via a socket connection (maybe OSC)? If so,<br>
then you might be able to use Pd to capture your pedal input and then<br>
combine that with the information from [fiddle~] and/or [bonk~] to<br>
send the appropriate information to Liquid Media. If the only way to<br>
control Liquid Media is through keystrokes, then you might need to<br>
write some software that intercepts the keystrokes from the pedals and<br>
changes them depending on what is going on in Pd.<br>
<br>
andy<br>
<div><div></div><div class="Wj3C7c"><br>
On Tue, Apr 29, 2008 at 12:18 PM, Hugh Sung &lt;<a href="mailto:hughsung@gmail.com">hughsung@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;m using a presentation program called &quot;Liquid Media&quot;, sort of like<br>
&gt; Powerpoint on steroids. &nbsp;Up to this point i had been using multiple foot<br>
&gt; pedals assigned to different keystrokes to trigger visual cues, like video<br>
&gt; clips, animated GIFs and the like, during live classical music piano<br>
&gt; recitals.<br>
&gt;<br>
&gt; I&#39;d like to incorporate the dynamic capabilities of realtime visual sync,<br>
&gt; with the ability to easily &quot;change the scene&quot;, as it were. &nbsp;i&#39;m hoping that<br>
&gt; someone can help me come up with a combined solution where PD acts as an<br>
&gt; audio trigger controller, triggering keystroke events based on pitch ranges,<br>
&gt; dynamic peaks and rhythmic events, and Liquid Media accepts those<br>
&gt; PD-generated keystrokes to trigger correlating visual cues. &nbsp;Each scene<br>
&gt; would comprise of specific trigger-able events, and the foot switch would<br>
&gt; allow for a manual &quot;change of scene&quot;. &nbsp;i&#39;m hoping to accomplish two things<br>
&gt; with this combined approach:<br>
&gt;<br>
&gt; 1. &nbsp;make it a little easier to incorporate visuals synced to audio events<br>
&gt; 2. &nbsp;allow for easy scene transitions, to better compliment the &quot;narrative&quot;<br>
&gt; structure of classical compositions<br>
&gt;<br>
&gt; Hope this makes sense...thanks all for your input so far! (and patience!)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 29, 2008 at 2:45 PM, Dan Wilcox &lt;<a href="mailto:danomatika@gmail.com">danomatika@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; As for forwarding keypresses and mouse events to an application ...<br>
&gt; &gt;<br>
&gt; &gt; I have done this in Windows to control FLStudio (aka FruityLoops) by<br>
&gt; sending menu events and keypresses through python windows scripting,<br>
&gt; pywinauto, and osc in python.<br>
&gt; &gt;<br>
&gt; &gt; I have info and code on my website. &nbsp;It should still work but it&#39;s a bit<br>
&gt; old (2006) and I don&#39;t use Windows anymore.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote:<br>
&gt; &gt; fiddle~ comes with pd (look in the &quot;extra&quot; folder), there is a help<br>
&gt; &gt; patch that will explain how it works.<br>
&gt; &gt; hope this helps.<br>
&gt; &gt; marius.<br>
&gt; &gt;<br>
&gt; &gt; Hugh Sung wrote:<br>
&gt; &gt; &gt; i&#39;m not familiar with that program - can you provide a link to fiddle~,<br>
&gt; &gt; &gt; or any other program that can easily do what i&#39;m looking for with all<br>
&gt; &gt; &gt; the various parameters?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Many thanks!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Tue, Apr 29, 2008 at 12:50 PM, marius schebella<br>
&gt; &gt; &gt; &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a> &lt;mailto:<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hugh Sung wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Actually, this isn&#39;t for speech recognition - i&#39;m trying to come<br>
&gt; &gt; &gt; up with a simple way to use key triggers to activate visuals.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; For example: if the piano plays A440, i&#39;m presuming PD can be<br>
&gt; &gt; &gt; configured to recognize that pitch with a microphone input and<br>
&gt; &gt; &gt; then echo out a text string - the letter &quot;A&quot;, perhaps.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; in that case, you best use fiddle~. what&#39;s the other program? does<br>
&gt; &gt; &gt; it accept network communication? then you can send the letters over<br>
&gt; &gt; &gt; tcp or udp connection (netsend).<br>
&gt; &gt; &gt; marius.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Hugh Sung<br>
&gt; &gt; &gt; <a href="http://www.hughsung.com" target="_blank">www.hughsung.com</a> &lt;<a href="http://www.hughsung.com" target="_blank">http://www.hughsung.com</a>&gt;<br>
&gt; &gt; &gt; <a href="http://www.TabletPCMusician.com" target="_blank">www.TabletPCMusician.com</a> &lt;<a href="http://www.TabletPCMusician.com" target="_blank">http://www.TabletPCMusician.com</a>&gt;<br>
&gt; &gt; &gt; <a href="http://www.musicmeetstech.com" target="_blank">www.musicmeetstech.com</a> &lt;<a href="http://www.musicmeetstech.com" target="_blank">http://www.musicmeetstech.com</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ---<br>
&gt; &gt; Dan Wilcox<br>
&gt; &gt; <a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Hugh Sung<br>
&gt; <a href="http://www.hughsung.com" target="_blank">www.hughsung.com</a><br>
&gt;<br>
&gt; <a href="http://www.TabletPCMusician.com" target="_blank">www.TabletPCMusician.com</a><br>
&gt; <a href="http://www.musicmeetstech.com" target="_blank">www.musicmeetstech.com</a><br>
</div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; &nbsp;<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>
&gt; &nbsp;UNSUBSCRIBE and account-management -&gt;<br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Hugh Sung<br><a href="http://www.hughsung.com">www.hughsung.com</a><br><a href="http://www.TabletPCMusician.com">www.TabletPCMusician.com</a><br><a href="http://www.musicmeetstech.com">www.musicmeetstech.com</a>