Syllabus 20091006 Bernhard
Revision as of 20:32, 23 September 2010 by Migratebot (talk | contribs) (Created page with "kanon.sh
<source lang="text"> #!/bin/bash
sox -c1 -r8000 -n sweep_up.wav synth 1 sine %3 vol 0.7 fade t 0 0.7 0.3
sox -c1 -r8000 -n sweep_up_2.wav synth 2 sine %6 vol 0.7 ...")
kanon.sh
#!/bin/bash
sox -c1 -r8000 -n sweep_up.wav synth 1 sine %3 vol 0.7 fade t 0 0.7 0.3
sox -c1 -r8000 -n sweep_up_2.wav synth 2 sine %6 vol 0.7 fade t 0 1.7 0.3
sox -c1 -r8000 -n sweep_up_3.wav synth 3 sine %9 vol 0.7 fade t 0 2.7 0.3
sleep 0.2
/bin/bash -c "~/MDMA/Technical\ Tuesdays/loop.py&"
echo "1"
sleep 9
/bin/bash -c "~/MDMA/Technical\ Tuesdays/loop.py&"
echo "2"
sox -c1 -r8000 -n sweep_up.wav synth 1 sine %2 vol 0.7 fade l 0 0.7 0.3
sox -c1 -r8000 -n sweep_up_2.wav synth 2 sine %5 vol 0.7 fade l 0 1.7 0.3
sox -c1 -r8000 -n sweep_up_3.wav synth 3 sine %7 vol 0.7 fade l 0 2.7 0.3
sleep 6
/bin/bash -c "~/MDMA/Technical\ Tuesdays/loop.py&"
echo "3"
sox -c1 -r8000 -n sweep_up.wav synth 1 sine %2 vol 0.7 fade l 0 0.7 0.3
sox -c1 -r8000 -n sweep_up_2.wav synth 2 sine %4 vol 0.7 fade l 0 1.7 0.3
sox -c1 -r8000 -n sweep_up_3.wav synth 3 sine %6 vol 0.7 fade l 0 2.7 0.3
sleep 3
/bin/bash -c "~/MDMA/Technical\ Tuesdays/loop.py&"
echo "4"
loop.py
#!/usr/bin/env python
from os import system
from time import sleep
for i in range(4):
for j in range(4):
system("play sweep_up_2.wav")
for j in range(4):
system("play sweep_up_3.wav")
for j in range(3):
system("play white.wav")