Strudelify

naruto - the rising fighting spirit

Toshiro Masuda

KeyG majorTempo120 bpm
0:00/0:00
// naruto - the rising fighting spirit — Toshiro Masuda
// 120 bpm, 12/8, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 2 "Violin" violin (copy of ch 1 "Flute" flute)
// note: Transcription provider: pdmx. https://musescore.com/score/267546; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 51 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/6)

// 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 · lead 2 sawtooth · "Keyboard Synthesizer"
const lead_2_sawtooth = note("<~@2 A ~ B ~ A ~ B ~@7 C ~@7 D ~@7 E F G H I F G J K ~ A ~ C ~ A ~ C L M>".pickRestart({
  A: "~@2 [a4,d5,f#5,a5] [a4,c#5,e5,a5]", B: "~ [c5,e5,g5,c6] ~ [c5,e5,g5,c6]@3 ~ [b4,d#5,f#5,b5] ~ [b4,d#5,f#5,b5]@3",
  C: "~ [c5,e5,g5,c6] ~ [c5,e5,g5,c6]@3 ~ [b4,f#5,b5] ~ [b4,f#5,b5]@3", // C B5
  D: "~ [c5,e5,g5,c6] ~ [c5,e5,g5,c6]@3 ~ [b4,d5,f#5,b5] ~ [b4,d5,f#5,b5]@3", // C Bm
  E: "[d5,f#5,a5,d6] ~ [d5,f#5,a5,d6] ~ [d5,f#5,a5,d6] ~ [d5,f#5,a5,d6]@3 ~@3", // D
  F: "g5@10 f#5 g5 a5@6 d6@6, [g4,b4,e5] [a4,d5,f#5]", G: "c6@10 b5 a5 [b4,d5,g5,b5]@12, [c5,g5] ~",
  H: "e6@10 d6 c6 b5@6 g5@6, [c5,e5,g5] [g4,b4,d5]", I: "a5@10 g5 a5 [b4,d#5,f#5,b5]@12, [a4,d5,f#5] ~",
  J: "e6 d6 c6 b5 a5 g5, [c5,e5,g5] [a4,d5,f#5]", // C D
  K: "[e5,g5,b5,e6]@2 ~@2 [e5,g5,b5,e6]@2 ~@2 [e5,g5,b5,e6]@2 ~@2 [e5,g5,b5,e6]@3 ~@9", // Em
  L: "[e4,g4,b4,e5,g5,b5,e6] ~ [e4,g4,b4,e5,g5,b5,e6] ~ [e4,g4,b4,e5,g5,b5,e6] ~ [e4,g4,b4,e5,g5,b5,e6] ~ [e4,g4,b4,e5,g5,b5,e6] ~ [e4,g4,b4,e5,g5,b5,e6] ~", // Em
  M: "[e4,g4,b4,e5,g5,b5,e6] ~@3", // Em
})).s("gm_lead_2_sawtooth").gain(0.3)

// other · shamisen · "Hutozao Shamisen"
const shamisen = note("<~@25 A B C D E F G H I J K L I J M N ~@8 O P>".pickRestart({
  A: "e3 b3 a3 b3@2 b3 e3 b3 a3 b3@2 b3", B: "e3 b3 a3 b3@2 b3 b3@2 a3 a3@2 e3", C: "g3@2 e3 g3@2 e3 g3!2 e3 g3@2 a3",
  D: "d4@2 a3@2 b3@2 d4@2 e4@3 e4", E: "e4@4 e4@2 d4 e4@3 e4@2 g4@4 e4@2 a4@4 e4@2",
  F: "g4 a4@3 b4@4 b4@2 b4@2 b4@4 a4@4 a4@4", G: "d5!4 b4 d5 b4 d5 b4 d5 b4 d5", H: "d5 ~ d5 ~ d5 ~ d5@3 ~@3",
  I: "g4@10 f#4 g4 a4@6 d5@6", J: "c5@10 b4 a4 b4@12", K: "e5@10 d5 c5 b4@6 g4@6", L: "a4@10 g4 a4 b4@12",
  M: "e5 d5 c5 b4 a4 g4", N: "e5@2 e5@2 e5@2 e5@3 ~@3", O: "e5!6", P: "e5 ~@3",
})).s("gm_shamisen").gain(0.3)

// chords · distortion guitar · "Electric Guitar"
const distortion_guitar = note(`<
  A B C B D B C B D E F E F G H B D E F I F G H B D G@2 J K L J G M N O P Q N O P R B C B D B C B D S T
>`.pickRestart({
  A: "~@20 b2 [a2,a#2] [g2,g#2] [f2,f#2]", B: "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] ~ [b2,e3] ~ [b2,e3] ~ [f#2,f#3]@4 [f#2,f#3]@2 [f#2,f#3] ~ [f#2,f#3] ~ [f#2,f#3] ~", // E5 F#
  O: "[d3,g3]@4 [d3,g3]@2 [d3,g3] ~ [d3,g3] ~ [d3,g3] ~ [d3,g3]@4 [d3,g3]@2 [d3,g3] ~ [d3,g3] ~ [d3,g3] ~", // G5
  P: "[c3,g3]@4 [c3,g3]@2 [c3,g3] ~ [c3,g3] ~ [c3,g3] ~ [d3,g3]@4 [d3,g3]@2 [d3,g3] ~ [d3,g3] ~ [d3,g3] ~", // C5 G5
  Q: "[d3,g3]@4 [d3,g3]@2 [d3,g3] ~ [d3,g3] ~ [d3,g3] ~ [b2,g3]@4 [b2,g3]@2 [b2,g3] ~ [b2,g3] ~ [b2,g3] ~", // G5 Em
  R: "[b2,e3]@4 [b2,e3]@4 [b2,e3]@4 [b2,e3]@6 b2 a#2 a2 [g2,g#2] f#2 f2", S: "[e3,b3,e4]!6", T: "[e3,b3,e4] ~@3",
})).s("gm_distortion_guitar").gain(0.48)

// bass · electric bass finger · "Bass Guitar"
const bass = note(`<
  A B C B D B C B D E F E F G H B D E F E F G H B D G@2 I J K I G L M N O P M N Q R B C B D B C B D S T
>`.pickRestart({
  A: "~@20 b1 [a1,a#1] [g1,g#1] [f1,f#1]", B: "e1!3 g1 f#1 e1 b1 a1 g1 a1 g1 f#1", C: "e1!3 g1 f#1 e1 d2@3 a1@3",
  D: "~ c2 ~ c2@3 ~ b1 ~ b1@3", E: "e1!12", F: "d1!12", G: "c2!12", H: "d2!12", I: "b1!12",
  J: "e1@2 e1 f#1@2 f#1 g1@2 g1 g#1@2 g#1", K: "a1!12", L: "d2 ~ d2 ~ d2 ~ d2@3 ~@3", M: "e1!6 f#1!6", N: "g1!12",
  O: "c2!6 g1!6", P: "d2!6 b1!6", Q: "c2!6 d2!6", R: "[b1,e2]@2 [b1,e2]@2 [b1,e2]@2 [b1,e2]@3 ~@3", S: "e2!6",
  T: "e2 ~@3",
})).s("gm_electric_bass_finger").gain(0.17)

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

// drums · snare
const snare = s("sd").struct(`<
  A B@2 C D B@2 C E B@6 F D B@3 G B H I E B@6 J K B E B@4 L M B@2 C D B@2 C D N O
>`.pickRestart({
  A: "~ x", B: "~ x ~ x", C: "~@3 x ~@5 x!3", D: "~ x ~ x ~@3 x ~ x ~@2", E: "~@2 x ~@3 x ~@7 x!2 ~@8",
  F: "~@3 x ~@4 x ~ x ~", G: "~@3 x ~@3 x ~ x ~@2", H: "~@3 x ~@3 x ~ x!3", I: "~@6 x ~@11 x!2 ~@4", J: "~@3 x ~@4 x!4",
  K: "~@18 x!3 ~ x ~", L: "~@3 x ~@5 x!2 ~", M: "x!4 ~@2", N: "x!6", O: "x",
})).gain(0.48)

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

// drums · low tom
const low_tom = s("lt").struct("<[x!2 ~@22] ~@7 [~@2 x] ~@15 [~@2 x] ~@9 [~@2 x] ~@16>").gain(0.48)

// drums · mid tom
const mid_tom = s("mt").struct("<~@8 A ~@15 A ~@7 B ~ A ~@16>".pickRestart({
  A: "~@10 x!2", B: "~ x ~@3 x ~@3 x ~@3 x ~@10",
})).gain(0.48)

// drums · high tom
const high_tom = s("ht").struct("<A ~@7 B ~@11 C ~@3 B ~@7 D ~ B ~@5 B ~@8 E ~>".pickRestart({
  A: "~@6 x!2 ~@16", B: "~@3 x", C: "~@10 x!2", D: "x!4 ~@2", E: "x!6",
})).gain(0.48)

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

stack(lead_2_sawtooth, shamisen, distortion_guitar, bass, kick, snare, hihat, low_tom, mid_tom, high_tom, crash)