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
20
votes
4 answers

C Wrapper for C++

I'd like to use Pure Data as a prototyping tool for my own library. I found out that Pure Data patches are written in C, but my library is written in C++. So how can I use this code in pure data? Since I haven't used plain C, I'd like to know how I…
Pedro
  • 4,100
  • 10
  • 58
  • 96
17
votes
1 answer

CMake on Mac: Could NOT find Threads (missing: Threads_FOUND)

I'm trying to compile LibPD and I am receiving a CMake error message. I have scourged the net for solutions dealing with this problem on Mac, but have found none that are from the past 10 years. I am receiving this error on both my MacBook Pro and…
Nakul Tiruviluamala
  • 523
  • 1
  • 3
  • 15
7
votes
4 answers

Implementing libPD (Pure Data wrapper) in Python

I've created a simple text-based escape the room game in Python, with the intention of embedding a Pure Data patch (via libPd) in order to playback a different soundfile (this will later be replaced with an algorithm for generative music) for each…
CapricornOne
  • 145
  • 10
7
votes
2 answers

Communicating between Pure Data and MATLAB using OSC

I'm trying to receive a message sent over OSC from Pure Data (or Max/MSP) to MATLAB. I'm able to send OSC messages from Pure Data to Pure Data I can send messages from MATLAB to MATLAB I can even send messages from MATLAB to Pure Data ...I'm really…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
6
votes
2 answers

Controlling the phase of signal in pure data

I'm in need of figure out a way of changing the phase of a signal. Objective is to generate two signals with one phase changed and observe the patters when combined. below is the program I'm using so far: As in the above setting, I need to use the…
KTB
  • 1,499
  • 6
  • 27
  • 43
6
votes
2 answers

Automatic slider in Pure Data?

I am trying to simulate an ocean sound automatically on Pure Data. So far I have accomplished to achieve a very basic sound by filtering some noise with a [bp~]. I have seen that the best range of the cut-off frequency is from 300 to 500 Hz,…
Marta Sampietro
  • 329
  • 5
  • 15
6
votes
1 answer

Can I execute a Python script from Pure Data?

I know there are some tools out there for using Pure Data(Pd) within Python, so you can program and use Pd without using its GUI. I was wondering if anyone has tried the opposite. I want to send sequencing information into Python and process it with…
Rich
  • 71
  • 5
6
votes
2 answers

Is there any reason to use vanilla Pure Data instead of Pd-extended?

I'm just starting out with Pd, and want to know what factors I consider in choosing between using Pd vanilla vs. Pd-extended.
Dave
  • 7,555
  • 8
  • 46
  • 88
6
votes
4 answers

Synthesis of general programming language (Python) with tailored language (PureData/MaxMSP/ChucK)

I am learning Python because it appeals to me as a mathematician but also has many useful libraries for scientific computing, image processing, web apps, etc etc. It is frustrating to me that for certain of my interests (eletronic music or…
Marco
  • 245
  • 3
  • 6
5
votes
1 answer

How to send messages from Pure Data to Python?

I am trying to send messages from Pure Data to Python (to display on an SSD1306 OLED). Someone suggested I use sockets. They also provided the following Python code: import socket s = socket.socket() host = socket.gethostname() port =…
Shaurya
  • 63
  • 5
5
votes
1 answer

How to compile a makefile on OSX 10.8 with no Terminal experience?

I've tried searching on this and everything seems to assume more knowledge on the subject than I have. I've downloaded this PureData external: https://github.com/badgeek/fux_videoglitch , and I think I need to compile the makefile, but I don't know…
user2327457
  • 61
  • 1
  • 1
  • 3
4
votes
1 answer

Pure data sound effect library running on iPhone

I wonder if someone managed to use Pure data sound library as an external library of the an iOS app. Pure data wiki claims it can be compiled only on jailbroken iOS device. iPD project claims to be 'Pd ported to iPhone OS to be used as an…
toinbis
  • 747
  • 7
  • 23
4
votes
1 answer

Framerate independent event in Unity3D

I use the libpd4unity package to communicate with Pure Data. I receive a bang from Pure Data with LibPD.Bang. On a bang event I play sound by FMOD. Problem is, that I receive bangs frequently, for example once every 500 ms but event doesn't trigger…
ATHellboy
  • 704
  • 3
  • 15
  • 30
4
votes
2 answers

Set the range of a KNOB object automatically in Pure Data

I have a Pure Data patch that reads some MIDI files and performs an analysis of them and then creates a table with some values. I need to extract the MIN and MAX values of this table and then use them to set the range of a KNOB object. For example,…
Hec46
  • 181
  • 2
  • 15
4
votes
3 answers

Pure Data osc~ on/off switch

I've got this simple patch: Now I connected a game controller to Pd where the keys give me 1 or 0 depending whether I press the button or not. If I press my button I want the osc~ to "play" and if I release it it should stop. BUT: I wasn't able to…
hGen
  • 2,235
  • 6
  • 23
  • 43
1
2 3
10 11