Skip to content

Instantly share code, notes, and snippets.

var harmonics, vols;
harmonics = [1122, 2243, 3369, 4495, 5607, 6677, 7801, 8926, 10146];
vols = [-49, -34, -23, -14, -33, -34, -24, -34, -44, -55].collect({ arg item, i; item.dbamp; });
{Pan2.ar(Mix(SinOsc.ar(harmonics, 0, vols)),MouseX.kr(-1,1))}.scope
d1 $ sound "[808bd:3 ~ 808bd:3 ~ 808bd:3] ~ ~ [808bd:3 ~]*3"
d1 silence
d2 $ sound "hh:2 hh:2 hh:3"
d2 silence
d3 $ sound "808:2*3 808:3*2"
d3 silence
d5 $ every 4 (rev) $ sound "[808:5*6] 808:6*2"
d5 silence
d6 $ sound "arp:2/4"

Keybase proof

I hereby claim:

  • I am rbxbx on github.
  • I am rbxbx (https://keybase.io/rbxbx) on keybase.
  • I have a public key ASCJollpSEpH9N3hSp0zhNo7NlHZLq7IU8TbQqZRBaWvrwo

To claim this, I am signing this object:

///mvid:214386 qty:4 name:Phyrexian Obliterator loc:Deck
4 Phyrexian Obliterator
///mvid:214065 qty:4 name:Tezzeret, Agent of Bolas loc:Deck
4 Tezzeret, Agent of Bolas
///mvid:214061 qty:2 name:Black Sun's Zenith loc:Deck
2 Black Sun's Zenith
///mvid:236908 qty:3 name:Distress loc:Deck
3 Distress
///mvid:233043 qty:3 name:Despise loc:Deck
3 Despise
@rbxbx
rbxbx / lpc16.m3u
Last active August 19, 2019 14:01
#EXTM3U
#EXTINF:716,Longmont Potion Castle - LPC 16 Medley 1
LPC 16 Medley 1.mp3
#EXTINF:372,Longmont Potion Castle - Producer's Buttress
Producer_s Buttress.mp3
#EXTINF:778,Longmont Potion Castle - UPS Trebek
UPS Trebek.mp3
#EXTINF:268,Longmont Potion Castle - Barn Door
Barn Door.mp3
#EXTINF:255,Longmont Potion Castle - LPC 16 Theme
@rbxbx
rbxbx / emoji.txt
Last active April 18, 2019 04:07
emojis
©
®
@rbxbx
rbxbx / norns-vagrant.sh
Created July 12, 2018 20:31
norns-vagrant
vagrant init debian/contrib-stretch64
vagrant up
vagrant ssh
sudo apt-get update
sudo apt-get -y install vim git bc i2c-tools
sudo apt-get -y install libncurses5-dev
sudo apt-get -y install gcc
sudo apt-get -y install g++
(
play{
var n = 5;
var fmodrate = Duty.kr(2, 0, Drand([1/16, 1, 1/16, 1/8, 4], inf));
Limiter.ar(GVerb.ar(Pan2.ar(
Mix.fill(n, { arg index;
SinOsc.ar(440 + (index ** n), SinOsc.ar(440 + (index ** n), 0, Saw.kr(fmodrate, 2.5, 2.5)), 1 / n)
}),
SinOsc.kr(1)
), revtime: SinOsc.kr(1/16, 0, 2, 3)
rbxbx@optomix:~/src/libfringe(master)$ cargo test
Downloading simd v0.1.1
Compiling simd v0.1.1
Compiling fringe v1.2.1 (file:///Users/rbxbx/src/libfringe)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-m64" "-L" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib" "/Users/rbxbx/src/libfringe/target/debug/deps/fpe-cd88698483784383.0.o" "-o" "/Users/rbxbx/src/libfringe/target/debug/deps/fpe-cd88698483784383" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/rbxbx/src/libfringe/target/debug/deps" "-L" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libtest-1dcd1bb19cb0a730.rlib" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-c1a7ebf420ce8488.rlib" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libterm-ff1ff44ca48e54e1.rlib" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libstd-5ce807bd2b013f6b.rlib" "/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-dda3c281e34ae3b5.rlib" "/usr/local/lib/rustlib/x86_64-apple-darwin/