Questions tagged [puredata]

Pd (aka Pure Data) is a real-time graphical programming environment for audio, video, and graphical processing.

Pd is free software and can be downloaded either as an OS-specific package, source package, or directly from CVS. Pd was written to be multi-platform and therefore is quite portable; versions exist for Win32, IRIX, GNU/Linux, BSD, and MacOS X running on anything from a PocketPC to an old Mac to a brand new PC. Pd can run on smartphones thanks to projects like libpd and RjDj. It is possible to write externals and patches that work with Max/MSP and Pd using flext and cyclone.

Pd was created to explore ideas of how to further refine the Max paradigm with the core ideas of allowing data to be treated in a more open-ended way and opening it up to applications outside of audio and MIDI, such as graphics and video.

It is easy to extend Pd by writing patches (abstractions; programs within the Pd-language) or object classes (externals; using one of the many language bindings, like C/C++/lua/python/...). The work of many developers is already available as part of the standard Pd packages and the Pd developer community is increasingly growing. Recent developments include a system of abstractions for building performance environments; a library of objects for physical modeling; and a library of objects for generating and processing video in realtime.

For more information visit the website for the project.

158 questions
4
votes
1 answer

TCP Connection to Pure Data with Blender Python

I need some help figuring out my code for sending info from Blender through TCP connection to Pure Data. I have a surface with a ball rolling around on it and I need to grab the speed of the ball and its collisions in order to send it over TCP to Pd…
Andreas
  • 91
  • 5
3
votes
1 answer

Send data with node-fetch in node.js to Pure Data (Pd) result in ETIMEDOUT

I'm building a sound installation that downloads weather information and translates that to sound. Also, I've made a simple html site in p5.js that enables the user to turn off the volume and use a slider to play music. Everything is neatly…
notna242
  • 31
  • 3
3
votes
0 answers

Cannot add dependencies to gdx-pd in my LibGDX project

everyone! I am trying to add dependencies to gdx-pd in build.gradle, but when I try to synk the project, I am getting this error: Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'pdVersion' for object of type…
Picaro
  • 31
  • 1
3
votes
1 answer

How do I make sure that an instance of an abstraction updates its heights when the subpatch's height changes (purr-data)?

I have made a drum machine abstraction that allows you to choose any number of tracks and make them visible for editing. Here is an example of the patch in use (the object being created is [rhythmbox 5] but the whole point is to be able to enter any…
sinewave440hz
  • 1,265
  • 9
  • 22
3
votes
4 answers

Pure Data help. How to use conditional logic in Pd

I've confused my myself a lot and need your help. I'm trying to make a little function in Pure Data which says when the toggle is on it sends a 1 but when it isn't on it allows the computed value through. So the program works a value 1 or 2 and when…
GingerDom
  • 113
  • 1
  • 1
  • 9
3
votes
1 answer

Detecting first non silent sample index

I have an audio file that I read with [tabread~]). The audio starts with some silence and I am trying to find the first non silent sample index. I have tried to use [bonk~], [fiddle~] or [sigmund~] but the results were approximate and not…
André
  • 671
  • 1
  • 7
  • 21
3
votes
1 answer

Sending messages from Python to a Pure Data patch via libPd

I'm currently utilizing libPd (Pure Data wrapper) as an audio engine for my text-based adventure game written in Python. With the majority of the programming/patching out of the way, the last thing I need to do is initialize different subpatches…
CapricornOne
  • 145
  • 10
3
votes
2 answers

How to keep audio and video (GEM) synchronised?

Here is the setup: I have a video file and an audio file with the same duration. The video file is played with [pix_film] and the audio file via [readsf~], both are then distorted by several effects, triggered by user interaction. How can I keep the…
Residuum
  • 11,878
  • 7
  • 40
  • 70
2
votes
1 answer

Android AudioRecord - native init failed

I'm trying to use Pure Data in my android app to do some beat detection. I had the basic functionality working before, but after refactoring my code and expanding the app, libpd is failing to properly create the AudioRecord instance required. Here…
Cole Gleason
  • 191
  • 4
  • 16
2
votes
1 answer

Pure Data abstraction to take n arguments

I've created a Pure Data abstraction which takes 5 MIDI controller IDs as arguments, and has two inlets (velocity and MIDI controller). I use spigot to output the input velocity at outlet i if the MIDI controller ID matches the i th argument to the…
mchristos
  • 1,487
  • 1
  • 9
  • 24
2
votes
1 answer

Problems running Pure Data on raspberry Pi 3, "ALSA input error (snd_pcm_open): No such file or directory"

I have a set up with an input device (basically an Arduino nano) which I then use a Python script to read in the input, process it and send the results over OSC to a Pure Data patch. This all works fine on my Windows laptop but I really want it to…
Edwin Love
  • 91
  • 4
2
votes
1 answer

How to take a base frequency and create a harmonic of it using Pure Data?

I am working with extremely simple frequencies, just an [osc~] and a number after it. I would like to find a simple way with Pure Data to create harmonics/overtones of this frequency. How would I go about doing it?
esaruoho
  • 896
  • 1
  • 7
  • 25
2
votes
1 answer

What alternatives are there to dynamic patching (to deal with variables passed at creation time)?

I have heard people describe dynamic patching as a bit of a hack or at risk of breaking in future releases of Pd. This is reasonable enough, but it seems to imply that there are alternatives when building abstractions. Dynamic patching seems to be…
sinewave440hz
  • 1,265
  • 9
  • 22
2
votes
3 answers

Java inheriting from two classes

I'm using an interface in java, that communicates with PureData. In order to do so, my classes have to extend a given class MaxObject. While designing my class, which is a cirular buffer, I discovered that I need to extend java's Iterator class. So…
de3
  • 1,890
  • 5
  • 24
  • 39
2
votes
1 answer

Openpanel and symbol communication not working

I am trying to make a patch that plays audio when a bang is pressed. I have put a symbol so that I don't need to keep reimporting the file. However it works sometimes but not all the time. A warning in the Pd console reads: Start requested with no…
Satsuki
  • 2,166
  • 5
  • 17
  • 33
1
2
3
10 11