-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
39 lines (32 loc) · 921 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<body>
<center>
<H1>Here's an embedded editor!</H1>
</center>
<faust-editor>
<!--
declare name "Vocal FOF MIDI";
declare description "MIDI-controllable FOF vocal synthesizer.";
declare license "MIT";
declare copyright "(c)Mike Olsen, CCRMA (Stanford University)";
import("stdfaust.lib");
process = pm.SFFormantModelFofSmooth_ui_MIDI <: _,_;
-->
</faust-editor>
<center>
<H1>Here's a simple DSP widget!</H1>
<faust-widget>
<!--
import("stdfaust.lib");
ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01) : si.smoo;
q = hslider("[1]q",5,1,30,0.1) : si.smoo;
gain = hslider("[2]gain",1,0,1,0.01) : si.smoo;
t = button("[3]gate") : si.smoo;
process = no.noise : fi.resonlp(ctFreq,q,gain)*t <: dm.zita_light;
-->
</faust-widget>
</center>
<script src="faust-web-component.js"></script>
</body>
</html>