Skip to content

Instantly share code, notes, and snippets.

View drart's full-sized avatar

Adam Tindale drart

View GitHub Profile
@colinbdclark
colinbdclark / midi-controller-wiring.js
Created May 11, 2016 22:02
New MIDI controller binding specification, harmonized with the wiring specification format.
fluid.defaults("my.midiController", {
gradeNames: "flock.midi.controller",
components: {
// All "target" declarations are relative to this component.
synthContext: "${myComposition}.band"
},
inputMap: {
noteOn: [
@colinbdclark
colinbdclark / dynamic-source-synths.js
Last active November 6, 2017 01:03
Dynamically creating synths based on a source array
fluid.defaults("adam.noiseSynth", {
gradeNames: "flock.synth",
freq: 300,
synthDef: {
ugen: "flock.ugen.sum",
sources: {
ugen: "flock.ugen.filter.biquad.bp",
freq: "{that}.options.freq",
@colinbdclark
colinbdclark / index.html
Last active August 10, 2019 14:48
Infused MPE MIDI Example
<html>
<head>
<script src="node_modules/flocking/dist/flocking-all.js"></script>
<script src="seaboard-block-instrument.js"></script>
<script src="mpe-voice.js"></script>
<script src="mpe-synth.js"></script>
<style>
body {
padding: 0;
@colinbdclark
colinbdclark / osc-port.js
Last active September 19, 2019 17:54
TUIO Touch Source
// From https://github.com/colinbdclark/phet-osc-bridge
/*
* PhET-OSC Bridge OSC Port
* http://github.com/fluid-studios/phet-osc-bridge
*
* Copyright 2017, OCAD University
* Licensed under the New BSD license.
*/