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...

Real-time visualisations with audio and video, which direction should I look?

I have a little pet project with a friend where we're looking to create a program for real-time visualisations, mainly utilising audio/video material, controlled by MIDI. Now, the MIDI part is not...

How to resolve the "Error occurred while loading translation library" Linux ODBC connection issue?

After installing unixODBC and the Netezza drivers on a Linux client and configuring ~/.odbcinst.ini and ~/.odbc.ini data sources according to the documentation, attempting to connect to a Netezza...

How to receive big OSC blob in Java

I am trying to receive quite big OSC blob (array of more than 10000 bytes) from PureData with Java. I tried oscP5 library and I got ArrayIndexOutOfBoundsException above around 1500 bytes. I have...

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...

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...

From Node Red to Pure Data with UDP

I want to send UDP from Node Red to Pure Data. In NR, I have a UDP output node set to 127.0.0.1:3001 and a Pd netreceive object set to 3001 1 (the 1 sets the object to UDP rather than TCP). No...

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),...

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...

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...

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...

Pure Data - Get adc value in a particular duration

I'm trying to get the adc values in says 50 seconds. I end up with the picture below I set up the metro as 50 which is 0.05 sec and the tabwrite size 1000. I got a list of values as below But I...

Write to USB PORT C# using LibUsbDotNet C# USB Library

I want to write some data to a USB port and receive an answer from it. I actually used the same string cmdLine = "@00WD3000C82B*\r"; and sent it to the same machine with the SerialPort object...

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...

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...

ALSA - setting input volume for line in command line - input not recognized but available for programs

I cant see the input device in alsamixer on the usb board, but it is listed as I do arecord -L (also why is it listing the 2nd sound card by default ?) arecord -l **** List of CAPTURE Hardware...

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.

Aginity Workbench for puredata systems for analytics Identifier error

This process is to create a new table and ingest data into Netezza database. The code was running fine until last week. When I ran with the new data, it started erroring out. I tried with the old...

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...

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...

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...

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...

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...

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,...

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...

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 =...

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...

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...

Datatable version 1.10.21 is stuck on 'processing...' in ASP.NET Core 3.1

I am using Datatable 1.10.21 in ASP.NET Core 3.1 and I am stuck on *'processing...'*. I am catching exceptions should they occur but so far I haven't seen any exceptions. For reasons unknown to...

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?