Skip to content

Instantly share code, notes, and snippets.

@ncfavier
Last active November 10, 2017 17:22
Show Gist options
  • Save ncfavier/d0dd13c2fc44731e40ac to your computer and use it in GitHub Desktop.
Save ncfavier/d0dd13c2fc44731e40ac to your computer and use it in GitHub Desktop.
Classical music title generator for http://orteil.dashnet.org/randomgen
$include http://orteil.dashnet.org/randomgen/gens/names.txt
$name : Classical piece title generator
$author : Naïm Favier
$description : Generates a random classical music title.
$picture : http://i.imgur.com/YG6jDoC.png
$amount : 1
$button : Compose!
$form
symphony
concerto
sonata
prelude
etude
suite
fugue
requiem
$number
n°[1-15] {30%}
$tonality
[note] {20%}
[note] [minor|major]
$note
[A|B|C|D|E|F|G]
[A|C|D|F|G]♯
[A|B|D|E|G]♭
$for
for [instrument] {30%}
for [2-4] [instrument]s {10%}
$instrument
piano
cello
violin
clarinet {5%}
flute {5%}
$opus
op. [20-60] {50%}
$composer
[first name (male)] [last name] {80%}
[medieval first name (male)] [medieval last name]
$title
[Form] [number] in [tonality] [for] [opus] by [composer]
[composer]'s [form] [number] in [tonality] [for] [opus] {30%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment