Example code

Quick Start Pack

This contains a small number of very useful executable examples for inputs, outputs, and teaching.

Download All Source

Want to jump right in and start with the source code? If so, you can download the very latest source for all examples from github.

Pick & Choose: Inputs



BBC micro:bit

  • Step 1. Download this file and save it on your microbit (e.g., in Mac Finder or Windows Explorer). It should be the only file on your microbit.
  • Step 2. Download the desired version of your desktop software below:
  • Step 3. Plug in your micro:bit to your computer via USB, run the desktop software you just downloaded, and change the device ID in the top dropdown box until you see the accelerometer numbers changing.
  • Step 4. In the same program, choose which input types you want to send to Wekinator using the bottom dropdown box, and look at the screen to see how many inputs you have total. Tell Wekinator to listen for this many inputs.

Bitalino (biosignals)

  • Coming soon

GameTrak “Real World Golf” tether (game controller)


Leap Motion (hardware sensor)

Logitech Extreme 3D Pro Joystick

Max/MSP (audio)

Microsoft Kinect (3D body tracking/game controller)

openFrameworks (C++, animation)

PureData (PD) (audio)

Processing (animation, screen-based input)


TouchOSC for iPhone, iPod Touch, and iPad:


WebSockets (for desktop & mobile via browser apps)

WiiMote (game controller)

Pick & Choose: Outputs

AbletonLive (audio)

ChucK (audio)

IFTTT (“if this then that”)

Max/MSP (audio)


openFrameworks (C++, animation)

PureData (PD) (audio)

Processing (animation + audio)

Unity (game engine)

Teaching Examples

Classification Explorer

Regression Explorer

DTW Mouse Explorer

OSC Data Plotter

Plots data received by OSC in real-time. Good for inspecting features and/or Wekinator output.