Skip to content

Instantly share code, notes, and snippets.

@citrusui
citrusui / fbit.sh
Created April 27, 2019 12:36
Detect whether or not a 24-bit FLAC has been upconverted from a 16-bit FLAC. Courtesy of "skamp" from the Hydrogenaudio Forums: https://hydrogenaud.io/index.php?topic=97746#msg813393
#!/bin/bash
me="${0##*/}"
if [ -w "$TMPDIR" ]; then
tdir="$TMPDIR"
elif [ -w '/tmp' ]; then
tdir='/tmp'
elif [ -w "$HOME" ]; then
tdir="$HOME"
@citrusui
citrusui / tones.md
Created September 28, 2018 22:45
https://www.tones.fm (Colorado IRv2)
◦	__ - https://www.tones.fm/fictorial/1905

◦	(ideas remix) 2 - https://www.tones.fm/hanabi/ideas-remix-2

◦	666 - https://www.tones.fm/elliotteque/666

◦	Ascent - https://www.tones.fm/citrusui/ascent

◦	Atmosphere - https://www.tones.fm/loops/atmosphere
@citrusui
citrusui / bit.sh
Created September 18, 2018 10:56
Easy way to determine sample rate and bit depth from the command line
soxi *.flac | grep Sample
@citrusui
citrusui / spinner.pde
Created July 18, 2018 12:20 — forked from marcedwards/spinner.pde
A loading spinner for Processing 3.3.7
// A loading spinner.
// By @marcedwards from @bjango.
void setup() {
size(300, 300, P2D);
frameRate(30);
smooth(8);
noFill();
stroke(255);
strokeWeight(6);
@citrusui
citrusui / colourspinner.pde
Created July 18, 2018 12:20 — forked from marcedwards/colourspinner.pde
A colourful loading spinner for Processing 3.3.7
// A colourful loading spinner.
// By @marcedwards from @bjango.
void setup() {
size(512, 512, P2D);
frameRate(30);
smooth(8);
noFill();
strokeWeight(10);
}
@citrusui
citrusui / BV.md
Created June 24, 2018 01:17
aaaa b eeeeeee i lllll mm n p rr tttt u vv ww y

I can feel the power running up from my feet into my fingertips. The gentle curves of the road slowly fade into nothingness. Trees beckon toward me, as if reaching out to a new dimension. My being vibrates in sync with the music and I laugh, descending further down the road.

@citrusui
citrusui / index.html
Created June 18, 2018 14:21 — forked from duncangraham/index.html
a svg grid of stunning beauty
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%">
<defs>
<pattern id="grid" width="11" height="11" patternUnits="userSpaceOnUse">
<rect fill="white" x="0" y="0" width="9" height="9"/>
<rect fill="aliceblue" x="10" y="0" width="1" height="10"/>
<rect fill="aliceblue" x="0" y="10" width="11" height="1"/>
</pattern>
</defs>
<rect fill="url(#grid)" x="0" y="0" width="100%" height="100%"/>
</svg>