[Csnd] p5 glove...
Date | 2009-06-04 12:59 |
From | Rory Walsh |
Subject | [Csnd] p5 glove... |
A friend of mine is interested in using this glove with Csound. If I remember correctly I saw John ffitch perform with this glove in a concert in Ireland. Does it send MIDI data or OSC or serial data or what? I couldn't find much info on the website. Any info, suggestions, advise is much appreciated. Rory. |
Date | 2009-06-04 13:15 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: p5 glove... |
> A friend of mine is interested in using this glove with Csound. If I > remember correctly I saw John ffitch perform with this glove in a > concert in Ireland. Does it send MIDI data or OSC or serial data or > what? I couldn't find much info on the website. Any info, suggestions, > advise is much appreciated. > > Rory. > > The P5 Glove is a USB device. The Csound implementation reads the data once per k-cycle and make the readings available to an opcode At present there needs to be some extensions to deal with buttons (just pressed, just released etc) and there is no calibration. eg |
Date | 2009-06-04 13:35 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: p5 glove... |
Thanks John, where can I find the p5glove opcodes? I don't seem to have them in my current build? Out of curiosity is a serial/usb data connection? If so I wonder could teh code be adapted to work with the arduino IO boards which are based on serial/usb connections? Rory. 2009/6/4 |
Date | 2009-06-04 13:35 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: p5 glove... |
I've had a real hard time getting Linux drivers. I was unable to solve how to check this out with SVN: https://www.smartelectronix.com:9000/repos/osc/libp5glove/trunk/ And Ross Bencina, whose repo that is, couldn't help me. I think he thinks I'm kidding when I say I don't know how to translate that into an svn command. On Windows, GlovePIE works great and has endless features. The only thing missing is the source code. In my tests I haven't found the glove to be very accurate. If you just want to use it like some of the YouTube videos, i.e., move it this way to speed up a loop, move it that way to change the filter cutoff, it's "fun". I haven't been able to tame it into a very responsive tool. Another complaint that I've read and can confirm is that one's hand gets pretty tired using it. I don't know if that's any different than other gloves, but you have to pretty much hold it up continuously. -Chuckk On Thu, Jun 4, 2009 at 2:59 PM, Rory Walsh |
Date | 2009-06-04 13:39 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: p5 glove... |
I think he'll be using it on windows so glovePIE looks like a good option. Cheers, Rory. 2009/6/4 Chuckk Hubbard |
Date | 2009-06-04 13:45 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: p5 glove... |
> Thanks John, where can I find the p5glove opcodes? I don't seem to > have them in my current build? Out of curiosity is a serial/usb data > connection? If so I wonder could teh code be adapted to work with the > arduino IO boards which are based on serial/usb connections? > > Rory. > > Code is in Opcodes/p5glove.c with additional acros in Opcodes/p5g_mac It is a serial HID device. I am using libp5glove from SVN -- works OK on Linux. There is Woindows and OSX code but I do not have the facilities to test. If building from source you need to set includeP5Glove=1 in the scons call to build ==John ff |
Date | 2009-06-04 16:09 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: p5 glove... |
Thanks. Rory. 2009/6/4 |
Date | 2009-06-04 17:43 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: p5 glove... |
Hi Chuck, Do this: svn checkout https://www.smartelectronix.com:9000/repos/osc/libp5glove You will be asked to accept the certificate, and then you can get the sources. I have no time to try this now, but let us know if you get the glove to work on Linux. I'd love to use my glove again. Cheers, Andrés On Thu, Jun 4, 2009 at 7:35 AM, Chuckk Hubbard |
Date | 2009-06-04 18:11 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: p5 glove... |
The glove works for me ==John ff |
Date | 2009-06-04 18:55 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: Re: Re: p5 glove... |
I'm at a loss to explain it, but the last 50 times I tried that it hung. Thanks for that. -Chuckk On Thu, Jun 4, 2009 at 7:43 PM, Andres Cabrera |
Date | 2009-06-04 21:37 |
From | David Akbari |
Subject | [Csnd] Re: Re: Re: Re: p5 glove... |
This may or may not be helpful to the present conversation but in 2005 I was using the p5glove in Csound through a UDO wrapper. http://www.csounds.com/udo/displayOpcode.php?opcode_id=58 -David |
Date | 2009-06-04 22:03 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: Re: p5 glove... |
This is very interesting. I'm still confused however about what kind of data the glove sends to the USB port? Is it OSC or did you use another interface to convert to OSC? 2009/6/4 David Akbari |
Date | 2009-06-05 13:18 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: p5 glove... |
It sends its own kind of packets, which is why it requires a driver, as I understand it. The tower reads info from all of the little LEDs using two sensors at an angle to each other, and the flexors on the fingers send their own numbers, and all of that goes into some kind of packet which is interpreted by the driver to give position, rotation, and movement. GlovePIE can convert the glove's data to just about any other format, like mouse, keyboard, OSC, or joystick data. Someone made a Glove-to-OSC application for Linux that works okay, I can dig up the link if you want. BTW, some of the Windows drivers actually have warping correction and smoothing features that have never been implemented in Linux drivers. The guy who added them never responded to my email. -Chuckk On Fri, Jun 5, 2009 at 12:03 AM, Rory Walsh |
Date | 2009-06-05 13:29 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: p5 glove... |
Thanks Chuckk, that clears it up for me. Don't think I'll need to Linux drivers. Rory. 2009/6/5 Chuckk Hubbard |
Date | 2009-06-05 15:17 |
From | Andy Fillebrown |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: p5 glove... |
I picked up a p5 several years ago and my findings were similar to Chuck's regarding it's usefulness -- great for broad strokes, terrible for detail work -- especially in regards to depth tracking. It does get a nice "wow" response at shows if you can sort out the l.e.d./lighting issues, so for those that do use it there is a yahoo group at http://tech.groups.yahoo.com/group/p5glove/ that's remained active over the years -- and they have a nice wiki at http://scratchpad.wikia.com/wiki/P5_Glove -- just in case you hadn't run into those links already. Cheers, -andy.f ----- Original Message ----- From: "Rory Walsh" <rorywalsh@ear.ie> To: csound@lists.bath.ac.uk Sent: Friday, June 5, 2009 8:29:46 AM (GMT-0500) America/New_York Subject: [Csnd] Re: Re: Re: Re: Re: Re: Re: p5 glove... Thanks Chuckk, that clears it up for me. Don't think I'll need to Linux drivers. Rory. 2009/6/5 Chuckk Hubbard <badmuthahubbard@gmail.com>: > It sends its own kind of packets, which is why it requires a driver, > as I understand it. The tower reads info from all of the little LEDs > using two sensors at an angle to each other, and the flexors on the > fingers send their own numbers, and all of that goes into some kind of > packet which is interpreted by the driver to give position, rotation, > and movement. > GlovePIE can convert the glove's data to just about any other format, > like mouse, keyboard, OSC, or joystick data. > Someone made a Glove-to-OSC application for Linux that works okay, I > can dig up the link if you want. > BTW, some of the Windows drivers actually have warping correction and > smoothing features that have never been implemented in Linux drivers. > The guy who added them never responded to my email. > > -Chuckk > > On Fri, Jun 5, 2009 at 12:03 AM, Rory Walsh<rorywalsh@ear.ie> wrote: >> This is very interesting. I'm still confused however about what kind >> of data the glove sends to the USB port? Is it OSC or did you use >> another interface to convert to OSC? >> >> 2009/6/4 David Akbari <dakbari@gmail.com>: >>> This may or may not be helpful to the present conversation but in 2005 >>> I was using the p5glove in Csound through a UDO wrapper. >>> >>> http://www.csounds.com/udo/displayOpcode.php?opcode_id=58 >>> >>> >>> -David >>> >>> >>> Send bugs reports to this list. >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >>> >> >> >> Send bugs reports to this list. >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >> > > > > -- > http://www.badmuthahubbard.com > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2009-06-06 16:59 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: p5 glove... |
Can you provide docs for these John? They're not in the manual yet. Cheers, Andrés On Thu, Jun 4, 2009 at 7:15 AM, |
Date | 2009-06-06 17:36 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: p5 glove... |
> Can you provide docs for these John? They're not in the manual yet. > > Cheers, > Andrés > Still refining -- was working on it this morning. Seem to be having a performance problem at present ==John |
Date | 2009-06-07 02:38 |
From | David Akbari |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: p5 glove... |
There was a separate binary executable called "p5osc" that converted the raw data sent by the P5 glove (connected via USB) to OSC. I think the executable itself was based on some work by Ross Bencina, I found it in an SVN somewhere and compiled it on Linux as well. When I was using the UDO form more, it was on Mac OSX with the p5osc program running in the background. Without the executable, I believe the OS views it as just another HID device, as it can control mouse movement out of the box. This may all be unnecessary these days though, as it looks like we have a native Csound implementation (which is delightful!). -David On Thu, Jun 4, 2009 at 4:03 PM, Rory Walsh |