Strudelify
Vira e mexe cover art

1999 · 1999

Vira e mexe

Andre & Adriano

KeyE majorTempo90 bpm
0:00/0:00
// Vira e mexe — Andre & Adriano
// 90 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (2/4 at bar 1, 4/4 at bar 2, 2/4 at bar 21, 4/4 at bar 21, ...) are rendered on a constant 4/4 grid of one bar per cycle
// note: duplicate parts dropped: ch 8 trombone (copy of ch 3 brass section)
// note: Full arrangement: all 68 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(90/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, A@4 for four bars: edit a riff to change every repeat.

// chords · synth bass 1
const synth_bass_1 = note(`<
  ~@3 A B C B C B C B D E F G H E F G H I J K L M C N O P C N Q R B C B S F@2 T U V W X Y Z W X AA AB ~@7 AC W X Y Z W X
  AD AE AF ~
>`.pickRestart({
  A: "[e4,f#4,b4] ~ [e4,f#4,b4] ~ [e4,f#4,b4]!2 ~ [e4,f#4,b4]!3 [f#4,b4] [e4,f#4,b4]!2 [f#4,b4] [d#4,f#4,b4] ~", // Esus2 B5 Esus2 B5 B
  B: "~@2 [b3,e4,g#4]!2 ~@2 [b3,e4,g#4]!2 ~@2 [c#4,e4,a4]!2 ~@2 [c#4,e4,a4]!2", // E A
  C: "~@2 [b3,e4,g#4]!2 ~@2 [b3,e4,g#4]!2 ~@2 [d#4,f#4,b4]!2 ~@2 [d#4,f#4,b4]!2", // E B
  D: "~@2 [b3,e4,g#4]!2 ~@2 [b3,e4,g#4]!2 ~@2 [e4,f#4,b4]!2 ~@2 [d#4,f#4,b4]!2", // E Esus2 B
  E: "~@2 [b3,e4,g#4]!2 ~@2 [b3,e4,g#4]!2 ~@2 [b3,d#4,g#4]!2 ~@2 [b3,d#4,g#4]!2", // E G#m
  F: "~@2 [c#4,e4,g#4]!2 ~@2 [c#4,e4,g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~@2 b3 ~ b4 ~@11", // E5 E A5 E
  AD: "[b3,e4,g#4] ~@7 [d#4,f#4,b4] ~@7", // E B
  AE: "[e4,a4,c#5]@3 [e4,g#4,b4]@3 [e4,f#4,a4]@3 [e4,g#4,b4]@2 ~ [e4,a4,c#5] [e4,b4] [e4,a4] ~", AF: "[b3,e4,g#4]",
})).s("gm_synth_bass_1").gain(0.36)

// other · brass section
const brass_section = note(`<
  ~@3 A B C B D E F G H ~ I ~ J K L ~ M N O P Q R S T ~ U S V W X B C G Y Z AA AB AC AD AE AF ~ AG AE AH ~ AI ~@7 AJ AE
  AK ~ AL AE AM AN AO AP ~
>`.pickRestart({
  A: "b5 ~ b5 ~ b5!2 ~ b5!8 ~", B: "e5!2 ~ e5 g#5 ~ b5 ~@5 c#6 b5 g#5 f#5", C: "e5!2 ~ e5 c#5 ~ b4@7 ~@3",
  D: "e5!2 ~ e5 c#5 ~ f#5@6 ~@4", E: "~@3 e6 g#6 ~ b6 ~@5 c#7 b6 g#6 f#6", F: "e6!2 ~ e6 c#6 ~ b5@7 ~@3",
  G: "e6!2 ~ e6 g#6 ~ b6 ~@5 c#7 b6 g#6 f#6", H: "e6!2 ~ e6 c#6 ~ f#6@8 ~@2", I: "~@10 d#6 ~ d#6 c#6 b5 ~",
  J: "~@10 b5 ~ b5 c#6 d#6 f#6", K: "e6 ~@15", L: "~@10 g#5 b5 ~ d#6 b5 ~", M: "~@10 b5 c#6 ~ d#6 ~ f#6",
  N: "d#6@4 c6@4 c#6 ~@7", O: "~@2 d#6 b5 ~@12", P: "~@2 g#5 b5 ~@12", Q: "a5@4 b5@3 ~",
  R: "~@2 e5 f#5 ~ g#5 ~ b5 a5@4 b5@3 ~", S: "~@10 c#6 d#6 b5 ~@3", T: "~@10 d#6 e6 c#6 ~@3",
  U: "~@9 g#6 f#6 e6 b5 ~@3", V: "~@10 d#6 e6 c#6@2 b5@2", W: "a5 ~@3", X: "~@10 e6 c#6 ~ b5 g#5 f#5",
  Y: "e6!2 ~ e6 c#6 ~ f#6@6 c6@4", Z: "~@10 d#6 b5 ~@4", AA: "~@10 g#5 b5 ~@4", AB: "~ a5",
  AC: "b5@6 ~@4 e5 f#5 ~ g#5 ~ b5", AD: "a5@4 b5@3 ~@9", AE: "~@2 c#6 d#6 b5 ~@11", AF: "~@2 d#6 e6 c#6 ~@11",
  AG: "~ g#6 f#6 e6 b5 ~@11", AH: "~@2 d#6 e6 c#6@2 b5@2 a5@4 ~@4", AI: "~@2 e6 c#6 ~ b5 g#5 f#5 ~@8",
  AJ: "e6@5 c#6 b5 c#6 e6 ~@7, d#6 ~@15", AK: "~@2 d#6 e6 c#6@2 b5@2 a5@3 ~@5", AL: "e6 c#6 b5 c#6 b5 ~@11",
  AM: "~@2 d#6 e6 b5@4 a5@6 ~@2", AN: "e6 ~@7 b5 ~@7", AO: "a6@3 g#6@3 f#6@3 g#6@3 a6 g#6 f#6@2", AP: "e6",
})).s("gm_brass_section").gain(0.36)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  ~@3 A B C B C B C B D E F G H I J G K L M N O P C Q R S T U R S B C B D V W X Y Z AA AB C AC AA AB C AD ~@7 AE AA AB C
  AC AA AB AF AG AH ~
>`.pickRestart({
  A: "[b3,e4,f#4] ~ [b3,e4,f#4] ~ [b3,e4,f#4]!2 ~ [b3,e4,f#4]!5 [e4,f#4] [b3,e4,f#4] [b3,d#4,e4,f#4] ~", // Bsus4 Esus2 Bsus4 B
  B: "[g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4,g#4]@2 [g#3,b3,e4] ~ [a3,c#4,e4]@2 ~ [a3,c#4,e4] [e4,a4] ~ [a3,c#4,e4] ~", // E A A5 A
  C: "[g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4,g#4]@2 [g#3,b3,e4]@2 [f#3,b3,d#4]@2 ~ [f#3,b3,d#4] [d#4,f#4]@2 [f#3,b3,d#4] ~", // E B D#m B
  D: "[g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4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,c#4,e4] [e4,g#4]@2 [g#3,c#4,e4]@2 [a3,c#4,e4]@2 ~ [a3,c#4,e4] [e4,a4]@2 [a3,c#4,e4] ~", // C#m E C#m A A5 A
  AC: "[g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4,g#4] ~ [g#3,e4,a4] ~ [g#3,e4,g#4]@2 ~ [g#3,b3,e4] [e4,g#4]@2 [g#3,b3,e4]@2", // E Amaj7 C#m E
  AD: "[g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4,g#4]@2 [g#3,e4,a4] ~@9", // E Amaj7
  AE: "[g#3,b3,e4] ~ [e4,g#4]@2 [a3,c#4,e4] ~ [e4,a4] ~ [g#3,b3,e4]@2 ~ [g#3,b3,e4] [e4,g#4]@2 [g#3,b3,e4]@2", // E A A5 E
  AF: "[b3,e4,g#4] ~@7 [b3,d#4,f#4] ~@7", // E B
  AG: "[a3,e4,a4]@2 ~ [g#3,e4,g#4]@2 ~ [f#3,c#4,f#4]@3 [g#3,e4,g#4]@3 [a3,e4,a4] [g#3,e4,g#4] [f#3,f#4]@2", // A5 C#m F#5 C#m A5 C#m F#
  AH: "[e3,g#3,e4]", // E
})).s("gm_acoustic_guitar_steel").gain(0.41)

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

// drums · kick
const kick = s("bd").struct("<~ A@2 B A@7 C A@3 C A@8 C A@11 C A@4 D A@15 D A@6 E F G ~>".pickRestart({
  A: "x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~", B: "x ~ x ~ x!2 ~ x!8 ~", C: "x ~@2 x ~@2 x ~ x ~@7",
  D: "x ~@7 x ~@2 x ~@2 x ~", E: "x!2", F: "x ~@2 x ~@2 x ~@2 x ~@6", G: "x",
})).gain(0.46)

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

// drums · low tom
const low_tom = s("lt").struct("<~@11 A ~@3 A ~@8 A ~@11 A ~@4 B ~@15 B ~@10>".pickRestart({
  A: "~@15 x", B: "~@7 x ~@8",
})).gain(0.41)

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

// drums · mid tom
const mid_tom = s("mt").struct("<~@8 A B ~ C ~@3 D ~@4 E ~@3 F ~@9 B ~ C ~@4 G ~@9 H ~ I ~@3 G ~@7 J ~@2>".pickRestart({
  A: "x", B: "~@13 x!2 ~", C: "~@13 x!3", D: "~@6 x!2", E: "~ x ~@2", F: "~@12 x!3 ~", G: "~@4 x!3 ~@9",
  H: "~@5 x!2 ~@9", I: "~@7 x ~@8", J: "~@7 x",
})).gain(0.36)

// drums · open hat
const open_hat = s("oh").struct("<~ A@2 ~ A@7 B A@3 B A@8 C A@11 B A@4 D A@15 D A@6 ~ E ~@2>".pickRestart({
  A: "~ x ~ x ~ x ~ x", B: "~ x ~ x ~@4", C: "~ x ~ x!2 ~@3", D: "x ~@4 x ~ x", E: "~@3 x ~@5 x ~@6",
})).gain(0.26)

// drums · high tom
const high_tom = s("ht").struct(`<
  ~@8 A B ~ C ~@3 D ~@4 E ~@3 F ~@3 G ~@5 B ~ H ~@4 I ~@3 J ~@5 K ~ J ~@3 L ~@3 J ~@3 M ~@2
>`.pickRestart({
  A: "x", B: "~@13 x!2 ~", C: "~@9 x!4 ~ x!2", D: "~@9 x ~ x ~@4", E: "~ x ~@2", F: "~@9 x!3 ~ x!2 ~", G: "~@7 x",
  H: "~@9 x!4 ~@2 x", I: "~ x!3 ~ x!2 ~@9", J: "~@3 x ~@4", K: "~@5 x!2 ~@9", L: "~ x!3 ~@12", M: "~@12 x!2 ~@2",
})).gain(0.36)

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

// drums · bongos
const bongos = s("bongo:4").struct(`<
  ~@5 A ~ B ~ C ~ D ~@3 E ~@3 F ~@4 G ~@7 H ~ C ~ B ~@3 I ~@8 J K L ~ L ~@14
>`.pickRestart({
  A: "~@9 x!4 ~ x!2", B: "~@8 x ~ x!2 ~@4", C: "~@7 x!2 ~ x!2 ~@4", D: "~@9 x!3 ~@4", E: "~@7 x!2 ~ x ~@5",
  F: "~@10 x ~@2 x ~@2", G: "~ x ~@6", H: "~@12 x!2 ~@2", I: "~@5 x ~@2", J: "~@4 x!2 ~@10", K: "~@15 x",
  L: "x ~ x!2 ~@12",
})).gain(0.94)

// drums · bongos
const bongos_2 = s("bongo:18").struct(`<
  ~@5 A ~ B ~ C ~ D ~@3 E ~@3 F ~@4 G ~@7 H ~ B ~ B ~@3 I ~@8 J ~ K ~ K ~@14
>`.pickRestart({
  A: "~@9 x!4 ~ x!2", B: "~@8 x ~ x!2 ~@4", C: "~@7 x!2 ~ x!2 ~@4", D: "~@9 x!3 ~@4", E: "~@7 x!2 ~ x ~@5",
  F: "~@10 x ~@2 x ~@2", G: "~ x ~@6", H: "~@10 x ~ x!2 ~@2", I: "~@5 x ~@2", J: "~@2 x ~ x!2 ~@10", K: "x ~ x!2 ~@12",
// … 37 more lines