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 is done over at Github.

If you want to report a bug, please first have a look at the issue tracker. If you already have a Github account, please report your bug there.

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

License

Authors:
Thomas Mayer <thomas@residuum.org>
Antonio Deusany de Carvalho Junior <dj@ime.usp.br>

Copyright (c) 2014 – 2017 Thomas Mayer, Antonio D. de Carvalho J.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.