@grame/faustwasm 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/standalone/faustwasm/index.d.ts +17 -5
- package/assets/standalone/faustwasm/index.js +69 -47
- package/assets/standalone/faustwasm/index.js.map +2 -2
- package/dist/cjs/index.d.ts +17 -5
- package/dist/cjs/index.js +69 -47
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs-bundle/index.d.ts +17 -5
- package/dist/cjs-bundle/index.js +70 -48
- package/dist/cjs-bundle/index.js.map +2 -2
- package/dist/esm/index.d.ts +17 -5
- package/dist/esm/index.js +69 -47
- package/dist/esm/index.js.map +2 -2
- package/dist/esm-bundle/index.d.ts +17 -5
- package/dist/esm-bundle/index.js +70 -48
- package/dist/esm-bundle/index.js.map +2 -2
- package/libfaust-wasm/libfaust-wasm.js +1 -1
- package/libfaust-wasm/libfaust-wasm.wasm +0 -0
- package/out/clarinetMIDI.html +50 -0
- package/out/clarinetMIDI.js +63 -0
- package/out/clarinetMIDI.json +431 -0
- package/out/clarinetMIDI.wasm +0 -0
- package/out/faustwasm/index.d.ts +1495 -0
- package/out/faustwasm/index.js +4470 -0
- package/out/faustwasm/index.js.map +7 -0
- package/package.json +1 -1
- package/src/FaustWasmInstantiator.ts +14 -5
- package/src/FaustWebAudioDsp.ts +97 -46
- package/test/Timestrech.dsp +150 -0
- package/test/emsc.dsp +5 -0
- package/test/faustlive-wasm/faustwasm/index.d.ts +17 -5
- package/test/faustlive-wasm/faustwasm/index.js +69 -47
- package/test/faustlive-wasm/faustwasm/index.js.map +2 -2
- package/test/tp1-mono.dsp +20 -0
- package/test/tp1.dsp +20 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import("stdfaust.lib");
|
|
2
|
+
|
|
3
|
+
part = nentry("file", 0, 0, 1, 1);
|
|
4
|
+
speed = hslider("speed", 1, 0, 4, 0.01);
|
|
5
|
+
level = hslider("level", 0.5, 0, 1, 0.01);
|
|
6
|
+
|
|
7
|
+
//process = (part, +(1)~_) : soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2) :(!,!,_,_);
|
|
8
|
+
|
|
9
|
+
//process = so.loop(soundfile("files [url: {'/Documents/faust-github-faust2/tests/soundfile/RnB.wav';'/Documents/faust-github-faust2/tests/soundfile/tango.wav';'/Documents/faust-github-faust2/tests/soundfile/levot.wav'}]",2), part);
|
|
10
|
+
|
|
11
|
+
//process = so.loop_speed(soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2), part, speed);
|
|
12
|
+
|
|
13
|
+
//process = so.loop_speed_level(soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2), part, speed, level);
|
|
14
|
+
|
|
15
|
+
//process = so.loop_speed_level(soundfile("files [url: {'RnB.wav';'tango.wav';'levot-all.wav'}]",2), part, speed, level);
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
//process = so.loop_speed_level(soundfile("files [url: {'http://127.0.0.1:8000/RnB.wav';'http://127.0.0.1:8000/tango.wav';'http://127.0.0.1:8000/levot.wav'}]",2), part, speed, level);
|
|
19
|
+
|
|
20
|
+
process = so.loop_speed_level(soundfile("files [url: {'levot-15-mono.wav';'violon.wav'}]",2), part, speed, level) : dm.freeverb_demo;
|
package/test/tp1.dsp
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import("stdfaust.lib");
|
|
2
|
+
|
|
3
|
+
part = nentry("file", 0, 0, 5, 1);
|
|
4
|
+
speed = hslider("speed", 1, 0, 4, 0.01);
|
|
5
|
+
level = hslider("level", 0.5, 0, 1, 0.01);
|
|
6
|
+
|
|
7
|
+
//process = (part, +(1)~_) : soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2) :(!,!,_,_);
|
|
8
|
+
|
|
9
|
+
//process = so.loop(soundfile("files [url: {'/Documents/faust-github-faust2/tests/soundfile/RnB.wav';'/Documents/faust-github-faust2/tests/soundfile/tango.wav';'/Documents/faust-github-faust2/tests/soundfile/levot.wav'}]",2), part);
|
|
10
|
+
|
|
11
|
+
//process = so.loop_speed(soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2), part, speed);
|
|
12
|
+
|
|
13
|
+
//process = so.loop_speed_level(soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav'}]",2), part, speed, level);
|
|
14
|
+
|
|
15
|
+
//process = so.loop_speed_level(soundfile("files [url: {'RnB.wav';'tango.wav';'levot-all.wav'}]",2), part, speed, level);
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
//process = so.loop_speed_level(soundfile("files [url: {'http://127.0.0.1:8000/RnB.wav';'http://127.0.0.1:8000/tango.wav';'http://127.0.0.1:8000/levot.wav'}]",2), part, speed, level);
|
|
19
|
+
|
|
20
|
+
process = so.loop_speed_level(soundfile("files [url: {'RnB.wav';'tango.wav';'levot.wav';'violon.wav';'RnB.wav';'tango.wav';'levot.wav';'violon.wav'}]",2), part, speed, level);
|