Skip to content

Instantly share code, notes, and snippets.

View WindowDump's full-sized avatar

Chester Moses WindowDump

  • Lowell, Massachusetts
View GitHub Profile
@WindowDump
WindowDump / cold snap.rb
Last active May 11, 2023 23:16
sonic pi tune based around randomized melody and amen break slices
# cold snap, coded by window dump
use_bpm 128
set_volume! 0.5
define :pattern do |pattern|
return pattern.ring.tick == "x"
end
define :set_chord_main do
@WindowDump
WindowDump / surf_amen_slices.rp
Created January 31, 2023 06:24
Demo of a Sonic Pi track with a specific random melody and amen break slices
use_bpm 128
live_loop :set_chord do
chrds = []
chrds.append(degree(:i, :e2, :minor))
chrds.append(degree(:iv, :e2, :minor))
chrds.append(degree(:iii, :e2, :minor))
chrds.append(degree(:v, :e2, :minor))
chrds.append(degree(:i, :e2, :minor))
chrds.append(degree(:ii, :e2, :minor))
@WindowDump
WindowDump / nerdfunk_demo.rp
Created January 30, 2023 23:55
demo of a sonic pi song
live_loop :root_setter do
#chords = ring(:e3, :e3, :ab2, :ab2, :db3, :db3, :b2, :ab2, :e3, :e2, :gb3, :gb3, :ab2, :db3, :b2)
#chords = ring(:e3, :e3, :ab3, :ab2, :db3, :db3, :b2, :ab2, :gb3, :gb3, :ab3, :b2, :gb3, :ab2, :db3, :b2)
chords = ring(:e3, :e3, :db3, :b2, :gb3, :gb3, :e3, :db3, :e3, :e3, :gb3, :gb3, :ab3, :ab3, :gb3, :b2)
#chords = ring(:e3, :e3, :gb3, :gb3, :ab3, :ab3, :gb3, :b2)
set :root, chords.tick
sleep 3.9
sync :kick
end
@WindowDump
WindowDump / thcrap_patch_development.md
Last active January 10, 2020 02:06
thcrap patch development

thcrap patch development (short version)

What this covers:

  • Initial thcrap configuration (kinda)
  • How to make a new patch
  • How to get thcrap to load your new patch

What this doesn't cover:

@WindowDump
WindowDump / thcrap_random.py
Last active June 16, 2019 15:59
thcrap patch configuration randomizer (Python 3.5+)
#!/usr/bin/env python3
# thcrap patch configuration randomizer by Window Dump, version 190430
# Changelog
# 190430
# * Added more patches to the default blacklist which probably corrupt your scorefiles
# 190314-2
# * Don't download files.js - it's managed by thcrap :nmlgcgod:
# * If patch.js had to be downloaded, keep it in memory
# 190314