Re: [PD] pd - svg

2013-05-05 Thread Jonathan Wilkes
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
 attachment: float-help.svg___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-list Digest, Vol 98, Issue 14

2013-05-05 Thread Dan Wilcox
Looks great! Now just need an option for arrays to automatically clip numbers 
to a given min/max ...

On May 5, 2013, at 12:18 AM, pd-list-requ...@iem.at wrote:

 From: Jonathan Wilkes jancs...@yahoo.com
 Subject: Re: [PD] got jump-on-click arrays working
 Date: May 5, 2013 12:17:58 AM EDT
 To: IOhannes m zmoelnig zmoel...@iem.at, pd-list@iem.at pd-list@iem.at
 Reply-To: Jonathan Wilkes jancs...@yahoo.com
 
 
 Hi List,
  More Put menu array fun:
 
 * settable colors for the trace + jump on click action
 
 http://puredata.info/Members/jancsika/array-in-color/view
 
 * bar graph with settable outline/fill colors
 http://puredata.info/Members/jancsika/bargraph-array/view
 
 * resizing bar graph
 http://puredata.info/Members/jancsika/bargraph-sinesum/view
 
 * multiple colored arrays in one graph
 http://puredata.info/Members/jancsika/two-arrays/view
 
 plus:
 
 * savable colors for Put menu arrays
 
 * html-style color symbols savable in last two args to [plot]
 
 
 Please test.  Data structure bargraph arrays probably look a little
 screwy-- haven't worked on those yet.
 
 -Jonathan


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] 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] UA-25 on RPI

2013-05-05 Thread Dan Wilcox
I tried the latest firmware (alsa mmap update) and still the same issue. PD cpu 
usage seems lower now though, at about 8% with a simple test patch and stereo 
out.

Don't get me wrong, stereo audio out works with the UA-25 on rPI. The issue is 
that full duplex (stereo in  out) do not, resulting in crackling audio out. :P

On May 4, 2013, at 12:51 PM, pd-list-requ...@iem.at wrote:

 From: Dan Wilcox danomat...@gmail.com
 Subject: Re: [PD] UA-25 on RPI
 Date: May 4, 2013 12:50:47 PM EDT
 To: Antoine Villeret antoine.ville...@gmail.com
 Cc: pd-list list pd-list@iem.at, Miller Puckette m...@ucsd.edu
 
 
 No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, 
 rca/jack outputs, direct monitor, individual channel gain control, master 
 gain control, and in a road tuff metal case. I have two of them, so it makes 
 sense to dump the PI if I can't get it to work with proven linux friendly 
 hardware especially when the pi costs less.
 
 Too bad. Back to iPad now ... :D


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] UA-25 on RPI

2013-05-05 Thread Dan Wilcox
Aha! I actually do remember this being an issue with my old hardware and it was 
something that was fixed by making sure to plug the audio in directly to the 
machine and not through a hub. Unfortunately, this doesn't solve the issue on 
the rPI, but disabling the Ethernet port *and* unplugging my wifi dongle does. 
The crackling is the USB bus probably not honoring the realtime audio requests 
of the UA-25 ... which pretty much sucks since I do need networking. This seems 
to be a recurring thread with *professional* audio cards and rPI.

Basically, it does work in full duplex ... but only if you don't plug anything 
more then a keyboard in addition to the soundcard.

My old hardware may have been slower, but apparently the USB setup was alot 
more robust. Hopefully this is something that can be fixed in later rPI 
firmware updates, but for now I can't run my entire system on a pi without 
networking :P

On May 5, 2013, at 11:19 AM, Dan Wilcox danomat...@gmail.com wrote:

 I tried the latest firmware (alsa mmap update) and still the same issue. PD 
 cpu usage seems lower now though, at about 8% with a simple test patch and 
 stereo out.
 
 Don't get me wrong, stereo audio out works with the UA-25 on rPI. The issue 
 is that full duplex (stereo in  out) do not, resulting in crackling audio 
 out. :P
 
 On May 4, 2013, at 12:51 PM, pd-list-requ...@iem.at wrote:
 
 From: Dan Wilcox danomat...@gmail.com
 Subject: Re: [PD] UA-25 on RPI
 Date: May 4, 2013 12:50:47 PM EDT
 To: Antoine Villeret antoine.ville...@gmail.com
 Cc: pd-list list pd-list@iem.at, Miller Puckette m...@ucsd.edu
 
 
 No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, 
 rca/jack outputs, direct monitor, individual channel gain control, master 
 gain control, and in a road tuff metal case. I have two of them, so it makes 
 sense to dump the PI if I can't get it to work with proven linux friendly 
 hardware especially when the pi costs less.
 
 Too bad. Back to iPad now ... :D
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


[PD] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Halfdan Mouritzen
Dear PD Friends,

We are building a collaborative music sculpture, using five Raspberry
Pi's to each run a seperate instrument / HID.
Everything is very well, they each run a minimal Arch installation and
boot up into PD without a GUI.

One machine we are building at the moment, is just a very basic sample
player - it has 8 tables with samples, that get played via a looping
tabplay~.
The machine works by simply muting and unmuting of the different
channels - very basic.

Now the problem is that when all eight tracks are unmuted the CPU
usage is around 15-16 % - very fine, with lots of room for other
activities.
NOW, when one mutes channels, the CPU usage starts climbing and
climbing, resulting in 95-100% usage when all the channels are
muted...
This results in lagging/glitching, when one tries to turn on channels again.
The muting / unmuting is done through a simple *~ which gets set to
either 0 or 1 with a line.

I have noticed others have experienced this problem, but I haven't
been able to find a solution to the problem.
Hope somebody has a solution, as we are installing the machine at a
music festival this week, and plan to open source all
patches/sounds/build plans etc.

All the best and keep on patching
Halfdan  Jonathan

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


Re: [PD] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Halfdan Mouritzen
On 5 May 2013 18:42, Dan Wilcox danomat...@gmail.com wrote:
 Even though you don't have audio coming out when you're muting, you're
 still doing dsp.

Yes, what I don't understand though is _why_ we see such an increase
in CPU load, when the channels are muted.

 You should put each channel in a sub patch or abstraction
 and use [switch~] to enable/disable that abstraction. This is super
 important with low resource machines. The best fix is to do a quick (10-5ms)
 fade in/out when muting/unmuting, then hit [switch~] so you don't get any
 clicks:

The tracks are already seperated into abstractions, so this will be
easy to implement.

Since the help for switch~ displays block~-help, I had mistaken the
switch~ object as controlling blocksize as well.

I will implement your suggestions straight away - thanks!

Halfdan

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


Re: [PD] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Martin Peach

On 2013-05-05 13:52, Halfdan Mouritzen wrote:


Yes, what I don't understand though is _why_ we see such an increase
in CPU load, when the channels are muted.



Could it be that denormals are produced when the line gets close to 0?
Depending on how the floating point is set up that could cause a lot of 
context switching.

What happens if you fade to 0.001 instead of 0?


Martin


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


Re: [PD] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Julian Brooks
Yep good call, maybe a Pd update might fix it
(pre-compiled version for RPi on Miller's webpage
http://crca.ucsd.edu/~msp/software.html )

as from 0.44-2 the denormal thing has (apparently) been sorted.


On 5 May 2013 18:58, Martin Peach martin.pe...@sympatico.ca wrote:

 On 2013-05-05 13:52, Halfdan Mouritzen wrote:


 Yes, what I don't understand though is _why_ we see such an increase
 in CPU load, when the channels are muted.


 Could it be that denormals are produced when the line gets close to 0?
 Depending on how the floating point is set up that could cause a lot of
 context switching.
 What happens if you fade to 0.001 instead of 0?


 Martin



 __**_
 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] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Pagano, Patrick
This might be the wrong direction but for a multichannel installation I has 
great success with Eric Lyon's player~ abstraction in his pd potpourri set.
Not sure if it will work since its an external but I had 20+ players firing off 
and never had a glitch.

Cheers~
pp

On May 5, 2013, at 2:37 PM, Julian Brooks 
jbee...@gmail.commailto:jbee...@gmail.com wrote:

Yep good call, maybe a Pd update might fix it
(pre-compiled version for RPi on Miller's webpage
http://crca.ucsd.edu/~msp/software.html )

as from 0.44-2 the denormal thing has (apparently) been sorted.


On 5 May 2013 18:58, Martin Peach 
martin.pe...@sympatico.camailto:martin.pe...@sympatico.ca wrote:
On 2013-05-05 13:52, Halfdan Mouritzen wrote:

Yes, what I don't understand though is _why_ we see such an increase
in CPU load, when the channels are muted.


Could it be that denormals are produced when the line gets close to 0?
Depending on how the floating point is set up that could cause a lot of context 
switching.
What happens if you fade to 0.001 instead of 0?


Martin



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

___
Pd-list@iem.atmailto: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] Cheap audio USB device with Raspberry PI -- works!

2013-05-05 Thread Alexandre Castonguay
Hiya,

I didn't see a post by André but yes, he told me the
'dwc_otg.speed=1 added to /boot/cmdline.txt' had no effect.

ttys,

a

Le 2013-05-04 18:48, Alexandre Torres Porres a écrit :
 Yeah, Deal Extreme, Great, Free Shipping to Brazil :)
 
 2013/4/30 me.grimm megr...@gmail.com
 
 That's without dwc_otg.speed=1 added to /boot/cmdline.txt 

 *m*

 On Apr 30, 2013, at 5:08 PM, Julian Brooks jbee...@gmail.com wrote:

 Blimey:)

 Could be really useful for workshops etc.
 £1.81 and free shipping to U.K (takes a while tho', so plan ahead).
 Nice find.

 Julian


 On 30 April 2013 21:54, Max abonneme...@revolwear.com wrote:

 i've added this info to
 https://puredata.info/docs/raspberry-pi/FrontPage
 it has no vendor/brand name, but the model is: HY544

 Am 30.04.2013 um 22:14 schrieb Alexandre Castonguay 
 acastong...@artengine.ca:

 Hi all,

 This card works (audio i/o) with the Raspberry PI (Raspbian).

 You just need to type 'amixer -c 1 set Mic 80% cap' in a term window to
 enable to Mic.  In PD, under preferences, choose 'Alsa' as output and
 under 'audio configuration', select 'input Generic AudioUSB Device
 (hardware) Channels 1' and 'output Generic USB Audio Device (plug-in)
 Channels 2'.

 This is the beast :-) -

 http://dx.com/p/usb-3d-sound-adapter-color-assorted-5831  (2.80 USD!)

 Have fun,

 * Merci à André Girard!

 Alexandre

 ___
 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] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Roman Haefeli
On Son, 2013-05-05 at 12:42 -0400, Dan Wilcox wrote:
 Even though you don't have audio coming out when you're muting, you're
 still doing dsp. You should put each channel in a sub patch or
 abstraction and use [switch~] to enable/disable that abstraction. This
 is super important with low resource machines. The best fix is to do a
 quick (10-5ms) fade in/out when muting/unmuting, then hit [switch~] so
 you don't get any clicks:

this part:


[unpack f f]
|/
[del ]
|
[switch~]


is most likely not doing what you are expecting it to do.  A [delay]
outputs only bangs and no numbers. [switch~ ], however, will only
compute one block when banged.

Also the [unpack]-[del] combination is weird as it first sets the delay
time to 5 and then immediately to 1 or 0 (depending on which message got
banged). Also, you don't want to apply the delay to both messages. When
fading in, computation must be already turned on. The delay is only
required for the fade-out.

I modified slightly to what I think you meant to do.

Roman





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


[PD] pyOSC receives but wont send/connect to Pd

2013-05-05 Thread Julian Brooks
Hey Alex / all,

This could be stupidly obvious but I'm completely new to python so bear
with me please:

I'm following the tutorials that Alex put up here:
https://github.com/alx-s/RPi_tutorials/tree/master/OSC_python-pd

First off, many thanks for the tutorials Alex:)

I can't seem to get the test python program to connect/receive from Pd.
https://github.com/alx-s/RPi_tutorials/blob/master/OSC_python-pd/OSC_send_python.py

When I do this:
python OSC_send_python.py
with the corresponding pd patch up and running I get:
not connected
In the console where the py file is running from.

Must be something simple as the py file has very little in it.

On the RPi
pd 0.44-2
iemnet/[udpreceive]

Send examples work btw

Does anyone have a quick fix/some wisdom?

Best wishes,

Julian
___
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 Jonathan Wilkes

 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] 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] Pd-list Digest, Vol 98, Issue 14

2013-05-05 Thread Jonathan Wilkes
I believe pd-l2ork does this.

Ivica: can you send me the code you use to keep the array trace inside the 
graph?


-Jonathan



 From: Dan Wilcox danomat...@gmail.com
To: pd-list@iem.at 
Sent: Sunday, May 5, 2013 10:23 AM
Subject: Re: [PD] Pd-list Digest, Vol 98, Issue 14
 


Looks great! Now just need an option for arrays to automatically clip numbers 
to a given min/max ...


On May 5, 2013, at 12:18 AM, pd-list-requ...@iem.at wrote:

From: Jonathan Wilkes jancs...@yahoo.com

Subject: Re: [PD] got jump-on-click arrays working

Date: May 5, 2013 12:17:58 AM EDT

To: IOhannes m zmoelnig zmoel...@iem.at, pd-list@iem.at pd-list@iem.at

Reply-To: Jonathan Wilkes jancs...@yahoo.com


Hi List,
 More Put menu array fun:

* settable colors for the trace + jump on click action

http://puredata.info/Members/jancsika/array-in-color/view

* bar graph with settable outline/fill colors
http://puredata.info/Members/jancsika/bargraph-array/view

* resizing bar graph
http://puredata.info/Members/jancsika/bargraph-sinesum/view

* multiple colored arrays in one graph
http://puredata.info/Members/jancsika/two-arrays/view

plus:

* savable colors for Put menu arrays

* html-style color symbols savable in last two args to [plot]


Please test.  Data structure bargraph arrays probably look a little
screwy-- haven't worked on those yet.

-Jonathan


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com






___
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] How to set up OpenCv in pd (Windows)

2013-05-05 Thread Antoine Villeret
hello,

unfortunately I never built pix_opencv on Windows (but I do on Mac OS X and
Linux)
and I've no plan do to that because 1) I know anything about Windows
platform and 2) I don't have such a computer
I hope this is ready to build on Windows but I'm not sure...
but you are welcome to share your experience if you want to try :-)

best

a

--
do it yourself
http://antoine.villeret.free.fr


2013/4/25 skafrenz skafr...@gmail.com

 Hello everyone, I could not find instructions about how to set up OpenCv
 for Pure Data (Windows). Can anyone help or tell me where to find
 instructions?
 Thank you guys :)

 Francesco

 ___
 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 Jonathan Wilkes

 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


[PD] MobMuPlat (libpd+iOS) open release

2013-05-05 Thread Daniel Iglesia
Hi pd list,

A few months ago, I released MobMuPlat, an iOS app to host pd patches (via 
libpd) with user-created GUIs (made with an accompanying OSX GUI editor). It's 
been refined and tested quite a bit since then, and (for those of you who can 
tolerate closed systems) it has now been released open source.

http://www.mobmuplat.com

Please enjoy! Feel free to contact me off-list with questions/bugs/things 
you've made/etc. Thanks to the members of this list that have already engaged 
me on this project, and to the makers of PD and libpd!

Dan

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


[PD] [patching circle] tomorrow at ITP

2013-05-05 Thread sonia yuditskaya
Reminder: patching circle is tomorrow Monday May 6 at ITP
721 Broadway, 4th floor, NY NY 10003

See you there!

Sofy Yuditskaya
s~ http://yuditskaya.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [patching circle] tomorrow at ITP

2013-05-05 Thread sonia yuditskaya
I forgot the time!

Again:

What: NY Patching Circle
When: Monday May 6 from 6-9
Where: NYU/ITP 721 Broadway, 4th floor, NY NY 10003

Sofy Yuditskaya
s~ http://yuditskaya.com



On Sun, May 5, 2013 at 8:03 PM, sonia yuditskaya marysgh...@gmail.comwrote:

 Reminder: patching circle is tomorrow Monday May 6 at ITP
 721 Broadway, 4th floor, NY NY 10003

 See you there!

 Sofy Yuditskaya
 s~ http://yuditskaya.com


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