User:Yoana Buzova/ prototyping1
< User:Yoana Buzova
Revision as of 14:23, 28 October 2013 by Yoana Buzova (talk | contribs)
Gradually increases and decreases audio , play sound and then run
#!/bin/bash
## set volume to gradually increase to 3/4 max
while true;
do
for((i=0;i<100;i++)); do
osascript -e "set volume output volume $i"
done
for((i=100;i>0;i--)); do
osascript -e "set volume output volume $i"
done
done