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
2
votes
1 answer

How to pass creation arguments to a abstraction?

Question regarding Pure Data: do abstractions support creation arguments? If so how can I make them work? I have a setup like this and I would expect 1 to appear in a bottom number box in bar.pd. Do I really have to pass all arguments to foo using…
user3608068
  • 424
  • 2
  • 13
2
votes
2 answers

Export Pd patch to the Apple App Store

I'm new to Pd and would like to know whether it's possible to directly/indirectly export a Pd patch to the Apple App Store. For example, MobMuPlat is on the App Store and I think this was created using Pd? Has anyone tried exporting an…
awyr_agored
  • 613
  • 3
  • 19
2
votes
1 answer

Pure Data: use library on windows

I am trying to send an UDP message from Pure Data on Windows, but I am unable to install or use libraries. I put the library files in "C:/Program/common files/Pd", but Pd doesn't recognize when I type "import libraryName" in a object and leaves it…
2
votes
3 answers

Pure Data: Dynamically route an audio signal to different channels

I'm using Pure Data for a project where I'll be playing several audio files at the same time to different speakers. Let's say I have two files, and I want one to be played on the left channel of the soundcard, and the second one on the right…
sylbru
  • 1,461
  • 1
  • 11
  • 19
2
votes
2 answers

How to control VLC from Pd Vanilla > 0.46 with native network system?

I want to connect Pure Data to VLC to control it (load files, play, stop, etc). There is a way to do it by using pyext in https://github.com/mxa/AudioVideoPatches (file 15c-remote-vlc_python.pd), but I think that it is not necessary to use external…
Mario Mey
  • 1,582
  • 3
  • 13
  • 13
2
votes
1 answer

How to load external in Pure Data 0.46-7 (Mac) correctly?

I'm having some trouble trying to load zexy and iemlib into Pd Vanilla 0.46-7. I had no problems compiling and installing cyclone from https://github.com/electrickery/pd-cyclone. It works fine. So I tried installing iemlib and zexy from…
expora
  • 601
  • 5
  • 14
2
votes
2 answers

How to recieve data from libpd pd-for-android

How do I receive data from Pd to my Android app? I have managed to send a float to Pd, and simulate a receive object on Pd just to see the results I expect. Here is what I have so far. public class MainActivity extends AppCompatActivity { private…
Nigel Tiany
  • 71
  • 12
2
votes
1 answer

Get console messages into a message box

Is there any way to get the Pure Data Pd windows console messages into a message box within the patch? I'm trying to get error messages back into the patch so that the patch can react to them.
atonus
  • 114
  • 12
2
votes
4 answers

Pure Data pitch bend for every note

It seems that Pd has only a global MIDI pitch bend control. How can I send different pitch bend events for individual notes? In Pd extended I made a simple patch that reads from MIDI in and writes the same note to MIDI out. Now I would like to…
xaratustra
  • 647
  • 1
  • 14
  • 28
2
votes
3 answers

Play wave file in Android with libpd

How could I play a wave file in Android using libpd? I can do this with soundpool.play, but I'd like to try libpd. I followed this tutorial to implement libpd, but it's not working. What can be wrong? The code or the PD patch? This is my activity…
msampaio
  • 3,394
  • 6
  • 33
  • 53
2
votes
1 answer

Pure Data: How can I get the difference between two subsequent numbers

Beginner Pd user here. I have a number message, and I am trying to get the numerical difference between the current number and the previous number - does anyone know of a simple way to do this?
James Alvarez
  • 7,159
  • 6
  • 31
  • 46
2
votes
1 answer

libpd: How to implement custom listener on Activity

I'm working with Pure Data to build sound-sensitive apps on Android. After all the patching done, I now want to be able to not rely on libpd methods (such as set listeners, and information receiving methods) so I can use Pd with any Activity with a…
PgsPT
  • 21
  • 3
2
votes
1 answer

In Pure Data is there any way to track down a "signal outlet connect to nonsignal inlet (ignored)" error?

I have a Pd patch which calls in a second patch as an abstraction. The second patch works fine by itself. But when I try to use it from inside the first, I'm seeing this signal outlet connect to nonsignal inlet (ignored) error. But I can't see…
interstar
  • 26,048
  • 36
  • 112
  • 180
2
votes
2 answers

How do you get value of a pixel from a webcam in Pure Data?

I'm new to Pure Data and am really impressed with it so far. What I need to do is to access the webcam and extract the luminosity (or RGB, conversion is easy) values of specific pixels. Is this possible?
Tom Wright
  • 11,278
  • 15
  • 74
  • 148
2
votes
2 answers

libPd and c++ wrapper implementation

I'm trying to use libPd, the wrapper for PureData. But the documentation is poor and I'm not very into C++ Do you know how I can simply send a floating value to a Pd patch? Do I need to install libPd or I can just include the files?
Wateredge
  • 23
  • 3
1 2
3
10 11