<div>Hi Charles,</div><div><br></div><div>For some reason your email did not reach me, perhaps you wrote to the pd-list in general. Hence I did </div><div>not reply to you :( Maybe I should try what you did, refreshing MIDI settings and change audio latency. I </div>
<div>will give it a try, thanks for letting me know!</div><div><br></div><div>Regards,</div><div>Rishabh</div><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 7:13 PM,  <span dir="ltr">&lt;<a href="mailto:pd-list-request@iem.at">pd-list-request@iem.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Pd-list mailing list submissions to<br>
        <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:pd-list-request@iem.at">pd-list-request@iem.at</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:pd-list-owner@iem.at">pd-list-owner@iem.at</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Pd-list digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. HID double triggers (James Dunn)<br>
   2. Re: HID double triggers (Andrew Faraday)<br>
   3. Re: HID double triggers (Andrew Faraday)<br>
   4. Devs Love Bacon (Andrew Faraday)<br>
   5. Re: MotorMix to PD (Rishabh Natarajan)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 18 Apr 2012 16:53:44 +0100<br>
From: James Dunn &lt;<a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a>&gt;<br>
Subject: [PD] HID double triggers<br>
To: Pd List &lt;<a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4F8EE388.5070302@4thharmonic.com">4F8EE388.5070302@4thharmonic.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br>
<br>
Hi list,<br>
<br>
recently I&#39;ve been playing around with [hid] again and still have the<br>
issue with double triggers on linux (see previous post here<br>
&lt;<a href="http://www.mail-archive.com/pd-list@iem.at/msg32170.html" target="_blank">http://www.mail-archive.com/pd-list@iem.at/msg32170.html</a>&gt;).<br>
<br>
I&#39;ve downloaded the latest version of<br>
Pd-0.43.1-extended-ubuntu-lucid-i386.deb<br>
&lt;<a href="http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb" target="_blank">http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb</a>&gt;<br>

but I have the same problem with my existing Arch Linux installation on<br>
my laptop as well.<br>
<br>
It works fine on Mac 10.6. The problem is that I basically get two<br>
identical events for each key press and release, ie:<br>
<br>
[hid] 0.7, written by Hans-Christoph Steiner &lt;<a href="mailto:hans@eds.org">hans@eds.org</a>&gt;<br>
     compiled on Apr 15 2012 at 08:12:47<br>
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard<br>
print: key key_u 1<br>
print: key key_u 1<br>
print: key key_u 0<br>
print: key key_u 0<br>
<br>
Is anyone else having this problem?<br>
<br>
thanks<br>
<br>
James<br>
&lt;<a href="http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb" target="_blank">http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb</a>&gt;<br>

<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/499fc9e2/attachment-0001.htm" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/499fc9e2/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 18 Apr 2012 18:27:15 +0000<br>
From: Andrew Faraday &lt;<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>&gt;<br>
Subject: Re: [PD] HID double triggers<br>
To: &lt;<a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a>&gt;<br>
Message-ID: &lt;COL120-W267C3A216EDD2E1E27369DE3C0@phx.gbl&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
I&#39;ve had this problem before with [hid], apparently it&#39;s a hardware issue called &#39;debouncing&#39;, which is often ignored because it is often irrelevant (pushed is pushed, for game controllers, rather than a button-on/button-off signal used for most music systems).<br>

<br>
You can deal with the problem in pure data by using a trigger, float and delay of one millisecond. See the attached patch, click the message boxes and watch your terminal for the result.<br>
<br>
I hope this helps.<br>
<br>
Andrew<br>
<br>
Date: Wed, 18 Apr 2012 16:53:44 +0100<br>
From: <a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a><br>
To: <a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a><br>
Subject: [PD] HID double triggers<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
    Hi list,<br>
<br>
<br>
<br>
    recently I&#39;ve been playing around with [hid] again and still have<br>
    the issue with double triggers on linux (see previous post here).<br>
<br>
<br>
<br>
    I&#39;ve downloaded the latest version of<br>
<br>
    Pd-0.43.1-extended-ubuntu-lucid-i386.deb<br>
    but I have the same problem with my existing Arch Linux installation<br>
    on my laptop as well.<br>
<br>
<br>
<br>
    It works fine on Mac 10.6. The problem is that I basically get two<br>
    identical events for each key press and release, ie:<br>
<br>
<br>
<br>
    [hid] 0.7, written by Hans-Christoph Steiner<br>
      &lt;<a href="mailto:hans@eds.org">hans@eds.org</a>&gt;<br>
<br>
          compiled on Apr 15 2012 at 08:12:47<br>
<br>
      [hid] opened device 4 (/dev/input/event4): AT Translated Set 2<br>
      keyboard<br>
<br>
      print: key key_u 1<br>
<br>
      print: key key_u 1<br>
<br>
      print: key key_u 0<br>
<br>
      print: key key_u 0<br>
<br>
<br>
<br>
    Is anyone else having this problem?<br>
<br>
<br>
<br>
    thanks<br>
<br>
<br>
<br>
    James<br>
<br>
<br>
<br>
<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.htm" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.htm</a>&gt;<br>

-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: debounce-killer-demo.pd<br>
Type: text/x-puredata<br>
Size: 412 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.bin" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.bin</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 18 Apr 2012 18:29:04 +0000<br>
From: Andrew Faraday &lt;<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>&gt;<br>
Subject: Re: [PD] HID double triggers<br>
To: &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
Message-ID: &lt;COL120-W33B40DD1AC1F86A3467023DE3C0@phx.gbl&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
From: <a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a><br>
To: <a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a><br>
Subject: RE: [PD] HID double triggers<br>
Date: Wed, 18 Apr 2012 18:27:15 +0000<br>
<br>
<br>
<br>
<br>
<br>
I&#39;ve had this problem before with [hid], apparently it&#39;s a hardware issue called &#39;debouncing&#39;, which is often ignored because it is often irrelevant (pushed is pushed, for game controllers, rather than a button-on/button-off signal used for most music systems).<br>

<br>
You can deal with the problem in pure data by using a trigger, float and delay of one millisecond. See the attached patch, click the message boxes and watch your terminal for the result.<br>
<br>
I hope this helps.<br>
<br>
Andrew<br>
<br>
Date: Wed, 18 Apr 2012 16:53:44 +0100<br>
From: <a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a><br>
To: <a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a><br>
Subject: [PD] HID double triggers<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
    Hi list,<br>
<br>
<br>
<br>
    recently I&#39;ve been playing around with [hid] again and still have<br>
    the issue with double triggers on linux (see previous post here).<br>
<br>
<br>
<br>
    I&#39;ve downloaded the latest version of<br>
<br>
    Pd-0.43.1-extended-ubuntu-lucid-i386.deb<br>
    but I have the same problem with my existing Arch Linux installation<br>
    on my laptop as well.<br>
<br>
<br>
<br>
    It works fine on Mac 10.6. The problem is that I basically get two<br>
    identical events for each key press and release, ie:<br>
<br>
<br>
<br>
    [hid] 0.7, written by Hans-Christoph Steiner<br>
      &lt;<a href="mailto:hans@eds.org">hans@eds.org</a>&gt;<br>
<br>
          compiled on Apr 15 2012 at 08:12:47<br>
<br>
      [hid] opened device 4 (/dev/input/event4): AT Translated Set 2<br>
      keyboard<br>
<br>
      print: key key_u 1<br>
<br>
      print: key key_u 1<br>
<br>
      print: key key_u 0<br>
<br>
      print: key key_u 0<br>
<br>
<br>
<br>
    Is anyone else having this problem?<br>
<br>
<br>
<br>
    thanks<br>
<br>
<br>
<br>
    James<br>
<br>
<br>
<br>
<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.htm" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.htm</a>&gt;<br>

-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: debounce-killer-demo.pd<br>
Type: text/x-puredata<br>
Size: 412 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.bin" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.bin</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 18 Apr 2012 19:34:12 +0100<br>
From: Andrew Faraday &lt;<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>&gt;<br>
Subject: [PD] Devs Love Bacon<br>
To: &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
Message-ID: &lt;COL120-W208B19B506CF14AC5F167CDE3C0@phx.gbl&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
Hey Guys<br>
<br>
I Just a quick question, are any of the uk pure dataists going to the Devs Love Bacon conference this weekend?<br>
<br>
Cheers<br>
<br>
Andrew<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/e58606b0/attachment-0001.htm" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/e58606b0/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 18 Apr 2012 19:12:50 -0400<br>
From: Rishabh Natarajan &lt;<a href="mailto:rishabh.natarajan@gmail.com">rishabh.natarajan@gmail.com</a>&gt;<br>
Subject: Re: [PD] MotorMix to PD<br>
To: Cyrille Henry &lt;<a href="mailto:ch@chnry.net">ch@chnry.net</a>&gt;<br>
Cc: pd-list &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAJYU2AFSx1BXtPYWc-F7HjtLD9dvhB0cUjeiD3U7D5RrPLHttQ@mail.gmail.com">CAJYU2AFSx1BXtPYWc-F7HjtLD9dvhB0cUjeiD3U7D5RrPLHttQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Thanks Cyrille and Pierre for replying to me.<br>
<br>
@Pierre: I am definitely just a novice in pd, and so some of the<br>
explanation you sent me seemed quite hard to follow for me :( I did read<br>
the Motormix manual myself and found out, like you said, that it outputs 9<br>
bits of information that only 7 need to actually be used to get the fader<br>
information, but I&#39;ve still no idea how to do that. I came across this<br>
MIDIvice external for pd with specific support for Motormix but I&#39;m not<br>
able to use the makefile in that set of files to create the external<br>
correctly. Also, there is an object written for Max to again deal<br>
specifically with the Motormix. Is there any way to get this object to work<br>
with pd? (Perhaps along the line of the cyclone library which holds most of<br>
Max&#39;s objects)<br>
<br>
@Cyrille:I will try the print object to see all the other values coming out<br>
from moving the Motormix fader. I found that the faders started from number<br>
32 onwards, but I&#39;m not sure which of the ctlin&#39;s outlets to connect to the<br>
vslider in the patch. I created an object ctlin with argument 32 and then<br>
connected the leftmost outlet to the first vslider. With every movement of<br>
the Motormix fader, the vslider kept jumping positions but either went back<br>
to it&#39;s lowest value or just stuck to some other value. It never moved<br>
along with the motormix fader. As for getting the motor to move the faders<br>
using ctlout, I&#39;ve not got to that stage yet but hopefully with your<br>
advice, I will be able to achieve the movement.<br>
<br>
I hope you guys (or anyone else) can help me out some more with this.<br>
<br>
Thanks!<br>
Rishabh<br>
<br>
On Wed, Apr 18, 2012 at 4:38 AM, Cyrille Henry &lt;<a href="mailto:ch@chnry.net">ch@chnry.net</a>&gt; wrote:<br>
<br>
&gt; hello,<br>
&gt;<br>
&gt; message 47 i probably a fader release information.<br>
&gt; using print better than number you&#39;ll see that it&#39;s not the only message<br>
&gt; you are receiving.<br>
&gt;<br>
&gt; fitering all information to have only fader movement is easy :<br>
&gt; a &quot;ctlin 0&quot; object should output value of the 1st linear fader.<br>
&gt; &quot;ctlin 1&quot; the 2nd etc<br>
&gt;<br>
&gt;  &quot;ctlin 64&quot; ... &quot;ctlin 71&quot; output rotation speed of the rotative fader<br>
&gt; (they did not output an absolute value)<br>
&gt;<br>
&gt; for the toggle, it&#39;s a bit more tricky: you have to use 2 ctlin objects :<br>
&gt; i used :<br>
&gt; ctlin 47        ctlin 15<br>
&gt; pack f f<br>
&gt; route 66<br>
&gt; sel 0 1 2 3 4 5 6 7<br>
&gt;<br>
&gt; in order to select press information from 1 raw of toggle.<br>
&gt; the other raw should be almost similar.<br>
&gt;<br>
&gt; To move the fader thanks to the motor, you have to send 2 ctlout<br>
&gt; information.<br>
&gt; using midiout, you can send a message like : &quot;176 0 $1 176 32 0&quot; i.e.<br>
&gt; sending value to ctlout 0, then sending 0 to ctlout 32.<br>
&gt;<br>
&gt;<br>
&gt; toggle did not light on, because they can light in different colour, you<br>
&gt; have to light them up manually.<br>
&gt; to light up a specific toggle i used<br>
&gt; &quot;176 12 0 176 44 $1&quot; where $1 value is 2 or 66, for 1st column fader,<br>
&gt; using 176 12 1 for 2nd column etc.<br>
&gt; i think 44 can be changed to address other raw, ans the $1 value for the<br>
&gt; color.<br>
&gt;<br>
&gt; i don&#39;t have any motor mix since many many years, so can&#39;t help more, but<br>
&gt; all can be made using simple ctlout. exapt display text on the screen that<br>
&gt; need sysex messages.<br>
&gt;<br>
&gt; cheers<br>
&gt; cyrille<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Le 18/04/2012 06:05, Rishabh Natarajan a ?crit :<br>
&gt;<br>
&gt;&gt; Hi folks,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m building a virtual mixer in PD and need to be able to switch between<br>
&gt;&gt; sets of 8 channels. I have a Motormix midi controller and it&#39;s connected to<br>
&gt;&gt; pd via Mbox2 (MIDI cables going between Motormix and Mbox2, USB going from<br>
&gt;&gt; Mbox2 to Macbook Pro). Using the ctlin object and 3 number boxes, I can see<br>
&gt;&gt; that pd is able to detect the button presses or fader movements, but I am<br>
&gt;&gt; not able to make head or tail of the values that are showing up. Whether I<br>
&gt;&gt; move a fader up or down seems to just jolt the left most output and once<br>
&gt;&gt; the motion is stopped it comes back to the same value. I guess that only<br>
&gt;&gt; detects the motion of the fader. When I connect it to a Vslider object, the<br>
&gt;&gt; slider moves sometimes and sometimes it doesn&#39;t. The middle outlet seems to<br>
&gt;&gt; have the  number 47 on and when you move a slider, it shows the value for<br>
&gt;&gt; that particular slider, but comes back to 47 when you stop. When I press<br>
&gt;&gt; any button, nothing lights up on the console (though these are all supposed<br>
&gt;&gt; to light up and I&#39;<br>
&gt;&gt;<br>
&gt; ve<br>
&gt;<br>
&gt;&gt; seen them lit) and now the left most channel shows the value for that<br>
&gt;&gt; button while the 47 just remains.<br>
&gt;&gt;<br>
&gt;&gt; I need to map this motormix soon, and any help with this will be a<br>
&gt;&gt; godsend.<br>
&gt;&gt;<br>
&gt;&gt; HELP!!<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Rishabh<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________**_________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;  <a href="http://lists.puredata.info/**" target="_blank">http://lists.puredata.info/**</a><br>
&gt;&gt; listinfo/pd-list &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a>&gt;<br>
&gt;&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20120418/91e5d4c4/attachment.htm" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20120418/91e5d4c4/attachment.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Pd-list mailing list<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a><br>
to manage your subscription (including un-subscription) see<br>
<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
End of Pd-list Digest, Vol 85, Issue 56<br>
***************************************<br>
</blockquote></div><br>