Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

109 lines (93 sloc) 3.109 kb
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Standalone UGen Benchmarks (Flocking)</title>
<link rel="stylesheet" type="text/css" href="../third-party/sheep/css/sheep.css" />
<script src="../../../third-party/jquery/js/jquery.min.js"></script>
<script src="../../../flocking/flocking-core.js"></script>
<script src="../../../flocking/flocking-ugens.js"></script>
<script src="../../../flocking/flocking-parser.js"></script>
<script src="../../flocking/js/flocking-test-utils.js"></script>
<script src="../third-party/sheep/third-party/js/spin.min.js"></script>
<script src="../third-party/sheep/js/sheep.js"></script>
<script src="../js/standalone-ugen-benchmarks.js"></script>
</head>
<body id="body">
<script type="text/javascript">
var freqSpec = {
name: "freq",
scale: 1200
},
phaseSpec = {
name: "phase",
scale: flock.TWOPI
},
audioAndControl = [
flock.rates.AUDIO,
flock.rates.CONTROL
];
flock.test.timeIsolatedUGens([
"flock.ugen.sin",
"flock.ugen.sinOsc",
"flock.ugen.triOsc",
"flock.ugen.sawOsc",
"flock.ugen.lfSaw",
"flock.ugen.squareOsc"
], [
freqSpec,
phaseSpec,
"mul",
"add"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.lfNoise",
], [
freqSpec,
"mul",
"add"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.dust"
], [
"density",
"mul",
"add"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.lfPulse"
], [
freqSpec,
phaseSpec,
"width",
"mul",
"add"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.line",
"flock.ugen.xLine"
], [
"start",
"end",
"duration"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.amplitude",
], [
"source",
"attack",
"release"
], audioAndControl);
flock.test.timeIsolatedUGens([
"flock.ugen.out",
], [
"sources",
{
name: "bus",
scale: 10,
round: true
}
], audioAndControl);
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.