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
| /* | |
| // SuperCollider original | |
| SynthDef("cottle-simple-fm", { | |
| var modulator = SinOsc.ar( | |
| freq: 123, | |
| mul: 100 | |
| ); | |
| var carrier = SinOsc.ar( | |
| freq: 400 + modulator, |
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
| { | |
| "http://registry.gpii.org/common/fontSize": [{ "value": 21 }], | |
| "http://registry.gpii.org/common/highContrastEnabled": [{ "value": true }], | |
| "http://registry.gpii.org/common/cursorSize": [{ "value": 1.0 }] | |
| } |
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
| 21:42:16.007: | |
| A key-in request was received for token gpii-511-architecture-demo | |
| -------------------- | |
| 21:42:16.009: | |
| Requesting an N&P set from the Preferences Server at: | |
| http://localhost:8081/user/gpii-511-architecture-demo | |
| -------------------- |
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.playBuffer", | |
| buffer: { | |
| id: "chord", | |
| url: "../../shared/audio/hillier-first-chord.wav" | |
| } | |
| }, | |
| { |
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
| flock.init(); | |
| var as = flock.enviro.shared.audioStrategy; | |
| // Create the new gain node and set some parameters on it. | |
| var gainNode = as.context.createGain(); | |
| gainNode.gain.setValueAtTime(0.0, as.context.currentTime); | |
| as.insertOutputNode(gainNode); |
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
| { | |
| "you are": "a catttt!" | |
| } |
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
| fluid.defaults("lucas.vibrato", { | |
| gradeNames: ["flock.synth"], | |
| synthDef: { | |
| ugen: "flock.ugen.out", | |
| bus: 1, | |
| expand: 1, | |
| sources: { | |
| id: "beat", | |
| ugen: "flock.ugen.lfSaw", |
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
| flock.midiAmp = function (velocity) { | |
| return velocity / 127; | |
| }; | |
| flock.midiVibrato = function (value) { | |
| return value / 32; | |
| }; | |
| var synth = flock.synth({ | |
| synthDef: { |
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
| flock.midiAmp = function (velocity) { | |
| return velocity / 127; | |
| }; | |
| flock.midiVibrato = function (value) { | |
| return value / 32; | |
| }; | |
| flock.band({ | |
| components: { |
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
| window.midiBand = flock.band({ | |
| components: { | |
| synth: { | |
| type: "flock.synth", | |
| options: { | |
| synthDef: { | |
| id: "carrier", | |
| ugen: "flock.ugen.sinOsc", | |
| freq: 440, | |
| mul: { |