Getting used to writing code has a whole lot of advantages if you have a goal of creating an instrument that you intend to maintain over a number of years.

Graphical patching languages such as Puredata are fantastic for getting simple results quickly. They start to show their constraints as your needs get more complex. But those boundaries are still pretty large. Tom Erbe and Olivier Gillet have mentioned using Puredata as a prototyping environment they like to use for working out ideas, later to be transferred to C/C++ DSP code, when the idea has taken form.

4 Likes

a really important thing to remember to is that what you learn working in puredata, max, or supercollider isn’t knowledge gained in a vacuum. many of the concepts that you apply to one environment/language translate into others even if the api and objects you use are named differently.

6 Likes

prac.pd (765 Bytes)
sampler.pd (6.7 KB)
I’ve linked the patch I’m working on. you’ll see inside the instance of sampler.pd within prac.pd where I’m trying to assign a row of the monome based on the number that comes after sampler (in this case 1 and 2). I’m not sure where /monome/grid/led row 0 1 0 0 can’t be /monome/grid/led row 0 $1 0 0? Many thanks

On my phone at the moment, and admittedly pretty rusty with PD, but are you using $1 to pull a value into the subpatch?

Hello everyone!

I following the installing instructions for Pd extended for Raspberry Pi
and when I run this command:

$ sudo dpkg -i Pd-0.43.3-extended-20121004.deb

I keep getting this error:

Selecting previously unselected package pd-extended.
(Reading database … 57768 files and directories currently installed.)
Unpacking pd-extended (from Pd-0.43.3-extended-20121004.deb) …
dpkg: dependency problems prevent configuration of pd-extended:
pd-extended depends on libfftw3-3; however:
Package libfftw3-3 is not installed.
pd-extended depends on libftgl2 (>= 2.1.3~rc5); however:
Package libftgl2 is not installed.
pd-extended depends on libglu1-mesa | libglu1; however:
Package libglu1-mesa is not installed.
Package libglu1 is not installed.
pd-extended depends on libgsl0ldbl (>= 1.9); however:
Package libgsl0ldbl is not installed.
pd-extended depends on libjack-jackd2-0 (>= 1.9.5~dfsg-14) |
libjack-0.116; however:
Package libjack-jackd2-0 is not installed.
Package libjack-0.116 is not installed.
pd-extended depends on liblua5.1-0; however:
Package liblua5.1-0 is not installed.
pd-extended depends on libmp3lame0; however:
Package libmp3lame0 is not installed.
pd-extended depends on libquicktime2 (>= 2:1.2.2); however:
Package libquicktime2 is not installed.
pd-extended depends on libspeex1 (>= 1.2~beta3-1); however:
Package libspeex1 is not installed.

dpkg: error processing pd-extended (–install):
dependency problems - leaving unconfigured
Processing triggers for man-db …
Processing triggers for menu …
Processing triggers for hicolor-icon-theme …
Processing triggers for desktop-file-utils …
Processing triggers for shared-mime-info …
Errors were encountered while processing:

Has anyone else encountered this problem?
If so, any suggestions?

thanks,
J

I remember having some issues with the dependencies while installing PDl2ork. I had to install them separately. Anyway, the answer for PD-Extended is probably in this post https://lists.puredata.info/pipermail/pd-list/2012-10/098586.html

Sorry but, is there a specific reason why you want to install PD-Extended ? It’s unsupported since 2013 and now PD Vanilla has inherited a lot of its functions, including OSC etc.

the monome website and the grid studies require extended : https://monome.org/docs/grid-studies/pd/

I used a Monome with PureData vanilla, the OSC objects have been integrated now, you don’t even need additional plugins: I posted a patch last year and it’s available here

that’s good to know, thanks! Have to see if my ‘pd grid’ eurorack/aleph port could utilise the built-in OSC now rather than the liblo hack I put in there…

1 Like

This looks great. I have a couple of objects that arn’t available yet what can I do about these:

09

p.s also, this should perhaps updated on the grid studies page for monome

grid-studies-2-1.pd (458 Bytes)
heres the first grid studies patch that requires | routeOSC /monome/grid/key (

edit:
ah wait i think i see sorry, is this correct?

Edit : Sorry I haven’t use Puredata for months :smiley:
But I just found one of my old patches and it was connected like that. So the second outlet of SerialOsc is the “Send to monome” and the first outlet is for the data received from the monome

49

Create some send and receive objects and replicate these connections then use the data as you wish

1 Like

anyone tried PD with MPE controllers?
i

Ive just noticed on my mac (0.49 and 0.48) midi seems to stall, with MPE with more than about 3-4 notes, even the test midi/audio stalls (so not my patch)

Im pretty sure Ive tried this on the rPI/Organelle and it was fine, but I need to retest this… to make sure.

1 Like

I’ve had similar problems with puredata and polyphonic aftertouch. I think it’s to do with a system limit on the maximum number of USB MIDI messages per second:

It seems like you can have about 1000 messages per second before packets will drop, and the system/Pd can’t recover from it and requires Pd to restart before MIDI will work again. Fortunately I was having these issues with a controller I built myself, so I implemented rate limiting. I don’t know of a good solution for products you can’t make firmware changes to.

2 Likes

15,000 bytes is 3750msg /sec (as usb midi is fixed at 4 bytes per message) ,
and I determined this behaviour was happening at close to 1000 msgs/second.
also that report say its drops messages, not that the macOS stalls (which is doesn’t) besides I can clearly see on midi monitor that msgs are going thru - its pure data that has barfed.

anyway, a friend and I have determined that this “bug” was introduced in PD 0.48.1, as it was fine in PD 0.48.0 :frowning:

I guess I’ll just use 0.48.0 on the macOS for running for now (but dev on 49, I can throttle down for dev purposes).
anyway my main target platform is ARM so not really an issue for me… just cost me time, trying to figure out why my patch wasn’t working correctly.

2 Likes

digging up an old thread to ask a simple question: does anyone have any suggestions for a relatively up-to-date book about pure data and how to use it?

3 Likes

The miller Puckette book is the best in my opinion, it’s more of a general theory book but you will be very good at pure data by the end of it: http://msp.ucsd.edu/techniques.htm

4 Likes

Thank you very much for the link !
So much valuable information here…

:slightly_smiling_face:

Doesn’t look like Camomile has been mentioned here yet. Tl;dr it makes vanilla puredata patches into cross-platform audio plugins (AU, VST, VST3, LV2).

I heard about it a while ago but only got around to trying it out today, and it works very well! There are some minor annoying problems which I will be writing up as issues on the gh project, but it already does a very good job of easily wrapping Pd patches up as plugins.

3 Likes

I read up a fair bit in this thread, but admittedly not the whole thing. What’s the preferred current flavor/download of pd in 2019?

1 Like