This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // by Dave @ Bees & Bombs >:) | |
| int[][] result; | |
| float time; | |
| void setup() { | |
| setup_(); | |
| result = new int[width*height][3]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // code by dave whyte >:) | |
| // beesandbombs.tumblr.com | |
| int[][] result; | |
| float t; | |
| void setup() { | |
| setup_(); | |
| result = new int[width*height][3]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // by dave @ bees & bombs | |
| int[][] result; | |
| float t; | |
| void setup() { | |
| setup_(); | |
| result = new int[width*height][3]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // by dw @ bees & bombs | |
| int[][] result; | |
| float t; | |
| void setup() { | |
| setup_(); | |
| result = new int[width*height][3]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var synth = flock.synth({ | |
| synthDef: [ | |
| { | |
| ugen: "flock.ugen.sinOsc", | |
| freq: { | |
| ugen: "flock.ugen.xLine", | |
| start: 60, | |
| end: 90, | |
| duration: 120 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var synth = flock.synth({ | |
| synthDef: { | |
| id: "sum", | |
| ugen: "flock.ugen.sum", | |
| sources: [ | |
| { | |
| ugen: "flock.ugen.lfSaw", | |
| freq: 440, | |
| mul: { | |
| id: "amp", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fundamental = 440, | |
| harmonics = [1, 3, 5, 7, 9, 13, 15], // Clarinets only have odd partials. | |
| baseHarmonicDef = { | |
| ugen: "flock.ugen.saw", | |
| freq: 440, | |
| mul: { | |
| ugen: "flock.ugen.envGen", | |
| envelope: { | |
| type: "flock.envelope.adsr", | |
| attack: 0.1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var synth = flock.synth({ | |
| synthDef: { | |
| ugen: "flock.ugen.sin", | |
| freq: { | |
| id: "freq", | |
| ugen: "flock.ugen.midiFreq", | |
| source: 60 | |
| } | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var context = flock.environment.audioSystem.context; | |
| var convolver = flock.environment.audioSystem.nativeNodeManager.createOutputNode({ | |
| node: "Convolver", | |
| normalize: true | |
| }); | |
| flock.synth({ | |
| synthDef: { | |
| ugen: "flock.ugen.filter.moog", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright © 2016 C4 | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to | |
| // deal in the Software without restriction, including without limitation the | |
| // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
| // sell copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: The above copyright | |
| // notice and this permission notice shall be included in all copies or | |
| // substantial portions of the Software. |