pull down to refresh

This is The Door's Waiting for the Sun in javascript. At least a modern take on it.
Lyrics at the bottom. 👇 You can listen to the song and play with the code here on Strudel.cc
//////////////////////////////////////////////////////////////////////////////////////////
//
// Waiting for the Sun
// @license CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
// @by Bitcoin Graffiti
// @date Sep 13, 2025 
//
//////////////////////////////////////////////////////////////////////////////////////////

samples('github:yaxu/clean-breaks')
setcpm(40)

const drum = s("amen/4").fit().chop(16).cut(1).sometimesBy(.5, ply("2")).sometimesBy(.25, mul(speed("-1"))).color('yellow').gain(1)
const chords = note("<[d, f#, a, c4][b2, d, g, b][a#2, d, g, a#][a2, d, f#, a]>").s("gm_fx_atmosphere:7").color('teal').room(1)
const arpeggio = note("<[d f# a c4 ][b2 d g b][a#2 d g a#][a2 d f# a]> ~!4").s("gm_guitar_harmonics:3").vib(8).room(1).color('blue').gain(1.5)
const bass = note("d <[a c4][g b][g a#][f# a]> [~ <a g g f#>] <[c4 a][b g][a# g][a f#]>").s("gm_shamisen:1").color('red').gain(2).room(.5)


arrange(
  [4, stack(chords, bass)],
  [8, stack(chords, arpeggio, bass)],
  [16, stack(chords, arpeggio, drum, bass)],

).pianoroll({labels: 1})
Lyrics
At first flash of Eden We race down to the sea Standing there on freedom's shore Waiting for the sun Waiting for the sun Waiting for the sun Can you feel it Now that spring has come And it's time to live in the Scattered sun Waiting for the sun Waiting for the sun Waiting for the sun Waiting for the sun Waiting Waiting Waiting Waiting Waiting Waiting Waiting Waiting Waiting for you to Come along Waiting for you to Hear my song Waiting for you to Come along Waiting for you to tell me what went wrong This is the strangest Life I've ever Known Can't you feel it Now that spring has come That it's Time to live in the Scattered sun Waiting for the sun Waiting for the sun Waiting for the sun Waiting for The sun
this territory is moderated