Strudelify

Rodopiou

Rionegro

KeyE majorTempo135 bpm
0:00/0:00
// Rodopiou — Rionegro
// 135 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: duplicate parts dropped: ch 5 accordion (copy of ch 1 accordion)
// note: Full arrangement: all 93 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(135/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.

// chords · accordion
const accordion = note("<A B C D E ~@25 F ~ G ~@3 H ~@7 A I J K L ~@44>".pickRestart({
  A: "~@10 [e3,e4,g#4]@2 [f#3,f#4,a4] ~ [g#4,b4] ~, ~@7 g#3", // E F#m G#m
  B: "[a3,c#5]@2 e4 ~ a3@2 ~ e4 a3@2 [a4,c#5]@2 a3@2 [e4,a4,c#5] ~, ~@4 e4 ~ [a4,c#5]@2 e4 ~@3 e4 ~@3", // A
  C: "[e3,g#4,b4]@2 e4 ~ e3@2 [g#4,b4]@2 e3@2 [g#4,b4]@2 e3@2 [e4,g#4,b4] ~, ~@4 e4 ~@3 e4 ~@3 e4 ~@3", // E G#m E
  D: "[b2,f#4,a4]@2 b3 ~ [b3,f#4] ~ [g#4,b4]@2 [b2,b3]@2 [f#4,a4]@2 b2@2 [b3,f#4,a4] ~, ~@4 b2@2 ~@6 b3 ~@3", // B7 B5 G#m B F#m B7
  E: "[a4,c#5]@2 e4 ~ e4 ~ [g#4,b4]@3 ~@7", F: "~@4 [d#5,f#5] b4 [d#5,f#5] b4 f#5@2 ~@6, ~@8 d#5 ~@7",
  G: "~@4 [e5,g#5] b4 [e5,g#5] b4 [e5,g#5] ~@7", H: "~@4 [e5,g#5] ~ [e5,g#5] b4 [e5,g#5] ~@7",
  I: "[a3,c#5]@3 e4 ~@2 [a4,c#5]@2 e4 ~ [a4,c#5]@2 e4 ~ [a3,e4,a4,c#5] ~, ~@6 a3 ~@9", // A
  J: "[e3,g#4,b4]@2 e4 ~ e4 ~ [g#4,b4]@2 e3@2 [g#4,b4]@2 e4 ~ [e4,g#4,b4] ~, ~@8 e4 ~@7", // E G#m E
  K: "[f#4,a4]@2 b3 ~ [b3,f#4] ~ [g#4,b4]@2 [b2,b3]@2 [f#4,a4]@2 b3 ~ [f#4,a4] ~, ~@2 b2 ~@5", // F#m B5 G#m B F#m
  L: "[a4,c#5]@2 e4 ~ e4 ~ [g#4,b4]@3 ~@7, ~@6 e3 ~@9", // A G#m
})).s("gm_accordion").gain(0.36)

// chords · accordion · soft notes
const accordion_soft = note("<~ A ~@2 B ~@31 C ~@8 D E F G ~@31 H I ~@11>".pickRestart({
  A: "~ a4@2 ~@13", B: "~@8 e4 ~@7", C: "~@5 b4 ~@10", D: "~ a4@2 ~ a3 ~@5 a3@2 ~@4", E: "~@4 e3@3 ~@5 e3 ~@3",
  F: "b2@2 ~@10 b2 ~@3", G: "a3 ~@7", H: "~@9 b4@2 ~ g#5 b4 [e5,g#5] b4", I: "[e5,g#5] ~@15",
})).s("gm_accordion").gain(0.18)

// bass · electric bass finger
const bass = note(`<
  ~ A B C D E F G H I@2 B J K L C I@3 M N O B P Q N B J R S T U V W X Y Z W X Y Z W X AA AB AC AD AE AD AF B AE R AG I B
  J L J AH I@3 M N O AI AJ Q O B J R AK AL AM V W AN AO Z W X Y Z W AP AA AB AQ AR J AS
>`.pickRestart({
  A: "a1@3 ~ e1@3 ~ a1@3 ~ a1@3 ~", B: "e2@3 ~ b1@3 ~ e2@3 ~ e2@2 ~@2", C: "b1@3 ~ f#1@3 ~ b1@3 ~ b1@2 ~@2",
  D: "e2@3 ~ b1@3 ~ e2@3 ~@2 e2@2 ~", E: "a1@3 ~ e1@3 ~ a1@2 ~@2 a1@2 ~@2", F: "e2@3 ~ b1@3 ~ e2@2 ~@2 e2@2 ~@2",
  G: "b1@3 ~ f#1@2 ~@2 b1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~ f#2@3 ~",
  AK: "e2@3 ~ g#1 ~ b1@2 e2@4 g#1 ~ a1 ~", AL: "b1@4 d#2@2 f#2@2 b1@3 ~ d#2 ~ f#2@2",
  AM: "b1@3 ~ d#2@2 f#2 ~ b1@4 d#2 ~ f#2 ~", AN: "b1@2 d#2 f#2 b1@2 ~ f#2, ~@13 d#2@2 ~",
  AO: "b1@4 d#2@2 f#2@2 b1@4 ~@2 f#2 ~, ~@13 d#2@2 ~", AP: "b1@5 d#2@2 ~ b1@4 d#2@2 f#2@2, ~@7 f#2@2 ~@7",
  AQ: "a1@3 ~ e1@3 ~ a1@3 ~ e1 ~ a1@2", AR: "e2@3 ~ b1@3 ~ e2@3 ~ e2@3 ~", AS: "e2 ~@7",
})).s("gm_electric_bass_finger").gain(0.53)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  ~ A B C D A E F G H B@2 F I F@2 J@3 K L M J F J M J F N J F@2 J@2 F@2 J@2 F@2 J@2 F@2 J L J F J L O F P J@3 F@4 J@3 K
  L M J F J L J F G J F@2 J@2 F@2 J@2 F@2 J@2 F@2 O L J Q R
>`.pickRestart({
  A: "~ [e3,a3,c#4] ~ [e3,a3,c#4] ~ [e3,a3,c#4] ~ [e3,a3,c#4]", // A
  B: "~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3] ~", // E
  C: "~ [f#3,b3,d#4] ~ [f#3,b3,d#4] ~ [f#3,b3,d#4] ~ [f#3,b3,d#4]", // B
  D: "~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3]@2", // E
  E: "~@3 b3 ~@2 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~, ~ [e3,g#3] ~@6", // E
  F: "~@2 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~", // B
  G: "~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~ [e3,g#3,b3]@2 ~@6", // E
  H: "~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3]@2 ~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3]@2", // E
  I: "~ f#3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~", // B
  J: "~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~", // E
  K: "~@2 [d3,g#3,b3] ~@3 [d3,g#3,b3] ~@3 [d3,g#3,b3] ~@3 [d3,g#3,b3] ~", // G#dim
  L: "~@2 [e3,a3,c#4] ~@3 [e3,a3,c#4] ~@3 [e3,a3,c#4] ~@3 [e3,a3,c#4] ~", // A
  M: "~@2 [e3,a3,c#4] ~@3 [e3,a3,c#4] ~@3 [e3,a3,c#4] ~@3 [a3,c#4] ~, ~@7 e3", // A
  N: "~@2 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~ [e3,g#3,b3] ~@7", // E
  O: "b3 ~ [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~@3 [e3,g#3,b3] ~", // E
  P: "~@2 [e3,g#3,b3] ~@3 e3 ~ [e3,g#3,b3] ~@7", Q: "~@2 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~@3 [f#3,b3,d#4] ~ f#3 ~@3",
  R: "[e3,g#3,b3] ~@15", // E
})).s("gm_acoustic_guitar_steel").gain(0.22)

// drums · kick
const kick = s("bd").struct("<~@92 x>").gain(0.51)

// drums · snare
const snare = s("sd").struct(`<
  ~ A B A B A B A C B@19 D A B A B A B A B A B A B A B A B A B A B A B A E B@19 C A B A B A B A B A B A B A B A B A B A
  ~
>`.pickRestart({
  A: "~ x ~ x ~ x ~ x", B: "~@2 x ~@3 x ~@3 x ~@3 x!2", C: "~ x ~ x!2 ~@3", D: "~ x ~ x ~@4", E: "~@2 x ~@3 x!2 ~@8",
})).gain(0.41)

// drums · pedal hat
const pedal_hat = s("hh").struct("<~ A@7 B C@19 D A@23 B C@20 A@19 ~>".pickRestart({
  A: "~ x ~ x ~ x ~ x", B: "~ x ~ x ~@4", C: "x!2", D: "x",
})).gain(0.51)

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

// drums · tambourine
const tambourine = s("tb").struct("<~ A@7 B C@19 D A@23 E C@19 D A@19 F>".pickRestart({
  A: "x!16", B: "x!9 ~@7", C: "~ x ~ x", D: "~ x ~@2", E: "x!8 ~@8", F: "x",
})).gain(0.46)

stack(accordion, accordion_soft, bass, acoustic_guitar_steel, kick, snare, pedal_hat, crash, tambourine)