Skip to content

Instantly share code, notes, and snippets.

@rubo77
Created April 1, 2019 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubo77/23cc629159db8bca530fe5cb026eb060 to your computer and use it in GitHub Desktop.
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
#!/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
@rubo77
Copy link
Author

rubo77 commented Apr 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment