Skip to content

Instantly share code, notes, and snippets.

@mguentner
Created May 28, 2012 16:40
Show Gist options
  • Save mguentner/2820040 to your computer and use it in GitHub Desktop.
Save mguentner/2820040 to your computer and use it in GitHub Desktop.
A nice fading animation for the Alpengluehn Controller
#!/bin/zsh
ALPENIP="192.168.0.91"
ALPENPORT="2701"
NC="nc.openbsd"
echo "dmx fxslot reset" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot devices 0 1 0 0 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot devices 1 1 0 3 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot devices 2 1 0 6 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot devices 3 1 0 9 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot devices 4 12 0 12 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot effect 0 1 2 128" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot effect 1 1 2 89" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot effect 2 1 2 320" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot effect 3 1 2 400" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot effect 4 1 5 1" | $NC $ALPENIP $ALPENPORT -q 1
echo "dmx fxslot save" | $NC $ALPENIP $ALPENPORT -q 1
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment