Questions tagged [puredata]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Send OSC Messages from Mobmuplat to Python

I have MobMuPlat running on my phone, I can send messages to PureData, and then PureData receives the data and sends that to Python. Is it possible to avoid PureData section? How can I read messages ...
Mery Loo's user avatar
0 votes
1 answer
22 views

pd-for-android, pdtest, Can't create externals

After recent update to libpd , can't seem to load externals. https://github.com/libpd/pd-for-android/issues/127
Boris 's user avatar
  • 21
1 vote
1 answer
50 views

Sending numbers from Pure Data - numbers adding up instead of staying separate

I've got a very simple set up in Pure Data: it creates a local host socket and sends a number through this socket. The number comes either from a Vslider or a Number box. Pure Data This data is then ...
OndBoc's user avatar
  • 11
0 votes
0 answers
63 views

Stream the sound of pure data in an FM station on a Raspberry Pi with the PiFmRds library

I'm trying to stream the sound from a Raspberry Pi of an SPH0645 microphone in FM with the PiFmRds library. Here's what I've tried: After the installation of the microphone, here's what I have: ...
Thibaut Drouillon's user avatar
1 vote
1 answer
66 views

How can I reserve a set of keywords in a name field in boost spirit?

I have the following definition for an object record in PureData that I need to be able to parse into my generic PdObject struct: Description: Defines an object Syntax: #X obj [x_pos] [y_pos] [...
stix's user avatar
  • 1,140
1 vote
1 answer
102 views

Why does this boost::spirit::qi rule fail to parse a string?

I'm writing a parser for PureData patches using Boost spirit and C++. I have the following simple test of parsing canvas records: #include <boost/spirit/include/qi.hpp> #include <boost/fusion/...
stix's user avatar
  • 1,140
0 votes
0 answers
38 views

Error when creating patch in Pure Data using Lua language

I want to create Pure Data patches using the Lua language, so I can use these sounds inside Lua applications. For that, I'm using this code: require("pd") require("pdlua") -- ...
kobe's user avatar
  • 43
-1 votes
1 answer
102 views

Communicate puredata with Arduino over Serial. Unable to connect to the same port for stablishing communication

As the title indicates, I need to create a bridge betweeen pd and arduino UNO but I can't get it to work. I need to start an arduino process after receiving a message from my computer through puredata,...
rojele's user avatar
  • 80
0 votes
2 answers
77 views

Receive an OSC message from Iannix in PD

Sending data from Iannix arrives to Pure Data in a way that causes routing problems. [listen 57120< [netreceive -u -b] [oscparse] [list trim] [route cursor] [route 1] The data out of that appears ...
les_h's user avatar
  • 372
1 vote
1 answer
114 views

Transmitting MIDI Message from Ruby to Pure Data over OSC

I'd like to transmit a MIDI message from an USB Midi Device, where the MIDI data is captured via Ruby/libusb, to Pure Data by using OSC. The reason why I need this construction is that the USB MIDI ...
Stef's user avatar
  • 13
0 votes
1 answer
109 views

Profile CPU Usage of DSP objects in Realtime

Description Our Application is based of DSP synthesizer mostly used to create music, written in C Language, and I want to create a system-wide feature to give visual feedback to the user so they can ...
Dhruvit Salat's user avatar
1 vote
1 answer
65 views

Spigot: Unexpected results in Pd

I am getting unexpected results from [spigot], for example: Here, I would never expect an output below (or equal to) 5. However, sometimes it does happen, demonstrated in the above screenshot. Could ...
P Varga's user avatar
  • 19.4k
1 vote
1 answer
720 views

How to write to arrays using loops in PureData?

I'm writing random numbers in an array using loops in Pure Data. For some reason in loop one Pure Data starts writing from index 1 instead of 0 and finishes on index 0 after the loop, this is not what ...
Thiago Luiz's user avatar
-1 votes
2 answers
187 views

Overlapping one sound multiple times in processing

I'm working on the sound part of an interactive installation that would need an event to be triggered by osc an undefined number of times, making the sound linked to it overlaps instead of being ...
rojele's user avatar
  • 80
1 vote
1 answer
106 views

How can I find documentation for the "s" object in Pure Data?

I'm looking at a Hanning window patch: In it, there is an object just called s. I'm guessing it writes its output to $0-hann. However, I'd like to know for certain, and I'm having trouble finding ...
Jim's user avatar
  • 1,034
1 vote
0 answers
147 views

How to remove an OSC message from a list?

I have the following patch on Pure Data. When I click on the green button, I connect to the network and send these messages in OSC format to a list. When I click the red button, I disconnect from the ...
kobe's user avatar
  • 43
0 votes
1 answer
342 views

How to send a connect message from Python to Pure Data?

I have a mic patch on Pure Data and I want to connect it to a loudspeaker patch. So, it has the command connect localhost 3000, where localhost indicates where the loudspeaker patch is and 3000 is the ...
Rômulo Vieira's user avatar
0 votes
1 answer
85 views

iemmatrix [mtx_*] couldn't create in PureData

I am working on an old internal project. I am working on windows. The puredata I am using is on 32bit. There are some objects like [mtx_*~] [mtx_:] [mtx_.^] [mtx_circular_harmonics] have "couldn'...
K.C.'s user avatar
  • 41
1 vote
1 answer
243 views

Python "Send2Pd" doesn't reach Pure Data's "Netreceive"

I need to send messages from Python to Pure Data, so I followed this article. It was working fine until one day suddenly it stopped working. Pure Data doesn't receive anything anymore and I have tried ...
nhouse's user avatar
  • 11
-2 votes
2 answers
904 views

How to send OSC message from Pure Data to Python?

I created a patch on Pure Data to send the word "Hello" via the OSC protocol. I want this word to appear in a Python script. Is it possible?
Rômulo Vieira's user avatar
0 votes
1 answer
430 views

How to use [seq] in Pure Data?

I want to playback and manipulate a MIDI file in Pure Data using the library Cyclone's command [seq]. As I'm unable to find docs to cyclone, I've come her to ask for help. Pls help.
Lionheart2007's user avatar
0 votes
0 answers
64 views

Tuner doesn't accept the sound (Tuner app doesn't work)

I followed this library. There was no error in coding. But when I played on my phone, the red bar doesn't move at all. Could you explain what's wrong? I am really a beginner that I would appreciate it ...
cloud's user avatar
  • 77
1 vote
0 answers
76 views

Manifest service org.puredata.android.service.PdService makes app to close

I'm building a guitar tuner using Pure Data audio (https://github.com/libpd/pd-for-android). The problem is when I add <service android:name="org.puredata.android.service.PdService" /> ...
RGS's user avatar
  • 4,123
0 votes
2 answers
201 views

Pure Data freezes when trying to record

Working with Pure Data, trying to record audio output from a patch I've made, and am 1) unable to create a file within pure data to write to and 2) attempting to use the writesf~ object causes the ...
Benjamin Boyce's user avatar
3 votes
1 answer
289 views

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 ...
notna242's user avatar
1 vote
2 answers
1k views

Why Number and Symbol are frozen and cannot edit them?

Number and Symbol are frozen and cannot edit them. I cannot also change width. Both actions are possible with Message, Object and Comment.
Sebastian Xawery Wiśniowiecki's user avatar
1 vote
1 answer
238 views

How to "route" text from Zoom chat into another application (like Max/MSP). (self.learnprogramming)

I was trying to do the following: I needed a script that would be "reading" the chat of the current Zoom meeting, and routing that text into another application (in specific, Max/MSP). I am trying ...
Sinduonitria's user avatar
3 votes
0 answers
183 views

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 ...
Picaro's user avatar
  • 31
1 vote
0 answers
178 views

Pd-GEM - using multiple, separate particle streams

I'm working on a live music visualisation project, where I am using a particle stream to visualise each channel of audio (vocals, guitar, percussion, bass) which are each coming from a looper. I have ...
agittins's user avatar
  • 388
2 votes
1 answer
870 views

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 ...
mchristos's user avatar
  • 1,517
5 votes
1 answer
1k views

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() ...
owl453's user avatar
  • 63
1 vote
0 answers
151 views

IceCast mount point on Azure returns 404

I am deploying a docker container running an IceCast 2 server to an Azure App Service. If I run the container locally I can connect a source (in my case a pure-data patch) to a live.mp3 mountpoint ...
Ynnckth's user avatar
  • 95
1 vote
1 answer
1k views

How to make python talk to puredata?

This is my first post. I am trying to make a drum kit using a raspberry pi. The drum triggers are some peizoelectric sensors. I have used pygame inside python to play sounds. When the script detected ...
owl453's user avatar
  • 63
1 vote
0 answers
458 views

Embedding Node.js into a C Application (for Pure Data)

I am looking into the feasibility of embedding Node.js into a C application. Pure Data is a graphical programming language which is written in C. I am looking to write a C extension for the program ...
Nakul Tiruviluamala's user avatar
1 vote
2 answers
564 views

Debugging dataflow programming languages, a Pure Data patch in particular

I'm learning Pure Data, specifically, I'm using puredata vanilla 0.46.7. I'm doing fine with the basics: creation and manipulation of audio signals, controls and messaging, using abstractions, etc. ...
Russell Teapot's user avatar
1 vote
1 answer
617 views

Detecting frequency lower than 40 hz using TarsosDSP java android

I am making an Android mobile app, where I have been trying to detect pitch using TarsosDSP. Which has been working great, only if it is greater than 43hz. But I have a requirement to make it work ...
Rohaitas Tanoli's user avatar
2 votes
1 answer
1k views

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 ...
Edwin Love's user avatar
2 votes
1 answer
438 views

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 ...
esaruoho's user avatar
  • 916
1 vote
1 answer
2k views

OSC communication between Browser and Pure Data (two computers)

I'm trying to send an osc-message from Firefox using javascript, which should be received by another computer in the same network using udpreceive and unpackOSC from the mrpeach library in Pure Data. ...
wunderschrein's user avatar
18 votes
1 answer
11k views

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 ...
Nakul Tiruviluamala's user avatar
1 vote
1 answer
86 views

Possible bug in Pd patch

I have made a very simple patch, by which when a bang is triggered, it is meant to trigger a unique number between 0-2, in other words, no numbers are repeated. In the way that I set it up, it is ...
Jim Jam's user avatar
  • 713
0 votes
1 answer
375 views

Incorrect expression evaluation with expr object in Pure Data

I'm trying to print string message once the expression is true, right now the output still prints a message though the expression is false.
Nas Tika's user avatar
1 vote
0 answers
72 views

libpd: get list of receivers in a patch

With libpd, is there a way of getting a list of available receiver elements in a patch in order to send to those in a more dynamic way as opposed to knowing all the receivers names in a patch in ...
Alexander Alaimo Di Loro's user avatar
1 vote
0 answers
191 views

Connect Modulator to Modulator in FM Synthesis Algorithm

I would like to implement in pure data some Fm synth algorithms and I need to know if my approach is correct. Let's suppose I have this algorithm: With pure data, i'm trying to implement it like ...
Mr_LinDowsMac's user avatar
1 vote
1 answer
179 views

How to compile ratts - a pure data speech synthesis library in C on macOS

There is a speech library available for pure data. It is 10 years old but there is an updated version from 2 years ago that was referred to at that time as being functional: http://kaskade.dwds.de/~...
sinewave440hz's user avatar
3 votes
1 answer
141 views

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 ...
sinewave440hz's user avatar
1 vote
1 answer
253 views

Is it possible to use graph-on-parent with [clone]d abstractions in some way?

I know you can open an abstraction with the vis message, but I haven't found a way to present my abstractions in the patch containing the clone object. Perhaps dynamic patching is the only way to ...
sinewave440hz's user avatar
2 votes
1 answer
798 views

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 ...
sinewave440hz's user avatar
1 vote
1 answer
321 views

Can I adjust the graph-on-parent dimensions of a pd subpatch by sending messages to it (dynamic patching)

I'm currently building an abstraction which creates its parts dynamically based on the argument to the abstraction. There is one main element and several of another type of element (as many as the ...
sinewave440hz's user avatar
1 vote
1 answer
46 views

Send errors from Pure Data's terminal window?

I'm new to working with Pure Data. I can send messages from Python to Pure Data but I'm interested in trying to get error messages back. There are error messages in Pure Data's terminal window. Is it ...
alternum5's user avatar