Strudelify

Und die Erde steht still

Kristina Bach

KeyA majorTempo118 bpm
0:00/0:00
// Und die Erde steht still — Kristina Bach
// 118 bpm, 4/4, key A major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: Full arrangement: all 107 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(118/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · "a, b" plays two voices at once · [...]/2 spreads a riff over 2 bars.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  ~ A B C D E F G H I J K L M N O P Q J K L M N R S T U V N W X Y Z AA U AB AC AD AE G Z G AF I J K L M N O P Q J K L M
  N R S T U V N W X Y Z AA U AB AC AD AE G Z AG AH AI AJ AK AL AM AN T U V N W X Y Z AA U AB AC AD AE G Z AD AO AP@2
  AQ@4
>`.pickRestart({
  A: "d2@6 a2@5 ~ d2@2 d#2@2", B: "e2@5 ~ b1@4 b1 ~ e2@4", C: "a1@3 a2@3 a1 g#1", D: "f#1@5 ~ f#2@4 f#2@2 f#1@2 a1@2",
  E: "b1@5 ~ f#2@6 b1@4", F: "e2@5 ~ e2@6 e1@2 g#1@2", G: "a1@5 ~ e2@6 e1@4", H: "a1@3 e2@3 e1 g#1",
  I: "a1@6 e2@5 ~ e1@4", J: "a1@5 ~ e2@3 ~ e2 ~ a1@2 g#1@2", K: "f#1@3 f#2@3 e2 f#2",
  L: "f#1@5 ~ f#2@3 ~ f#2@2 c#2@2 f#2@2", M: "d2@5 ~ d2@6 a1@2 b1@2", N: "d2@5 ~ d2@6 a1@2 d2@2",
  O: "e2@5 ~ e2@6 b1@2 c#2@2", P: "e2 g#2 f#2 e2@2 e2 e2@2", Q: "a1@6 e2@5 ~ e1@2 f#1@2", R: "e2@5 ~ e2@3 ~ d2@2 b1@4",
  S: "e1@5 ~ e2@3 ~ e2@2 e2@4", T: "a1@6 e2@5 ~ e1@2 e1@2", U: "a1@5 ~ e2@4 e2 ~ a1@4", V: "d2@6 a1@4 a1 ~ b1@2 a1@2",
  W: "e2@5 ~ b1@6 b1@2 b1@2", X: "e2@5 ~ e2@4 e2@2 e1@2 g#1@2", Y: "a1@5 ~ e2@6 e1@2 e1@2", Z: "a1@5 ~ e2@4 e2@2 e1@4",
  AA: "a1@3 e2@3 e1!2", AB: "d2@3 a2@3 a1!2", AC: "d2@5 ~ a2@4 a2@2 d2@2 d#2@2", AD: "e2@5 ~ e2@6 b1@2 b1@2",
  AE: "e1@5 ~ e2@4 e2@2 e2@4", AF: "a1@2 f#2 e2@2 e2 c#2@2", AG: "e2@3 e2@2 b1 d2 e2", AH: "d2@3 d2@2 a1 b1 d2",
  AI: "a1@3 e2@3 e1 f#1", AJ: "a1@6 e2@3 ~ e2@2 a1@2 g#1@2", AK: "f#1@3 f#2@3 f#1 a1", AL: "b1@3 b1@3 f#1 b1",
  AM: "e2@3 e2@2 c#2 b1 c#2", AN: "e2@10 e2 ~ e2@4", AO: "e1", AP: "a1", AQ: "[~ a1@17 a1@34 ~@12]/4",
})).s("gm_fretless_bass").gain(0.43)

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel = note(`<
  A@8 B C@3 D@2 E@2 F@4 D@2 G@2 H@4 I@2 J@2 K@4 L@2 M@8 D@2 E@2 F@4 D@2 G@2 H@4 I@2 J@2 K@4 L@2 N@6 O@4 P@4 I@2 J@2 K@4
  L@2 Q@3 R S@7
>`.pickRestart({
  A: "[~@10 d4 ~@2 d4 ~@7 e4 b3 ~@3 c#4 ~@2 c#4 a3 ~@6 c#4 a3 ~@2 b3 d4 ~@2 d4 b3 ~@3 e4 g#4@2 e4 b3 ~@3 e4 a4@2 e4 c#4 e4, ~@15 d4@5 ~@10 d4@2 g#4@6 g#4@8 ~@2 a4@14 ~@2 f#4@6 f#4@6 ~@4 f#4@6 f#4@8 ~@2 g#4@6 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4@5 ~@10 c#4@4 a3@8 ~@22]/4", // F#m
  Q: "[~@4 b3@2 e4@4 b3@2 g#3@2 b3 ~@5 c#4@2 ~@4 c#4@2 ~@14 c#4@2 a3@2 ~ [a3,c#4], e3@10 ~@5 a3@3 a3@8 ~@2 a3@4 e3@8 ~@8, ~@2 g#3@8 ~@5 c#4@5 ~@10 c#4@4 a3@8 ~@6, ~@8 a4@6 ~@5 e4@4 e4, ~@16 e4@6 e4@7 ~@7 c#4@5 ~@7]/3", // A
  R: "~ g#3 b3 ~@2 b3 g#3 b3, e4@3 e4@4 ~",
  S: "[~@4 b3@2 e4@4 b3@2 g#3@2 b3 ~@5 c#4@2 ~@6 a3@3 ~ [b3,e4]@6 ~@6 g#3@3 ~@2 f#4@6 ~@4 d4@2 a3@3 ~@3 e4@34 ~@11, e3@10 ~@5 c#4@5 ~@6 c#4@6 ~@6 e4@7 ~@3 d4@9 ~@55, ~@2 g#3@8 ~@5 a3@7 ~@9 e3@14 ~@2 f#3@10 ~@7 f#3@2 [a3,c#4]@35 ~@11, ~@16 a4@13 ~@26 f#4@11 ~@46, ~@16 e4@6 e4@7 ~@2 g#3@10 ~ b3@6 a3@11 ~@6 e3@36 ~@11]/7", // E5 A
})).s("gm_acoustic_guitar_steel").gain(0.25).pan(0.7)

// chords · string ensemble 2 · "SLOWSTRING"
const string_ensemble_2 = note(`<
  A B C D@2 E C F@4 G@2 H@2 I@2 F@2 G@2 H@2 J@2 K@2 L@2 M@2 N@2 K@2 L@2 M@2 O@4 ~@16 K@2 L@2 M@2 N@2 K@2 L@2 M@2 P@2 Q R
  S@2 T U V@2 K@2 L@2 M@2 N@2 K@2 L@2 M@2 P@2 W@2 X Y Z@4
>`.pickRestart({
  A: "~@2 c#4 d4 e4@2 a4@2, ~ a3@3", B: "[f#3,d4,a4]", C: "[e3,e4,g#4]", D: "[[a3,a4] [f#3,a4], c#4]/2",
  E: "[b3,d4,f#4]", F: "[a3,c#4,a4]/2", G: "[f#3,c#4,a4]/2", H: "[f#3,d4,a4]/2", I: "[g#3,e4,b4]/2",
  J: "[[g#3,b4] [b3,e5], e4]/2", K: "[a3,c#4,a4,c#6]/2", L: "[d6@7 c#6, [f#3,d4,a4]]/2", M: "[e3,b3,g#4,b5]/2",
  N: "[a5@13 b5 c#6@2, [a3,c#4,a4]]/2", O: "[[a3,c#4,a4,a5]@31 ~]/4", P: "[a3,c#4,a4,a5]/2", Q: "[e3,e4,b4,g#5]",
  R: "[d3,d4,a4,f#5]", S: "[a3,c#4,a4,e5]/2", T: "[f#3,c#4,a4,f#5]", U: "[b2,d#4,b4,f#5]", V: "[g#4 b4, [e3,e4,e5]]/2",
  W: "[[e3,b3,g#4,e5]@15 ~]/2", X: "[a2,a3,e4,c#5,e5]", Y: "[a2,g#3,e4,b4,e5]",
  Z: "[~ [a2,f#3,d4,a4,d5]@17 [a2,e3,e4,a4,c#5]@34 ~@12]/4", // D A
})).s("gm_string_ensemble_2").gain(0.22)

// chords · string ensemble 2 · "SLOWSTRING" · soft notes
const string_ensemble_2_soft = note("<~@43 A@2 B@2 C@2 D@2 A@2 B@2 C@2 E@2 ~@48>".pickRestart({
  A: "[a3,c#4,a4]/2", B: "[f#3,c#4,a4]/2", C: "[f#3,d4,a4]/2", D: "[g#3,e4,b4]/2", E: "[[g#3,b4] [b3,e5], e4]/2",
})).s("gm_string_ensemble_2").gain(0.15)

// chords · marimba
const marimba = note(`<
  ~ A B C D E F G H I@2 J@2 K@2 L@2 I@2 J@2 K@2 L@2 M@2 N@2 L@2 M@4 N@2 L@2 M@4 I@2 J@2 K@2 L@2 I@2 J@2 K@2 L@2 M@2 N@2
  L@2 M@4 N@2 L@2 M@2 L K M@2 J O L@2 M@2 N@2 L@2 M@4 N@2 L@2 M@2 L P ~@6
>`.pickRestart({
  A: "[d4,a4] ~@3 [d4,a4] ~@3 [a3,d4] ~ [a3,d4] ~@3 [b3,e4] ~", // D5 E5
  B: "~@2 [b3,e4] ~ [b3,e4] ~@3 [e3,b3] ~ [e3,b3] ~@3 [a3,e4] ~", // E5 A5
  C: "~@2 [a3,e4] ~ [a3,e4] ~@3 [a3,e4] ~ [a3,e4] ~@3 [f#3,c#4] ~", // A5 F#5
  D: "~@2 [f#3,c#4] ~ [f#3,c#4] ~@3 [f#3,c#4] ~ [f#3,c#4] ~@3 [b3,f#4] ~", // F#5 B5
  E: "~@2 [b3,f#4] ~ [b3,f#4] ~@3 [b3,f#4] ~ [b3,f#4] ~@3 [b3,e4] ~", // B5 E5
  F: "~@2 [b3,e4] ~ [b3,e4] ~@3 [b3,e4] ~ [b3,e4] ~@3 [a3,e4] ~", // E5 A5
  G: "~@2 [a3,e4] ~ [a3,e4] ~@3 [a3,e4] ~ [a3,e4] ~@3 [a3,e4] ~", H: "~@2 [a3,e4] ~ [a3,e4] ~@5 [a3,e4] ~@3 [a3,e4] ~",
  I: "~@4 [a3,e4] ~ [a3,e4] ~@3 [a3,e4] ~@3 [a3,e4] ~", // A5
  J: "~@2 [c#4,f#4] ~ [c#4,f#4] ~ [c#4,f#4] ~@3 [c#4,f#4] ~@3 [c#4,f#4] ~", // F#5
  K: "~@2 [a3,f#4] ~ [a3,f#4] ~ [a3,f#4] ~@3 [a3,f#4] ~@3 [a3,f#4] ~", // D
  L: "~@2 [b3,e4] ~ [b3,e4] ~ [b3,e4] ~@3 [b3,e4] ~@3 [b3,e4] ~", // E5
  M: "~@2 [a3,e4] ~ [a3,e4] ~ [a3,e4] ~@3 [a3,e4] ~@3 [a3,e4] ~", // A5
  N: "~@2 [d4,f#4] ~ [d4,f#4] ~ [d4,f#4] ~@3 [d4,f#4] ~@3 [d4,f#4] ~", // D
  O: "~@2 [b3,f#4] ~ [b3,f#4] ~ [b3,f#4] ~@3 [b3,f#4] ~@3 [b3,f#4] ~", P: "[b3,e4] ~@15",
})).s("gm_marimba").gain(0.22).pan(0.2)

// chords · brass section · "BRASS 1"
const brass_section = note(`<
  ~@25 A@2 B@2 ~@2 C D A@2 B@2 ~@3 C E ~@17 A@2 B@2 ~@2 C D A@2 B@2 ~@2 C F ~@3 G ~@4 A@2 B@2 ~@2 C D A@2 B@2 ~@2 C F
  ~@4 H@4
>`.pickRestart({
  A: "[~@4 [a3,c#4]@5 ~ [b3,d4]@3 ~ [c#4,e4]@14 ~@4]/2", // A Bm C#m
  B: "[~@4 [d4,f#4]@3 ~ [d4,f#4] ~ [e4,g#4]@3 ~ [f#4,a4]@14 ~@4]/2", // D E F#m
  C: "~@2 [a4,c#5]@2 [a4,c#5] ~ [a4,c#5]@4 [b4,d5] ~ [g#4,b4]@4", D: "[a4,c#5]@7 ~", E: "[a4,c#5]",
  F: "[a4,c#5]@13 ~@3", G: "[b4,d5]@2 [a4,c#5] ~ [g#4,b4] ~ [a4,c#5]@7 ~@3", H: "[~ a4@6 d5@6 e5@5 c#5@34 ~@12]/4",
})).s("gm_brass_section").gain(0.4).pan(0.7)

// other · oboe
const oboe = note("<A B C D E F G H ~@93 I J K@4>".pickRestart({
  A: "~@2 c#5 d5 e5@2 a5@2", B: "f#5", C: "~@2 b4 c#5 d5@2 e5@2", D: "d5@2 c#5 e5@5", E: "~@2 a4 b4 c#5@3 d5", F: "b4",
  G: "~@2 g#4 a4 b4@3 c#5", H: "a4", I: "a4@6 e5@3 e5@7", J: "g#4@3 e5@2 e5@3", K: "[~ a4@6 d5@6 e5@5 c#5@34 ~@12]/4",
})).s("gm_oboe").gain(0.34).pan(0.3)

// drums · kick
const kick = s("bd").struct(`<
  ~ A@22 B A@33 B A@2 B A B A B A B A B A B A B@5 A B A B A B A B A B A B A B A B A B A B@3 A C D ~@5
>`.pickRestart({
  A: "x ~@2 x ~@4", B: "x ~@2 x ~ x ~@2", C: "x ~@4 x ~@2", D: "x",
})).gain(0.41)

// drums · kick · soft notes
const kick_soft = s("bd").struct("<~@17 A@6 ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@8 A@6 ~ A ~@48>".pickRestart({
  A: "~@5 x ~@2",
})).gain(0.26)

// drums · rim
const rim = s("rim").struct("<~ A@8 B@7 ~ C@6 ~@16 B@3 D B@7 ~ C@6 ~@50>".pickRestart({
  A: "~ x ~ x", B: "~@3 x", C: "~@3 x ~@4", D: "~@3 x ~@2 x ~",
})).gain(0.31)

// drums · snare
const snare = s("sd").struct(`<
  ~@16 A B@6 C D E@7 F E@6 ~@11 A B@6 C D E@7 F E@7 G E@6 F A E@7 F E@7 D F D ~@6
>`.pickRestart({
  A: "~@10 x ~ x ~ x!2", B: "~@3 x", C: "~@2 x ~@3 x!2", D: "~@12 x ~ x!2", E: "~ x ~ x", F: "~@4 x ~@7 x ~ x!2",
  G: "~@6 x ~@5 x ~ x!2",
})).gain(0.36)

// drums · clap
const clap = s("cp").struct("<~@25 A ~ A ~@5 A ~ A ~@23 A ~ A ~@5 A ~ A ~@13 A ~ A ~@5 A ~ A ~@13>".pickRestart({
  A: "~ x ~@2",
})).gain(0.41)

// drums · low tom
const low_tom = s("lt").struct("<~@24 A ~@33 A ~@15 A ~@7 A ~@15 A ~@8>".pickRestart({
  A: "~@4 x!2 ~@2",
})).gain(0.26)

// drums · hihat
const hihat = s("hh").struct(`<
  ~ A B A B A B A B A B A B A B A B A B A B A B A C A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A C
  A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A D E ~@5
>`.pickRestart({
  A: "x!8", B: "x!7 ~", C: "x!4", D: "x ~@4 x!2 ~", E: "x",
})).gain(0.21)

// drums · mid tom
const mid_tom = s("mt").struct("<~@8 A ~@7 B ~@7 C ~@7 D ~@17 B ~@7 C ~@7 D ~@7 E ~@7 C ~@7 D ~@7 C ~@8>".pickRestart({
  A: "~@5 x!3", B: "~ x ~ x ~@4", C: "~@5 x!2 ~@9", D: "~@3 x ~ x ~@2", E: "~@5 x ~@10",
})).gain(0.31)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@2 A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A
  ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@6
>`.pickRestart({
  A: "~@7 x",
})).gain(0.15)

// drums · high tom
const high_tom = s("ht").struct("<~@8 A ~@7 B ~@7 C ~@7 B ~@17 B ~@7 C ~@7 B ~@7 C ~@7 C ~@7 B ~@7 C ~@8>".pickRestart({
  A: "~ x!3 ~@4", B: "~ x ~@2", C: "~@2 x!3 ~@11",
})).gain(0.31)

// drums · crash
const crash = s("cr").struct(`<
  ~ A ~@7 A ~@7 A ~@6 A B ~ C ~@5 B ~ C ~@3 A ~@3 A ~@7 A ~@6 A B ~ C ~@5 B ~ C ~@3 A ~ A ~@6 A B ~ C ~@5 B ~ C ~@3 A ~
  A@3 ~@5
>`.pickRestart({
  A: "x", B: "x!2 ~@2", C: "~ x ~@2",
})).gain(0.26)

// drums · tambourine
const tambourine = s("tb").struct("<~ A@24 B@14 C A@19 B@24 D@17 E F ~@5>".pickRestart({
  A: "~ x ~@2", B: "x!4", C: "x!2 ~@2", D: "x!8", E: "x ~@4 x!3", F: "x",
})).gain(0.21)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct("<~@25 [~ x ~ x ~ x ~ x]!14 ~@20 [~ x ~ x ~ x ~ x]!24 ~@24>").gain(0.1)

// drums · vibraslap
const vibraslap = s("vibraslap:0").struct("<~@100 x ~@6>").gain(3.64)

// drums · shaker
const shaker = s("sh").struct(`<
  ~@9 A@8 B A B A B A B A@9 B A B A B A@4 C A@8 B A B A B A B A@9 B A B A B A@3 D A D A D A D A@9 B A B A B A@3 B E ~@6
>`.pickRestart({
  A: "x!8", B: "x ~ x ~ x ~ x ~ x ~ x ~ x ~ x!2", C: "x ~ x ~ x ~ x ~ x!3 ~ x ~ x ~",
  D: "x ~ x ~ x ~ x!3 ~ x ~ x ~ x ~", E: "x ~@4 x!3",
})).gain(0.15)

// … 4 more lines

More by Kristina Bach