Forums > MaxMSP

USEING P5 GLOVE WITH MAX/MSP

March 21, 2007 | 3:22 pm

Hi
I am trying to use the p5 virtual reality glove to controll sounds useing max/msp. I am haveing problems connecting the p5 glove up to my pc useing the hi and spray objects. It seems to work fine when useing macs, but im haveing problems useing my pc. I know it can be done. Has anyone got any views on how to do this alternitively or by still useing the hi and spray objects. It might just be a problem with drivers, am not sure…
Kind Regards
Nick


March 21, 2007 | 6:25 pm

Quote: nssykes@hotmail.com wrote on Wed, 21 March 2007 08:22
—————————————————-
> Hi
> I am trying to use the p5 virtual reality glove to controll sounds useing max/msp. I am haveing problems connecting the p5 glove up to my pc useing the hi and spray objects. It seems to work fine when useing macs, but im haveing problems useing my pc. I know it can be done. Has anyone got any views on how to do this alternitively or by still useing the hi and spray objects. It might just be a problem with drivers, am not sure…
> Kind Regards
> Nick
—————————————————-

I’ve been using it with a Mac. But, I think the info you want is here:

http://www.simulus.org/p5glove/

Also, there is a yahoo group:

http://tech.groups.yahoo.com/group/p5glove/

mz


March 22, 2007 | 12:41 am

mz:

have you managed to get the glove working with an intel mac? i cant get the new drivers to work, the glove is still controlling OS stuff, also the commandline isnt porting osc correctly so max isnt able to recieve the data.

Will


March 22, 2007 | 2:10 am

Quote: Wilber wrote on Wed, 21 March 2007 17:41
—————————————————-
> mz:
>
> have you managed to get the glove working with an intel mac? i cant get the new drivers to work, the glove is still controlling OS stuff, also the commandline isnt porting osc correctly so max isnt able to recieve the data.
>
> Will
—————————————————-

It seems to work fine for me on the command line (as far as "p5osc -d", but the packets it sends to Max are 1) on port 7000 and 2) not good OSC.

You should email Tim Kreger… I’ll get on it as soon as I finish a couple of big performances….

It is a little fussy about starting the driver; try replugging the glove if it doesn’t work.

mz


March 22, 2007 | 12:43 pm

hi Will,

you need to make sure you’ve got the latest version from the simulus page -
and that you’ve removed any old p5 drivers. That should stop the P5 being
interpreted as a mouse by the OS. However, I’m sitll having problems with
OSC in Max/MSP. Have chatted with Tim about this but neither of us have had
much time to dig further in to it. The main problem seems to arise from
switching to the intel version of the CNMAT OSC external. If you have the
energy to investigate using an alternative OSC capable host (supercollider?)
then that would help narrow down where the issue is.

cheers,

Mark

On 3/22/07, WillChadwick wrote:
>
>
> mz:
>
> have you managed to get the glove working with an intel mac? i cant get
> the new drivers to work, the glove is still controlling OS stuff, also the
> commandline isnt porting osc correctly so max isnt able to recieve the data.
>
> Will
>


March 22, 2007 | 6:10 pm

I just ran CNMAT’s dumpOSC command line utility. I get similar errors to the Max UDP object. Specifically:

[ 100000000000000
*** ERROR: Bad size count 1275068416 in bundle (only 76 bytes left in entire bundle)

So, I’m thinking that the OSC data is not properly formatted on the way out of p5 OSC.

mz

Quote: mj.pedersen wrote on Thu, 22 March 2007 05:43
—————————————————-
> hi Will,
>
> you need to make sure you’ve got the latest version from the simulus page -
> and that you’ve removed any old p5 drivers. That should stop the P5 being
> interpreted as a mouse by the OS. However, I’m sitll having problems with
> OSC in Max/MSP. Have chatted with Tim about this but neither of us have had
> much time to dig further in to it. The main problem seems to arise from
> switching to the intel version of the CNMAT OSC external. If you have the
> energy to investigate using an alternative OSC capable host (supercollider?)
> then that would help narrow down where the issue is.
>
> cheers,
>
> Mark
>
> On 3/22/07, WillChadwick wrote:
> >
> >
> > mz:
> >
> > have you managed to get the glove working with an intel mac? i cant get
> > the new drivers to work, the glove is still controlling OS stuff, also the
> > commandline isnt porting osc correctly so max isnt able to recieve the data.
> >
> > Will
> >
>
>
>
—————————————————-


March 22, 2007 | 6:40 pm

Just to put in my two pen’orth – those are the same kind of messages
I was getting. (MacBook Pro, latest max)

David

On 22 Mar 2007, at 18:10, mzed wrote:

>
> I just ran CNMAT’s dumpOSC command line utility. I get similar
> errors to the Max UDP object. Specifically:
>
> [ 100000000000000
> *** ERROR: Bad size count 1275068416 in bundle (only 76 bytes left
> in entire bundle)
>
> So, I’m thinking that the OSC data is not properly formatted on the
> way out of p5 OSC.
>
> mz
>
>
>
>


March 22, 2007 | 6:55 pm

you’re in luck (sort of)…
i wrote an external called p5in that… you guessed it, gets input from a p5 glove. the one problem is that it’s written for windows, but the code should be pretty much exactly the same.
let me know if anyone wants me to post it, and i will.


March 22, 2007 | 7:05 pm

Heya
I would be most greatfull if i could get a copy of that external you wrote. I am a windown user so it would be ideal for me!
Cheers
Nick


March 22, 2007 | 11:12 pm

>
> I just ran CNMAT’s dumpOSC command line utility. I get similar
> errors to the Max UDP object. Specifically:
>
> [ 100000000000000
> *** ERROR: Bad size count 1275068416 in bundle (only 76 bytes left
> in entire bundle)

i get similar messages using both udp and cnmat, i contacted tim in january and had a look a breif look at the source but to no avail.
if anybody is interested in tackling the p5osc source hre is the link:

https://www.smartelectronix.com:9000/repos/osc/

>i wrote an external called p5in that… you guessed it, gets input >from a p5 glove. the one problem is that it’s written for windows, >but the code should be pretty much exactly the same.
>let me know if anyone wants me to post it, and i will.

id like to have a look at the code and try compiling for intel if you dont mind. no garuantees mind! :)

WIll


April 24, 2007 | 11:29 pm

Has anyone had any luck with this issue yet? If not I will take a crack at it… Is this problem an issue specifically with p5osc on intel, or is it an aspect of a wider issue?

thanks,
jeff


April 25, 2007 | 2:11 am

hi jeff,

as far as I know it is a problem with p5osc on intel only. One potentially
important change between PPC and Intel is that the CNMAT externals for
handling OSC are different. Chatting with Tim, he was surprised at the
errors coming up in Max, as he wasn’t aware of any reasony why the OSC
message format being generated on Intel would be different (notice the
Max/MSP error messages seem to indicate an issue with the size of the OSC
packet). I’ve had a go at trying to read from the OSC output of p5osc using
ChucK, just to see if it’s an issue with the CNMAT externals, but I’m
getting segmentation faults from ChucK when trying to read from p5osc and no
further error message, so that’s not particularly useful. I haven’t tried
with PD yet, but that’s another option….

Happy to help if I can – let us know what you find.

cheers,

Mark

On 4/25/07, Jeff Ridenour wrote:
>
>
> Has anyone had any luck with this issue yet? If not I will take a crack
> at it… Is this problem an issue specifically with p5osc on intel, or is
> it an aspect of a wider issue?
>
> thanks,
> jeff
>


April 25, 2007 | 2:39 am

Hi!

Try
Multicontrol by Jensenius
Easy to choose any general Human Interface Device (HID)
Automatically detects buttons, sliders, etc in use
Automatic scaling to 0.-1. (OSC) or 0-127 (MIDI)
Easy to choose desired output scaling
Optional data smoothing
Can output data using either Open Sound Control (OSC) or MIDI
Store presets to xml-files
http://www.hf.uio.no/imv/forskning/forskningsprosjekter/
musicalgestures/resources/multicontrol/index.html

I use with Max/msp Reaktor 5 and P5 of course… on a macbook pro
2.16 ghz

Bang!

Aldo Rodriguez

On 24/04/2007, at 08:11 PM, Mark Pedersen wrote:

> hi jeff,
>
> as far as I know it is a problem with p5osc on intel only. One
> potentially important change between PPC and Intel is that the
> CNMAT externals for handling OSC are different. Chatting with Tim,
> he was surprised at the errors coming up in Max, as he wasn’t aware
> of any reasony why the OSC message format being generated on Intel
> would be different (notice the Max/MSP error messages seem to
> indicate an issue with the size of the OSC packet). I’ve had a go
> at trying to read from the OSC output of p5osc using ChucK, just to
> see if it’s an issue with the CNMAT externals, but I’m getting
> segmentation faults from ChucK when trying to read from p5osc and
> no further error message, so that’s not particularly useful. I
> haven’t tried with PD yet, but that’s another option….
>
> Happy to help if I can – let us know what you find.
>
> cheers,
>
> Mark
>
> On 4/25/07, Jeff Ridenour < jridenou@ics.uci.edu> wrote:
>
> Has anyone had any luck with this issue yet? If not I will take a
> crack at it… Is this problem an issue specifically with p5osc on
> intel, or is it an aspect of a wider issue?
>
> thanks,
> jeff
>


April 25, 2007 | 3:48 am

Hi Aldo,

looks very interesting. I just tried this but it seems the p5 is not
detected by multicontrol. I suspect this is due to the dummy driver that is
installed as part of Tim’s p5osc set up – can you explain a little bit more
about how you’ve got the p5 configured on your MBP, as far as drivers/HID
interface etc?

thanks

Mark

On 4/25/07, Aldo Rodriguez wrote:
>
> Hi!
>
> Try
> Multicontrol by Jensenius
>
> – Easy to choose any general Human Interface Device (HID)
> – Automatically detects buttons, sliders, etc in use
> – Automatic scaling to 0.-1. (OSC) or 0-127 (MIDI)
> – Easy to choose desired output scaling
> – Optional data smoothing
> – Can output data using either Open Sound Control (OSC) or MIDI
> – Store presets to xml-files
>
>
> http://www.hf.uio.no/imv/forskning/forskningsprosjekter/musicalgestures/resources/multicontrol/index.html
>
> I use with Max/msp Reaktor 5 and P5 of course… on a macbook pro 2.16 ghz
>
> Bang!
>
> Aldo Rodriguez < http://www.aldorodriguez.com/>
>
>
> On 24/04/2007, at 08:11 PM, Mark Pedersen wrote:
>
> hi jeff,
>
> as far as I know it is a problem with p5osc on intel only. One
> potentially important change between PPC and Intel is that the CNMAT
> externals for handling OSC are different. Chatting with Tim, he was
> surprised at the errors coming up in Max, as he wasn’t aware of any reasony
> why the OSC message format being generated on Intel would be different
> (notice the Max/MSP error messages seem to indicate an issue with the size
> of the OSC packet). I’ve had a go at trying to read from the OSC output of
> p5osc using ChucK, just to see if it’s an issue with the CNMAT externals,
> but I’m getting segmentation faults from ChucK when trying to read from
> p5osc and no further error message, so that’s not particularly useful. I
> haven’t tried with PD yet, but that’s another option….
>
> Happy to help if I can – let us know what you find.
>
> cheers,
>
> Mark
>
> On 4/25/07, Jeff Ridenour < jridenou@ics.uci.edu> wrote:
> >
> >
> > Has anyone had any luck with this issue yet? If not I will take a crack
> > at it… Is this problem an issue specifically with p5osc on intel, or is
> > it an aspect of a wider issue?
> >
> > thanks,
> > jeff
> >
>
>
>
>
>
>


April 25, 2007 | 5:35 am


April 25, 2007 | 11:36 am


April 25, 2007 | 5:30 pm

Hi People
If any of you are looking for an easy way to use the p5 glove in max, here is one way if you dont already know it;
download a midi converter for the glove, they are easy to find!
There is something called Midiyoke which allowes devices and applications to communicate with each other, you need to download midiyoke and install. In the midi converter app for, the p5 glove you will be able to choose midiyoke as a port for the glove. Then in max/msp use the ctl in object and select midiyoke, and you will find variables moveing up and down in accordance to the glove.

Hope this helps some of you
Cheers
Nick


April 25, 2007 | 8:40 pm

Hi…
it seems ok… but only for windows…
P5 midilove is another app… very simple and efective…but, windows
only too…

Bang!

Aldo R

On 25/04/2007, at 11:30 AM, Nick Sykes wrote:

>
> Hi People
> If any of you are looking for an easy way to use the p5 glove in
> max, here is one way if you dont already know it;
> download a midi converter for the glove, they are easy to find!
> There is something called Midiyoke which allowes devices and
> applications to communicate with each other, you need to download
> midiyoke and install. In the midi converter app for, the p5 glove
> you will be able to choose midiyoke as a port for the glove. Then
> in max/msp use the ctl in object and select midiyoke, and you will
> find variables moveing up and down in accordance to the glove.
>
> Hope this helps some of you
> Cheers
> Nick


May 4, 2007 | 12:27 pm

I’m having no problem with the p5 on an intel. I use an altered
version of Dan Lehrlich’s p5 glove MIDI assigner, replacing otdup
with udpreceive, and osc-route with [route /p5glove_data]. All works
great (insofar as the p5 works great at all).

M

On Apr 25, 2007, at 16:40, Aldo Rodriguez wrote:

> Hi…
> it seems ok… but only for windows…
> P5 midilove is another app… very simple and efective…but,
> windows only too…
>
> Bang!
>
> Aldo R
>
>
> On 25/04/2007, at 11:30 AM, Nick Sykes wrote:
>
>>
>> Hi People
>> If any of you are looking for an easy way to use the p5 glove in
>> max, here is one way if you dont already know it;
>> download a midi converter for the glove, they are easy to find!
>> There is something called Midiyoke which allowes devices and
>> applications to communicate with each other, you need to download
>> midiyoke and install. In the midi converter app for, the p5 glove
>> you will be able to choose midiyoke as a port for the glove. Then
>> in max/msp use the ctl in object and select midiyoke, and you will
>> find variables moveing up and down in accordance to the glove.
>>
>> Hope this helps some of you
>> Cheers
>> Nick
>


May 4, 2007 | 2:04 pm

hi mattyo,

that’s very interesting to hear. which versions of p5osc and udpreceive are
you running?

I managed to get multicontrol working with the p5 on my MBP, but I like the
p5 glove MIDI assigner better as far as a cleaner interface to the p5 goes.

cheers,

Mark

On 5/4/07, mattyo wrote:
>
> I’m having no problem with the p5 on an intel. I use an altered
> version of Dan Lehrlich’s p5 glove MIDI assigner, replacing otdup
> with udpreceive, and osc-route with [route /p5glove_data]. All works
> great (insofar as the p5 works great at all).
>
> M
>
>
>
>
> On Apr 25, 2007, at 16:40, Aldo Rodriguez wrote:
>
> > Hi…
> > it seems ok… but only for windows…
> > P5 midilove is another app… very simple and efective…but,
> > windows only too…
> >
> > Bang!
> >
> > Aldo R
> >
> >
> > On 25/04/2007, at 11:30 AM, Nick Sykes wrote:
> >
> >>
> >> Hi People
> >> If any of you are looking for an easy way to use the p5 glove in
> >> max, here is one way if you dont already know it;
> >> download a midi converter for the glove, they are easy to find!
> >> There is something called Midiyoke which allowes devices and
> >> applications to communicate with each other, you need to download
> >> midiyoke and install. In the midi converter app for, the p5 glove
> >> you will be able to choose midiyoke as a port for the glove. Then
> >> in max/msp use the ctl in object and select midiyoke, and you will
> >> find variables moveing up and down in accordance to the glove.
> >>
> >> Hope this helps some of you
> >> Cheers
> >> Nick
> >
>
>


May 4, 2007 | 4:20 pm

On May 4, 2007, at 10:04, Mark Pedersen wrote:

> hi mattyo,
>
> that’s very interesting to hear. which versions of p5osc and
> udpreceive are you running?

p5osc — no idea. Creation date is June 7 ’05.

udpreceive — again no version number. Created Sept 22 ’06.

>
> I managed to get multicontrol working with the p5 on my MBP, but I
> like the p5 glove MIDI assigner better as far as a cleaner
> interface to the p5 goes.
>
> cheers,
>
> Mark
>
> On 5/4/07, mattyo wrote: I’m having no
> problem with the p5 on an intel. I use an altered
> version of Dan Lehrlich’s p5 glove MIDI assigner, replacing otdup
> with udpreceive, and osc-route with [route /p5glove_data]. All works
> great (insofar as the p5 works great at all).
>
> M
>
>
>
>
> On Apr 25, 2007, at 16:40, Aldo Rodriguez wrote:
>
> > Hi…
> > it seems ok… but only for windows…
> > P5 midilove is another app… very simple and efective…but,
> > windows only too…
> >
> > Bang!
> >
> > Aldo R
> >
> >
> > On 25/04/2007, at 11:30 AM, Nick Sykes wrote:
> >
> >>
> >> Hi People
> >> If any of you are looking for an easy way to use the p5 glove in
> >> max, here is one way if you dont already know it;
> >> download a midi converter for the glove, they are easy to find!
> >> There is something called Midiyoke which allowes devices and
> >> applications to communicate with each other, you need to download
> >> midiyoke and install. In the midi converter app for, the p5 glove
> >> you will be able to choose midiyoke as a port for the glove. Then
> >> in max/msp use the ctl in object and select midiyoke, and you will
> >> find variables moveing up and down in accordance to the glove.
> >>
> >> Hope this helps some of you
> >> Cheers
> >> Nick
> >
>
>


May 5, 2007 | 7:02 am

wow. well, I remain intrigued – it took some to and fro last year with Tim
to get a version of p5osc and kernel extensions that would work on and Intel
Mac, so I’m assuming that the version of the kernel extensions is relatively
recent.

I just had another go with the version of p5osc that I have along with an
updated set of CNMAT externals (they have a new build of externals released
just this month) but I still get the same errors. Would you mind sending
through your modified p5glove midi assigner patch, in case the way I’m
modifying it is wrong?

cheers,

Mark

On 5/5/07, mattyo wrote:
>
>
> On May 4, 2007, at 10:04, Mark Pedersen wrote:
>
> > hi mattyo,
> >
> > that’s very interesting to hear. which versions of p5osc and
> > udpreceive are you running?
>
> p5osc — no idea. Creation date is June 7 ’05.
>
> udpreceive — again no version number. Created Sept 22 ’06.
>
>
> >
> > I managed to get multicontrol working with the p5 on my MBP, but I
> > like the p5 glove MIDI assigner better as far as a cleaner
> > interface to the p5 goes.
> >
> > cheers,
> >
> > Mark
> >
> > On 5/4/07, mattyo
wrote: I’m having no
> > problem with the p5 on an intel. I use an altered
> > version of Dan Lehrlich’s p5 glove MIDI assigner, replacing otdup
> > with udpreceive, and osc-route with [route /p5glove_data]. All works
> > great (insofar as the p5 works great at all).
> >
> > M
> >
> >
> >
> >
> > On Apr 25, 2007, at 16:40, Aldo Rodriguez wrote:
> >
> > > Hi…
> > > it seems ok… but only for windows…
> > > P5 midilove is another app… very simple and efective…but,
> > > windows only too…
> > >
> > > Bang!
> > >
> > > Aldo R
> > >
> > >
> > > On 25/04/2007, at 11:30 AM, Nick Sykes wrote:
> > >
> > >>
> > >> Hi People
> > >> If any of you are looking for an easy way to use the p5 glove in
> > >> max, here is one way if you dont already know it;
> > >> download a midi converter for the glove, they are easy to find!
> > >> There is something called Midiyoke which allowes devices and
> > >> applications to communicate with each other, you need to download
> > >> midiyoke and install. In the midi converter app for, the p5 glove
> > >> you will be able to choose midiyoke as a port for the glove. Then
> > >> in max/msp use the ctl in object and select midiyoke, and you will
> > >> find variables moveing up and down in accordance to the glove.
> > >>
> > >> Hope this helps some of you
> > >> Cheers
> > >> Nick
> > >
> >
> >
>
>


May 6, 2007 | 2:18 pm

Hi Guys,

This interests me a lot…have you seen my P5 glove application in the Community / Users pages? Here is a picture of it:

http://www.audioprojects.org/Main%20Window.jpg

I compiled it on the PPC but I would love to re-compile it for Intel Macs.

I has a granular sample player that you can scroll through samples moving left-to-right, pitch shifters and reverbs, FX etc.

Cheers,

Simon


May 6, 2007 | 3:48 pm

Hi Simon,

your app looks fantastic.

Happy to help with recompiling for Intel.

Looks like I’ve solved the problem with p5osc on Intel, so I’ll post a new
binary soon.

regards,

Mark

On 5/7/07, simplesimon wrote:
>
>
> Hi Guys,
>
> This interests me a lot…have you seen my P5 glove application in the
> Community / Users pages? Here is a picture of it:
>
> http://www.audioprojects.org/Main%20Window.jpg
>
> I compiled it on the PPC but I would love to re-compile it for Intel Macs.
>
> I has a granular sample player that you can scroll through samples moving
> left-to-right, pitch shifters and reverbs, FX etc.
>
> Cheers,
>
> Simon
>


May 8, 2007 | 9:19 pm

Hi,

That would be superb if you could do that…I’ve just installed p5osc on my intel machine but no joy so far.

All I get is the window but no data scrolling down like on the PPC version:

Glove Connect Failedsimons-computer:~ si$ /usr/local/bin/p5osc
dealWithDevice: found 1 configurations
found interface: 0×1303
dealWithInterface: found 1 pipes
dealWithPipes: grabbing BULK IN pipe index 1, number 1, inteveral 10

Glove Connect Succeeded
Host = localhost, Port = 7000

Cheers,

Simon


May 9, 2007 | 11:04 am

It’s running. If you want to see the data, you need to add the -d
option.

On May 8, 2007, at 17:19, simplesimon wrote:

>
> Hi,
>
> That would be superb if you could do that…I’ve just installed
> p5osc on my intel machine but no joy so far.
>
> All I get is the window but no data scrolling down like on the PPC
> version:
>
> Glove Connect Failedsimons-computer:~ si$ /usr/local/bin/p5osc
> dealWithDevice: found 1 configurations
> found interface: 0×1303
> dealWithInterface: found 1 pipes
> dealWithPipes: grabbing BULK IN pipe index 1, number 1, inteveral 10
>
> Glove Connect Succeeded
> Host = localhost, Port = 7000
>
>
> Cheers,
>
> Simon


Viewing 26 posts - 1 through 26 (of 26 total)