Update: This is designed for Scratch 1.0. Scratch 2.0 uses a different way of extensions
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: https://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
Scratch TouchOSC[youtube]http://www.youtube.com/watch?v=SiKRN3qFEic[/youtube] 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.