<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"><<a href="mailto:pd-list-request@iem.at">pd-list-request@iem.at</a>></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 'help' 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 "Re: Contents of Pd-list digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:james@4thharmonic.com">james@4thharmonic.com</a>><br>
Subject: [PD] HID double triggers<br>
To: Pd List <<a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a>><br>
Message-ID: <<a href="mailto:4F8EE388.5070302@4thharmonic.com">4F8EE388.5070302@4thharmonic.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
Hi list,<br>
<br>
recently I've been playing around with [hid] again and still have the<br>
issue with double triggers on linux (see previous post here<br>
<<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>>).<br>
<br>
I've downloaded the latest version of<br>
Pd-0.43.1-extended-ubuntu-lucid-i386.deb<br>
<<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>><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 <<a href="mailto:hans@eds.org">hans@eds.org</a>><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>
<<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>><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<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>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 18 Apr 2012 18:27:15 +0000<br>
From: Andrew Faraday <<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>><br>
Subject: Re: [PD] HID double triggers<br>
To: <<a href="mailto:pd-list@iem.kug.ac.at">pd-list@iem.kug.ac.at</a>><br>
Message-ID: <COL120-W267C3A216EDD2E1E27369DE3C0@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
<br>
I've had this problem before with [hid], apparently it's a hardware issue called 'debouncing', 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'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'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>
<<a href="mailto:hans@eds.org">hans@eds.org</a>><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 -> <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: <<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>><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: <<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>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 18 Apr 2012 18:29:04 +0000<br>
From: Andrew Faraday <<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>><br>
Subject: Re: [PD] HID double triggers<br>
To: <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
Message-ID: <COL120-W33B40DD1AC1F86A3467023DE3C0@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<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've had this problem before with [hid], apparently it's a hardware issue called 'debouncing', 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'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'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>
<<a href="mailto:hans@eds.org">hans@eds.org</a>><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 -> <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: <<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>><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: <<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>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 18 Apr 2012 19:34:12 +0100<br>
From: Andrew Faraday <<a href="mailto:jbturgid@hotmail.com">jbturgid@hotmail.com</a>><br>
Subject: [PD] Devs Love Bacon<br>
To: <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
Message-ID: <COL120-W208B19B506CF14AC5F167CDE3C0@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<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: <<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>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 18 Apr 2012 19:12:50 -0400<br>
From: Rishabh Natarajan <<a href="mailto:rishabh.natarajan@gmail.com">rishabh.natarajan@gmail.com</a>><br>
Subject: Re: [PD] MotorMix to PD<br>
To: Cyrille Henry <<a href="mailto:ch@chnry.net">ch@chnry.net</a>><br>
Cc: pd-list <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
Message-ID:<br>
<<a href="mailto:CAJYU2AFSx1BXtPYWc-F7HjtLD9dvhB0cUjeiD3U7D5RrPLHttQ@mail.gmail.com">CAJYU2AFSx1BXtPYWc-F7HjtLD9dvhB0cUjeiD3U7D5RrPLHttQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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've still no idea how to do that. I came across this<br>
MIDIvice external for pd with specific support for Motormix but I'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'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'm not sure which of the ctlin'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'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'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 <<a href="mailto:ch@chnry.net">ch@chnry.net</a>> wrote:<br>
<br>
> hello,<br>
><br>
> message 47 i probably a fader release information.<br>
> using print better than number you'll see that it's not the only message<br>
> you are receiving.<br>
><br>
> fitering all information to have only fader movement is easy :<br>
> a "ctlin 0" object should output value of the 1st linear fader.<br>
> "ctlin 1" the 2nd etc<br>
><br>
> "ctlin 64" ... "ctlin 71" output rotation speed of the rotative fader<br>
> (they did not output an absolute value)<br>
><br>
> for the toggle, it's a bit more tricky: you have to use 2 ctlin objects :<br>
> i used :<br>
> ctlin 47 ctlin 15<br>
> pack f f<br>
> route 66<br>
> sel 0 1 2 3 4 5 6 7<br>
><br>
> in order to select press information from 1 raw of toggle.<br>
> the other raw should be almost similar.<br>
><br>
> To move the fader thanks to the motor, you have to send 2 ctlout<br>
> information.<br>
> using midiout, you can send a message like : "176 0 $1 176 32 0" i.e.<br>
> sending value to ctlout 0, then sending 0 to ctlout 32.<br>
><br>
><br>
> toggle did not light on, because they can light in different colour, you<br>
> have to light them up manually.<br>
> to light up a specific toggle i used<br>
> "176 12 0 176 44 $1" where $1 value is 2 or 66, for 1st column fader,<br>
> using 176 12 1 for 2nd column etc.<br>
> i think 44 can be changed to address other raw, ans the $1 value for the<br>
> color.<br>
><br>
> i don't have any motor mix since many many years, so can't help more, but<br>
> all can be made using simple ctlout. exapt display text on the screen that<br>
> need sysex messages.<br>
><br>
> cheers<br>
> cyrille<br>
><br>
><br>
><br>
><br>
> Le 18/04/2012 06:05, Rishabh Natarajan a ?crit :<br>
><br>
>> Hi folks,<br>
>><br>
>><br>
>> I'm building a virtual mixer in PD and need to be able to switch between<br>
>> sets of 8 channels. I have a Motormix midi controller and it's connected to<br>
>> pd via Mbox2 (MIDI cables going between Motormix and Mbox2, USB going from<br>
>> Mbox2 to Macbook Pro). Using the ctlin object and 3 number boxes, I can see<br>
>> that pd is able to detect the button presses or fader movements, but I am<br>
>> not able to make head or tail of the values that are showing up. Whether I<br>
>> move a fader up or down seems to just jolt the left most output and once<br>
>> the motion is stopped it comes back to the same value. I guess that only<br>
>> detects the motion of the fader. When I connect it to a Vslider object, the<br>
>> slider moves sometimes and sometimes it doesn't. The middle outlet seems to<br>
>> have the number 47 on and when you move a slider, it shows the value for<br>
>> that particular slider, but comes back to 47 when you stop. When I press<br>
>> any button, nothing lights up on the console (though these are all supposed<br>
>> to light up and I'<br>
>><br>
> ve<br>
><br>
>> seen them lit) and now the left most channel shows the value for that<br>
>> button while the 47 just remains.<br>
>><br>
>> I need to map this motormix soon, and any help with this will be a<br>
>> godsend.<br>
>><br>
>> HELP!!<br>
>><br>
>> Thanks,<br>
>> Rishabh<br>
>><br>
>><br>
>><br>
>> ______________________________**_________________<br>
>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/**" target="_blank">http://lists.puredata.info/**</a><br>
>> listinfo/pd-list <<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a>><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<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>><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>