Strudelify

wish you were here

Roger Waters - David Gilmour

KeyG majorTempo60 bpm
0:00/0:00
// wish you were here — Roger Waters - David Gilmour
// 60 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: ch 2 "Oboe" named as a reed, played on oboe (its string ensemble 1 patch is not one); ch 3 "Clarinete Sib" named as a reed, played on clarinet (its pizzicato strings patch is not one); ch 6 "Glockenspiel" named as a mallet, played on glockenspiel (its pizzicato strings patch is not one); ch 7 "Xylofón" named as a mallet, played on xylophone (its tremolo strings patch is not one); ch 8 "Guitarra solo" named as a guitar, played on overdriven guitar (its string ensemble 1 patch is not one); ch 9 "Guitarra acústica" named as a guitar, played on electric guitar clean (its pizzicato strings patch is not one)
// note: Transcription provider: pdmx. https://musescore.com/score/1139041; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 74 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(60/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.

// other · tremolo strings · "Flauta"
const tremolo_strings = note(`<
  ~@20 A@4 B C@3 D E@2 F G H@3 ~@4 I G I G J K@2 L M N O P Q ~@4 I G I G R@2 ~@4 I G I G H@3
>`.pickRestart({
  A: "[~@2 c5 b4 g4@4 ~@2 c5 b4 c5 b4 g4 a4@3 d4@6 ~@4 d5 b4 d5 e5@2 d5@2 b4@5 ~@2 e5@2 e5 d5 b4 d5@3 b4@6 ~@2 b4 c5!2 b4 g4@2]/4",
  B: "a4@2 d4@6 ~@2 d5 d5@2 d5 b4@2", C: "[c5 b4 g4@2 e4@4 ~@2 g4 d5@2 d5 b4 c5@9 ~@2 c5 b4 c5 b4 g4 g4@17]/3", D: "c5",
  E: "a4/2", F: "g4", G: "a4", H: "g4/3", I: "g4@3 a4 b4@4", J: "b4",
  K: "[~@2 c6 b5 c6 b5 g5@2 ~@2 c6 b5 c6 b5 g5 a5@3 d5@6 ~@6 b5 d6]/2",
  L: "e6 d6 e6@2 e6@2 e6 d6 e6 d6 e6@2 e6 d6 b5@2", M: "~@2 d6@2 d6@2 b5 d6@5 ~@4",
  N: "~@2 d6 c#6 d6 c6 a5 d6@2 d6 d6@2 ~@4", O: "~ d6!2 c6 d6@2 c6 b5 g5@3 g5 d6 c6!2 b5",
  P: "c6 b5 g5@2 ~@6 c6 c6@3 b5 g5", Q: "c6 b5 g5@6 ~@8", R: "~@2 d5 b4 d5 e5@2 b4 ~ b4 d5 b4 d5 e5 ~@2",
})).s("gm_tremolo_strings").gain(0.3)

// chords · oboe
const oboe = note(`<
  ~@11 A B C@2 D E F G H ~@7 I J K L M@2 N@2 O P Q P Q R S R T U V@2 W X Y Z AA AB P Q P Q R S R T AC@2 P Q P Q R S R T
  AD@2 AE
>`.pickRestart({
  A: "~@2 a4 b4 d5@4 e5 b4 d5@4 b4 [g4,a4]", B: "g4@6 e4 g4@9", C: "[~@2 a5@2 g5@2 e5@2 d5@2 b4@2 e5@2 d5 b4@17]/2",
  D: "~@2 a4 b4 d5 b4 e5@6 d5 b4 d5@2, b3", E: "a4@4 b4 c5 d5 e5 c#5@2 a4@6, a3",
  F: "~@2 a4 b4 d5 b4 e5@4 e5 f#5 e5 d5 e5@2, b3", G: "a4@6 c#5 b4 a4@8, a3", H: "[b3,g4]", I: "g4", J: "[e3,g4]",
  K: "[d3,f#4]", L: "[c3,e4]", M: "[d3,d4]/2", N: "[g3 a3, e4]/2", O: "g3@8 ~@2 g3@2 a3 b3 d4@2, d4@7 ~",
  P: "e4@6 g4 e4", Q: "d4@8 ~@2 g3@2 a3 b3 d4@2", R: "~@3 f#4 ~ e4 d4 b3, e4 g4", S: "a3@8 ~@2 g3@2 a3 b3 d4@2, g4",
  T: "a3@8 ~@2 e4 d4 a3 b3 d4@2, g4", U: "[g3,g4]",
  V: "[~@2 e5 d5 e5 d5 c5@2 ~@2 e5 d5 e5 d5 b4 d5@3 a4@6 ~@6 f#5 g5]/2",
  W: "g5 f#5 g5@2 g5@2 g5 f#5 g5 f#5 g5@2 g5 f#5 e5@2", X: "~@2 g5@2 g5@2 g5 g5@5 ~@4",
  Y: "~@2 f#5 e5 f#5 e5 d5 f#5@2 f#5 f#5@2 ~@4", Z: "~ d5 g5 e5 g5@2 e5 d5 c5@3 d5 g5 e5!2 d5",
  AA: "e5 d5 c5@2 ~@6 e5 e5@3 d5 b4", AB: "e5 d5 b4@6 ~@2 g3@2 a3 b3 d4@2",
  AC: "[~@2 d5 b4 d5 e5@2 b4 ~ b4 d5 b4 d5 e5 ~@4 d5 b4 d5 e5@2 b4 ~ b4 d5 b4 [a3,d5] [b3,e5] d4@2, g3@12 ~ g3 ~@2]/2", // D5 E5
  AD: "[g4@16 g4@8 ~@4 a3 b3 d4@2, g3@9 ~@7]/2", AE: "b3",
})).s("gm_oboe").gain(0.3)

// chords · oboe · soft notes
const oboe_soft = note("<~@11 A@4 ~@5 B C B D C E F ~@18 G H I J@2 K L M ~@21>".pickRestart({
  A: "b3/2", B: "e4", C: "f#4", D: "d4", E: "g4", F: "a4", G: "g3 e3", H: "d3", I: "c3", J: "d3/2", K: "g3", L: "a3",
  M: "g3 ~",
})).s("gm_oboe").gain(0.2)

// other · tremolo strings · "Trompeta Bb"
const tremolo_strings_2 = note("<~@27 A B C D A E F@2 A ~@4 G H G H C ~@12 G H G H I@2 ~@4 G H G H J@3>".pickRestart({
  A: "b3", B: "e4", C: "d4", D: "c4", E: "a3", F: "c4/2", G: "b3@3 c#4 d4@4", H: "d4 c#4", I: "[d4@3 ~]/2", J: "d4/3",
})).s("gm_tremolo_strings").gain(0.3)

// other · tremolo strings · "Trompeta Bb" · soft notes
const tremolo_strings_soft = note("<~@20 A B@2 A C D@2 ~@18 E F G H C D@2 H ~@21>".pickRestart({
  A: "g3", B: "a3/2", C: "a3", D: "c4/2", E: "e4", F: "d4", G: "c4", H: "b3",
})).s("gm_tremolo_strings").gain(0.2)

// other · string ensemble 1 · "Trombón"
const string_ensemble_1 = note(`<
  A B C B C D E D F G@2 B C B C D E D F H ~@7 I J K L M K N O P B C B C Q R Q S M ~@7 A B C B C Q R Q S T@2 B C B C Q R
  Q S U@2 V
>`.pickRestart({
  A: "~@10 g2@2 a2 b2 d3@2", B: "e3@6 g3 e3", C: "d3@8 ~@2 g2@2 a2 b2 d3@2", D: "e3@4 ~ e3 d3 b2",
  E: "a2@8 ~@2 g2@2 a2 b2 d3@2", F: "a2@8 ~@2 e3 d3 a2 b2 d3@2", G: "[g2@24 ~@2 g2@2 a2 b2 d3@2]/2", H: "g2", I: "g3",
  J: "[c3,e3]", K: "[f#2,f#3]", L: "[e2,e3]", M: "[g2,g3]", N: "[c3,g3]", O: "[a2,a3]",
  P: "g2@8 ~@2 g2@2 a2 b2 d3@2, b3", Q: "~@3 f#3 ~ e3 d3 b2, e3 g3", R: "a2@8 ~@2 g2@2 a2 b2 d3@2, a3",
  S: "a2@8 ~@2 e3 d3 a2 b2 d3@2, a3", T: "[[g2,g3]@24 ~@2 g2@2 a2 b2 d3@2]/2",
  U: "[g3@16 g3@8 ~@4 a2 b2 d3@2, g2@9 ~@7]/2", V: "e3",
})).s("gm_string_ensemble_1").gain(0.3)

// other · string ensemble 1 · "Trombón" · soft notes
const string_ensemble_1_soft = note("<~@20 A B A C B D E ~@18 F G H I G J K L ~@21>".pickRestart({
  A: "e3", B: "f#3", C: "d3", D: "g3", E: "a3", F: "g2 c3, e3", G: "[f#2,f#3]", H: "[e2,e3]", I: "[g2,g3]",
  J: "[c3,g3]", K: "[a2,a3]", L: "b3, g2 ~",
})).s("gm_string_ensemble_1").gain(0.2)

// other · glockenspiel
const glockenspiel = note("<~@28 A B C D B A C D ~@9 A B C D B A C D ~@21>".pickRestart({
  A: "~@2 e6@2 g6@2 e6 c6@9", B: "~@2 f#6@2 a6@2 f#6 d6@9", C: "~@2 e6@2 a6@2 e6 c6@9", D: "~@2 d6@2 b6@2 g6 d6@9",
})).s("gm_glockenspiel").gain(0.3)

// other · glockenspiel · soft notes
const glockenspiel_soft = note("<~@20 A B C D B A E D ~@46>".pickRestart({
  A: "c3@4 ~@2 c3 c3@5 ~@4", B: "f#2@4 ~@2 f#2 f#2@5 ~@4", C: "e2@4 ~@2 e2 e2@5 ~@4", D: "g2@4 ~@2 g2 g2@5 ~@4",
  E: "a2@4 ~@2 a2 a2@5 ~@4",
})).s("gm_glockenspiel").gain(0.2)

// other · xylophone · "Xylofón"
const xylophone = note("<~@28 A B C D B A C D ~@9 A B C D B A C D ~@21>".pickRestart({
  A: "~@2 g5@2 c6@2 g5 e5@9", B: "~@2 a5@2 d6@2 a5 f#5@9", C: "~@2 a5@2 c6@2 a5 e5@9", D: "~@2 g5@2 d6@2 b5 g5@9",
})).s("gm_xylophone").gain(0.3)

// chords · overdriven guitar · "Guitarra solo"
const overdriven_guitar = note(`<
  ~@9 A@2 B C B C B D B D C ~@8 E F B C F E D G H I J K L M N O C P F B C F E D G Q R Q R S T S U V@2 W X Y@2 Z AA AB AC
  V@2 AD
>`.pickRestart({
  A: "[g1@3 ~]/2", B: "e1", C: "g1", D: "a1", E: "c2", F: "f#1", G: "g1@8 ~@2 g1@2 a1 b1 d2@2",
  H: "~ b4 ~ b4!3 ~ b4 b4@4 [g2,a4]@2 [e2,g4]@2, e2@3 ~", I: "~ e5 ~ d5 b4 a4 ~ g4 ~@2 g1@2 a1 b1 d2@2, d2 b4",
  J: "~@2 b4@2 a4@2 g4@2 ~ e4 g4 e4 [g2,a4]@2 [e2,g4]@2, e2@3 ~", // Gsus2 Em
  K: "e4@4 a3 g3 a3 g3 b3 d4 [g1,d4]@2 a1 [b1,e4] ~ e4, d2@4 ~@3 [d2,g4]", // G5 E5 G5
  L: "a4@2 g4 e4 g4@2 e4@2 e4!2 [e2,g4]@2 ~ g4 [b1,e4]@2, e2@4 ~@2 [d2,a4] ~", // Em E5 D5
  M: "~ e5 ~ d5 a4@2 g4 e4 a4@2 ~ e4 [a1,a4] [b1,e4] [d2,g4]@2, a1@4 ~ [g1,g4] ~@2", // A E5 G5 G
  N: "~ e4 g4 e4 a4@2 g4 e4 ~@2 e2@2 d2@2 ~ b3, e2@4 e4@2 ~ [b1,d4]", // Bm
  O: "c#4@2 a3@4 g3 e3 ~@2 e2 d2 a1 b1 d2@2, a1@2 a3 ~", P: "g1 c2", Q: "e2@6 g2 e2", R: "d2@8 ~@2 g1@2 a1 b1 d2@2",
  S: "e2@4 ~ e2 d2 b1", T: "a1@8 ~@2 g1@2 a1 b1 d2@2", U: "a1@8 ~@2 e2 d2 a1 b1 d2@2",
  V: "[g1@24 ~@2 g1@2 a1 b1 d2@2]/2", W: "~@2 a4 b4 a4@2 g4!2 d4@2 ~@2 g2@2 [e2,g4]@2, e2@3 ~, ~@5 e4@2 ~",
  X: "~@2 d4 b3 d4@2 e4@2 ~@2 g1@2 a1 b1 d2@2, d2 ~",
  Y: "[~@2 g4 e4 g4@2 a4 g4 a4 b4 d5@2 ~ d5 e2@2 ~@2 b4!2 a4 g4 e4 d4 b3@2 g1@2 a1 b1 d2@2, e2@6 [g2,e5] b4@2 ~@4 b3@3, ~@2 d2 ~]/2", // C
  Z: "~ a4 b4 d5!2 a4 b4 d5!2 a4 ~ d5 ~ a4 ~ a4, e2@4 ~ [e2,b4] [d2,d5] [b1,b4]", // E5 D B
  AA: "c#5 e5 e5@6 a4 b4 [g1,d5]@2 [a1,b4] [b1,c#5] [d2,e5]@2, a1 ~", // G5 Asus2 Bsus2 Dsus2
  AB: "a4 b4 d5@2 d5@2 g4@2 ~@3 e4 ~ e4 [b1,g4]@2, e2@4 ~ [e2,g4] [d2,g4] ~", // Em G5
  AC: "~@2 g4 e4 g4@2 ~@4 e2 d2 a1 b1 d2@2, a1 ~, ~@3 a4@3 ~@2", AD: "e2",
})).s("gm_overdriven_guitar").gain(0.3)

// chords · electric guitar clean · "Guitarra acústica"
const electric_guitar_clean = note(`<
  A B C B C D E D F G@2 B C B C D E D F H ~@15 H B C B C D E D F I ~@7 H B C B C D E D F I J B C B C D E D F K@2 L
>`.pickRestart({
  A: "~@10 g2@2 a2 b2 d3@2", B: "~@2 [g3,d4,g4]@2 [g3,d4,g4]@3 g3@5 ~@2 e3@2, e3@3 g3, ~@7 [d4,g4]@9",
  C: "~@2 [g3,d4,g4]@2 [g3,d4,g4]@3 ~@3 g2@2 a2 b2 d3@2, d3@7 [g3,d4,g4]@9", // G5
  D: "~@2 [g3,d4,g4]@2 [g3,d4,g4]@3 ~@3 e3@2 d3@2 b2@2, e3@7 [g3,d4,g4]@9", // G5
  E: "~@2 [a3,d4,g4]@2 [a3,d4,g4]@3 ~@3 g2@2 a2 b2 d3@2, a2@7 [a3,c#4,g4]@9", // Dsus4 A7
  F: "~@2 [a3,d4,g4]@2 [a3,d4,g4]@3 ~@3 e3 d3 a2 b2 d3@2, a2@7 [a3,c#4,g4]@9", G: "[g2@24 ~@2 g2@2 a2 b2 d3@2]/2",
  H: "g2@8 ~@2 g2@2 a2 b2 d3@2", I: "g2", J: "b3!4", K: "[g2@24 ~@2 g3@2 a2 b2 d3@2]/2", L: "[e2,b2,e3,g3,d4,g4]",
})).s("gm_electric_guitar_clean").gain(0.3)

// chords · electric guitar clean · "Guitarra acústica" · soft notes
const electric_guitar_clean_2 = note("<~ A B A B C D C D ~@11 E F G H F E I H ~@46>".pickRestart({
  A: "~@2 e1@2 e1@3 e1@5 ~@4", B: "~@2 g1@2 g1@3 g1@5 ~@4", C: "~@2 e1@2 e1@3 e1@9", D: "~@2 a1@2 a1@3 a1@9",
  E: "c2@4 ~@2 c2 c2@5 ~@4", F: "f#1@4 ~@2 f#1 f#1@5 ~@4", G: "e1@4 ~@2 e1 e1@5 ~@4", H: "g1@4 ~@2 g1 g1@5 ~@4",
  I: "a1@4 ~@2 a1 a1@5 ~@4",
})).s("gm_electric_guitar_clean").gain(0.2)

// other · string ensemble 1
const string_ensemble_1_2 = note(`<
  ~@15 A@4 ~@9 B C@2 B D B E F ~@4 G H I H J ~@12 I H I H J K L M L M N H O P Q@2 E
>`.pickRestart({
  A: "g4/2", B: "g4", C: "a4/2", D: "f#4", E: "e4", F: "d4", G: "~@6 f#4 ~ g4@8", H: "a4", I: "e4@6 f#4 ~ g4@8",
  J: "b4", K: "b4@8 ~@2 g3@2 a3 b3 d4@2", L: "e4@6 g4 e4", M: "d4@8 ~@2 g3@2 a3 b3 d4@2", N: "e4@3 f#4 g4@2 b4@2",
  O: "e5@3 f#5 g5@2 b5@2", P: "a5@12 a5 b5 a5 g5", Q: "[g5@24 ~@2 g3@2 a3 b3 d4@2]/2",
})).s("gm_string_ensemble_1").gain(0.3)

// other · string ensemble 1 · soft notes
const string_ensemble_1_soft_2 = note("<~@11 A@4 ~@21 B C B C D ~@4 E F@2 E G E B C B C B C ~@17>".pickRestart({
  A: "g4/2", B: "e4", C: "d4", D: "e4@3 ~@5", E: "g4", F: "a4", G: "f#4",
})).s("gm_string_ensemble_1").gain(0.2)

// other · pizzicato strings
const pizzicato_strings = note(`<
  ~
  [~@2 g4@2 g4@3 g4@5 ~@4]!8
  [~@2 g4@2 g4@3 g4@2 g4@2 g4@2 g4 g4@2]
  [~@2 g4@2 g4@3 g4@2 g4@2 g4 ~@4]
  ~@8
  [~@2 g4@2 g4@3 g4@2 g4@2 g4@5]
  ~@54
>`).s("gm_pizzicato_strings").gain(0.2)

// other · string ensemble 1
const string_ensemble_1_3 = note(`<
  ~@15 A B A B ~@9 C D C E D F@2 E ~@4 G B H B I ~@12 H B H B I J K L K L M N O P Q@2 I
>`.pickRestart({
  A: "e4", B: "d4 c#4", C: "c4", D: "d4", E: "b3", F: "c4/2", G: "~@6 a3 ~ b3@8", H: "g3@6 a3 ~ b3@8", I: "g3",
  J: "g3@8 ~@2 g3@2 a3 b3 d4@2", K: "e4@6 g4 e4", L: "d4@8 ~@2 g3@2 a3 b3 d4@2", M: "e4@3 f#4 g4@2 b4@2", N: "a4",
  O: "e5@3 f#5 g5@2 b5@2", P: "a5@12 a5 b5 a5 g5", Q: "[g5@24 ~@2 g3@2 a3 b3 d4@2]/2",
})).s("gm_string_ensemble_1").gain(0.3)

// other · string ensemble 1 · soft notes
const string_ensemble_1_soft_3 = note("<~@11 A B A B ~@21 C D C D E ~@4 F B F D B G@2 D C D C D ~@17>".pickRestart({
  A: "e4", B: "d4", C: "g3", D: "b3", E: "g3@3 ~@5", F: "c4", G: "c4/2",
})).s("gm_string_ensemble_1").gain(0.2)

// other · pizzicato strings
const pizzicato_strings_2 = note("<~ A@5 B A B C D ~@8 E ~@54>".pickRestart({
  A: "~@2 d4@2 d4@3 d4@5 ~@4", B: "~@2 d4@2 d4@3 c#4@5 ~@4", C: "~@2 d4@2 d4@3 d4@2 d4@2 d4@2 d4 d4@2",
  D: "~@2 d4@2 d4@3 d4@2 d4@2 d4 ~@4", E: "~@2 d4@2 d4@3 d4@2 d4@2 d4@5",
})).s("gm_pizzicato_strings").gain(0.2)

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

// drums · snare
const snare = s("sd").struct("<~@20 [~ x ~ x]!8 ~@8 [~ x ~ x]!4 ~@34>").gain(0.3)

// drums · hihat
const hihat = s("hh").struct("<~@28 [x!8]!45 ~>").gain(0.3)

// drums · crash
const crash = s("cr").struct("<~@20 A ~ A ~ A ~ A ~ A ~@7 A ~@8 A ~@7 A ~@9 A ~@9 A>".pickRestart({
  A: "x",
})).gain(0.3)

// … 6 more lines