Skip to content

Instantly share code, notes, and snippets.

@colinsullivan
colinsullivan / fm-wood-perc.ck
Created February 13, 2012 20:27
FM wood-like percussive sound as described by John Chowning
Step unity => Envelope env => CurveTable attackCurve => Gain vca;
1 => unity.next;
3 => vca.op;
SinOsc carrier => vca => Gain out => dac;
carrier.sync(2);
unity => Envelope modulatorEnv => CurveTable modulatorEnvCurve => Gain modulatorVca;
@colinsullivan
colinsullivan / .gitignore
Last active January 3, 2016 02:19 — forked from adamgit/.gitignore
A .gitignore file for EVERYTHING
#########################
# .gitignore file for EVERYTHING.
#
# Originally a .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
@colinsullivan
colinsullivan / .env
Last active April 17, 2020 18:44
Fix Create React App warnings when using Mapbox react wrapper
# This causes the CRA builder to honor the local `eslintConfig` in the project's `package.json`
# https://create-react-app.dev/docs/setting-up-your-editor/#experimental-extending-the-eslint-config
EXTEND_ESLINT=true

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@colinsullivan
colinsullivan / prob_divider.lua
Created February 20, 2021 21:14
Dual probabilistic clock divider for Crow
--- two-way probabalistic clock divider
-- This takes a clock input and a -5 to +5 voltage. Both 0 to +5V and 0 to -5V
-- represent 0% to 100% probability of clock outputs. Positive and negative
-- voltage switches between two sets of clock dividers.
--
-- in1: clock input
-- in2: bi-polar probability
-- out1-4: divided outputs
-- when probability input is positive, the output clocks will be at these divisions