Strudelify

Don't Turn Around

Aswad

KeyB majorTempo98 bpm
0:00/0:00
// Don't Turn Around — Aswad
// 98 bpm, 4/4, key B major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: pitch bends are ignored
// note: Full arrangement: all 91 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(98/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 · acoustic bass
const bass = note(`<
  A B C D E F G H I F J H K L M N O F P Q R F S T U V W X Y F G H I F J H K Z AA AB AC AD AE AF AG AH AE AI T AJ AK AL
  AM AN AO AP AQ AE AF AG AR AS AT T AU AE AF AG AR AS AV T AU AE AW H AX AE AW H AX AE AW H AX AE AW H AX AY@2
>`.pickRestart({
  A: "~@12 f#1 g#1 b1 g#1", B: "b1@3 ~@3 b1 ~ c#2@3 ~@3 c#2 ~", C: "e2@3 ~@3 e2 ~ f#2@3 ~ e2@3 ~",
  D: "b1@3 ~@3 b1 ~ c#2@2 ~@5 f#2", E: "~ e2 f#2@3 ~ d#2 ~ e2@3 ~ d#2@2 ~@2", F: "b1 ~ b1!4 d#2 ~ e2@2 ~@4 e2 ~",
  G: "f#2@2 ~@4 f#2 ~ e2@3 ~ d#2@2 ~@2", H: "b1 ~ b1!4 d#2 ~ e2@2 ~@5 f#2",
  I: "~ e2 f#2@2 ~@2 d#2 ~ e2@2 ~@2 d#2@2 ~@2", J: "f#2@2 ~@4 f#2 ~ e2@2 ~@2 d#2@2 ~@2",
  K: "~ e2 f#2@2 ~@2 d#2 ~ e2@3 ~ b2!4", L: "e2@2 ~@4 e2 ~ e2@2 ~@2 c#2!4", M: "f#2@2 ~@4 f#2 ~ f#2 ~@3 b2!4",
  N: "e2@2 ~@4 e2 ~ e2 ~@3 b2!3 ~", O: "f#2@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~@3 d#2 ~ e2@3 ~ d#2@2 ~@2",
  AS: "b1 ~ b1!2 [a1,b1] b1 d#2 ~ e2 ~@5 e2 ~", AT: "c#2 ~@5 e2 ~ f#2@3 ~ e2@2 ~@2",
  AU: "f#1 ~ f#1 ~@3 f#1@5 ~ f#1@2 ~@2", AV: "c#2 ~@5 e2 ~ f#2@3 ~ f#2@2 ~@2", AW: "c#2@2 ~@4 e2 ~ f#2@3 ~ e2@2 ~@2",
  AX: "~ e2 f#2@2 ~@2 d#2 ~ e2@3 ~ d#2@3 ~", AY: "b1/2",
})).s("gm_acoustic_bass").gain(0.45)

// chords · electric guitar clean
const electric_guitar_clean = note(`<
  ~ A B C B D E D E D E D E F G F H I J I K I J L M I H I N D E D E D E D E B G B@2 O I J I K I J L M P Q B K B R S I J
  I K I J L M ~@8 I J I K I J I K I J I K I J I K T@2
>`.pickRestart({
  A: "~@2 [b3,d#4,f#4] ~@3 [f#3,b3,d#4] ~@3 [g#3,c#4,e4] ~@3 [e3,g#3,c#4] ~", // B C#m
  B: "~@2 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~", // E
  C: "~@2 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [g#3,c#4,e4] ~@3 [e3,g#3,c#4] ~", // B C#m
  D: "~@2 [b3,d#4,f#4] ~@3 [b3,d#4,f#4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~", // B E
  E: "~@2 [a#3,c#4,f#4] ~@3 [a#3,c#4,f#4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~", // F# E
  F: "~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~", // E
  G: "~@2 [f#3,b3,c#4] ~@3 [f#3,b3,c#4] ~@3 [f#3,b3,c#4] ~@3 [f#3,b3,c#4] ~", // F#sus4
  H: "~@2 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [f#3,b3,d#4] ~", // E B
  I: "~@2 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~", // B E
  J: "~@2 [g#3,c#4,e4] ~@3 [g#3,c#4,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~", // C#m E
  K: "~@2 [f#3,a#3,c#4] ~@3 [f#3,a#3,c#4] ~@3 [f#3,a#3,c#4] ~@3 [f#3,a#3,c#4] ~", // F#
  L: "[g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~ [g#3,c#4,e4] ~", // C#m
  M: "[g#3,b3,e4] ~ [g#3,b3,e4] ~@3 [b3,e4,g#4]@8 ~@2", // E
  N: "~@2 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,d#4] ~", // E G#m
  O: "[f#3,g#3,b3,e4] ~@3 [f#3,g#3,b3,e4] ~@11", // E
  P: "~@2 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [g#3,c#4,e4] ~@3 [g#3,c#4,e4] ~", // B C#m
  Q: "~@2 [g#3,b3,e4] ~@3 [g#3,b3,e4] ~@3 [g#3,b3,c#4,e4] ~@3 [g#3,b3,c#4,e4] ~", // E C#m7
  R: "[g#3,b3,e4]@3 [g#3,b3,d#4] ~@4 [g#3,b3,e4]@3 [g#3,b3,d#4] ~@4", S: "[g#3,b3,e4]@2 ~ [f#3,b3,d#4] ~@12",
  T: "[b3,d#4,f#4]/2", // B
})).s("gm_electric_guitar_clean").gain(0.35).pan(0.3)

// chords · percussive organ
const percussive_organ = note(`<
  ~@25 A ~ B ~@14 C ~ C ~ C ~@10 C ~ D ~ C ~@3 C ~ D ~ C ~@3 E ~@2 C ~@4 C ~@2 C ~@6
>`.pickRestart({
  A: "[g#4,b4,d#5,f#5]!2 ~@4 [g#4,b4,d#5,f#5]!2 [g#4,b4,c#5,e5]!2 ~@6", // G#m7 C#m7
  B: "[d#4,f#4,g#4,b4]!2 ~@4 [d#4,f#4,g#4,b4]!2 [e4,g#4,b4,c#5]!2 ~@6", // G#m7 C#m7
  C: "[f#4,b4,d#5]!2 ~@4 [f#4,b4,d#5]!2 [e4,g#4,b4,c#5]!2 ~@6", // B C#m7
  D: "[b4,d#5,f#5]!2 ~@4 [b4,d#5,f#5]!2 [b4,e5,g#5]!2 ~@6", // B E
  E: "[f#5,b5,d#6]!2 ~@4 [f#5,b5,d#6]!2 [e5,g#5,b5]@2 ~@2 [b4,e5,g#5]@3 ~", // B E
})).s("gm_percussive_organ").gain(0.3).pan(0.7)

// other · pad poly
const pad_poly = note(`<
  ~ A@4 ~@8 B C D E@2 ~@4 F G H ~ I@3 J ~@3 J ~@3 B C D E@2 ~ K L ~ M N@2 ~@11 O P@3 Q R@3 S T@3 Q U V W X ~ U ~ Y U V W
  X ~ U ~ Y ~@2
>`.pickRestart({
  A: "[d#5@4 f#4@2 g#4@6 d#5@2 c#5@4 d#5 ~@5 e5 ~ e5 ~ e5 ~ d#5@6 f#4@2 g#4@22 ~@4]/4", B: "~ g#3 b3 d#4@5", C: "c#4",
  D: "~ g#3 b3 c#4 d#4@4", E: "[f#4@5 ~@3]/2", F: "~ g#3", G: "a3", H: "g#3 b3",
  I: "[~@8 e5 ~ e5 ~ e5 ~ d#5@6 f#4@2 g#4@20 ~@6]/3", J: "d#5 e5", K: "~ g#3 b3 c#4", L: "f#3@7 ~",
  M: "f#4@5 ~ f#4@2 e4@8", N: "[~@4 g#3 b3 d#4 c#4@8 ~]/2", O: "~@8 e5@3 ~ e5@4",
  P: "[d#5@4 f#4@2 g#4@6 d#5@2 c#5@4 b4 ~@5 g#4@2 b4@2 d#5@2 c#5@18]/3", Q: "b4",
  R: "[d#5@4 f#4@2 g#4@6 d#5@2 c#5@4 d#5@2 ~@4 e5 ~ e5 ~ e5 ~ d#5@6 f#4@2 g#4@8 ~@2]/3", S: "~@8 e5@3 ~ e5@3 ~",
  T: "[d#5@2 f#4 g#4@3 d#5 c#5@2 b4 ~@2 g#4 b4 d#5 c#5@9]/3", U: "~@2 [b4,d#5,f#5] ~@3 [b4,e5,g#5] ~",
  V: "~ g#4 b4 c#5", W: "~@4 [b4,d#5,f#5]@3 ~@5 [g#4,b4,e5]@3 ~, f#4@5 ~@3", X: "~ g#4 b4 d#5",
  Y: "~@4 g#4@3 ~ b4@2 ~@2 c#5@3 ~",
})).s("gm_pad_poly").gain(0.4)

// other · electric guitar muted
const electric_guitar_muted = note("<~ A ~ A ~@21 A ~ A ~@21 B A ~@40>".pickRestart({
  A: "d#3 f#3 g#3 b3 ~ b3 g#3 f#3 b3!2 g#3 ~@5", B: "~@12 b3 g#3 e3 ~",
})).s("gm_electric_guitar_muted").gain(0.4)

// chords · string ensemble 1
const string_ensemble_1 = note(`<
  ~@13 A B C D E@4 ~@2 F@2 ~@12 A B C G@2 ~@6 F@2 ~@13 F@2 H@4 ~@2 F@2 I@8 J@8 K@2
>`.pickRestart({
  A: "[e4,g#4,b4,d#5]", B: "[f#4,b4,c#5]", C: "[e4,g#4,b4]", D: "[g#4,b4,e5]", E: "[b5@63 ~]/4",
  F: "[c#4@16 b6 g#6 e6 b5 g#5 e5 b4 g#4 b4@3 ~ g#4@3 ~, e4@7 ~, g#4@23 ~@9, ~@4 b3@3 ~]/2",
  G: "[[g#4,b4,e5]@11 ~@5]/2", H: "b5/4", I: "[~ b6, b5]/8",
  J: "[~@64 b6@48 b6 g#6 e6 b5 g#5 e5 b4 g#4 b4@3 ~ g#4@3 ~, b5@115 ~@13]/8", K: "[b3,d#4,f#4,b5]/2",
})).s("gm_string_ensemble_1").gain(0.25)

// other · marimba
const marimba = note(`<
  ~@2 A ~@15 B ~@3 B ~@3 A ~@16 A ~@3 B ~@3 B ~@6 B ~@3 B ~@3 B ~@3 B ~@3 B ~@3 B ~@3 B ~@3 B ~@4
>`.pickRestart({
  A: "[e5,g#5] ~@2 [e5,g#5] ~@12", B: "[c#4,c#5]@2 [b3,b4] [c#4,c#5] ~@12",
})).s("gm_marimba").gain(0.4)

// other · lead 8 bass lead
const lead_8_bass_lead = note("<~@28 A@2 B@2 C@2 D E ~@37 F G H G F I J K F G H G F I J K ~@2>".pickRestart({
  A: "[~@8 d#4 ~ d#4 ~ e4 f#4 ~ f#4@2 e4 d#4@3 ~ d#4 e4@3 f#4 ~@5]/2", B: "[~@8 e4@2 d#4@2 f#4@2 d#4@7 ~@11]/2",
  C: "[~@6 d#4 ~ d#4 ~ d#4@2 e4 f#4@2 e4@5 d#4@2 e4@4 f#4@2 ~@4]/2", D: "~@8 d#4@3 ~ b3@2 c#4@2",
  E: "d#4 ~ d#4!4 ~ e4 ~@8", F: "~@6 g#3!2 b3@2 g#3!2 b3@2 g#3@2", G: "b3 g#3@2 ~@5",
  H: "~@6 g#3!2 b3@2 g#3@2 ~@2 f#3 g#3", I: "b3 g#3@3 ~@4", J: "~@6 g#3!2 b3@2 g#3!2 b3!2 g#3@2", K: "b3@2 g#3@7 ~@7",
})).s("gm_lead_8_bass_lead").gain(0.4).pan(0.3)

// drums · kick
const kick = s("bd").struct(`<
  ~ A B C D A B C D A B C D E@3 F E A E A E A E G A B C D A B C D A B C D A E A E H E A E A E A E G I@2 J K J L M E A E
  A E A E G E A E A E A E G E A E A E A E G E A E A E A E G N ~
>`.pickRestart({
  A: "x ~@2 x!2 ~@2 x", B: "x ~@2 x!2 ~ x ~", C: "x ~@5 x ~ x ~@6 x", D: "~ x!2 ~@3 x ~ x ~@3 x ~ x ~",
  E: "x ~@2 x!2 ~@3", F: "~@2 x!2", G: "x ~@2 x!2 ~ x!2", H: "x!2 ~@2", I: "x!4", J: "x ~ x!3 ~ x!2",
  K: "x ~ x!3 ~ x ~", L: "x ~@2 x ~@4 x ~@2 x ~@4", M: "x ~@2 x ~@12", N: "x",
})).gain(0.5)

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

// drums · clap
const clap = s("cp").struct(`<
  A B@3 C B@3 C B@3 C B@3 C B C B C B C B C B@3 C B@3 C B@3 C B@4 ~ B C B C B C B C B D C B@2 E F B C B C B C B C B C B
  C B C B C B C B C B C B C B C B C B C B C ~@2
>`.pickRestart({
  A: "~@3 x", B: "~ x ~ x", C: "~@4 x ~@7 x!2 ~@2", D: "~@4 x ~@9 x!2", E: "x ~@2 x ~@4 x ~@2 x ~@4",
  F: "x ~@2 x ~@8 x ~ x!2",
})).gain(0.4)

// drums · hihat
const hihat = s("hh").struct("<~ A B@14 C B@12 A B@11 ~ A B@12 ~@2 A B@7 A B@7 A B@7 A B@7 ~@2>".pickRestart({
  A: "~ x!7", B: "x!8", C: "x ~ x ~@2 x ~ x",
})).gain(0.25)

// drums · low tom
const low_tom = s("lt").struct("<~@16 A B@8 ~@15 C ~ B@8 ~ C ~@39>".pickRestart({
  A: "~@3 x!2 ~ x ~", B: "~ x ~ x", C: "~@3 x",
})).gain(0.35)

// drums · mid tom
const mid_tom = s("mt").struct("<[~@7 x] ~@15 [~@5 x ~@10] ~@34 [~@4 x!3 ~ x ~@2 x ~@4] ~@39>").gain(0.45)

// drums · crash
const crash = s("cr").struct("<~@16 A ~@24 B ~@13 C D ~@32 E ~>".pickRestart({
  A: "~@2 x!2", B: "x!2 ~@2", C: "x ~@2 x ~@4 x ~@2 x ~@4", D: "x ~@2 x ~@12", E: "x",
})).gain(0.45)

// drums · high tom
const high_tom = s("ht").struct("<~@16 [~ x ~@2] ~@34 [~ x ~@6] ~@39>").gain(0.45)

// drums · tambourine
const tambourine = s("tb").struct("<~@5 A ~@11 B@8 C D@3 A ~@11 E B@8 C D@4 F G B@32 ~@2>".pickRestart({
  A: "x", B: "x!8", C: "~ x!3", D: "x!4", E: "x!2 ~@2", F: "x ~@2 x ~@4 x ~@2 x ~@4", G: "x ~@2 x ~@12",
})).gain(0.3)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<~ A B@39 C B@13 ~ C B@32 ~@2>".pickRestart({
  A: "~@2 x!3 ~ x!3 ~ x!3 ~ x!2", B: "x ~ x!3 ~ x!3 ~ x!3 ~ x!2", C: "~@10 x!3 ~@3",
})).gain(1.01)

// drums · shaker
const shaker = s("sh").struct(`<
  [~@12 x!3 ~]
  [x!16]!40
  [x ~@3 x ~@5 x!6]
  [x!16]!13
  [x!4 ~@4 x!4 ~@4]
  [x!4 ~@6 x!6]
  [x!16]!32
  ~@2
>`).gain(0.25)

stack(
  bass, electric_guitar_clean, percussive_organ, pad_poly, electric_guitar_muted, string_ensemble_1, marimba,
  lead_8_bass_lead, kick, snare, clap, hihat, low_tom, mid_tom, crash, high_tom, tambourine, cabasa, shaker
)

More by Aswad