Skip to content

Instantly share code, notes, and snippets.

@iicaras
iicaras / wavetables.md
Last active February 16, 2026 11:58
Wavetable information and formats

Wavetables

🡪 iicaras

A wavetable refers to PCM sample data which contains single-cycle waveforms a wavetable synthesizer can select for it's oscillator [^def1][^def2]. Currently the most common container is a WAV file which includes a CLM chunk as defined by Steve Duda from Xfer Records [^xfer]. Another slightly less common format is the WT format from Surge XT [^Surge]. Both contain the same PCM data with different data chunks and support.

Creating Wavetables

Vital

@OrionReed
OrionReed / dom3d.js
Last active May 4, 2026 11:01
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
import tweepy, json, time, sys
auth = tweepy.OAuth1UserHandler(
<api keys here>
)
api = tweepy.API(auth)
d = json.loads(open(sys.argv[1]).read().split("=", 1)[1])
@marhei
marhei / Criteria.enum.php
Last active July 20, 2025 18:19
Ermittlung der besten Bewerbung für eine Ausschreibung
<?php
/**
* TrainCompany - Criteria.enum.php
*
* @author Marcel Heisinger
*/
namespace Game\Task\Application;
use Game\Task\{Application, Schedule};
enum Criteria {
@davestewart
davestewart / estimation.md
Last active April 16, 2026 16:01
Things to think about when estimating frontend projects

Estimation

This document is an attempt to pin down all the things you don't think about when quoting for a project, and hopefully provide a starting point for some kind of framework to make quoting, working and delivering small-medium jobs more predictable and less stressful.

Contents

; <<>> DiG 9.16.21 <<>> axfr 219.185.195.in-addr.arpa @91.189.192.6
;; global options: +cmd
; Transfer failed.
@davidfowl
davidfowl / .NET6Migration.md
Last active March 7, 2026 11:20
.NET 6 ASP.NET Core Migration

This is real chaos engineering!

While browsing through Twitter or Youtube, I see all the cool chaos engineering frameworks like Chaos Mesh or LitmusChaos.

Without a doubt, these frameworks are amazing, and I would suggest to everybody to go and try them out. Saiyam Pathak has made some great videos about Chaos Mesh and Litmus and there will be a bigger meetup about Litmus coming.

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.