godot_osc_demo/testosc.sh
Christopher Arndt b7ef9bc01b feat: basic support for OSC sending
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-11-04 16:06:33 +01:00

14 lines
290 B
Bash
Executable File

HOST=localhost
PORT=9001
for ctrl in 0 1 2 3; do
for value in `LC_ALL=C seq 0.1 0.1 1.0`; do
oscsend $HOST $PORT /slider/$ctrl/set f $value
sleep 0.1
done
oscsend $HOST $PORT /button/$ctrl/set i 1
sleep 1
oscsend $HOST $PORT /button/$ctrl/set i 0
done