Recording sensor messages and automations
![]()
Turn a performed movement into material you can edit and replay. The saved phone-sensor recordings replay a movement without the phone; discrete touch events are kept as cues instead of being smoothed into a curve.
Overview
Continuous sensor movement becomes automation, while individual events can be stored in states. Recording simplification changes how much detail remains in a curve. Ramp to new value changes what happens between captured samples. A simplified curve can drive a light, camera or sound parameter more smoothly than one that keeps every sensor fluctuation.
Try it
Start playback and trigger a group’s start. The groups wait for interaction; their positions on the page do not start them automatically.
- View the accelerometer, gyroscope and orientation recordings at the same zoom level. In the groups labelled 3, 10 and 100, inspect which small changes remain; the saved ratio-100 curves are denser than ratio 3.
- Look between samples on the magnetic-field curves: with Ramp to new value enabled the value moves continuously; disabled, it holds and then steps.
- Open
Recording example - Messagesand inspect the touch events as individual states. Their event timing matters more than an interpolated path between values.
Play only one group writing a given address at a time, so two recordings do not compete. Playback sends the saved sensor values to 127.0.0.1:9996; use an OSC receiver there to observe them. Vector components can be automated separately. This is control-data playback, not an audio recording or a rendered image.
The saved recordings need no phone. To record new movements, follow the live setup below.
Record your own input
- Install Sensors2OSC on an Android phone and put it on a network reachable from the computer.
- Set the phone’s destination to the computer’s address, UDP port 9997. The score device listens on
0.0.0.0:9997; allow that traffic through the firewall. - Select the incoming addresses in the Device explorer. Right-click in a Scenario and choose Record automations for continuous sensors or Record messages for discrete events.
- Send sensor data: recording starts on the first received message. Stop recording and inspect the resulting curves or states.
After recording, replay it with the phone idle. Edit one section of the curve or move one message state and play again: the recording now behaves like any other automation or state.