Skip to content

Instantly share code, notes, and snippets.

@nhthn
nhthn / index.scd
Last active July 4, 2024 02:15
Cybernetic Synthesis
(
SynthDef(\cybernetic, {
var snd, index, divide, cutoff;
var freq;
index = MouseY.kr(1, 7000, 1);
freq = MouseX.kr(0.01, 40, 1);
divide = 1;
cutoff = 1;
snd = LocalIn.ar(4);
snd = Latch.ar(snd, PulseDivider.ar(snd.reverse, LPF.ar(snd, 10 * cutoff) * 1e5 * divide));
@ekg
ekg / README.md
Created June 13, 2018 09:37 — forked from lvm/README.md
[WIP] hackish emacs mode for FoxDot

Installation

  1. put foxdot-cli.py in the same directory as the FoxDot installaton (in case you're using virtualenv, otherwise comment from lines 5 to 7)
  2. copy foxdot-mode.el to ~/.emacs.d/lisp
  3. add (defvar foxdot-cli-path "/path/to/foxdot-cli/") in your ~/.emacs file
  4. in Emacs M-x load-library and complete with foxdot-mode
  5. Type C-c C-f or M-x foxdot-start to start
  6. Type C-c C-e or M-x foxdot-execute to evaluate a line or a block of code