[PD] [PD-announce] issiconvert

2013-06-05 Thread Funs Seelen
Hi all,

Just a short announce of the release of `issiconvert', a pd library which
does some simple conversions between integers and symbols:

[int2shex] convert (int) float to symbol of a hexadecimal value with
`0x' prefix
[int2sdec] convert (int) float to symbol of a decimal value with `0i'
prefix
[int2soct] convert (int) float to symbol of an octal value with `0o'
prefix
[int2sbin] convert (int) float to symbol of a binary value with `0b'
prefix
[sany2int] convert a symbol of any of the four types (with prefix) to
(float) int
[symbol2clist] output a list of floats for the corresponding character
values of a symbol
[strlen] calculate number of characters in a symbol
[symbol2symbol] output the input if symbol


$ git clone git://git.code.sf.net/p/pd-issiconvert/code issiconvert

https://sourceforge.net/projects/pd-issiconvert/files/latest/download?source=navbar

Comments are welcome at the project page, my personal mail address or
pd-list.

Regards,
--Funs
___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Forwarding serial data through an Arduino (with firmata) to a serial display

2013-06-05 Thread Ingo
Hi everybody!

I am dealing with the problem that I have changed to a new mainboard which
doesn't have a serial port anymore. I'm on Ubuntu Natty.

I used to send LCD display data to my remote on the normal serial port using
[comport]. The display itself has a serial interface. The remote uses a
separate cable and [comport] for USB going to the arduino.

Is it possible to transfer the serial data for the display through the
arduino using the arduinos serial out to feed the display (with a baud rate
of 19200) ?

I still need to use firmata for all other arduino stuff.
So it should be like an addon to firmata. Or is this already possible with
the current firmata?

If anybody has done this before I'd appreciate any help!

Ingo


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


Re: [PD] [PD-announce] issiconvert

2013-06-05 Thread Marco Donnarumma
nice one, thanks for sharing!

M

--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
Embodied Audio-Visual Interaction Research Team.
Department of Computing, Goldsmiths University of London
~
Portfolio: http://marcodonnarumma.com
Research: http://res.marcodonnarumma.com
Director: http://www.liveperformersmeeting.net


On Wed, Jun 5, 2013 at 12:58 PM, Funs Seelen funssee...@gmail.com wrote:

 Hi all,

 Just a short announce of the release of `issiconvert', a pd library which
 does some simple conversions between integers and symbols:

 [int2shex] convert (int) float to symbol of a hexadecimal value with
 `0x' prefix
 [int2sdec] convert (int) float to symbol of a decimal value with `0i'
 prefix
 [int2soct] convert (int) float to symbol of an octal value with `0o'
 prefix
 [int2sbin] convert (int) float to symbol of a binary value with `0b'
 prefix
 [sany2int] convert a symbol of any of the four types (with prefix) to
 (float) int
 [symbol2clist] output a list of floats for the corresponding character
 values of a symbol
 [strlen] calculate number of characters in a symbol
 [symbol2symbol] output the input if symbol


 $ git clone git://git.code.sf.net/p/pd-issiconvert/code issiconvert


 https://sourceforge.net/projects/pd-issiconvert/files/latest/download?source=navbar

 Comments are welcome at the project page, my personal mail address or
 pd-list.

 Regards,
 --Funs


 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce


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


[PD] Raspberry Pi USB2 audio fixed (apparently)

2013-06-05 Thread Julian Brooks
Hey all,

So, umm, yeah.  Is everyone on this already?

Just got a message saying that an 'rpi-update' should fix the usb2 problems
for soundcards.

Not checked 'cos I spent bloody ages tracking down soundcards that did work.

Good to know though.

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=364163sid=04807df00bff9fa076fd62c358dfd9fc#p364163

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=362690#p362690

http://www.raspyfi.com/raspberry-pi-usb-audio-fix/
(anyone checked out this distro btw?)

Good to hear there seems to be lots of audio tweaks and exploration going
on on the Pi (still:)

Best wishes,

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


Re: [PD] Forwarding serial data through an Arduino (with firmata) to a serial display

2013-06-05 Thread Fred Jan Kraan
On 2013-06-05 14:24, Ingo wrote:
 Hi everybody!
 
 I am dealing with the problem that I have changed to a new mainboard which
 doesn't have a serial port anymore. I'm on Ubuntu Natty.
 
 I used to send LCD display data to my remote on the normal serial port using
 [comport]. The display itself has a serial interface. The remote uses a
 separate cable and [comport] for USB going to the arduino.
 
 Is it possible to transfer the serial data for the display through the
 arduino using the arduinos serial out to feed the display (with a baud rate
 of 19200) ?
 
 I still need to use firmata for all other arduino stuff.
 So it should be like an addon to firmata. Or is this already possible with
 the current firmata?
 
 If anybody has done this before I'd appreciate any help!

I did some Arduino programming but not much with Firmata.

It is possible, but it probably means you have to create your own
firmata sketch which includes the SoftwareSerial library. With an
Arduino with more serial ports, like the Mega2560 or Leonardo, you won't
need SoftwareSerial but still a custom Firmata. You also need a
TTL-to-RS232C voltage converter between the Arduino and display.

It is probably much simpler to use a separate USB to serial adapter.
Those work out of the box with Ubuntu and you only have to change the
serial port name in your patch.
 
 Ingo

Greetings,

Fred Jan
 
 
 ___
 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


Re: [PD] Forwarding serial data through an Arduino (with firmata) to a serial display

2013-06-05 Thread Ingo
Thanks! I'll have a look at the SoftwareSerial library.

 You also need a TTL-to-RS232C voltage converter between the Arduino and
 display.

The serial converter of the display takes already care of that.

 It is probably much simpler to use a separate USB to serial adapter.
 Those work out of the box with Ubuntu and you only have to change the
 serial port name in your patch.

Yes, that works fine but it mixes up the port number of the arduino and the
serial adapter. I can't get the two to be assigned to the same port number
each time Pd starts. They both show up as /dev/ttyUSB0 or /dev/ttyUSB1 on
the [comport].

It also would be cleaner with less cables to have the arduino taking care of
the serial data transfer. If I can't get that to work I'll have to use a
serial adapter and find a good way to distinguish the two automatically.

Ingo


 -Ursprüngliche Nachricht-
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
 Fred Jan Kraan
 Gesendet: Mittwoch, 5. Juni 2013 19:18
 An: pd-list@iem.at
 Betreff: Re: [PD] Forwarding serial data through an Arduino (with firmata)
 to a serial display
 
 On 2013-06-05 14:24, Ingo wrote:
  Hi everybody!
 
  I am dealing with the problem that I have changed to a new mainboard
 which
  doesn't have a serial port anymore. I'm on Ubuntu Natty.
 
  I used to send LCD display data to my remote on the normal serial port
 using
  [comport]. The display itself has a serial interface. The remote uses a
  separate cable and [comport] for USB going to the arduino.
 
  Is it possible to transfer the serial data for the display through the
  arduino using the arduinos serial out to feed the display (with a baud
 rate
  of 19200) ?
 
  I still need to use firmata for all other arduino stuff.
  So it should be like an addon to firmata. Or is this already possible
 with
  the current firmata?
 
  If anybody has done this before I'd appreciate any help!
 
 I did some Arduino programming but not much with Firmata.
 
 It is possible, but it probably means you have to create your own
 firmata sketch which includes the SoftwareSerial library. With an
 Arduino with more serial ports, like the Mega2560 or Leonardo, you won't
 need SoftwareSerial but still a custom Firmata. You also need a
 TTL-to-RS232C voltage converter between the Arduino and display.
 
 It is probably much simpler to use a separate USB to serial adapter.
 Those work out of the box with Ubuntu and you only have to change the
 serial port name in your patch.
 
  Ingo
 
 Greetings,
 
 Fred Jan
 
 
  ___
  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


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


Re: [PD] Forwarding serial data through an Arduino (with firmata) to a serial display

2013-06-05 Thread Dan Wilcox
As you're on Linux, the port number assignment is probably tagged to the 
specific usb bus port and ca change.  You can have them assigned to the same 
serial port # each time if you create a little udev rule for both the arduino 
and the serial port adapter and specify what you want them to be or create a 
symlink to say /dev/ttyArduino  /dev/ttyLCD ...

See http://playground.arduino.cc/Linux/Udev  
http://reactivated.net/writing_udev_rules.html

On Jun 5, 2013, at 2:57 PM, pd-list-requ...@iem.at wrote:

 It is probably much simpler to use a separate USB to serial adapter.
 Those work out of the box with Ubuntu and you only have to change the
 serial port name in your patch.
 
 Yes, that works fine but it mixes up the port number of the arduino and the
 serial adapter. I can't get the two to be assigned to the same port number
 each time Pd starts. They both show up as /dev/ttyUSB0 or /dev/ttyUSB1 on
 the [comport].
 
 It also would be cleaner with less cables to have the arduino taking care of
 the serial data transfer. If I can't get that to work I'll have to use a
 serial adapter and find a good way to distinguish the two automatically.
 
 Ingo


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


Re: [PD] Forwarding serial data through an Arduino (with firmata) to a serial display

2013-06-05 Thread Charles Goyard
Hi,

Ingo wrote:
 Yes, that works fine but it mixes up the port number of the arduino and the
 serial adapter. I can't get the two to be assigned to the same port number
 each time Pd starts. They both show up as /dev/ttyUSB0 or /dev/ttyUSB1 on
 the [comport].

There are some udev rules floating on the net for that.

You can also use the files in /dev/serial/by-id/ instead of
/dev/ttyUSB* and select by serial number.


hth,

-- 
Charles

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


[PD] Puredata external for websocket communication.

2013-06-05 Thread Rafael Vega
Hi.
I started working on a pd external that allows communication with a web
browser using websockets. My use case is developing a GUI in
html/javascript and sending messages to pd-extended using the websockets
javascript API, no proxy or other scripts needed, just my external.
You can take a look at it
herehttps://github.com/dancing-skeleton/dancing-skeleton/tree/master/pd/externals/src/websocket_server.
There's an example patch and html file that explains how to use it.
Feedback is welcome :)

Where is the central place for this sort of thing? I'll move this to it's
own repository and post it there in the next few days.

Cheers.

-- 
Rafael Vega
email.r...@gmail.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] multiblob tracking in Gem while objects keep their IDs

2013-06-05 Thread Max
wow, this looks so wrong! (your screenshot)
I have no idea why this is.

I just tried it under Linux mint 15 (through ssh- XY from os x)

Pd 0.43.2
GEM: ver: 0.93.3 
GEM: compiled: Sep  6 2012

and it works perfectly there.

on my other machine, os x
0.44.0-extended-20130213
GEM: ver: 0.93.3 
GEM: compiled: Nov 10 2011

it also runs nicely.

I'm afraid I don't know why it isn't running on your machine.
can anyone else try it?

max


Am 04.06.2013 um 13:38 schrieb Antoine Villeret antoine.ville...@gmail.com:

 hi,
 
 2013/6/2 Max abonneme...@revolwear.com
 
 Am 30.05.2013 um 14:06 schrieb Antoine Villeret antoine.ville...@gmail.com:
 
  hi,
 
  I'm sorry it still doesn't work
  and I can't find values that works well on the testbed.mov video...
 
  I don't know why, tell me if you want more info or snapshots
 
 Did you download all of the files, especially the abstractions you'll need 
 for 07b-multi-blobtracker-IDs.pd?
 i've cloned the Bewegungsmelder repository 
 Were there any messages, errors, warnings in the console?
 nothing explaining that in the console, nothing in the terminal
 
 with quicktime4linux or gmerlin backend :
 [pix_film:audio_ffmpeg] Codec not found: FFmpeg Sonic decoder
 [pix_film]: loaded file: /home/antoine/pd/Bewegungsmelder/testbed.mov with 
 623 frames (480x320) at 25.00 fps
 
 
 
 What OS and Pd/Gem version are you using?
 Ubuntu 12.04
 Pd 44.2
 Gem  0.93.git f890f4d
 
 here is attached a screenshot of what i get
 
 I was guessing a video decompression artefact but I got the same result with 
 all the backends I have that can open testbed.mov (quicktime4linux and 
 gmerlin)
 but I got the same result with both...
 
 I also converted the video to mjpeg and to h264 and got the same...
 very strange...
 
 +
 a
 
 m.
 
 Capture du 2013-06-04 13:06:45.png


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


Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-06-05 Thread Ivica Ico Bukvic
Thank you very much!

 

From: Julian Brooks [mailto:jbee...@gmail.com] 
Sent: Monday, June 03, 2013 6:11 AM
To: Ivica Bukvic
Cc: pd-list; Martin Peach; George Naylor
Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd

 

Hey Ivica,

All the info is on this thread:
http://www.mail-archive.com/pd-list@iem.at/msg57752.html

The object is [gpio] and whilst working fine, is pretty basic.  Jaime's
helpfile is very useful and recommended.

OAN - Had a quick look at your site for the RPI version of pd-l2ork - really
excellent documentation, looks great, hats off to you.

Should have more time next month to properly engage with pd-l2ork - looking
forward to it.

Cheers,

Julian

 

On 3 June 2013 05:42, Ivica Bukvic i...@vt.edu wrote:

Joining late to the discussion--is there now a native Pd external that
allows direct connection to RPi pins or is there still a need to use
middleware to access the data steam? If former, where can one get their
hands on the source--I would love to include it in the next pd-l2ork RPi
release?

Please advise.

On May 23, 2013 8:20 AM, Julian Brooks jbee...@gmail.com wrote:

Just checked it again and noticeably in comparison to all our previous
testing there is now (as good as) zero errors from the sensors.  Rock solid.
Joy.

 

On 23 May 2013 13:16, Julian Brooks jbee...@gmail.com wrote:

Hey Martin,

Many thanks for the extra wiring diagram.

We managed to confirm both sensors are working via pin11 from the IC going
between earth  3v with gpio17 disconnected and running i2cdetect.

That was really useful as it was the first definite confirmation that both
sensors are working correctly.

In the process of doing that we also discovered that the line from gpio17 to
IC pin11 was in fact not connected to gpio17 at all!

To try and keep the protoplate reasonably tidy we'd soldered to the
underneath of the plate.  Somehow in the flipping from one side to the other
we'd messed up and missed by two connecting it to ground and therefore
making complete sense as to why only one sensor was working.

This is also after spending a half hour this morning checking and double
checking all the various lines and connections.  

So working now - blimey.

OAN - Whilst wanting to progress the Pd patch last night, having left it
since last Friday, I plugged the box with all our gubbins in and promptly
blew up the Pi - proper fried it it seems.  Loose power cable to the Pi and
we think it was touching a screw on the box.  Kapput.

The RPi was a rev1 board and my other is rev2 and the custom image I made
doesn't work on the rev2 board.  Always know this was a possible issue but,
you know, got a ton of other stuff to be getting on with.

 

So spent until 4am building a fresh image from
http://moebiuslinux.sourceforge.net/

and works really well so far-which is good.  Didn't get my patching done
though:)

Long way of saying that I've updated my C file to reflect this and all
working lovely.

Thank you thank you thank you.

Been much fun,

Julian

P.S. Will give this thread a nudge when I've documented it all (it's a
whopper)

 

 

___
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


Re: [PD] ANN: New Pd-L2Ork x86_64 and Raspberry Pi release now available together with comprehensive how-to

2013-06-05 Thread rolfm


Ivica Bukvic i...@vt.edu schreef:


Forgot to mention, building your own is a simple three-step process:

1) get the source from git
2) run the apt-get command found on L2Ork's software page to install Dev
libraries (simply copy and paste it into terminal)
3) in the source tree cd into l2ork_addons/ folder and run:

./tar_em_up.sh -B

Go get a lunch/coffee, come back in an hour and install your own brand new
pd-l2ork  (it will be located two folders up so you will have to type cd
../../ to get there)

HTH



hi ivica,

following your guidelines i get some errors and no result.
my system is in dutch, but i think the errors are clear.

in the beginning there is this:

[..]
./tar_em_up.sh: regel 125: git: opdracht niet gevonden
./tar_em_up.sh: regel 126: git: opdracht niet gevonden
[..]

the lines in question are:
git submodule init
git submodule update

lateron the proces ends with these lines:

[...]

make[1]: *** Er is geen regel om doel  
'/home/rolfm/Downloads/pd-master/Gem/configure' te maken, nodig voor  
'/home/rolfm/Downloads/pd-master/Gem/src/.libs/Gem.pd_linux'.  Gestopt.

make[1]: Map '/home/rolfm/Downloads/pd-master/packages' wordt verlaten
make: *** [install] Fout 2

fakeroot dpkg-deb --build  
/home/rolfm/Downloads/pd-master/packages/linux_make/build/  
/home/rolfm/Downloads/pd-master/packages/linux_make/pd-l2ork-`arch`-20130605.deb

getopt: onbekende optie '--build' unknown option
fakeroot, create a fake root environment.
   usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin]
   [-i file] [-s file] [-u|--unknown-is-real]
   [-b|--fd-base fd] [-h|--help] [-v|--version]
   [--] [command]
make: *** [deb] Fout 1
move full installer...
mv: kan status van ?*.deb? niet opvragen: Bestand of map bestaat niet

[...]

any suggestions?

i am on Ubuntu 12.04

rolf


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