Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

Ghost Dance

Techno beat with call/answer cello

Try it

// Pulsing bass synth - drops out sometimes
$: n("<0 [0 7] 5 [3 10]>*8").scale("d:minor").trans(-24)
  .s("<z_sawtooth triangle sawtooth triangle>".slow(4))
  .lpf("<800 1200 600 1000>".slow(4))
  .resonance("<5 8 3 6>".slow(4))
  .gain("<0.2 0.6 0.2 0.6>".slow(4))  // Quiet on cycle 3
  .room(0.2)
  ._pianoroll()

// Walking bass pattern - silent sometimes, varied volume
$: n("<[0 0 7 5] ~ [0 5 3 7] [0 7 5 3]>").scale("d:minor").trans(-24)
  .s("triangle")
  .lpf(350)
  .resonance(10)
  .gain("<0.7 ~ 0.5 0.6>".slow(4))  // Silent cycle 2, quieter cycle 3
  .distort(0.2)
  ._pianoroll()

// Haunted melody - only plays when bass is quiet/gone
$: n("<~ <0 -5 3 0 -7 3 5 0 -5 3 7 3 0 -5 3 7 5 0 -2 0>*4 <0 3 7 10 7 0 -7 -5 0 5 7 3 0 -5 0 3 5 0 -7 -5>*4 <0 -2 5 0 -5 3 7 0 -7 5 10 5 0 -5 3 7 3 0 -5 0>*4>").scale("d:minor").trans(-12)
  .s("<~ gm_cello gm_fiddle gm_cello>".slow(4))
  .lpf("<~ 1000 1200 900>".slow(4))
  .resonance(5)
  .gain("<~ 0.5 0.6 0.5>".slow(4))  // Silent first cycle
  .room(0.8)
  .delay(0.4)
  ._pianoroll()

// Deep, punchy kick - minimal pattern
$: s("<[bd:0 ~ bd:0 ~] [bd:0 ~ bd:0 bd:0] [bd:0 ~ ~ bd:0] [bd:0 bd:0 ~ bd:0]>")
  .gain(0.5)
  .lpf(100)  // Keep it subby
  ._scope()

// Rimshot/stick - sparse and eerie
$: s("~ <rim:4 ~ rim:4 slapstick:2> ~ <rim:4 ~>").gain(0.35)

// Minimal hi-hats - sparse, ghostly
$: s("<~ hh:12*4 ~ hh:12*8>").gain(0.3)

// Deep tom hits for drama
$: s("<~!7 [tom:6 ~ tom2:5]>").gain(0.4).lpf(500)

// Metallic textures - industrial feel
$: s("<~ ~ metal:2 ~>").gain(0.25).pan(0.7).delay(0.5)

// Reverse cymbal build (every 16 cycles)
$: s("<~!15 crash:2>").gain(0.3).room(0.9)

// Subtle shaker for movement 
$: s("<~ shaker_small*2 ~ ~>").gain(0.2)
Last updated on 16 Nov 2025
Published on 16 Nov 2025