Skip to content

Commit 208b751

Browse files
committed
add tests and update changelog
1 parent df5202e commit 208b751

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

ChangeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v0.0.6
2+
- Preserve parameters values during recompilation
3+
14
### v0.0.5
25
- Fix when no arguments
36
- Update deken script

tests/recompile.dsp

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
declare name "Dummy";
2+
declare version "1.0";
3+
declare author "Heu... me...";
4+
5+
6+
process =_ <: _ * gain1, _ * gain2
7+
with
8+
{
9+
gain1 = vslider("gain1 [unit:linear]", 0.2, 0 , 1, 0.001);
10+
gain2 = vslider("gain2 [unit:linear]", 0.2, 0 , 1, 0.001);
11+
};

tests/recompile.pd

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#N canvas 229 134 455 400 10;
2+
#X obj 286 115 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
3+
1;
4+
#X msg 286 135 \; pd dsp \$1;
5+
#X obj 32 308 dac~ 1 2;
6+
#X obj 51 129 nbx 5 14 0 1 0 0 empty empty empty 0 -8 0 10 -262144
7+
-1 -1 0.95 256;
8+
#X obj 31 242 ../external/faustgen~ recompile, f 16;
9+
#X obj 199 40 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
10+
1;
11+
#X msg 199 69 autocompile \$1 100;
12+
#X obj 199 19 loadbang;
13+
#X obj 31 47 osc~ 220;
14+
#X msg 51 148 gain1 \$1;
15+
#X obj 122 169 nbx 5 14 0 1 0 0 empty empty empty 0 -8 0 10 -262144
16+
-1 -1 0.7 256;
17+
#X msg 122 188 gain2 \$1;
18+
#X msg 200 136 compile;
19+
#X connect 0 0 1 0;
20+
#X connect 3 0 9 0;
21+
#X connect 4 0 2 0;
22+
#X connect 4 1 2 1;
23+
#X connect 5 0 6 0;
24+
#X connect 6 0 4 0;
25+
#X connect 7 0 5 0;
26+
#X connect 8 0 4 0;
27+
#X connect 9 0 4 0;
28+
#X connect 10 0 11 0;
29+
#X connect 11 0 4 0;
30+
#X connect 12 0 4 0;

0 commit comments

Comments
 (0)