Send and receive OSC (Open Sound Control) messages with Scratch. You can interface Scratch with external sensors and OSC sending applications/apps. You can also use Scratch to send OSC data to control audio software, VJ software or creative applications.
The bridge converts OSC messages to Scratch sensor and broadcast messages. More technical information about this you’ll find at: http://wiki.scratch.mit.edu/wiki/Remote_Sensors_Protocol
The application was build in Processing. You can download the application for OSX, Windows and Linux, a Processing Sketch is also available.
The downloads include some Scratch example projects with code commented. I’ve also implemented a smoothing algorithm to make movement more fluid.
Move the Scratch cat with a TUIO client.
Good TUIO trackers:
- tuioDroid (tracker for Android)
- tuioPad (tracker for iOS devices
- tongseng (use macbook trackpad as tuio tracker)
More TUIO tracker implementations at tuio.org
Move the Scratch cat with TouchOSC.
Use the acceleration sensor data to move the cat. Change the color with fader5 and change the background with different layouts.
- touchOSC for Android
- IP address configuration (Scratch OSC Bridge displays the IP in the left upper-corner)
Scratch Bridge configuration
Configure the Scratch OSC Bridge with broadcast messages from Scratch. Instead of setting everything when starting the client, you can do this with broadcast messages from Scratch.