Strudelify

Die Leut' am Land

Alpenrebellen

KeyG majorTempo120 bpm
0:00/0:00
// Die Leut' am Land — Alpenrebellen
// 120 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 77 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(120/4)

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

// bass · trombone
const bass = note(`<
  A B C D E@2 F G H I J K D L M N D O P Q R S T U V W X U Y Z AA AB D E@2 F G H I J K D L M N D O P Q R S T U V W X U Y
  Z AA AB D E@2 F G H I J K D L M N D O AC
>`.pickRestart({
  A: "~@6 a1 g#1", B: "g1@2 ~@2 g1@3 ~ a1@3 ~ b1@3 ~", C: "c2@2 ~@2 g1@3 ~ c2@2 ~@2 g1@4", D: "c2 ~ g1 ~ c2 ~ g1 ~",
  E: "d2 ~ g1 ~ d2 ~ g1 ~", F: "c2@4 b1@4 a1@3 ~ g1@3 ~", G: "c2@2 ~@2 g1@2 ~@2 c2 ~@3 g1@2 ~@2",
  H: "d2 ~@3 g1@2 ~@2 d2@2 ~@2 g1@2 ~@2", I: "d2@2 ~@2 g1@2 ~@2 a1@3 ~ b1@4", J: "c2 ~ a1@4 g1@2 c2 ~@3 c2 ~@3",
  K: "f2 ~@3 c2 ~@3 f2 ~@3 c2 ~@3", L: "d2 ~@3 g1@2 ~@2 a1@2 ~@2 b1@2 ~@2", M: "c2@2 ~@2 g1@2 ~@2 c2@2 ~@2 d2 ~ e2@2",
  N: "f2 ~@3 c2@2 ~@2 f2 ~@3 c2@2 ~@2", O: "d2 ~@3 g1@4 a1@4 b1@4", P: "c2 ~ g1 ~ c2 ~@3", Q: "d2@3 ~ c2@3 ~ b1@4 a1@4",
  R: "g1 ~ d2 ~ g1 ~ d2 ~", S: "g1@2 ~@2 d2 ~@3 g1@2 ~@2 d2@2 ~@2", T: "a1 ~ d2 ~ a1 ~ d2 ~",
  U: "g1@2 ~@2 d2@2 ~@2 g1 ~ g1 ~ a1 ~ b1 ~", V: "g1 ~@3 d2 ~@3 g1@2 ~@2 d2@2 ~@2", W: "g1 ~@3 d2 ~@3 g1 ~@3 d2 ~@3",
  X: "a1 ~@3 d2@2 ~@2 a1 ~@3 d2@2 ~@2", Y: "c2 ~@3 g1 ~@3 c2 ~@3 g1@2 ~@2", Z: "g1@2 ~@2 d2 ~@3 g1@2 ~@2 d2 ~@3",
  AA: "d2@2 ~@2 a1@2 ~@2 d2@2 ~@2 a1@2 d2 ~", AB: "g1@2 ~@2 a1 ~ b1 ~ g1 ~@3 g1 ~@3",
  AC: "c2@2 ~@2 g1@2 ~@2 c2@2 ~@2 c2 ~@3",
})).s("gm_trombone").gain(0.71)

// other · clarinet
const clarinet = note(`<
  A B C D E F G H I J K L M N O P M Q R S ~@12 D E F G H I J K L M N O P M Q R S ~@12 D E F G H I J K L M N O P M Q T
>`.pickRestart({
  A: "~@12 c5 ~ c5@2", B: "b4 ~ c5 b4 a#4 b4 c5 d5 g5@2 f5 ~ f5@2 e5 ~", C: "e5@8 e5 ~@7", D: "e5@5 e5@2 c5",
  E: "b4@3 b4!2 ~@3", F: "f5@3 f5!2 ~@3", G: "e5@6 e5@2 e5 ~@7", H: "e5@5 c5 e5 c5", I: "b4@5 ~ b4@2 b4@2 ~@6",
  J: "g5@15 ~", K: "~@2 a5@4 g5@2 c6 ~@7", L: "f5@9 ~@3 d#5@4", M: "e5@8 ~@2 g5 a5 g5@3 ~", N: "~@10 g5 a5 g5@3 ~",
  O: "~@3 e5", P: "f5@11 ~ d#5@4", Q: "g5@11 ~ f5@2 e5 ~", R: "e5@4 ~ [b4,d#5] [c5,e5] [c#5,f5]", S: "[d5,f#5]@3 ~",
  T: "e5@8 ~@4 c6 ~@3",
})).s("gm_clarinet").gain(0.2).pan(0.3)

// other · trumpet
const trumpet = note(`<
  A B C D E F G H I J K L M N O P Q R S T ~@12 D E F G H I J K L M N O P Q R S T ~@12 D E F G H I J K L M N O P Q R U
>`.pickRestart({
  A: "~@11 g4 a4@2 g#4@2, ~@12 g#4 ~@3", B: "g4 ~ a4 g4 f#4 g4 a4 b4 e5@2 d5 ~ d5@2 c5 ~", C: "c5@8 c5 ~@3 g4@2 ~@2",
  D: "c5@4 ~ a4 c5 a4", E: "g4@5 ~ d4@2 f4@3 ~@5", F: "d5@3 c5 b4 ~@3", G: "c5@3 a4 g4 ~@3", H: "c5@9 ~ a4@2 c5@2 a4@2",
  I: "g4@6 d4@2 f4@3 ~@5", J: "g4@7 ~", K: "~@2 a4@4 g4@2 c5 ~@3 c5 ~@3", L: "a4@2 c5@2 c5@7 ~ b4@2 c5@2",
  M: "c5@2 g4 ~ g4@5 ~ g4 a4 g4@4", N: "~@10 g4 a4 g4@4", O: "~@5 c5 b4 a#4", P: "a4@2 c5@2 c5@7 ~ b4@2 c5 ~",
  Q: "c5@2 g4 ~ g4@5 ~ g4 a4 g4@2 ~@2", R: "g4@6 e5 ~ e5@2 d5 ~ d5@2 c5@2", S: "c5@9 ~ b4@2 c5@2 c#5@2", T: "d5@13 ~@3",
  U: "c5@8 c5@2 ~@2 c5 ~@3",
})).s("gm_trumpet").gain(0.38).pan(0.8)

// chords · accordion
const accordion = note(`<
  A B C D E@2 F@2 E G H I J K F L F M N O P@2 Q R S T Q U V W X Y D E@2 F@2 E G H I J K F L F M N O P@2 Q R S T Q U V W
  X Y D E@2 F@2 E G H I J K F L F M Z
>`.pickRestart({
  A: "~@6 a4 g#4", B: "g4 ~ a4 g4 f#4 g4 a4 b4 [e5,g5]@2 [d5,f5] ~ [d5,f5]@2 [c5,e5] ~",
  C: "[c5,e5]@8 [c5,e5] ~@3 g4 ~@3", // C
  D: "[g4,c5,e5]!3 ~ [g4,c5,e5]!2 [c5,e5] ~ [g4,c5,e5]!3 ~ [g4,c5,e5]!3 ~, ~@3 g4 ~@4", // C
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4,b4]@3 ~ [d4,g4,b4] ~ [g4,b4]@2 d4 ~ [g4,b4]@2 d4 ~, ~@8 d4 ~@3 d4 ~@3", // G
  S: "[b3,d4,g4] ~ [d4,g4,b4]@3 ~ [d4,g4,b4] ~ [g4,b4]@2 d4 ~ [d4,a4,c5]@2 [g4,b4] ~, ~@8 d4 ~@7", // G D7 G
  T: "[d4,g4,b4] ~ [d4,g4,b4]@3 ~ [d4,g4,b4] ~ [d4,g4,b4]@2 d4 ~ [d4,g4,c5]@2 b4 ~", // G Csus2
  U: "[d4,g4,b4] ~ [d4,g4,b4]@3 ~ [d4,g4,b4] ~ [g4,b4]@2 d4 ~ [d4,g4,b4]@2 d4 ~, ~@8 d4 ~@7", // G
  V: "[e4,g4,c5] ~ [e4,g4,c5]@3 ~ [e4,g4,c5] ~ [e4,g4,d5] ~ [e4,g4,c5]@3 ~ [e4,g4,c5] ~", // C Em7 C
  W: "[d4,g4,b4] ~ [d4,g4,b4] ~ [d4,g4,b4]@2 [d4,g4,c5] ~ [d4,g4,b4]@5 ~ [e5,g5] ~", // G Csus2 G Em
  X: "[e5,g5]@2 [d5,f#5] ~ [d5,f#5]@2 [e5,g5]@2 [d5,f#5]@2 [c5,e5] ~ [b4,d5]@2 [a4,c5]@2", // Em D Em D C Bm Am
  Y: "g5@2 f5@2 d5@2 b4@2 g4@3 ~ [g4,b4,d5,g5]@2 ~@2", Z: "[g4,c5,e5]@8 [g4,c5,e5] ~@3 [c4,e4,g4,c5] ~@3",
})).s("gm_accordion").gain(0.2).pan(0.4)

// other · trombone
const trombone = note(`<
  ~@3 A B C D E F G H I J K L M N O H ~@2 P Q R ~ P S T ~ U V T A B C D E F G H I J K L M N O H ~@2 P Q R ~ P S T ~ U V
  T A B C D E F G H I J K L M N O H
>`.pickRestart({
  A: "e5 ~ e5 ~ e5 ~ e5!3 ~ e5 ~ e5 ~ e5@2", B: "b4 ~ b4 ~ b4 ~ b4 ~ b4@4 ~@2 b4 ~",
  C: "f5 ~ f5 ~ f5@2 e5 ~ d5@4 ~@2 d5 ~", D: "e5 ~ e5 ~ e5 ~ e5 ~ e5@4 ~@2 b4 ~",
  E: "e5 ~ e5 ~ e5 ~ e5!3 ~ e5 ~ e5 ~ e5 ~", F: "b4 ~ b4 ~ b4 ~ b4 ~ b4@3 ~@3 b4 ~",
  G: "b4 ~ b4 ~ b4 ~ b4@2 g5 ~ f5 ~ f5@2 e5 ~", H: "e5@9 ~@7", I: "f5 ~ f5 ~ f5 ~ f5 ~ f5 ~ f5 ~ f5 ~ f5 ~",
  J: "f5@2 e5 ~ e5@2 f5 ~ e5@4 ~@2 e5 ~", K: "f5 ~ f5 ~ f5 ~ f5 ~ f5@3 ~@3 f5@2", L: "e5 ~ e5 ~ e5 ~ f5@2 g5@3 ~@5",
  M: "f5 ~ f5 ~ f5 ~ f5 ~ f5 ~ f5@2 f5 ~ f5 ~", N: "f5@2 e5 ~ e5@2 f5@2 e5@4 ~@2 e5 ~",
  O: "f5 ~ f5 ~ f5 ~ f5 ~ f5 ~ f5@2 f5@2 f5 ~", P: "~@10 b4 ~ b4 ~ b4@2", Q: "c5@4 ~@6 c5 ~ c5@2 b4@2", R: "d5@7 ~@9",
  S: "c5@3 ~@3 d5@2 e5@2 c5 ~ c5 ~ c5@2", T: "b4@7 ~@9", U: "~@14 g5 ~", V: "g5@2 f#5!3 ~ g5!2 f#5 ~ e5 ~ d5 ~ c5@2",
})).s("gm_trombone").gain(0.2).pan(0.3)

// chords · electric guitar muted · "MUTED GTR"
const electric_guitar_muted = note(`<
  ~ A B C A@2 C@2 A@2 D E F A C E F A B G A@2 G A@3 G A C A G H C A@2 C@2 A@2 D E F A C E F A B G A@2 G A@3 G A C A G H
  C A@2 C@2 A@2 D E F A C E F A B
>`.pickRestart({
  A: "~@2 [d4,g4,b4] ~@3 [d4,g4,b4] ~@3 [d4,g4,b4] ~@3 [d4,g4,b4] ~", // G
  B: "~@2 [e4,g4,c5] ~@3 [e4,g4,c5] ~ [e4,g4,c5] ~@7", // C
  C: "~@2 [e4,g4,c5] ~@3 [e4,g4,c5] ~@3 [e4,g4,c5] ~@3 [e4,g4,c5] ~", // C
  D: "~@2 [e4,g4,c5] ~@3 [e4,g4,c5] ~ [e4,g4,c5] ~@3 [e4,g4,c5] ~@3", // C
  E: "~@2 [c4,f4,a4] ~@3 [c4,f4,a4] ~@3 [c4,f4,a4] ~@3 [c4,f4,a4] ~", // F
  F: "~@2 [c4,e4,g4] ~@3 [c4,e4,g4] ~@3 [c4,e4,g4] ~@3 [c4,e4,g4] ~", // C
  G: "~@2 [d4,f#4,a4] ~@3 [d4,f#4,a4] ~@3 [d4,f#4,a4] ~@3 [d4,f#4,a4] ~", // D
  H: "~@2 [d4,g4,b4] ~@3 [d4,g4,b4] ~ [d4,g4,b4] ~@7", // G
})).s("gm_electric_guitar_muted").gain(0.14).pan(0.6)

// drums · kick
const kick = s("bd").struct("<A B@9 C B@7 D B@20 C B@7 D B@20 C B@8>".pickRestart({
  A: "~@3 x", B: "x!4", C: "x ~ x!2", D: "x!3 ~",
})).gain(0.6)

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

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@19 A@4 B A@7 B ~@16 A@4 B A@7 B ~@16>".pickRestart({
  A: "~ x ~ x ~ x ~ x", B: "~ x ~ x ~@4",
})).gain(0.23)

// drums · hihat
const hihat = s("hh").struct(`<
  ~ A B C D@2 E C D@2 F C D@2 E C D@2 G A@2 H@2 I A H@3 A H@2 J C D@2 E C D@2 F C D@2 E C D@2 G A@2 H@2 I A H@3 A H@2 J
  C D@2 E C D@2 F C D@2 E C D@2 K
>`.pickRestart({
  A: "~ x!7", B: "x!5 ~ x ~", C: "~@2 x!3 ~ x!2", D: "x ~ x!3 ~ x!2", E: "x ~ x!3 ~ x ~", F: "x ~@5 x ~@2 x ~@2 x ~@3",
  G: "x ~ x ~ x ~ x ~@2 x ~@6", H: "x!8", I: "x!7 ~", J: "x!5 ~@3", K: "x ~ x ~ x ~ x ~ x ~@4 x ~@2",
})).gain(0.45)

// drums · open hat
const open_hat = s("oh").struct("<~@3 A@7 B A@7 C ~@12 D A@7 B A@7 C ~@12 D A@7 B A@7 D>".pickRestart({
  A: "~ x ~@3 x ~@2", B: "~ x ~@2 x ~@3", C: "~ x", D: "~@3 x",
})).gain(0.38)

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

stack(
  bass, clarinet, trumpet, accordion, trombone, electric_guitar_muted, kick, snare, snare_soft, hihat, open_hat, crash
)