Sensors2Pd

Pure Data (aka Pd) is an open source visual programming language that can run on anything from personal computers and Raspberry Pis to smartphones (via libpd, pddroidparty, and Rjdj). Pd enables musicians, visual artists, performers, researchers, and developers to create software graphically without writing lines of code. Pd is used to process and generate sound, video, 2D/3D graphics, and interface sensors, input devices, and MIDI. Pd can easily work over local and remote networks to integrate wearable technology, motor systems, lighting rigs, and other equipment. Pd is suitable for learning basic multimedia processing and visual programming methods as well as for realizing complex systems for large-scale projects.
Pure Data Website

This is an Android app for sending sensor data to Pd patches.

Get it from F-Droid

 

Basics

Depending on your Android version and your device, a number of sensors are available for apps to read. This app enables you to load a Pd patch and send this data as float to a receiver.

These are the options for receivers:

 

Usage Examples

An example of a working Pd patch that receives the value of an Accelerometer X and changes the frequency of an oscillator:

An example using touch:

An example using WiFi level:

Download and Installation


Get it on F-Droid

You can download the source code from Github and build it yourself:

  • Install Android SDK and Gradle
  • Build it by running gradlew (Mac, Linux) or gradle.bat (Windows)

Development and Bug Reporting

Development was done over at Github.

You can send bug reports or feature requests to pd-bugs@sensors2.org. Please try to be as specific about your problem as possible.