Hi Charles,

For some reason your email did not reach me, perhaps you wrote to the pd-list in general. Hence I did 
not reply to you :( Maybe I should try what you did, refreshing MIDI settings and change audio latency. I 
will give it a try, thanks for letting me know!

Regards,
Rishabh

On Wed, Apr 18, 2012 at 7:13 PM, <pd-list-request@iem.at> wrote:
Send Pd-list mailing list submissions to
       pd-list@iem.at

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.puredata.info/listinfo/pd-list
or, via email, send a message with subject or body 'help' to
       pd-list-request@iem.at

You can reach the person managing the list at
       pd-list-owner@iem.at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pd-list digest..."


Today's Topics:

  1. HID double triggers (James Dunn)
  2. Re: HID double triggers (Andrew Faraday)
  3. Re: HID double triggers (Andrew Faraday)
  4. Devs Love Bacon (Andrew Faraday)
  5. Re: MotorMix to PD (Rishabh Natarajan)


----------------------------------------------------------------------

Message: 1
Date: Wed, 18 Apr 2012 16:53:44 +0100
From: James Dunn <james@4thharmonic.com>
Subject: [PD] HID double triggers
To: Pd List <pd-list@iem.kug.ac.at>
Message-ID: <4F8EE388.5070302@4thharmonic.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi list,

recently I've been playing around with [hid] again and still have the
issue with double triggers on linux (see previous post here
<http://www.mail-archive.com/pd-list@iem.at/msg32170.html>).

I've downloaded the latest version of
Pd-0.43.1-extended-ubuntu-lucid-i386.deb
<http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb>
but I have the same problem with my existing Arch Linux installation on
my laptop as well.

It works fine on Mac 10.6. The problem is that I basically get two
identical events for each key press and release, ie:

[hid] 0.7, written by Hans-Christoph Steiner <hans@eds.org>
    compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_u 1
print: key key_u 1
print: key key_u 0
print: key key_u 0

Is anyone else having this problem?

thanks

James
<http://autobuild.puredata.info/auto-build/latest/Pd-0.43.1-extended-ubuntu-lucid-i386.deb>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/499fc9e2/attachment-0001.htm>

------------------------------

Message: 2
Date: Wed, 18 Apr 2012 18:27:15 +0000
From: Andrew Faraday <jbturgid@hotmail.com>
Subject: Re: [PD] HID double triggers
To: <pd-list@iem.kug.ac.at>
Message-ID: <COL120-W267C3A216EDD2E1E27369DE3C0@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"


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).

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.

I hope this helps.

Andrew

Date: Wed, 18 Apr 2012 16:53:44 +0100
From: james@4thharmonic.com
To: pd-list@iem.kug.ac.at
Subject: [PD] HID double triggers







   Hi list,



   recently I've been playing around with [hid] again and still have
   the issue with double triggers on linux (see previous post here).



   I've downloaded the latest version of

   Pd-0.43.1-extended-ubuntu-lucid-i386.deb
   but I have the same problem with my existing Arch Linux installation
   on my laptop as well.



   It works fine on Mac 10.6. The problem is that I basically get two
   identical events for each key press and release, ie:



   [hid] 0.7, written by Hans-Christoph Steiner
     <hans@eds.org>

         compiled on Apr 15 2012 at 08:12:47

     [hid] opened device 4 (/dev/input/event4): AT Translated Set 2
     keyboard

     print: key key_u 1

     print: key key_u 1

     print: key key_u 0

     print: key key_u 0



   Is anyone else having this problem?



   thanks



   James





_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debounce-killer-demo.pd
Type: text/x-puredata
Size: 412 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/a4b7aa20/attachment-0001.bin>

------------------------------

Message: 3
Date: Wed, 18 Apr 2012 18:29:04 +0000
From: Andrew Faraday <jbturgid@hotmail.com>
Subject: Re: [PD] HID double triggers
To: <pd-list@iem.at>
Message-ID: <COL120-W33B40DD1AC1F86A3467023DE3C0@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"


From: jbturgid@hotmail.com
To: pd-list@iem.kug.ac.at
Subject: RE: [PD] HID double triggers
Date: Wed, 18 Apr 2012 18:27:15 +0000





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).

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.

I hope this helps.

Andrew

Date: Wed, 18 Apr 2012 16:53:44 +0100
From: james@4thharmonic.com
To: pd-list@iem.kug.ac.at
Subject: [PD] HID double triggers







   Hi list,



   recently I've been playing around with [hid] again and still have
   the issue with double triggers on linux (see previous post here).



   I've downloaded the latest version of

   Pd-0.43.1-extended-ubuntu-lucid-i386.deb
   but I have the same problem with my existing Arch Linux installation
   on my laptop as well.



   It works fine on Mac 10.6. The problem is that I basically get two
   identical events for each key press and release, ie:



   [hid] 0.7, written by Hans-Christoph Steiner
     <hans@eds.org>

         compiled on Apr 15 2012 at 08:12:47

     [hid] opened device 4 (/dev/input/event4): AT Translated Set 2
     keyboard

     print: key key_u 1

     print: key key_u 1

     print: key key_u 0

     print: key key_u 0



   Is anyone else having this problem?



   thanks



   James





_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debounce-killer-demo.pd
Type: text/x-puredata
Size: 412 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/4f5a2719/attachment-0001.bin>

------------------------------

Message: 4
Date: Wed, 18 Apr 2012 19:34:12 +0100
From: Andrew Faraday <jbturgid@hotmail.com>
Subject: [PD] Devs Love Bacon
To: <pd-list@iem.at>
Message-ID: <COL120-W208B19B506CF14AC5F167CDE3C0@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"


Hey Guys

I Just a quick question, are any of the uk pure dataists going to the Devs Love Bacon conference this weekend?

Cheers

Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/e58606b0/attachment-0001.htm>

------------------------------

Message: 5
Date: Wed, 18 Apr 2012 19:12:50 -0400
From: Rishabh Natarajan <rishabh.natarajan@gmail.com>
Subject: Re: [PD] MotorMix to PD
To: Cyrille Henry <ch@chnry.net>
Cc: pd-list <pd-list@iem.at>
Message-ID:
       <CAJYU2AFSx1BXtPYWc-F7HjtLD9dvhB0cUjeiD3U7D5RrPLHttQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Thanks Cyrille and Pierre for replying to me.

@Pierre: I am definitely just a novice in pd, and so some of the
explanation you sent me seemed quite hard to follow for me :( I did read
the Motormix manual myself and found out, like you said, that it outputs 9
bits of information that only 7 need to actually be used to get the fader
information, but I've still no idea how to do that. I came across this
MIDIvice external for pd with specific support for Motormix but I'm not
able to use the makefile in that set of files to create the external
correctly. Also, there is an object written for Max to again deal
specifically with the Motormix. Is there any way to get this object to work
with pd? (Perhaps along the line of the cyclone library which holds most of
Max's objects)

@Cyrille:I will try the print object to see all the other values coming out
from moving the Motormix fader. I found that the faders started from number
32 onwards, but I'm not sure which of the ctlin's outlets to connect to the
vslider in the patch. I created an object ctlin with argument 32 and then
connected the leftmost outlet to the first vslider. With every movement of
the Motormix fader, the vslider kept jumping positions but either went back
to it's lowest value or just stuck to some other value. It never moved
along with the motormix fader. As for getting the motor to move the faders
using ctlout, I've not got to that stage yet but hopefully with your
advice, I will be able to achieve the movement.

I hope you guys (or anyone else) can help me out some more with this.

Thanks!
Rishabh

On Wed, Apr 18, 2012 at 4:38 AM, Cyrille Henry <ch@chnry.net> wrote:

> hello,
>
> message 47 i probably a fader release information.
> using print better than number you'll see that it's not the only message
> you are receiving.
>
> fitering all information to have only fader movement is easy :
> a "ctlin 0" object should output value of the 1st linear fader.
> "ctlin 1" the 2nd etc
>
>  "ctlin 64" ... "ctlin 71" output rotation speed of the rotative fader
> (they did not output an absolute value)
>
> for the toggle, it's a bit more tricky: you have to use 2 ctlin objects :
> i used :
> ctlin 47        ctlin 15
> pack f f
> route 66
> sel 0 1 2 3 4 5 6 7
>
> in order to select press information from 1 raw of toggle.
> the other raw should be almost similar.
>
> To move the fader thanks to the motor, you have to send 2 ctlout
> information.
> using midiout, you can send a message like : "176 0 $1 176 32 0" i.e.
> sending value to ctlout 0, then sending 0 to ctlout 32.
>
>
> toggle did not light on, because they can light in different colour, you
> have to light them up manually.
> to light up a specific toggle i used
> "176 12 0 176 44 $1" where $1 value is 2 or 66, for 1st column fader,
> using 176 12 1 for 2nd column etc.
> i think 44 can be changed to address other raw, ans the $1 value for the
> color.
>
> i don't have any motor mix since many many years, so can't help more, but
> all can be made using simple ctlout. exapt display text on the screen that
> need sysex messages.
>
> cheers
> cyrille
>
>
>
>
> Le 18/04/2012 06:05, Rishabh Natarajan a ?crit :
>
>> Hi folks,
>>
>>
>> I'm building a virtual mixer in PD and need to be able to switch between
>> sets of 8 channels. I have a Motormix midi controller and it's connected to
>> pd via Mbox2 (MIDI cables going between Motormix and Mbox2, USB going from
>> Mbox2 to Macbook Pro). Using the ctlin object and 3 number boxes, I can see
>> that pd is able to detect the button presses or fader movements, but I am
>> not able to make head or tail of the values that are showing up. Whether I
>> move a fader up or down seems to just jolt the left most output and once
>> the motion is stopped it comes back to the same value. I guess that only
>> detects the motion of the fader. When I connect it to a Vslider object, the
>> slider moves sometimes and sometimes it doesn't. The middle outlet seems to
>> have the  number 47 on and when you move a slider, it shows the value for
>> that particular slider, but comes back to 47 when you stop. When I press
>> any button, nothing lights up on the console (though these are all supposed
>> to light up and I'
>>
> ve
>
>> seen them lit) and now the left most channel shows the value for that
>> button while the 47 just remains.
>>
>> I need to map this motormix soon, and any help with this will be a
>> godsend.
>>
>> HELP!!
>>
>> Thanks,
>> Rishabh
>>
>>
>>
>> ______________________________**_________________
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/**
>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120418/91e5d4c4/attachment.htm>

------------------------------

_______________________________________________
Pd-list mailing list
Pd-list@iem.at
to manage your subscription (including un-subscription) see
http://lists.puredata.info/listinfo/pd-list


End of Pd-list Digest, Vol 85, Issue 56
***************************************