Wekinator Controller for iOS

2018

I wanted to take sensor data from my iPhone and send it to Wekinator so I could make music from movement. There were other OSC apps around, but writing my own let me map Wekinator's own controls onto the phone, so I could trigger sample recording, training, and running without walking back to the computer to click buttons.

The iOS app showing live sensor values
The app streaming sensor values over OSC.
The app's control interface for recording, training and running
Controls for recording, training, running, and deleting training examples. Host IP and port go in the text boxes.

The motion tab sends the accelerometer (x, y, z), rotation (x, y, z), attitude (roll, pitch, yaw), and the magnetic heading split into ten separate features. The pad tab sends an x and y position, and the camera tab sends an example of twenty values from the camera.

A plot of incoming sensor data over time
Plotting the incoming data.

Built for use with Rebecca Fiebrink's Wekinator.

Code: github.com/isaac-art/wekinatorControllerIOS.