Skip to content

Instantly share code, notes, and snippets.

View jamshark70's full-sized avatar

H. James Harkins jamshark70

View GitHub Profile
@jamshark70
jamshark70 / gist:0cda2887cbfdbd470b5b
Created August 31, 2015 09:38
npm-debug.log (installing wintersmith)
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save-dev',
1 verbose cli 'wintersmith' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /home/dlm/Documents/web/package.json
5 verbose installManyTop reading scoped package data from /home/dlm/Documents/web/node_modules/handlebars/package.json
// H. James Harkins
// A demonstration of the effect of convolving
// Dirac impulses against a convolution kernel.
// It turns out to be granular synthesis!
// (Except, every grain is the full kernel,
// no control over rate, duration etc.)
s.boot;
s.record;
@jamshark70
jamshark70 / test-UGenCache.sc
Last active November 14, 2023 00:28
Experimental UGenCache to optimize repeated math ops
// hjh: cache repeated math ops
// todo: `isPure` is incomplete (many deterministic ops are not currently labeled as pure)
UGenCache {
classvar <>cache;
classvar <>optimize = false; // default: use normal SC behavior
*clear {
cache = MultiLevelIdentityDictionary.new;
}