Strudelify
I Put A Spell On You cover art

1968 · Creedence Clearwater Revival

I Put A Spell On You

Creedence Clearwater Revival

KeyE minorTempo100 bpm
0:00/0:00
// I Put A Spell On You — Creedence Clearwater Revival
// 100 bpm, 6/8, key E minor. Source: mcgill + midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 113 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(100/3)

// 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.

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel = note(`<
  ~ A@6 B@2 A@4 B@4 C@3 D A@4 B@2 E@2 A@2 C@2 A B C D A@2 B@2 A@4 B@4 C@3 D A@4 B@2 E@2 A@2 C@2 A B F G H I@2 J K A B@2
  A@4 B@4 C@3 D A@4 B@2 E@2 A@2 C@2 A B F G H I@2 J L@3 ~
>`.pickRestart({
  A: "[b3,e4,g4] ~ [b3,e4,g4] ~ [b3,e4,g4] ~ [b3,e4,g4] ~ [b3,e4,g4] ~ [b3,e4,g4] ~", // Em
  B: "[c4,e4,a4] ~ [c4,e4,a4] ~ [c4,e4,a4] ~ [c4,e4,a4] ~ [c4,e4,a4] ~ [c4,e4,a4] ~", // Am
  C: "[d#4,f#4,b4] ~ [d#4,f#4,b4] ~ [d#4,f#4,b4] ~ [d#4,f#4,b4] ~ [d#4,f#4,b4] ~ [d#4,f#4,b4] ~", // B
  D: "[d#4,f#4,b4]@3 ~ [d#4,f#4,b4]@3 ~ [d#4,f#4,b4]@3 ~ [d#4,f#4,b4]@3 ~ [d#4,f#4,b4]@4 [d#4,f#4,b4]@4", // B
  E: "[e4,g4,c5] ~ [e4,g4,c5] ~ [e4,g4,c5] ~ [e4,g4,c5] ~ [e4,g4,c5] ~ [e4,g4,c5] ~", // C
  F: "[d#4,f#4,b4]@3 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~@4 a3@4 ~@5 a3@2 ~ [a3,c#4]@3 ~@5", // C#m A C#m A C#m A C#m A …
  K: "[a3,b3,e4,g4]@3 ~ [b3,e4,g4]@2 ~@2 [b3,e4,g4]@2 ~@2 [b3,e4,g4]@2 ~@2 [b3,e4,g4]@2 ~@2 [b3,e4,g4]@2 ~@2, a2, e3@5 ~@7, c#4 ~@23", // Em
  L: "[[c#4,e4]!2 ~ [a3,c#4,e4] [c#4,e4]!2 ~ [c#4,e4] [a3,c#4,e4] [c#4,e4] ~ [c#4,e4]!3 ~ [c#4,e4] ~ e4 ~ [c#4,e4]!3 ~@3 [g3,e4]@47, a2@23 [c#4,e4]@2 ~@47, e3@5 e3@5 e3@2 [e2,b2,e3]@24, a3@3 ~ a3@3 ~@4 a3@5 [a3,c#4,e4]@2 a3@6 ~@48]/3", // C#m A C#m A C#m C C#m E5 …
})).s("gm_acoustic_guitar_steel").gain(0.33).pan(0.3)

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  A B C B C B D E F B C B D E G E G H I J K L M B N E O P@2 B Q H I B R J K B D E F B C B D E G E G H I J K L M B N E O
  P@2 B Q H I B R S T U V W X B D E F B C B D E G E G H I J K L M B N E O P@2 B Q H I B R S T U V W X Y Z@2 ~
>`.pickRestart({
  A: "~@3 b1 g1 f#1", B: "e1 g1", C: "b1@3 g1@2 b1", D: "b1@3 e1 f#1 g1", E: "a1 c2", F: "e2@3 c2@2 e2",
  G: "e2@3 c2 e2 c2", H: "b1 d#2", I: "f#2@3 d#2 f#2 d#2", J: "b1 d#2 f#2 b2 d#2 f#2", K: "b2 d#2 f#2 b2 d2 d#2",
  L: "e2 g1", M: "b1@3 g1 b1 g1", N: "b1@3 f#1 g1 b1", O: "e2@12 a1@3 ~ a1@4 b1@4",
  P: "c2@2 c2 g1 c2@2 c2@2 c2 g1 c2@2", Q: "b1@3 g1 a1 a#1", R: "a1@3 c2@2 e2", S: "b1!6", T: "c2!6", U: "f2!6",
  V: "d2@2 a2@2 d3@2 a2@2 d2@3 ~ d2@2 f#2@2 a2@2 f#2@2 d2@3 ~",
  W: "g2@2 d3@2 g3@2 d3@2 g2@3 ~ g2@2 b2@2 d3@2 b2@2 g2@3 ~", X: "a2!6", Y: "a2!3 c#3 d3 d#3", Z: "e2/2",
})).s("gm_fretless_bass").gain(0.38)

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel_2 = note(`<
  A B@2 C@2 D@4 C@2 E@6 F G H I@4 J@7 K L@3 H M@5 C@2 E@6 F G H I@4 J@7 K L@3 H N O P Q R@5 C@2 E@6 F G H I@4 J@7 K L@3
  H N S P Q T@2 U@2 ~
>`.pickRestart({
  A: "~@3 b2 g2 f#2", B: "[e2@3 ~@3 e4@4 [b3,d4]!2, ~@12 g2@10 g3@19 ~@7, ~@21 [e2,e3]@20 ~@7, ~@23 b3@17 ~@8]/2",
  C: "[e2 ~ e4@2, ~@6 g2@5 g3@13, ~@7 e3@9, ~@23 b3@25]/2",
  D: "[e2@6 ~@6 e4@8 [e3,g3,b3,e4]@2 [e3,g3,b3,e4] ~ e4@21 ~@3, ~@6 g2@5 g3@9 ~@3 a3@22 ~@3, ~@21 e3@19 ~@56, ~@23 b3@17 ~@7 c4@43 ~@6]/4", // Em
  E: "[e2@12 ~@12 e4@22 ~@2 e4@22 ~@2 e4@11 ~ [a2,e3]@3 ~ [e3,a3,c4]@4 [e3,g3,b3]@2 ~@2 e4@22 ~@2 e4@12 ~ e4@11, ~@12 g2@10 g3@24 a3@24 e3@13 ~@11 e3@22 ~@2 e3@14 [e3,a3,c4]@11 ~, ~@21 e3@26 c4@23 ~@74, ~@23 b3@25 ~@23 [a3,c4]@13 ~@11 [a3,c4]@22 ~@2 [a3,c4]@13 ~@12]/6", // A5 Am Em Am
  F: "~ b4@10 ~ [f#4,b4]@11 ~, [b3,d#4,f#4]@11 [b3,d#4]@12 ~", // B5 B
  G: "~ b4@10 ~ [f#4,b4]@8 [b3,d#4,f#4,b4]@4, [b3,d#4,f#4]@11 [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~@8 a3@2 ~@2 a3@4 a3@3 ~@26 e3@19 ~@56, ~@13 c#4@2 ~@31 g3@18 ~@7 c4@43 ~@6]/5", // A C#m A C#m A C#m Em A5
  S: "[f3,a3,c4,e4]@4 [f3,a3,c4,e4]@4 b2 c3 ~@2 [f3,a3,c4,e4]@4 [f3,a3,c4,e4]@4 [a3,c4,e4]@2 ~@2, ~@2 [f3,a3,c4,e4] ~@3", // Fmaj7 Am Fmaj7
  T: "[[a3,c#4,e4] e4 c#4 [a3,c#4,e4]!2 c#4 e4 [c#4,e4]!3 ~ [a3,c#4,e4] [c#4,e4] ~ e4!2 [c#4,e4]!2 ~ [a3,c#4,e4]!2 c#4 e4 [c#4,e4] e4!2 ~ [a3,c#4,e4]!2 c#4 e4 [a3,c#4,e4] ~ [c#4,e4] a3 [a3,c#4,e4] [c#4,e4] [a3,c#4,e4] ~ [a3,c#4,e4] e4!2 a3 [a3,c#4,e4] [a3,c#4,e4]@4, ~@5 a2@33 ~@10, ~@5 [e3,a3]@3 e3@13 [e3,a3]@3 e3@8 [e3,a3,c#4,e4]@2 e3@5 ~ e3@8, ~@8 a3@2 ~@2 a3@4 a3@3 ~@5 [a3,c#4]@3 ~@13 [a3,c#4]@3 ~@5, ~@13 c#4@2 ~@33]/2", // A C#m A C#m A C#m A C#m …
  U: "[~ [g3,e4]@47]/2", // C
})).s("gm_acoustic_guitar_steel").gain(0.38).pan(0.9)

// chords · overdriven guitar · "OVERDRIVE"
const overdriven_guitar = note(`<
  ~@37 A B C D E F G H I@2 J@2 K L M N O@2 P@4 Q R S T U@2 V@2 W X Y Z AA AB@2 ~@39
>`.pickRestart({
  A: "~@4 b2@2 d3@2 e3@2 g3 ~ a3@8 d4@3 ~, ~@6 b3 ~@5", B: "e4@4 e4@3 ~ e4@3 ~ e4@3 ~ e4@3 ~ e4@3 ~",
  C: "e4@6 d4@2 c4@3 ~ e4@6 d4@2 c4@2 ~@2", D: "e4@19 ~ c4@2 ~@2, ~@19 d4@2 ~@3",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e4] ~ [c#4,e4]!4 [a3,c#4,e4] [c#4,e4]!2 [a3,c#4,e4] [c#4,e4] ~ [c#4,e4]!3 [a3,c#4,e4]!2 [c#4,e4] [c#4,e4]@2 ~@23, [e3,a3]@3 ~ [e3,a3,c#4,e4]@2 [e3,a3,c#4,e4]@2 [e3,a3]@4 e3@4 [e3,a3,c#4,e4]@2 e3@4 [e3,a3]@3 ~@23, ~@6 a3 ~@2 a3 ~@14]/2", // C#m A C#m A C#m A C#m A …
})).s("gm_overdriven_guitar").gain(0.38).pan(0.6)

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

// drums · snare
const snare = s("sd").struct(`<
  A B C B D B@5 D B E B@4 F@2 G H B I B J B K B L B@5 C G H B@5 D B E B@4 F@2 G H B I B J B K B L B@5 C M@2 N@3 O B@5 P
  B Q B@3 E M R S T B U B V B W N@2 B@4 V X M@2 N@4 Y ~@3
>`.pickRestart({
  A: "x!2 ~ x!3 ~ x!3 ~ x!3 ~ x!3 ~ x!3 ~ x", B: "~ x", C: "~@6 x ~ x!4", D: "~@3 x!2 ~", E: "~@3 x!3",
  F: "~ x ~@2 x ~", G: "~ x!5", H: "x ~ x ~ x ~ x ~ x!4", I: "~@12 x ~@4 x ~ x ~@4", J: "~@12 x ~@4 x ~ x ~ x ~ x",
  K: "~@2 x!2", L: "~@2 x ~ x ~ x ~ x!3 ~", M: "~ x!2 ~ x!2", N: "x!6", O: "x ~@3 x ~@3 x ~@3 x ~@3 x!2 ~ x!3 ~ x",
  P: "~@12 x ~@3 x!2 ~ x!2 ~@2 x", Q: "~@4 x ~@3 x ~@3 x ~@2 x ~@3 x!2 ~@2 x", R: "x!3 ~ x!2",
  S: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@4", T: "~@3 x ~@3 x ~@3 x ~@3 x!2 ~@2 x!2 ~ x ~", U: "~@12 x ~@3 x ~@2 x ~@3 x",
  V: "~@12 x ~@3 x!2 ~ x!3 ~ x", W: "~@12 x ~@6 x ~@4", X: "~@12 x ~@3 x!2 ~ x!2 ~@3", Y: "x",
})).gain(0.44)

// drums · pedal hat
const pedal_hat = s("hh").struct("<[x!6] ~@23 [~@4 x!2] ~@31 [~@4 x!2] ~@56>").gain(0.27)

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

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

stack(acoustic_guitar_steel, bass, acoustic_guitar_steel_2, overdriven_guitar, kick, snare, pedal_hat, crash, ride)

More by Creedence Clearwater Revival