Scratch OSC Bridge

Update: This is designed for Scratch 1.0. Scratch 2.0 uses a different way of extensions

Scratch OSC bridge tutorial

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:

The application was build in Processing. You can download the application for OSX, Windows and Linux, a Processing Sketch is also available.

Download Scratch OSC Bridge from Google code

The downloads include some Scratch example projects with code commented. I’ve also implemented a smoothing algorithm to make movement more fluid.

Scratch TUIO

Move the Scratch cat with a TUIO client.

Good TUIO trackers:

More TUIO tracker implementations at

Scratch TouchOSC

[youtube][/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.

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.

More info on OSC

the osc protocol
osc tutorial

4 thoughts on “Scratch OSC Bridge”

  1. Would it be possible using this Bridge OSC from/to Scratch to Python OSC? (instead of TouchOSC). I am thinking:

    Blender => Python => OSC => Scratch.

  2. @kasperkamperman:disqus Thanks this Bridge is really useful! I tested on Blender and it works great to connect to Scratch. In fact having the bridge is really handy that it is able to see the message before delivery.

    I am fairly new to the OSC and this makes thing more clear.

    Do you have the example Scratch file on the YouTube demo video?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.