User:Yoana Buzova/ prototyping1: Difference between revisions
Yoana Buzova (talk | contribs) (Created page with "<source lang="bash"> #!/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...") |
Yoana Buzova (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Gradually increases and decreases audio , play sound and then run | |||
<source lang="bash"> | <source lang="bash"> | ||
#!/bin/bash | #!/bin/bash |
Latest revision as of 14:23, 28 October 2013
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