Skip to content

Instantly share code, notes, and snippets.

View DarienBrito's full-sized avatar

Darien DarienBrito

View GitHub Profile
@DarienBrito
DarienBrito / msa.tf.builder
Created February 28, 2018 06:37 — forked from memo/msa.tf.builder
very quick & simple dictionary / json based graph builder for tensorflow
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 27 02:46:51 2018
@author: memo
very quick & simple dictionary / json based graph builder for tensorflow
( inspired by https://github.com/dribnet/discgen/blob/master/discgen/vae.py#L43-L163 )
"""
@DarienBrito
DarienBrito / SynthDefs.scd
Created February 19, 2018 22:51
ProgrammingMusic2
///////////////////////////////////////////////
// Using the very comfotable Ndef from JITLIB
///////////////////////////////////////////////
(
Ndef(\reverb, {
| in = 2, roomsize = 200, revtime = 40, damping = 0.1, inputbw = 0.5,
spread = 15, drylevel = 0.2, earlylevel = 0.1, taillevel = 0.2, wet = 0.8 |
var sig = \in1.ar;
sig = GVerb.ar(sig, roomsize,
revtime,
@DarienBrito
DarienBrito / GLSL-Noise.md
Created June 9, 2017 09:30 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}