Questions tagged [libpd]

libpd is the embeddable (library) version of the realtime computer music system "Pure Data"

56 questions
0
votes
1 answer

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 port number that I will use for connection. Is…
0
votes
1 answer

How to setup libpd for use in Java?

PureData is a programming language for sound synthesis. LibPD is a wrapper around it so we can use patches in Java/C#/Android etc. Here is the GitHub page containing it: https://github.com/libpd/libpd Now to use LibPD in Java, I think first I should…
Zeta.Investigator
  • 911
  • 2
  • 14
  • 31
0
votes
3 answers

HowTo: uPD with unity 5

First post. Let me know if I break any rules! I would like to experiment with Pure Data and Unity 5. It seems uPD would be the best fit. I have followed the instructions on the github page and loaded the first sample scene. The unity console…
Rick
  • 1
  • 3
0
votes
0 answers

Android Studio - Route all audio from phone (calls, music player, etc.) through App

I've made an app in Android Studio which is essentially a parametric EQ with some additional features. The app takes signal from the microphone source (whether the built-in mic or external mic). The signal is then passed through biquad filters and…
markos14
  • 78
  • 11
0
votes
1 answer

libpd with Android - Patch doesn't play sound when using expr in patch

I am using a patch to implement a peaking filter (using biquad~) given freq/q/gain. The patch works fine in Pd, however when using it with Android Studio, I don't get sound. No errors are shown in Android Studio, the patch loads fine, just no…
markos14
  • 78
  • 11
0
votes
1 answer

How to play wav file in libPd?

I have a simple libPd project. Now, I have downloaded a .wav file and I want to play it instead the pure-data file that I have. Is it possible to do that? If it does, how can I do that? This is my project: public class MainActivity extends…
Codey
  • 460
  • 1
  • 8
  • 23
0
votes
3 answers

Android Libpd not working - error: ... couldn't create

My client has provided a .so pre-built shared library. Which supposed to load with libpd, since libpd controller requires m4aPlayer module to load. So I put libm4aPlayer.so inside jniLibs(also tried libs) folder under app > main and then I added…
Alex
  • 1,052
  • 1
  • 11
  • 22
0
votes
0 answers

Patch from Pure Data sounding different loaded in libpd(android)

I have done a patch in Pure Data for a metronome app I am working on. The patch (a click) sounds good in Pure Data, but when I load it into my app (built with libpd and Android Studio) there are some slight variations in the dynamics of the…
TompaD
  • 1
  • 3
0
votes
2 answers

Adding gradle dependency for pd for android in my gradle file does nothing

I am trying to import pd-for-android into my project as a gradle dependancy as per the instructions on pd-for-android's githubpage (i.e. make sure jcenter() is in the top level repositories in build.gradle, then add compile…
AndroidNoob
  • 2,771
  • 2
  • 40
  • 53
0
votes
1 answer

how to play in earpiece speaker on Android with libpd

I use AudioParameters.suggestOutputChannels() by PdAudio.initAudio(). The suggested output channel is 2 and the result is the phone speaker goes on. How to turn on the phone earpiece speaker by libpd in Android? The AudioManager.STREAM_VOICE_CALL…
Vikkes
  • 463
  • 4
  • 17
0
votes
1 answer

libpd on android: read [adc~] into buffer

I developed an Android app with libpd ( [adc~]->[*~ 0.5]->[dac~]). The app works fine. I get the voice from mic in my earpiece. My questions are: How can i catch the data from [adc~] into buffer array? I want to send this buffer over network to…
Vikkes
  • 463
  • 4
  • 17
0
votes
2 answers

libpd on java UnsatisfiedLinkError

I am doing my first attempts to use libpd with java. The IDE I am using is NetBeans. For libpd I am using these binary builds for Java. When running the code I get a java.lang.UnsatisfiedLinkError. At some poit it says: Can't find dependent…
jaiserpe
  • 335
  • 3
  • 5
  • 14
0
votes
1 answer

Preparing Sound Data when needed

I am using libPd to generate sound. LibPd can process a predefined number of Ticks and then fill a float[] with the generated output. I then use a BufferedWaveProvider to store the float[] after converting to a byte[]. Generation of audio can be…
Residuum
  • 11,878
  • 7
  • 40
  • 70
0
votes
1 answer

How to setup pd-for-android (pure data for android) with android studio

How do i setup my project to use this git hub project; PD-for-android https://github.com/libpd/pd-for-android . Tutorials i found are for older repositories. Adding it to dependencies, compile 'org.puredata.android:pd-core:1.0.0-rc4' as shown…
Nigel Tiany
  • 71
  • 12
0
votes
1 answer

How to compile libdp.dll as 64 bit architecture on windows

I'm trying to build libpd on windows https://github.com/libpd/libpd The problem I'm having is that when I build with the given "mingw_build.bat" - the libpd.dll that is built is 32 bit architecture. How can I build using MingW so my resulting DLL…
Ke.
  • 2,484
  • 8
  • 40
  • 78