Skip to content

Instantly share code, notes, and snippets.

View neauoire's full-sized avatar
💭
Siouxsie & The Banshees - Cities In Dust

Devine Lu Linvega neauoire

💭
Siouxsie & The Banshees - Cities In Dust
View GitHub Profile
@lukego
lukego / 0README.md
Last active June 15, 2023 19:03
CLIME installation instructions
@akkartik
akkartik / x0.c
Created January 12, 2021 06:14
Adding a gap buffer to a text editor
#include <SDL2/SDL.h>
#include <stdio.h>
int error(char *msg, const char *err) {
printf("Error %s: %s\n", msg, err);
return 0;
}
#define HOR 32
#define VER 16
@wraybowling
wraybowling / ORCA Shuttle Control.md
Last active October 27, 2020 22:32
Preset for using ORCA with the Endorphin.es Shuttle Control

Shuttle Control preset for ORCA

Download by clicking the RAW button on the .mid file below and open it at https://endorphin.es/cargo4/

Select the Shuttle Control as your MIDI device in ORCA.

Be Advised

Be aware that gates are always on for any MIDI signal sent without gate length specified. Lengths are set in long-to-short order 0 through f where 0 is default and as long as a whole note (always on) and f is a 16th note pulse.

CV Outputs

// Windows
// gcc c6.c tigr\tigr.c -I tigr -lopengl32 -lgdi32 -Os -s -o c6.exe
// Linux
// gcc c6.c tigr\tigr.c -I tigr -lGLU -lGL -lX11 -Os -s -o c6.exe
// OSX
// gcc c6.c tigr\tigr.c -I tigr -framework OpenGL -framework Cocoa -Os -s -o c6.exe
// using Tigr
// from https://github.com/erkkah/tigr
@blad
blad / fill-area.lisp
Last active August 24, 2020 01:46
Ronin: Bucket Implementation
(resize 100 100)
(fill (get-frame) "white")
(stroke (rect 23 26 54 49) "black")
(def f (get-frame))
(def pls 1)
(def mns (sub 0 1))
(defn shift-x (p a)
(pos (clamp (add p:x a) 0 f:w) p:y))
Attack/Decay/Sustain/Release: self-explanatory
Three-band EQ: For isolating Hi/Mid/Lo (This could be high/lowpass filter, alternatively)
Alter pitch: For tuning samples
Pitch bend: Change the pitch throughout length of the sample (for bass drum dips/rises, eg)
Shaper: Some sort of distortion filter to emphasize certain frequencies and get a little fuzz or character
@BriSeven
BriSeven / get on my lawn .md
Last active October 28, 2022 02:58
Get On My Lawn Software

Get ON my lawn is a software philosophy that believes good software grows better with time.

Get on my lawm shuns trends and salesmen disguised as programmers.

Get on my lawn shuns the fancy new framework.

@markwheeler
markwheeler / Engine_PolyTemplate.sc
Last active January 2, 2021 19:23
Poly synth SC engine template
// CroneEngine_PolyTemplate
//
// v1.0.0 Mark Eats
Engine_PolyTemplate : CroneEngine {
classvar maxNumVoices = 3;
var voiceGroup;
var voiceList;
@npisanti
npisanti / logscaling.cpp
Created June 16, 2019 11:49
pitch to frequency and frequency to pitch conversions
#define TUNINGFREQ 440.0
float p2f( float pitch ){
return pow( 2.0, (pitch-69.0)/12.0 ) * TUNINGFREQ;
}
float f2p( float freq ){
return (log2( freq / TUNINGFREQ ) * 12.0f ) + 69.0f;
}
@eelfroth
eelfroth / orca_microcode.md
Last active May 27, 2019 20:20
Orca Microcode