Inner City Learners

Theme Tune

Published: Updated:

It’s been a while since we last posted but the big news is that we now have a theme tune for the game! Check out this small clip (mp3):

Inspired by the great 8-bit games of the past it has a chiptune, funfair vibe. It was composed using Strudel which is a kind of musical language and is free and open source, just like us. We discovered this tool via the Late Night Linux podcast, Episode 339.

If you’re curious to see the Strudel code behind the tune, it’s in our repository and copied below. You can paste this straight into Strudel and play around with it yourself!

setcpm(26)
melody: note(`<
[c4@2 [g4 -] [g4 g4@11]@4 -@2 c4 [g4 -] [g4 -] g4@4] _
[- c4 g4 [g4 a4@3]@2 g4 f4 e4]
[e4 f4 [f4 -] [f4 f4@10]@4 -]
[- f4 f4 [f4 g4@3]@2 f4 e4 d4]
[- e4 e4 [e4 f4@3]@2 e4 d4 c4]
[- d4 d4 [d4 e4@3]@2 d4 c4 b3]
[c4 - g3@2 a3@2 b3@2]
>`)
.s("gm_ocarina").transpose("7").room("0.3")


melody2: note(`<
[-@8]!8
[-@5 g4 f4 e4 e4@4 - g4 f4 e4] _
[e4@4 -@4]
[e4@2 f4 - f4@4]
[-@8]
[- e4 e4 [e4 f4@3]@2 e4 d4 c4]
[- d4 d4 [d4 e4@3]@2 d4 c4 b3]
[c4 - g3@2 a3@2 b3@2]
>`).s("saw").transpose("7").gain("0.3").penv(`<0.1 0 1 [0.2@2 0.1@2 0@4] 0 [- 1 0.1@6] 0.1 [1 0 0.5@2!3]>`)

accom: note(`<
[[c2 c3]!4]
[[b1 c3]!4]
[[bb1 c3]!4]
[[f2 f3]!4]!2
[[c2 c3]!4]
[[g2 g3]!4]
[c2 - g2@2 a2@2 b2@2]
>`).s("gm_english_horn").gain(0.2).transpose("7")

chordy: chord(`<
C CM7 C7 F F C G [C -@7]
>`).voicing().s("bytebeat").transpose("7").gain("0.04")

drum: sound(`<
[[bd oh]!4]!7
[bd - bd@2 bd@2 bd@2]
>`).gain("0.02")

drum2: sound(`<
[-@8]!8
[- [hh hh] - [hh hh] - [hh hh] - [hh hh]]!3
[- [hh hh] - [hh hh] - [hh hh] cr -]
[- [hh hh] - [hh hh] - [hh hh] - [hh hh]]!3
[cr - sd sd sd sd sd sd]
>`).gain(".02")

silly: note(`<
[-@8]!2
[c3 -@8]
[-@8]!3
[-@6 c2 -]
[-@8]!9
>`).s("siren")

Reply to this post by email ↪