flocking
Version:
Creative audio synthesis for the Web
29 lines (22 loc) • 567 B
JavaScript
/*
* Flocking Frame Rate Synth
* https://github.com/continuing-creativity/flocking
*
* Copyright 2013-2018, Colin Clark
* Dual licensed under the MIT and GPL Version 2 licenses.
*/
/*global require, flock*/
var fluid = fluid || require("infusion"),
flock = fluid.registerNamespace("flock");
fluid.defaults("flock.synth.frameRate", {
gradeNames: ["flock.synth.value"],
rate: "scheduled",
fps: 60,
members: {
audioSettings: {
rates: {
scheduled: "{that}.options.fps"
}
}
}
});