mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-20 07:43:54 +00:00
24 lines
No EOL
744 B
HTML
24 lines
No EOL
744 B
HTML
<html>
|
|
<head>
|
|
<title>LFO</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../style/GUI.css">
|
|
|
|
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
|
|
<script type="text/javascript" src="../src/core/Tone.js"></script>
|
|
<script type="text/javascript" src="../src/signal/Oscillator.js"></script>
|
|
<script type="text/javascript" src="../src/signal/Scale.js"></script>
|
|
<script type="text/javascript" src="../src/component/LFO.js"></script>
|
|
<script type="text/javascript" src="../src/component/Noise.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript">
|
|
var noise = new Tone.Noise("brown");
|
|
var lfo = new Tone.LFO(1);
|
|
|
|
noise.toMaster();
|
|
lfo.connect(noise.output.gain);
|
|
lfo.start();
|
|
</script>
|
|
</body>
|
|
</html> |