Questions tagged [libpd]

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

56 questions
1
vote
0 answers

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 in manifest, the app closes after I open in android emulator…
RGS
  • 4,062
  • 4
  • 31
  • 67
1
vote
0 answers

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 advance?
1
vote
1 answer

Git - submodule fatal clone (libpd)

I am trying to install the Pure Data for Android library using git, but I keep getting the same error. I create a new directory in which I clone the repository, and run cd pd-for-android to move to the repository folder. After I run git submodule…
slwjc
  • 27
  • 7
1
vote
0 answers

Android Studio NDK - finished with non-zero exit value 2 when I try to run libpd sample projects

I install libpd with this commands (I use Android Studio 2.2.3) $ git clone git://github.com/libpd/pd-for-android.git $ cd pd-for-android $ git submodule init $ git submodule update Then, I imported the sample libpd projects and pd-for-android…
1
vote
2 answers

is there a detailed documentation for libpd Python API?

I'm working with libpd for Python, and I can't seem to find a detailed API. I would at least like a simple list of methods available. The best I can find is here: https://github.com/libpd/libpd/wiki/Python-API Which has a heading for "Detailed API…
Michael S
  • 726
  • 1
  • 10
  • 23
1
vote
0 answers

Error when running initAudio

I've been building an android app that will output a single tone when opened (as a test for libpd), and I am encountering an error with OpenSL when I initialize and run PdService.initAudio and PdService.startAudio() W/libOpenSLES: class OutputMix…
1
vote
1 answer

Cross platform library for mobile microphone in iOS or Android

I'm developing an app in Android, that records a voice from a microphone and sends it over WIFI. For recording I use Audiorecord and Audiotrack. Because Android doesn't provide a low latency, I was looking for an audio library, which provide low…
Vikkes
  • 463
  • 4
  • 17
1
vote
1 answer

CSCore: playback float array from pure data

I'm writing a program in C# which communicates with pure data using the libpd library (more information: http://libpd.cc/) My pure data patch is simply creating a sine wave. I wrote some test code to see if I get any data from my pure data patch.…
Powerslave
  • 11
  • 4
1
vote
1 answer

libpd iOS patch metro and delay objects behaviour faulty

I've encountered an undocumented issue which I have not been able to diagnose. I'm using pd-for-ios. My patch loaded into libpd (iOS) is behaving differently to running within Pd. I managed to find out that delay and metro objects are sending out…
enamodeka
  • 65
  • 6
1
vote
0 answers

libpd crashes with vlines~ in (libpd) clock_unset (?)

I have a iOS project developed with XCode that uses libpd to load a Pure Data patch. My project uses a mix of [osc~] and [phasor~] with modulated parameters (pitch, volume, etc). My app is in 64-bit as now required. I am using the latest version of…
André
  • 671
  • 1
  • 7
  • 21
1
vote
2 answers

Migrating to Android Studio including libpd

With the release of Android Studio 1.0 (AS) i want to migrate from Eclipse. Generally I need no other library then libpd (PureData) for Audio synthesis. The Problem is, that libpd for android is geared to the needs of Eclipse. So in Eclipse…
Rubberducker
  • 1,047
  • 1
  • 14
  • 26
1
vote
1 answer

How to handle audio buffer sizes that are not divisible by 64 when working with libpd?

libpd's API only allows to process audio in frames of 64 samples at a time. What I've done in the past is set the audio device buffer size to a number that is divisible by 64. No problems there. Now, I need to make a Windows app that is ASIO…
Rafael Vega
  • 4,575
  • 4
  • 32
  • 50
1
vote
1 answer

How can I receive a named signal from a Pure Data patch using libpd?

I'm using libpd to embed the Pure Data engine in my project, and I am trying to receive signal messages from the patch. If I place a non-signal message (i.e.) control in the patch: | | | [s toCPP] I have no trouble receiving the message. However,…
stix
  • 1,140
  • 13
  • 36
1
vote
1 answer

How do I get audio from Android into libPD?

Based on Peter Brinkmann's sample class, I am running libpd and processing in Eclipse. But I don't seem to completely understand how to get the audio input from the Android microphone into Pure Data. when I run it on an actual or virtual device, I…
fold4wrap5
  • 175
  • 2
  • 12
1
vote
2 answers

Crackling during playback of a libPd patch - esp. related to keyboard presentation

I've integrated a libPd patch in iOS. When entering a text field, and presenting the keyboard there's some crackling sounds. How would I go about debugging this? NB I've tagged this question with Objective-C and iOS, however this question may…
Jasper Blues
  • 28,258
  • 22
  • 102
  • 185