libpd is the embeddable (library) version of the realtime computer music system "Pure Data"
Questions tagged [libpd]
56 questions
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
6
votes
1 answer
Passing a safe rust function pointer to C
I've created rust bindings to a C library and currently writing safe wrappers around it.
The question is about C functions which take in C function pointers which are not able to take in any custom user data.
It is easier to explain it with an…

Ali Somay
- 585
- 8
- 20
6
votes
5 answers
Using libpd in Android Studio
So I've got the git repo from https://github.com/libpd/pd-for-android and created a new blank project in Android Studio for my "AmazingSynthesizer".
I used the "Import Module" wizard to import PdCore and AndroidMidi. Then, right clicked on "app" to…

Alex
- 1,395
- 1
- 13
- 22
5
votes
2 answers
How Do I Get Reliable Timing for my Audio App?
I have an audio app in which all of the sound generating work is accomplished by pure data (using libpd).
I've coded a special sequencer in swift which controls the start/stop playback of multiple sequences, played by the synth engines in pure…

PlateReverb
- 654
- 1
- 7
- 21
4
votes
1 answer
Can't compile libpd with emmake (Emscripten SDK)
I'm trying to compile libpd to javascript or webassembly using emscripten sdk. According to some docs, if there is a Makefile, it can be compiled by using emmake make, (emconfigure is not used because there is no ./configure file), but I get the…

Mr_LinDowsMac
- 2,644
- 9
- 56
- 75
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
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
0 answers
Player controls on ios lock screen don't show up
I would like to show play/pause controls on the ios lockscren. It's an audio app using libPd.
What I did so far :
In the Info.plist :
Set the value of the key "Required background modes" to "App plays audio or streams audio/video using…

Nitenq
- 193
- 12
2
votes
1 answer
How to correct missing pending intent on android 12 in a third party library?
I have a 3rd party library that uses pending intent and my app crushes on android 12 because of that:
java.lang.IllegalArgumentException: com.myapp: Targeting S+ (version
31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE…

RGS
- 4,062
- 4
- 31
- 67
2
votes
0 answers
Unclear libpd abstraction path for iOS
I've created a cordova plugin using libpd. Cordova uses a shared resource folder (called /www) and then copies all files to their respective OS. I've noticed that with iOS when opening the main pd patch from the main bundle like this:
[PdBase…

resler
- 21
- 1
2
votes
1 answer
.c File via Bridging Header Not Working After Xcode 8 Update
The app I've been working on uses an external library, pdlib, which has it's own externals (.c files) which I've been importing via the bridging header #import "Uzi.c" and calling in my main Swift file via Uzi.c's setup function Uzi_setup() in my…

PlateReverb
- 654
- 1
- 7
- 21
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
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
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
1
vote
1 answer
How to interleave a non-interleaved AudioBufferList inside a render callback?
I'm working on a project that involves streaming audio from an AVPlayer video player object into libpd using an MTAudioProcessingTap. For the process loop of the tap, I used PdAudioUnits render callback code as a guide; but I realized recently that…

chmod
- 1,173
- 1
- 9
- 17