[PD] K8061 USB interface board in PD on Mac

2009-05-27 Thread Wilfred de Zoete

Hello everybody,

for some interface experiments I got hold of an USB interface kit from 
Velleman, the K8061. More info: 
http://www.velleman.be/ot/en/product/view/?id=364910
This board comes with software for windows computers, a.o. a .dll file 
for communication.

My system is a MacBook Pro november 2008 with OS X 10.5.6.

Are there people out there who have already used this board in Pure Data 
and/or on Mac OS X?
I have already tried to get some data out of it with HID and although 
HID works good for joysticks and game controllers it does not get data 
from this kit.


Thanks in advance!

Wilfred
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] K8061 USB interface board in PD on Mac

2009-06-13 Thread Wilfred de Zoete

Thank you,

I tried it on Windows XP @ VirtualBox and it crashes PD. However I would 
like to try and make my own external for the 8061, It is probably too 
hard but I'd like to try it anyway. Or is there a way to make it 
communicate without reverting to C?


I once made a MAX interface for a card called MACI/O (worked via a 
serial port). I sent hex code directly from the MAX patch to the I/O 
back then and that worked. Is that possible with this card too?


Wilf


a. tonal schreef:

hi
i once made an pd-external for the velleman 8055, but it's windows only.

it's available for download at: http://akkiko.kilu.de/
ciao
olli


Date: Wed, 27 May 2009 10:03:36 +0200
From: pured...@klankontwerp.nl
To: pd-list@iem.at
Subject: [PD] K8061 USB interface board in PD on Mac

Hello everybody,

for some interface experiments I got hold of an USB interface kit from 
Velleman, the K8061. More info: 
http://www.velleman.be/ot/en/product/view/?id=364910
This board comes with software for windows computers, a.o. a .dll file 
for communication.

My system is a MacBook Pro november 2008 with OS X 10.5.6.

Are there people out there who have already used this board in Pure 
Data and/or on Mac OS X?
I have already tried to get some data out of it with HID and although 
HID works good for joysticks and game controllers it does not get data 
from this kit.


Thanks in advance!

Wilfred


Surfen - optimiert für MSN. Hol Dir die neue Version des Internet 
Explorers - kostenlos! 
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] K8061 USB interface board in PD on Mac

2009-06-16 Thread Wilfred de Zoete



Martin Peach schreef:
I found this googling "K8061 protocol", it seems to be source code for 
a linux driver for the K8061:

http://doip.laupro.nl/browser/doip/k8061/trunk/k8061.c?rev=109
Maybe it could be ported to Mac?
I saw that one too and was thinking about setting up a Linux distro in 
Virtualbox to try it. The key question for me would remain if that app 
can communicate real time with PD to use the K8061 as controller.

Anyhow, it's not just a serial interface like Arduino uses.
Correct, it's a bit more advanced and has nice features that in 
potential can be very powerful... If one can program :P
the dll does all the communication with the card. the pd object, or 
whatever program, uses commands provided by the dll.
I have read the instructions and the codes of the K8061. Since your 
external is just a dll if I am right, I will try to explore the 
possibilities to rewrite it for the 8061.
I have no knowledge about writing dlls but am a fast learner so I'll 
take up that challenge.
i further think, that when using a virtual os like virtual box or 
wine, the communication with hardware is handled by the host os. 
correct me if i'm wrong.

The OS on virtualbox can communicate directly with the installed USB bus.
my humble suggestion, if asked for, was: why not use an arduino? or 
modify some joystick to your needs and use 'hid'?
I started out with Joysticks and HID in conjunction with USB Overdrive 
and such but I just want more ins AND outs, analog AND digital. Arduino 
seems okay but limited as well.



So the first thing I will explore now is rewriting the dll and testing 
it on my virtual windows machines (XP and Win7).



Thanks,

Wilfred

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] K8061 USB interface board in PD on Mac

2009-06-16 Thread Wilfred de Zoete
Thanks for the link and if it is not too much work for you the source 
code would be great.


chau
Wilf

a. tonal schreef:

hallo,
i found this: 
http://mac.softpedia.com/get/Utilities/K8055-User-Interface.shtml.


quote:
Included is a static library that can be used for easily
developing other applications and closely replicates the Velleman
Windows

.DLL functions.
end quote


so maybe you can use this as a starting point and extend it.
i think the k8061 is a double k8055, right?

for the pd object, if i can find the source code i can post it if you 
like.

(i have to search various harddrives and usbsticks)

ciao
olli

> So the first thing I will explore now is rewriting the dll and testing
> it on my virtual windows machines (XP and Win7).
>
>
> Thanks,
>
> Wilfred
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list



Surfen - optimiert für MSN. Hol Dir die neue Version des Internet 
Explorers - kostenlos! 
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] TouchOSC and Pure Data on OS X

2011-03-08 Thread Wilfred de Zoete
I have recently purchased TouchOSC on the iPhone and have succesfully 
controlled Ableton Live with LiveControl and iTunes and other programs 
with OSCulator (AppleScript).


When I try the PD-examples from http://hexler.net/software/touchosc I 
have no succes. When I want to open the .pd file with the most recent 
version of PD extended (0.42.5) I get the old watch and nothing 
happpens. This is also the case with older PD's I use.


I got the 'basic.pd' up and running before I installed one of the other 
programs (LiveControl or OSCulator or TouchOSC Editor) but cannot 
remember which one.


I know that the .pd files have a prefilled [OSCreceive] (don't remember 
the correct syntax) with port 8000. OSCulator has a default port of 8000 
as well. So I tried a cold boot and did not start up any other program 
than PD. Even this did not help.


Could this be the problem?

Are there more people working with TouchOSC and PD? Can someone help me 
trying to make a new OSCreceive from scratch with the correct syntax?


System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15" MBP. 
All software is up to date.


Thanks in advance!

Greets,

Wilfred
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] TouchOSC and Pure Data on OS X

2011-03-09 Thread Wilfred de Zoete

Thanks for the replies. I will comment on some quotes below:

Op 09-03-11 03:40, William Brent schreef:

OSCulator is really fantastic, yes.  In this case though, I think it's
easier to keep things streamlined and route everything in Pd.  I
didn't think of it until your reply, Richie, but I made this
abstraction for touchOSC's "simple" layout.  Just invoke it with a
port number [ipad-interface 8000] and you'll get all the parsed data
flowing to well-named sends.  For instance, to get the data from fader
4 on page 1 of the simple layout, you can receive from [r
ipad-8000-p1-fader4].  Comb through the rest of the patch to see how
other sends are named.


- Thanks. I will install the mrpeach library (I have updated my 
SVN-folder although I haven't used it in PD yet) and try your patch.



On Tue, Mar 8, 2011 at 9:31 PM, Richie Cyngler  wrote:

My problem with TouchOSC was getting it to see my laptop. I haven't been
able to set up a network with just the laptop and TouchOSC (though I haven't
tried for a while) this is supposed to work though.
As far as using OSC in Pd check out the mrpeach library. It is awesome.
I'm sure it's possible to get the OSC data to come straight into Pd but in
regards to getting those messages all nice and neat and easy I recommend
OSCulator (I have no connection to guy making it, I just like it). It's
third party software. Very easy to use and works very well. It's OSX only.
I've used OSCulator for wiimotes and wacom tablets... I'm not really using
OSC at the moment, so I haven't had a chance to give TouchOSC a good going
over yet, but OSCulator does support TouchOSC.
Hope that helps.


- Somehow I got the patch working once without any 
library-installation... I don't know how but now I know that it's not 
part of the normal extended because when I try to reproduce Richies 
patch PD prints "...couldn't create".


I have also downloaded and will buy OSCulator and got it up and running, 
I got it to control iTunes via Applescript (Apples native Remote app has 
issues here) and QLab. I also got LiveControl running to control ... 
Ableton Live.


My first attempt with TouchOSC and PD got a good connection too as print 
was working overtime with the xyz-axis. This was via direct connection 
via UDP from iPhone to PD. The hostname is mycomputer.local and I used 
outgoing port 8000.



On Wed, Mar 9, 2011 at 12:28 PM, Wilfred de Zoete
wrote:

I have recently purchased TouchOSC on the iPhone and have succesfully
controlled Ableton Live with LiveControl and iTunes and other programs with
OSCulator (AppleScript).

When I try the PD-examples from http://hexler.net/software/touchosc I have
no succes. When I want to open the .pd file with the most recent version of
PD extended (0.42.5) I get the old watch and nothing happpens. This is also
the case with older PD's I use.

I got the 'basic.pd' up and running before I installed one of the other
programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember
which one.

I know that the .pd files have a prefilled [OSCreceive] (don't remember
the correct syntax) with port 8000. OSCulator has a default port of 8000 as
well. So I tried a cold boot and did not start up any other program than PD.
Even this did not help.

Could this be the problem?

Are there more people working with TouchOSC and PD? Can someone help me
trying to make a new OSCreceive from scratch with the correct syntax?

System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15" MBP.
All software is up to date.

Thanks in advance!

Greets,

Wilfred
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] TouchOSC and Pure Data on OS X

2011-03-09 Thread Wilfred de Zoete
Installing the library on OSX was easier than I thought: path and 
startup under preferences.
Now I can create the objects. But... I still cannot open all the patches 
that I downloaded from the TouchOSC-site and Williams patch has the same 
problems. I just get a watch as mouse pointer. I can open and make new 
or other patches while this is going on but nothing happens. When I try 
it again sometimes PD crashes.


I did get a new patch to work. Basically I used the same objects as 
William described in his first reply ( that would be [udpreceive 8000], 
[unpackOSC], [print x] ) but to get a connection going I first had to 
connect from PD to the iPhone with the following comment and object:


[ connect 192.168.1.2 9000 \
|
[udpsend]

I hope this will help Richie as well.

Cheers,

Wilf

Op 09-03-11 10:05, Wilfred de Zoete schreef:

Thanks for the replies. I will comment on some quotes below:

Op 09-03-11 03:40, William Brent schreef:

OSCulator is really fantastic, yes.  In this case though, I think it's
easier to keep things streamlined and route everything in Pd.  I
didn't think of it until your reply, Richie, but I made this
abstraction for touchOSC's "simple" layout.  Just invoke it with a
port number [ipad-interface 8000] and you'll get all the parsed data
flowing to well-named sends.  For instance, to get the data from fader
4 on page 1 of the simple layout, you can receive from [r
ipad-8000-p1-fader4].  Comb through the rest of the patch to see how
other sends are named.


- Thanks. I will install the mrpeach library (I have updated my 
SVN-folder although I haven't used it in PD yet) and try your patch.



On Tue, Mar 8, 2011 at 9:31 PM, Richie Cyngler  wrote:

My problem with TouchOSC was getting it to see my laptop. I haven't been
able to set up a network with just the laptop and TouchOSC (though I haven't
tried for a while) this is supposed to work though.
As far as using OSC in Pd check out the mrpeach library. It is awesome.
I'm sure it's possible to get the OSC data to come straight into Pd but in
regards to getting those messages all nice and neat and easy I recommend
OSCulator (I have no connection to guy making it, I just like it). It's
third party software. Very easy to use and works very well. It's OSX only.
I've used OSCulator for wiimotes and wacom tablets... I'm not really using
OSC at the moment, so I haven't had a chance to give TouchOSC a good going
over yet, but OSCulator does support TouchOSC.
Hope that helps.


- Somehow I got the patch working once without any 
library-installation... I don't know how but now I know that it's not 
part of the normal extended because when I try to reproduce Richies 
patch PD prints "...couldn't create".


I have also downloaded and will buy OSCulator and got it up and 
running, I got it to control iTunes via Applescript (Apples native 
Remote app has issues here) and QLab. I also got LiveControl running 
to control ... Ableton Live.


My first attempt with TouchOSC and PD got a good connection too as 
print was working overtime with the xyz-axis. This was via direct 
connection via UDP from iPhone to PD. The hostname is mycomputer.local 
and I used outgoing port 8000.



On Wed, Mar 9, 2011 at 12:28 PM, Wilfred de Zoete
wrote:

I have recently purchased TouchOSC on the iPhone and have succesfully
controlled Ableton Live with LiveControl and iTunes and other programs with
OSCulator (AppleScript).

When I try the PD-examples fromhttp://hexler.net/software/touchosc  I have
no succes. When I want to open the .pd file with the most recent version of
PD extended (0.42.5) I get the old watch and nothing happpens. This is also
the case with older PD's I use.

I got the 'basic.pd' up and running before I installed one of the other
programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember
which one.

I know that the .pd files have a prefilled [OSCreceive] (don't remember
the correct syntax) with port 8000. OSCulator has a default port of 8000 as
well. So I tried a cold boot and did not start up any other program than PD.
Even this did not help.

Could this be the problem?

Are there more people working with TouchOSC and PD? Can someone help me
trying to make a new OSCreceive from scratch with the correct syntax?

System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15" MBP.
All software is up to date.

Thanks in advance!

Greets,

Wilfred



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list