Strudelify

sonic the hedgehog - medley

Misc Computer Games

KeyC majorTempo125 bpm
0:00/0:00
// sonic the hedgehog - medley — Misc Computer Games
// 125 bpm, 4/4, key C major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: ch 2 "Glass Harmonica" named as an organ, played on harmonica (its pad bowed patch is not one)
// note: Transcription provider: pdmx. https://musescore.com/score/1123591; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 46 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(125/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// other · lead 2 sawtooth · "Saw Synthesizer"
const lead_2_sawtooth = note("<~@15 A B A C A B D E ~@14 A B A C A B D E ~>".pickRestart({
  A: "~@2 g4 a4 c5!2 ~ a4 c5!2 ~@6", B: "~@2 e5@2 ~@2 c5@2 ~@2 a4!2 c5@2 a4@2", C: "~ e5 f5 e5 f5 g5 ~ c5",
  D: "~@2 g4 a4 c5!2 ~ a4 c5!2 ~@4 e5 f5", E: "g5 ~ c6@6",
})).s("gm_lead_2_sawtooth").gain(0.45)

// bass · electric bass finger · "Electric Bass"
const bass = note(`<
  ~ A B C D E F A G A B C D E F A H I J A H K L A B C D E F A G A B C D E F A H I J A H K L M
>`.pickRestart({
  A: "c2@3 c2 ~@2 c2@8 c2!2", B: "a#1@3 a#1 ~@2 a1@8 a1!2", C: "d2@3 d2@3 d2!2 c#2@3 c#2@3 c#2!2",
  D: "c2@3 c2@3 c2!2 b1@3 b1@3 b1!2", E: "g1@3 g1 ~@2 g1@8 g1!2", F: "b1@3 b1 ~@2 b1@8 b1!2",
  G: "d2@3 d2 ~@2 g1@4 g1@2 d2@2 g1@2", H: "d2@3 d2 ~@2 d2@8 d2!2", I: "e2@3 e2 ~@2 e2@8 e2!2",
  J: "f2@3 f2 ~@2 f2@8 g2 f2", K: "e2@3 e2 ~@2 e2@8 e2 f2", L: "g2 ~ g1@6", M: "c2",
})).s("gm_electric_bass_finger").gain(0.3)

// drums · kick
const kick = s("bd").struct("<~ [x!4]!44 x>").gain(0.3)

// drums · pedal hat
const pedal_hat = s("hh").struct("<[~@12 x!3 ~] [x!3 ~ x!3 ~ x!3 ~ x!3 ~]!44 ~>").gain(0.15)

stack(lead_2_sawtooth, bass, kick, pedal_hat)

More by Misc Computer Games