godot_osc_demo/testosc.sh

14 lines
278 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 f $value
sleep 0.1
done
oscsend $HOST $PORT /button/$ctrl i 1
sleep 1
oscsend $HOST $PORT /button/$ctrl i 0
done