[PD] Released rhizome v0.1 : web server for participative performances and installations.

2014-02-09 Thread s p
Hi all!

I just open-sourced a web server we used to do some participative sound
performances. I thought some of you might find it interesting.

More info on the github page : https://github.com/sebpiq/rhizome

Cheers,

-- 

*Sébastien Piquemal*

 -* @sebpiq*
 - http://github.com/sebpiq
 - http://funktion.fm
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [WebPd] Status update

2013-11-03 Thread s p
 it takes me 15 or 20 years to get anything done.

Hopefully it will take me less than that :)

WebPd was simple to get just working, but getting it working fast on top
of Web audio API is another story. That's why it has taken so much time. A
lot of trying out things, a lot of trash, ... but I think I'm on the
right path now :)

 I hope Chris's original work is preserved so that things like this can be
easy to learn.

didn't get what this means.


2013/11/3 Billy Stiltner billy.stilt...@gmail.com

 I hope Chris's original work is preserved so that things like this can be
 easy to learn.

 re slowly

 it takes me 15 or 20 years to get anything done.


 On Mon, Oct 28, 2013 at 12:38 PM, s p seb...@gmail.com wrote:

 Slowly, slowly ... :)


 2013/10/28 Hans-Christoph Steiner h...@at.or.at


 Cool to see this progressing!

 .hc

 On Oct 23, 2013, at 10:23 AM, s p wrote:

 For those interested in WebPd, here is a short status update about the
 project : http://funktion.fm/#post/webpd-refactor

 Cheers!

 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm
  ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list





 --

 *Sébastien Piquemal *

  -* @sebpiq*
   - http://github.com/sebpiq
   - http://funktion.fm

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





-- 

*Sébastien Piquemal*

 -* @sebpiq*
 - http://github.com/sebpiq
 - http://funktion.fm
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] audio output AND input with the Rpi?

2013-10-29 Thread s p
Same here ... I tried with 2 different usb interfaces, and I got no luck.
In both cases I got some sound input, but there is a lot of popping
sounds.


2013/10/28 Chris Jack christopherdanielj...@gmail.com

 Hey folks,

 Apologies as this post is not strictly about Pd, though Pd will be a
 crucial part of my final setup so whatever solution I find ought to work
 with Pd. Also, there is a chance the issue might lie with Pd. I just don't
 know.

 I'm looking for a usb bus-powered audio interface for the Rpi that can
 take a stereo input and provide stereo output *at the same time.*
 * *
 I have tried a couple different images and a couple different audio
 interfaces, to no avail. Perhaps there's something can be done with one of
 these setups to get it working?

 First, the Pd-LA custom Raspian (v1) image and Pd 43.2:

 ..with Behringer UCA202 (at 44100khz):

 Alsamixer picks the device up but the input section shows nothing.

 Pd (gui) audio preferences allows selection of the interface for both
 input and output. Output only is lovely and clean but as soon as the device
 is selected for audio input the audio quality drops horrendously (vaguely
 recognisable from the original signal)..
 ..although what gives me hope is I CAN software monitor the input (poorly)
 in 'Test Audio and MIDI' with this arrangement.

 ..with Behringer UCA202 (at 48000khz):

 Output only in Pd is poor (beating and popping sound - possibly sounds
 like a samp rate conversion issue).
 When device is selected as Pd input software monitoring is possible and
 oddly, though the result is still poor, there is effectively no drop in
 quality from having the device selected only for output and the monitored
 signal sounds drastically better than at 44100khz.


 ..with Turtle Beach Amigo II* (at 44100):

 Alsamixer shows both input and output and allows to change gain of both.
 If plugged in from boot and only the output is selected in Pd it works but
 with a lot of jitter. Selecting the device for input too causes a further
 drop in audio quality although again I can software monitor the input in
 'Test Audio and MIDI'
 If plugged in after boot the OS crashes.


 The Satellite CCRMA (operating via ssh) and Pd-extended:

 ..with Behringer UCA202 (at 44100 and 48000):

 Alsamixer picks the device up but again the input section shows nothing.

 If I have the device plugged in from boot then I get the same behaviour
 with it as I do in Pd vanilla on the Pd-LA Raspian image, ie. software
 input monitoring but at an extremely poor quality.

 If I don't plug the device in from boot I see it in Pd audio prefs but get
 this:

 ALSA input error (snd_pcm_open): No such file or directory

 ALSA output error (snd_pcm_open): No such file or directory

 from the Pd terminal and this

 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
 oops: ALSA cards not reported in order?

 from the ssh terminal.


 ..with Turtle Beach Amigo II* (at 44100khz):

 Alsamixer shows both input and output and allows to change gain of both.

 If plugged in from boot and then only output selected in Pd I get clean
 audio out. If I try to select the Turtle Beach as audio inout in Pd then Pd
 stalls indefinitely when I try to 'Test Audio and MIDI' or make anything in
 a patch.

 Same direct input monitoring by default.

 Also get

 ALSA input error (snd_pcm_open): Device or resource busy

 ALSA output error (snd_pcm_open): Device or resource busy

 from the Pd terminal if I don't have it plugged in from boot, though no
 message in ssh terminal.

 *It also appears that by default the Turtle Beach does direct input
 monitoring of some sorts, the output stage sending out a clean copy of
 whatever signal is going into the input stage whenever the device is
 plugged into a usb port. With the Pd-LA image this occurred simultaneously
 while input monitoring in Pd. I guess this is part of the design of the
 Turtle Beach, though their documentation is devoid of any useful info
 regards this. If this is the case then this ain't the sound card for me,
 though clearly some might find this a very useful feature.

 Just to give a bit more info about what I'm attempting: I wish to run the
 stereo input from the Turtle Beach through Pd, play with the audio signal
 using data from an accelerometer (not nearly there yet) and then send the
 audio out through the Turtle Beach's stereo output.

 Apologies for the essay. Hopefully my findings are useful for others and
 hopefully I can get my rig working! Help muchly appreciated. I've probably
 left out some crucial bit of info so please shout me if I have!

 Cheers,
 Chris Jack.

 Chris Jack

 *art/research*
 http://itsmrjack.com/

 *discus jockeying/sound art*
 http://soundcloud.com/itsmrjack/

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




-- 
*Sébastien 

Re: [PD] [WebPd] Status update

2013-10-28 Thread s p
Slowly, slowly ... :)


2013/10/28 Hans-Christoph Steiner h...@at.or.at


 Cool to see this progressing!

 .hc

 On Oct 23, 2013, at 10:23 AM, s p wrote:

 For those interested in WebPd, here is a short status update about the
 project : http://funktion.fm/#post/webpd-refactor

 Cheers!

 --
 *Sébastien Piquemal
 *
 *
 ** *-* @sebpiq*
  -* *http://github.com/sebpiq*
 *
  - http://funktion.fm
  ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list





-- 
*Sébastien Piquemal
*
*
** *-* @sebpiq*
 -* *http://github.com/sebpiq*
*
 - http://funktion.fm
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [WebPd] Status update

2013-10-23 Thread s p
For those interested in WebPd, here is a short status update about the
project : http://funktion.fm/#post/webpd-refactor

Cheers!

-- 
*Sébastien Piquemal
*
*
** *-* @sebpiq*
 -* *http://github.com/sebpiq*
*
 - http://funktion.fm
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Building portable instruments with Pd and Raspberry Pi workshop

2013-10-09 Thread s p
Hi all,

We just finished the first run of our workshop Building portable
instruments with Pd and Raspberry Pi in Riga. Here is a cut of the jam we
did to show case the work done by participants : https://vimeo.com/76307579

More info about the whole event here : http://www.cc4av.info/en/events/

It was really fun, and I hope to repeat this soon.
So if anybody is interested in inviting us, please let me know!!!

-- 
*Sébastien Piquemal
*
*
** *-* @sebpiq*
 -* *http://github.com/sebpiq*
*
 - http://funktion.fm
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Cannot get [hid] to work properly with my mouse

2013-09-24 Thread s p
Well ... I mean at least mac + linux !
For some reason when I mean that something can run everywhere I always
forget windows :) same when I do webdev ... I usually completely forget
about internet explorer...


2013/9/24 Simon Wise simonzw...@gmail.com

 On 23/09/13 20:10, s p wrote:

 The patch I am doing is for a workshop, so I'd like to be platform
 independent...
 But thanks for the tip anyways!


 platform independent plus using input is going to be quite limited, since
 under the surface there will be quite different implementations per
 platform in any cross platform object or environment ... which may or may
 not be consistent.

 Of course with simpler and more abstracted data you may have more luck.


 Simon


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] Cannot get [hid] to work properly with my mouse

2013-09-23 Thread s p
Hi!

I am trying to use [hid] on pd vanilla and Ubuntu.
Ideally, I would like to use the mouse as a fader on Y axis : when I move
the mouse, the fader moves accordingly, when the mouse doesn't move the
fader stays in the same position.

Problem is, I can get only relative Y, and relative Y seems to keep sending
the value (1 or -1) from the last move, even if you don't move at all. So
basically it is impossible to detect that the mouse is not moving.

Is there a workaround this issue?

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


Re: [PD] Cannot get [hid] to work properly with my mouse

2013-09-23 Thread s p
Yep, I tried that already, but that doesn't work if you move the mouse
slowly.


2013/9/23 James Dunn ja...@4thharmonic.com

  What about [change]?

 Quoth s p, on 23/09/2013 11:12:

   Hi!

  I am trying to use [hid] on pd vanilla and Ubuntu.
  Ideally, I would like to use the mouse as a fader on Y axis : when I
 move the mouse, the fader moves accordingly, when the mouse doesn't move
 the fader stays in the same position.

  Problem is, I can get only relative Y, and relative Y seems to keep
 sending the value (1 or -1) from the last move, even if you don't move at
 all. So basically it is impossible to detect that the mouse is not moving.

  Is there a workaround this issue?

  Sebastien Piquemal


 ___pd-l...@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] Cannot get [hid] to work properly with my mouse

2013-09-23 Thread s p
The patch I am doing is for a workshop, so I'd like to be platform
independent...
But thanks for the tip anyways!


2013/9/23 James Dunn ja...@4thharmonic.com

  Yes I see what you mean. If you are on linux you could try [linuxevent]
 from here:

 http://at.or.at/hans/pd/hid.html

 I use this on Arch due to this bug:

 http://sourceforge.net/p/pure-data/bugs/889/

 [linuxevent] has finger detection so you can use this to gate the data
 stream.

 Quoth s p, on 23/09/2013 12:29:

 Yep, I tried that already, but that doesn't work if you move the mouse
 slowly.


 2013/9/23 James Dunn ja...@4thharmonic.com

  What about [change]?

 Quoth s p, on 23/09/2013 11:12:

Hi!

  I am trying to use [hid] on pd vanilla and Ubuntu.
  Ideally, I would like to use the mouse as a fader on Y axis : when I
 move the mouse, the fader moves accordingly, when the mouse doesn't move
 the fader stays in the same position.

  Problem is, I can get only relative Y, and relative Y seems to keep
 sending the value (1 or -1) from the last move, even if you don't move at
 all. So basically it is impossible to detect that the mouse is not moving.

  Is there a workaround this issue?

  Sebastien Piquemal


  ___pd-l...@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] pd2png : screenshots of patchs

2013-05-15 Thread s p
SVG is even more cross-plateform, and more importantly it is supported by
web browsers, you can use javascript to edit it and you can use css to
style it. That could be the stem for a new pd GUI.


2013/5/15 Abel Jérôme abel.jer...@free.fr

 Hi,

  GridFlow has a Pd patch to take screenshots of other Pd patches using
 X11 (so: GNU/Linux, BSD, etc, possibly OS X, unlikely to work on Windows)
  which works for really tall patches

 Yes, you're right, I saw this idea in gridflow. I will try it.

  Well ... basically to me the way to go is really with SVG as a starting
 point. Because once you have SVG, you can use one of hundred different
 tools to convert to PNG, JPG or any image format you can dream of

 With inkscape you can convert .ps into .svg :
 inkscape pd.ps --export-plain-svg=pd.svg

 I don't know if we can command Pd to print patchs in .ps (in a command
 line). It could strong and cross-platform.

 Jerome

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] pd - svg

2013-05-06 Thread s p
And what about the console? Any error there?


2013/5/6 Jonathan Wilkes jancs...@yahoo.com

 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 5:05 PM
 Subject: Re: [PD] pd - svg
 
 
 
 i.e. is kind of out of my radar ... but for sure I should test with it
 some day.
 With my firefox it works fine. What do you mean by it fails? Do you get
 anything at all? Or is the graph cropped or something?


 I get two horizontal dividers and the text Loading...


 -Jonathan


 
 
 
 2013/5/5 Jonathan Wilkes jancs...@yahoo.com
 
 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 10:39 AM
 Subject: Re: [PD] pd - svg
 
 
 
 
 Also, I put this library together a little while ago, as a part of
 WebPd :
 
 
 https://github.com/sebpiq/pd-fileutils
 
 
 
 It should work out of the box, converting pd patch to SVG
 
 Thanks.
 
 The demo below fails to load properly on Firefox and IE (whatever
 version on windows 7)
 
 http://sebpiq.github.io/pd-fileutils/?gist=5054711
 
 
 
 
 
 
 2013/5/5 philippe boisnard philem...@mac.com
 
 Hi
 
 an example to create html/svg from pd
 
 
 
 
 cheers
 
 p
 Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :
 
  Used can2svg from Mats Bengtsson and got a nice result.  You can
 open it in a browser, zoom it, select text.  It's about 3x larger than pd
 file.  Probably wouldn't be too difficult to parse and turn most of the
 pddplinks into real links.
 
  What happened to pdpedia?  If it's still around maybe I can script
 this to do all the pd-ext help files and make a nice online resource.  It'd
 probably be more powerful to parse pd files directly to svg but that's a
 bigger project.
 
 
  -Jonathan
 
 
 
  - Original Message -
  From: Jonathan Wilkes jancs...@yahoo.com
  To: PD List pd-list@iem.at
  Cc:
  Sent: Friday, May 3, 2013 1:40 PM
  Subject: [PD] pd - svg
 
  A few points:
 
  * you can open svg in a browser
  * you can _zoom_ svg in a browser for decent results (it's a vector
 drawing)
  * in safari you can select text in an svg (but not Firefox because
 of a bug,
  although you can stil ctrl-c it)
  * much (but not all) of tk canvas has corresponding drawing
 instructions in
  svg.  unless i'm missing something the subset of tk canvas commands
 used by
  Pd all have corresponding instructions in svg
 
  Here's what I want to do (in Debian Wheezy):
  1) Open pd-extended
  2) Create new patch
  3) Create [f]
  4) Right click to open up float-help.pd (PDDP revised version)
  5) Click print and save to test.ps
  6) in cli type:
  pstoedit -f plot-svg test.ps test.svg
 
  But I get this error:
 
   Warning: glyf overlaps cmap, truncating.
 
  Anyone know what this means?  It ends up cropping the top and
 bottom of the
  patch.  Google search for the error doesn't help much.
 
  In the future it'd probably be better to parse a *.pd file directly
 to
  convert to svg, but if I can convert a ps to svg like this I think
 I can script
  it and get some nice looking online searchable documentation with
 very little
  work. :)
 
  -Jonathan
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
  float-help.svg___
  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
 
 
 
 
 
 ___
 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] pd - svg

2013-05-05 Thread s p
Also, I put this library together a little while ago, as a part of WebPd :

https://github.com/sebpiq/pd-fileutils

It should work out of the box, converting pd patch to SVG


2013/5/5 philippe boisnard philem...@mac.com

 Hi

 an example to create html/svg from pd




 cheers

 p
 Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :

  Used can2svg from Mats Bengtsson and got a nice result.  You can open it
 in a browser, zoom it, select text.  It's about 3x larger than pd file.
  Probably wouldn't be too difficult to parse and turn most of the pddplinks
 into real links.
 
  What happened to pdpedia?  If it's still around maybe I can script this
 to do all the pd-ext help files and make a nice online resource.  It'd
 probably be more powerful to parse pd files directly to svg but that's a
 bigger project.
 
 
  -Jonathan
 
 
 
  - Original Message -
  From: Jonathan Wilkes jancs...@yahoo.com
  To: PD List pd-list@iem.at
  Cc:
  Sent: Friday, May 3, 2013 1:40 PM
  Subject: [PD] pd - svg
 
  A few points:
 
  * you can open svg in a browser
  * you can _zoom_ svg in a browser for decent results (it's a vector
 drawing)
  * in safari you can select text in an svg (but not Firefox because of a
 bug,
  although you can stil ctrl-c it)
  * much (but not all) of tk canvas has corresponding drawing
 instructions in
  svg.  unless i'm missing something the subset of tk canvas commands
 used by
  Pd all have corresponding instructions in svg
 
  Here's what I want to do (in Debian Wheezy):
  1) Open pd-extended
  2) Create new patch
  3) Create [f]
  4) Right click to open up float-help.pd (PDDP revised version)
  5) Click print and save to test.ps
  6) in cli type:
  pstoedit -f plot-svg test.ps test.svg
 
  But I get this error:
 
   Warning: glyf overlaps cmap, truncating.
 
  Anyone know what this means?  It ends up cropping the top and bottom of
 the
  patch.  Google search for the error doesn't help much.
 
  In the future it'd probably be better to parse a *.pd file directly to
  convert to svg, but if I can convert a ps to svg like this I think I
 can script
  it and get some nice looking online searchable documentation with very
 little
  work. :)
 
  -Jonathan
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
  float-help.svg___
  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] pd - svg

2013-05-05 Thread s p
i.e. is kind of out of my radar ... but for sure I should test with it some
day.
With my firefox it works fine. What do you mean by it fails? Do you get
anything at all? Or is the graph cropped or something?


2013/5/5 Jonathan Wilkes jancs...@yahoo.com

 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 10:39 AM
 Subject: Re: [PD] pd - svg
 
 
 
 Also, I put this library together a little while ago, as a part of WebPd
 :
 
 
 https://github.com/sebpiq/pd-fileutils
 
 
 
 It should work out of the box, converting pd patch to SVG

 Thanks.

 The demo below fails to load properly on Firefox and IE (whatever version
 on windows 7)

 http://sebpiq.github.io/pd-fileutils/?gist=5054711


 
 
 
 2013/5/5 philippe boisnard philem...@mac.com
 
 Hi
 
 an example to create html/svg from pd
 
 
 
 
 cheers
 
 p
 Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :
 
  Used can2svg from Mats Bengtsson and got a nice result.  You can open
 it in a browser, zoom it, select text.  It's about 3x larger than pd file.
  Probably wouldn't be too difficult to parse and turn most of the pddplinks
 into real links.
 
  What happened to pdpedia?  If it's still around maybe I can script
 this to do all the pd-ext help files and make a nice online resource.  It'd
 probably be more powerful to parse pd files directly to svg but that's a
 bigger project.
 
 
  -Jonathan
 
 
 
  - Original Message -
  From: Jonathan Wilkes jancs...@yahoo.com
  To: PD List pd-list@iem.at
  Cc:
  Sent: Friday, May 3, 2013 1:40 PM
  Subject: [PD] pd - svg
 
  A few points:
 
  * you can open svg in a browser
  * you can _zoom_ svg in a browser for decent results (it's a vector
 drawing)
  * in safari you can select text in an svg (but not Firefox because of
 a bug,
  although you can stil ctrl-c it)
  * much (but not all) of tk canvas has corresponding drawing
 instructions in
  svg.  unless i'm missing something the subset of tk canvas commands
 used by
  Pd all have corresponding instructions in svg
 
  Here's what I want to do (in Debian Wheezy):
  1) Open pd-extended
  2) Create new patch
  3) Create [f]
  4) Right click to open up float-help.pd (PDDP revised version)
  5) Click print and save to test.ps
  6) in cli type:
  pstoedit -f plot-svg test.ps test.svg
 
  But I get this error:
 
   Warning: glyf overlaps cmap, truncating.
 
  Anyone know what this means?  It ends up cropping the top and bottom
 of the
  patch.  Google search for the error doesn't help much.
 
  In the future it'd probably be better to parse a *.pd file directly to
  convert to svg, but if I can convert a ps to svg like this I think I
 can script
  it and get some nice looking online searchable documentation with
 very little
  work. :)
 
  -Jonathan
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
  float-help.svg___
  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
 
 
 

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


Re: [PD] direct connection from pd to webrowser, low latency

2013-04-25 Thread s p
Or you could try a different approach. Instead of streaming the audio,
generate it client-side ... example, this performance that I did last
week-end with WebPd : https://vimeo.com/64514693


2013/4/25 august aug...@alien.mur.at


 Onyx,

 Interesting idea.

 What kind of threshold are you looking for regarding latency?
 I assume this would be for a local network, right?

 If I were you, I would first try to fine-tune your current setup by
 getting all latency variables as low as possible (icecast, pd+oggcast~,
 and the html audio player).

 ICECAST:  There should be config settings for it where you can manage
 the buffering/latency.  Usually buffering/latency is good for streaming
 media since you never know what will happen on the network.

 oggcast~ : I'm guessing it is as low as it can go right now, but there
 may be an internal buffer that you can adjust/downsize.

 HTML audio player: Most importantly, in the HTML, you should check to
 make sure that the audio is not buffering. My guess is that this is
 where you are experiencing the largest latency.  Since HTML5 is a
 moving target, I'm not sure how you would currently do that.  May not
 even be possible.
 https://developer.mozilla.org/en-US/docs/HTML/Element/audio

 ...


 Then, if the above didn't work, you might try to hook up the output of
 a TCP netsend to a websocket and then translate the audio data chunks
 into JS Audio.  UDP won't work on websockets AFAIK.



 best -august.



 o...@onyx-ashanti.com say:
  Greetings!  I hope all is well with you.  I wanted to ask if i might gain
  some of your insight on a project i am undertaking.
 
  I am currently attempting to stream my audio into html5 capable web
  browsers of smartphones.  i have created a local network and installed
  nginx as my webserver.  i and a friend got everything working with the
  oggcast~ and mp3cast~ objects and the icecast 2 server, but the latency
 was
  horrific-5-15seconds.  I would like to investigate the idea of taking
  advantage of the plugin-less nature of these modern fast browsers and
 pipe
  the audio directly into it as directly as possible the same way voip
 works
  but lower bandwidth and only one way.
 
  I see that udpsend~ can do alot of what i think i want, but i am confused
  as to how i might connect it with the audio socket in the client browser
  (if socket is even the right term).
 
  Any insight would be greatly appreciated.  and if i get it working, as
  before, i will document the findings in a step by step once it works.
  thank y
  cheers!
 
  Onyx
 
  --
  www.onyx-ashanti.com

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


 --
 http://aug.ment.org
 GPG: 0A8D 2BC7 243D 57D0 469D  9736 C557 458F 003E 6952


 ___
 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] direct connection from pd to webrowser, low latency

2013-04-25 Thread s p
WebPd isn't able to deal with really heavy patches. In fact that
performance was running the biggest patch I've ever tried with it, you can
judge by yourself whether that's heavy :

https://gist.github.com/sebpiq/5462949

I would say the biggest problem with WebPd right now is its lack of
objects. You have to be very minimalistic when composing :)

The only latency there is the messages that you server sends to the client
running WebPd. I couldn't tell you how much that is.


2013/4/25 o...@onyx-ashanti.com onyxasha...@gmail.com

 cool video.

 I dont know if my synthesis and performance system would work from a
 server and if it did, i doubt i would get the 2-5ms latency i am
 comfortably getting now.  is webpd able to deal with heavy patches?  the
 idea sounds interesting.  what is the realtime latency of webpd in real
 terms?it might be cool, if the latency is controllable and if it can scale
 with evolving complexity.  thanks!


 On Thu, Apr 25, 2013 at 10:03 PM, s p seb...@gmail.com wrote:

 Or you could try a different approach. Instead of streaming the audio,
 generate it client-side ... example, this performance that I did last
 week-end with WebPd : https://vimeo.com/64514693


 2013/4/25 august aug...@alien.mur.at


 Onyx,

 Interesting idea.

 What kind of threshold are you looking for regarding latency?
 I assume this would be for a local network, right?

 If I were you, I would first try to fine-tune your current setup by
 getting all latency variables as low as possible (icecast, pd+oggcast~,
 and the html audio player).

 ICECAST:  There should be config settings for it where you can manage
 the buffering/latency.  Usually buffering/latency is good for streaming
 media since you never know what will happen on the network.

 oggcast~ : I'm guessing it is as low as it can go right now, but there
 may be an internal buffer that you can adjust/downsize.

 HTML audio player: Most importantly, in the HTML, you should check to
 make sure that the audio is not buffering. My guess is that this is
 where you are experiencing the largest latency.  Since HTML5 is a
 moving target, I'm not sure how you would currently do that.  May not
 even be possible.
 https://developer.mozilla.org/en-US/docs/HTML/Element/audio

 ...


 Then, if the above didn't work, you might try to hook up the output of
 a TCP netsend to a websocket and then translate the audio data chunks
 into JS Audio.  UDP won't work on websockets AFAIK.



 best -august.



 o...@onyx-ashanti.com say:
  Greetings!  I hope all is well with you.  I wanted to ask if i might
 gain
  some of your insight on a project i am undertaking.
 
  I am currently attempting to stream my audio into html5 capable web
  browsers of smartphones.  i have created a local network and installed
  nginx as my webserver.  i and a friend got everything working with the
  oggcast~ and mp3cast~ objects and the icecast 2 server, but the
 latency was
  horrific-5-15seconds.  I would like to investigate the idea of taking
  advantage of the plugin-less nature of these modern fast browsers and
 pipe
  the audio directly into it as directly as possible the same way voip
 works
  but lower bandwidth and only one way.
 
  I see that udpsend~ can do alot of what i think i want, but i am
 confused
  as to how i might connect it with the audio socket in the client
 browser
  (if socket is even the right term).
 
  Any insight would be greatly appreciated.  and if i get it working, as
  before, i will document the findings in a step by step once it works.
  thank y
  cheers!
 
  Onyx
 
  --
  www.onyx-ashanti.com

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


 --
 http://aug.ment.org
 GPG: 0A8D 2BC7 243D 57D0 469D  9736 C557 458F 003E 6952


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





 --
 www.onyx-ashanti.com



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


[PD] [pd-fileutils], [WebPd] : online drone generator

2013-03-11 Thread s p
Hi all!

Here is a demo I just finished, to show how you can use [pd-fileutils] as a
tool to generate Pd patches programmatically.

http://sebpiq.github.com/pd-fileutils/randomDrone.html

Enjoy! And don't hesitate to ask for more details ...

Sébastien Piquemal

pd-fileutils on github : https://github.com/sebpiq/pd-fileutils
webpd on github : https://github.com/sebpiq/WebPd
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-03-04 Thread s p
Hi Jamie,

The audio is not streamed to the browser! WebPd is an implementation of
Pure Data in JavaScript, so the browser itself produces the sound (link
here : https://github.com/sebpiq/WebPd) . Since a couple of years, thanks
to a new standard called Web Audio API, it is pretty easy to achieve in
Firefox, Chrome and Safari. The performance is actually surprisingly good!!!

The graph editor project is called dataflow and is made by Forrest
Oliphant, link here : https://github.com/meemoo/dataflow
It is all JavaScript as well.


2013/3/4 Jamie Bullock ja...@jamiebullock.com




 On 1 Mar 2013, at 15:34, s p seb...@gmail.com wrote:

  Actually I've had a crappy demo of patching in the browser running for
 quite a while now :
 http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
 
  It works (not so well in Firefox, but in chromium it's fine).
 

 Wow! That's impressive, when I saw this thread I was just expecting a
 patcher, but you've actually got audio streaming back to the browser. How
 are you achieving that?

  A friend of mine is developing a generic graph editor for dataflow
 programming, and I've been planning to migrate to this forever now, but
 didn't have the time ...

 Do you have a link to that project?

 best,

 Jamie


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


Re: [PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-03-04 Thread s p
Yes! It uses sink.js! But sink.js uses WebAudio API when it can. The
synthesis is made in JavaScript, not in Audio API (yet!). However, I have
big plans of refactoring the whole stuff to be all Web Audio API! I started
`pd-fileutils` as part of this refactor : I want to separate components to
make maintenance easier.

But the Web Audio API version is coming, probably in 3-4 months. If
somebody wanna help, they are welcome :) it's quite a lot of work for me
alone.

All mentioned in roadmap are implemented (at least partly), except [adc~].
You can check out implemented objects here :
http://funktion.fm/webpd/demos/simple-gui/simple-gui.html



2013/3/5 Scott R. Looney scottrloo...@gmail.com

 hey sebi - is this the one using WebAudio and not sink.js? also do you
 have [lop~ ] and [tabread4~] and the others you mentioned on the roadmap
 implemented?

 scott


 On Mon, Mar 4, 2013 at 1:28 PM, s p seb...@gmail.com wrote:

 Hi Jamie,

 The audio is not streamed to the browser! WebPd is an implementation of
 Pure Data in JavaScript, so the browser itself produces the sound (link
 here : https://github.com/sebpiq/WebPd) . Since a couple of years,
 thanks to a new standard called Web Audio API, it is pretty easy to achieve
 in Firefox, Chrome and Safari. The performance is actually surprisingly
 good!!!

 The graph editor project is called dataflow and is made by Forrest
 Oliphant, link here : https://github.com/meemoo/dataflow
 It is all JavaScript as well.


 2013/3/4 Jamie Bullock ja...@jamiebullock.com




 On 1 Mar 2013, at 15:34, s p seb...@gmail.com wrote:

  Actually I've had a crappy demo of patching in the browser running for
 quite a while now :
 http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
 
  It works (not so well in Firefox, but in chromium it's fine).
 

 Wow! That's impressive, when I saw this thread I was just expecting a
 patcher, but you've actually got audio streaming back to the browser. How
 are you achieving that?

  A friend of mine is developing a generic graph editor for dataflow
 programming, and I've been planning to migrate to this forever now, but
 didn't have the time ...

 Do you have a link to that project?

 best,

 Jamie



 ___
 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] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-03-02 Thread s p
No there's no controls at the moment (other than this ugly message box).
My priority is more on the engine than the GUI. At the moment I am about to
start a big refactoring when I find the time, because I would like WebPd to
use Web Audio API. That's also why I am separating components, because I
don't like to have a monolithic library ... I thought something like a file
parser could be useful to other people as well :)

But sure I'll start to send updates once in a while here.

I am still working on the SVG rendering of the pd files, soon I have all
the controls implemented, I'll post when that is done. I think it would be
cool to have a place to post a patch, without having to take a screenshot
of it. What do you think?

2013/3/1 Rich E reakina...@gmail.com

 Yea this is really nice, glad you got the proof of concept working!

 Is there a number box?  Couldn't find it.

 Please keep us all posted..

 On Fri, Mar 1, 2013 at 12:08 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 Wow, that's impressive, it actually works!  Rough, yes, but working.

 .hc

 On Mar 1, 2013, at 10:34 AM, s p wrote:

 Actually I've had a crappy demo of patching in the browser running for
 quite a while now :
 http://funktion.fm/webpd/demos/simple-gui/simple-gui.html

 It works (not so well in Firefox, but in chromium it's fine).

 A friend of mine is developing a generic graph editor for dataflow
 programming, and I've been planning to migrate to this forever now, but
 didn't have the time ...

 2013/2/28 Hans-Christoph Steiner h...@at.or.at


 Very nice :)  I'd love to see full-on Pd patching in the browser :)

 .hc

 On 02/28/2013 02:02 AM, s p wrote:
  Sorry for the spam ... problems with gmail and html, the url is :
 
   http://sebpiq.github.com/pd-fileutils/?gist=GISTID
 
 
  2013/2/28 s p seb...@gmail.com
 
  oops, ... I meant :
 
  2) Go to this url (replace GISTID by your gist id) :
  http://sebpiq.github.com/pd-fileutils/?gist=
 http://sebpiq.github.com/pd-fileutils/?gist=5054711
  GISTID
 
  2013/2/28 s p seb...@gmail.com
 
  For example, here's one goodie brought by `pd-fileutils` :
 
  1) Paste a patch to gist : https://gist.github.com/
  2) Go to this url (replace gistId by your gist id) :
  http://sebpiq.github.com/pd-fileutils/?gist=
 http://sebpiq.github.com/pd-fileutils/?gist=5054711
  gistId
 
  And your patch should be rendered to SVG. You can then send this
 link to
  anybody to show your patch :)
 
  Of course for now the SVG rendering is super crappy, but I am
 working on
  it, so it should be better very soon.
 
  Cheers,
 
  Sébastien
 
 
 
 
 
 
  ___
  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



 ___
 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] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-03-01 Thread s p
Actually I've had a crappy demo of patching in the browser running for
quite a while now :
http://funktion.fm/webpd/demos/simple-gui/simple-gui.html

It works (not so well in Firefox, but in chromium it's fine).

A friend of mine is developing a generic graph editor for dataflow
programming, and I've been planning to migrate to this forever now, but
didn't have the time ...

2013/2/28 Hans-Christoph Steiner h...@at.or.at


 Very nice :)  I'd love to see full-on Pd patching in the browser :)

 .hc

 On 02/28/2013 02:02 AM, s p wrote:
  Sorry for the spam ... problems with gmail and html, the url is :
 
   http://sebpiq.github.com/pd-fileutils/?gist=GISTID
 
 
  2013/2/28 s p seb...@gmail.com
 
  oops, ... I meant :
 
  2) Go to this url (replace GISTID by your gist id) :
  http://sebpiq.github.com/pd-fileutils/?gist=
 http://sebpiq.github.com/pd-fileutils/?gist=5054711
  GISTID
 
  2013/2/28 s p seb...@gmail.com
 
  For example, here's one goodie brought by `pd-fileutils` :
 
  1) Paste a patch to gist : https://gist.github.com/
  2) Go to this url (replace gistId by your gist id) :
  http://sebpiq.github.com/pd-fileutils/?gist=
 http://sebpiq.github.com/pd-fileutils/?gist=5054711
  gistId
 
  And your patch should be rendered to SVG. You can then send this link
 to
  anybody to show your patch :)
 
  Of course for now the SVG rendering is super crappy, but I am working
 on
  it, so it should be better very soon.
 
  Cheers,
 
  Sébastien
 
 
 
 
 
 
  ___
  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] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-02-27 Thread s p
For example, here's one goodie brought by `pd-fileutils` :

1) Paste a patch to gist : https://gist.github.com/
2) Go to this url (replace gistId by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711
gistId

And your patch should be rendered to SVG. You can then send this link to
anybody to show your patch :)

Of course for now the SVG rendering is super crappy, but I am working on
it, so it should be better very soon.

Cheers,

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


Re: [PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-02-27 Thread s p
oops, ... I meant :

2) Go to this url (replace GISTID by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711
GISTID

2013/2/28 s p seb...@gmail.com

 For example, here's one goodie brought by `pd-fileutils` :

 1) Paste a patch to gist : https://gist.github.com/
 2) Go to this url (replace gistId by your gist id) :
 http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711
 gistId

 And your patch should be rendered to SVG. You can then send this link to
 anybody to show your patch :)

 Of course for now the SVG rendering is super crappy, but I am working on
 it, so it should be better very soon.

 Cheers,

 Sébastien

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


Re: [PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-02-27 Thread s p
Sorry for the spam ... problems with gmail and html, the url is :

 http://sebpiq.github.com/pd-fileutils/?gist=GISTID


2013/2/28 s p seb...@gmail.com

 oops, ... I meant :

 2) Go to this url (replace GISTID by your gist id) :
 http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711
 GISTID

 2013/2/28 s p seb...@gmail.com

 For example, here's one goodie brought by `pd-fileutils` :

 1) Paste a patch to gist : https://gist.github.com/
 2) Go to this url (replace gistId by your gist id) :
 http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711
 gistId

 And your patch should be rendered to SVG. You can then send this link to
 anybody to show your patch :)

 Of course for now the SVG rendering is super crappy, but I am working on
 it, so it should be better very soon.

 Cheers,

 Sébastien



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


[PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-02-26 Thread s p
Hi all!

I am pleased to announce that I just released the first working version of
pd-fileutils (https://github.com/sebpiq/pd-fileutils) which is a node.js
package and a command-line tool for fiddling with pd files.

Right now, the command-line tool only allows you to render .pd files to
SVG, but expect more functionalities in the future (I am open to
suggestions).

If you know JavaScript and node.js, you can also use the API for scripting
operations with your pd files. Right now, it can only parse .pd files to a
standard JavaScript object, which you can then manipulate easily with
JavaScript.

This library is a by-product of the WebPd project (
https://github.com/sebpiq/WebPd), which aims at running Pure Data patches
on the browser.

It is also a proposal for an alternative file format for Pure Data, based
on JSON. There was a discussion about that on pd-dev :
http://lists.puredata.info/pipermail/pd-dev/2012-06/018436.html and I would
like to start it again ;)

Cheers!

Sébastien Piquemal

PS : there will definitely be bugs, so don't hesitate to report them :)
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] [pd-fileutils] released, a command-line tool for managing pd files

2013-02-26 Thread s p
Hi all!

I am pleased to announce that I just released the first working version of
pd-fileutils (https://github.com/sebpiq/pd-fileutils) which is a node.js
package and a command-line tool for fiddling with pd files.

Right now, the command-line tool only allows you to render .pd files to
SVG, but expect more functionalities in the future (I am open to
suggestions).

If you know JavaScript and node.js, you can also use the API for scripting
operations with your pd files. Right now, it can only parse .pd files to a
standard JavaScript object, which you can then manipulate easily with
JavaScript.

This library is a by-product of the WebPd project (
https://github.com/sebpiq/WebPd), which aims at running Pure Data patches
on the browser.

It is also a proposal for an alternative file format for Pure Data, based
on JSON. There was a discussion about that on pd-dev :
http://lists.puredata.info/pipermail/pd-dev/2012-06/018436.html and I would
like to start it again ;)

Cheers!

Sébastien Piquemal

PS : there will definitely be bugs, so don't hesitate to report them :)
___
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