Created
April 1, 2019 22:27
-
-
Save rubo77/23cc629159db8bca530fe5cb026eb060 to your computer and use it in GitHub Desktop.
Downloads 90 random generated midi files from each section in http://anticulture.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# enable all soundfonts in timidity https://unix.stackexchange.com/questions/97883/timidity-no-instrument-mapped-to-tone-bank-0-no-idea-which-one-is-missing | |
base="/home/ruben/midi-generated/AntiCulture.Net" | |
for i in $(seq 10 99); do | |
file="$base - Jazz (Randomly Generated) - $i.mid" | |
echo $file | |
curl -K -vs http://anticulture.net/JazzGenerator.php -o "$file" | |
file="$base - Jazz Fusion (Randomly Generated) - $i.mid" | |
echo $file | |
curl -K -vs http://anticulture.net/JazzFusionGenerator/ -o "$file" | |
file="$base - Trance Music (Randomly Generated) - $i.mid" | |
echo $file | |
curl -vs http://anticulture.net/RandomTranceMusic.php -o "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to edit the soundset on Ubuntu to hear all sounds: https://unix.stackexchange.com/questions/97883/timidity-no-instrument-mapped-to-tone-bank-0-no-idea-which-one-is-missing