_id
stringlengths
64
64
repository
stringlengths
7
61
name
stringlengths
5
45
content
stringlengths
0
943k
download_url
stringlengths
94
213
language
stringclasses
1 value
comments
stringlengths
0
20.9k
code
stringlengths
0
943k
eb7fbb998278fadaa078448b259740889bb43f9dc15a76ea1117231a9eab0dec
HexHive/datAFLow
delays.dsp
import("music.lib"); smooth(c) = *(1-c) : +~*(c); process = (@(nentry("d1", 200, 0, 1000, 1)) : smooth(0.999)), (@(nentry("d2", 200, 0, 2000, 1)) : smooth(0.999)), (@(nentry("d3", 400, 200, 3000, 1)) : smooth(0.999));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/delays.dsp
faust
import("music.lib"); smooth(c) = *(1-c) : +~*(c); process = (@(nentry("d1", 200, 0, 1000, 1)) : smooth(0.999)), (@(nentry("d2", 200, 0, 2000, 1)) : smooth(0.999)), (@(nentry("d3", 400, 200, 3000, 1)) : smooth(0.999));
773ab9427f934c85f5fc1d824dbdcd0e87cf61bb19321c722de878718bb0e83f
HexHive/datAFLow
waveform1.dsp
process = waveform {0.1, 0.123, 0.142567, 0.152637391, 0.568453, 0.1, 0.123, 0.142567, 0.152637391, 0.568453};
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/waveform1.dsp
faust
process = waveform {0.1, 0.123, 0.142567, 0.152637391, 0.568453, 0.1, 0.123, 0.142567, 0.152637391, 0.568453};
8388619e496def696002a006a8200b95debdb85834a8d0df297c5e9aa0c0b578
HexHive/datAFLow
osc_enable.dsp
import("music.lib"); sig = (waveform{1, 0.5, 0, 0, 0, 0, -0.5, -1, -0.5, 0, 0, 0, 0}:!,_); process = sig, control(osc(400), sig), enable(osc(400), sig), control(sig, sig), enable(sig, sig);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/osc_enable.dsp
faust
import("music.lib"); sig = (waveform{1, 0.5, 0, 0, 0, 0, -0.5, -1, -0.5, 0, 0, 0, 0}:!,_); process = sig, control(osc(400), sig), enable(osc(400), sig), control(sig, sig), enable(sig, sig);
50d3c525af11d5ea91ec2baa5f9d54ff5cbe14c79d5e26793370a3e04e58d9d0
HexHive/datAFLow
partialapp.dsp
X = (2,3); process = *(!)(!,X,!);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/partialapp.dsp
faust
X = (2,3); process = *(!)(!,X,!);
22e7729ddf8ed8778e237899fe91c8c8a74563824e8a7880fe14ccf0723f7fbd
HexHive/datAFLow
echo.dsp
declare name "echo"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; //----------------------------------------------- // A Simple Echo //----------------------------------------------- import("music.lib"); process = vgroup("echo-simple", echo1s) wit...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/echo.dsp
faust
----------------------------------------------- A Simple Echo -----------------------------------------------
declare name "echo"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; import("music.lib"); process = vgroup("echo-simple", echo1s) with { echo1s = vgroup("echo 1000", +~(delay(65536, int(hslider("millisecond", 8.1, 0, 1000, 0.10)*millisec)-1) * (hslider(...
816155f805ead0e6508024d2d20718f46269064972c2fd58d44e84ac3381d229
HexHive/datAFLow
parabolic-env5.dsp
//----------------------------------------------- // // Parabolic Grain Envelop : from Ross Bencina // //----------------------------------------------- // integrate values of x starting : 0, x(0), x(0)+x(1),... //integrate = +~_ : mem; rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSample...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/parabolic-env5.dsp
faust
----------------------------------------------- Parabolic Grain Envelop : from Ross Bencina ----------------------------------------------- integrate values of x starting : 0, x(0), x(0)+x(1),... integrate = +~_ : mem; process = integrate(1), slope(trig), max(0.0,bidule(trig));
rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSamples = 10; grainAmplitude = 2.8; rdur = 1.0/durationSamples; rdur2 = rdur*rdur; curve = -8.0 * grainAmplitude * rdur2; slope(zero) = 4* grainAmplitude * (rdur - rdur2) + rintegrate(zero,curve); amplitude(zero) = rintegrate(zero, ...
965afc16b3e6223ac0889c2b72ea63291e188b0a4aab8c313d6c55ec4fab0f43
HexHive/datAFLow
test24.dsp
//Variante du bug de Julius Smith x = hslider("toto", 0, 0, 100, 1); process = x-x',3*x;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test24.dsp
faust
Variante du bug de Julius Smith
x = hslider("toto", 0, 0, 100, 1); process = x-x',3*x;
b3147c83ef512c58b6fb61ef100d7bb23819a7d4318c913799a3f387f8e228a2
HexHive/datAFLow
PM-bug3.dsp
fact = case { (0) => 1; (n) => n*fact(n-1); }; toto = case { (fact(5)) => *; //(120) => *; (x) => x; }; process = toto(fact(6)), toto(fact(5));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug3.dsp
faust
(120) => *;
fact = case { (0) => 1; (n) => n*fact(n-1); }; toto = case { (fact(5)) => *; (x) => x; }; process = toto(fact(6)), toto(fact(5));
add92c8dc512af3c3397ce6b5721d7538f56faa84c76a52729ac8cba42493785
HexHive/datAFLow
error25.dsp
nlf2(c,s) = (*(c),*(s),*(0-s),*(c)) :> (_,_) ~ (_,_); process = nlf2(1000,1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error25.dsp
faust
nlf2(c,s) = (*(c),*(s),*(0-s),*(c)) :> (_,_) ~ (_,_); process = nlf2(1000,1);
17f3582a36072d0ad5c13ea49525e3a0ea03edb33c504c034c79223a8e1b801e
HexHive/datAFLow
ratepass_1.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = up2 ~ dw2;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_1.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = up2 ~ dw2;
05eb050c508bc4d55244647260bfec73b0b29439840d961e6f8266a922f582e1
HexHive/datAFLow
PM-bug2.dsp
// here in both case we should be equivalent to "process = *,*;" foo(x,y) = (y,x); choice1 = case { ((3,2:-)) => *; ((4,2:-)) => /; (x) => +; }; choice2 = case { ((2,3:foo:-)) => *; ((2,4:foo:-)) => /; (x) => +; }; process = choice1(1), choice2(1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug2.dsp
faust
here in both case we should be equivalent to "process = *,*;"
foo(x,y) = (y,x); choice1 = case { ((3,2:-)) => *; ((4,2:-)) => /; (x) => +; }; choice2 = case { ((2,3:foo:-)) => *; ((2,4:foo:-)) => /; (x) => +; }; process = choice1(1), choice2(1);
ea9fc1da8e0a44bdea021cd673f3752369ad264de1840b97e320d357255a4bf5
HexHive/datAFLow
test23.dsp
//This program crash on faust 0.9.9.1 SR = fconstant(int fSamplingFreq, <math.h>); process = SR-SR';
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test23.dsp
faust
This program crash on faust 0.9.9.1
SR = fconstant(int fSamplingFreq, <math.h>); process = SR-SR';
5b322d95170b4fe3fe9cb987901912469a0592cb3918020329a3c50b1e6cde31
HexHive/datAFLow
test22.dsp
//Bug discovered by julius smith SR = fconstant(int fSamplingFreq, <math.h>); R = 1.0-4410.0/SR; process = (1-1') / (1-R*R);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test22.dsp
faust
Bug discovered by julius smith
SR = fconstant(int fSamplingFreq, <math.h>); R = 1.0-4410.0/SR; process = (1-1') / (1-R*R);
46dec2a825248ef52846811de2d0b00aa018927a626f523b98c27524be951f3f
HexHive/datAFLow
testpow1.dsp
// Test real if process(x) = x^2 : *(x);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/testpow1.dsp
faust
Test real if
process(x) = x^2 : *(x);
be6e79c06fa2e2150d32343209c3b49bd3629a4254d761e74ece49ebd59b3b43
HexHive/datAFLow
test3.dsp
IIR2P(b0,b1,b2,a1,a2) = + ~ conv2 : conv3 with { conv2(x) = 0 - a1*x - a2*x'; conv3(x) = b0*x + b1*x' + b2*x''; }; process = IIR2P(1.25,1.73,1,1.73,1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test3.dsp
faust
IIR2P(b0,b1,b2,a1,a2) = + ~ conv2 : conv3 with { conv2(x) = 0 - a1*x - a2*x'; conv3(x) = b0*x + b1*x' + b2*x''; }; process = IIR2P(1.25,1.73,1,1.73,1);
09f06949b69a4f02ac5d62d84a417b985f57f9067feed02112a44b808f2adb0d
HexHive/datAFLow
shortdelays2.dsp
// check short delay are correctly compiled // and shared (/(x):@(y) ==> @(y):/(x) when x is constant) process = _ <: sum(i,4, /(i+1) : @(i+4));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/shortdelays2.dsp
faust
check short delay are correctly compiled and shared (/(x):@(y) ==> @(y):/(x) when x is constant)
process = _ <: sum(i,4, /(i+1) : @(i+4));
34d2cba81bc0ee095052d0d2129471a5fb6089571c2dd112044d5ec956dc9e11
HexHive/datAFLow
comb_delay2.dsp
import("music.lib"); // 10 samples delay modulation modulator = @(osc(1000) : +(1) : *(5) : min(10) : max(0)); fix = @(100); source = osc(440); process = source : fix : modulator;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/comb_delay2.dsp
faust
10 samples delay modulation
import("music.lib"); modulator = @(osc(1000) : +(1) : *(5) : min(10) : max(0)); fix = @(100); source = osc(440); process = source : fix : modulator;
19b6dedd9c1d1b12946a447067593023cb15131a50786fa08caac0faed22ed0d
HexHive/datAFLow
modulations.dsp
declare compilation_options "-single -scal -e Modulations.dsp -o Modulations_exp.dsp"; declare library_path "/Documents/faustwebsite-github/modules-worklet/Modulations.dsp"; declare library_path "/usr/local/share/faust/stdfaust.lib"; declare library_path "/usr/local/share/faust/oscillators.lib"; declare library_path...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/modulations.dsp
faust
declare compilation_options "-single -scal -e Modulations.dsp -o Modulations_exp.dsp"; declare library_path "/Documents/faustwebsite-github/modules-worklet/Modulations.dsp"; declare library_path "/usr/local/share/faust/stdfaust.lib"; declare library_path "/usr/local/share/faust/oscillators.lib"; declare library_path...
a694961623dddfe5dea8d1c91651b58e070dc5be0e7373b33208099ebdb0b8cc
HexHive/datAFLow
mr_oversample.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; filter = _<:_,@(1):+:*(0.5); process = up2:exp:filter:dw2;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/mr_oversample.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; filter = _<:_,@(1):+:*(0.5); process = up2:exp:filter:dw2;
1128c4f2c42880b13b9d1d3d9823e6fc4d9590eb2dfe9e87876819eb315b8b02
HexHive/datAFLow
20180424-env-bug.dsp
// environement should be passed as arguments without triggering an error foo = environment { x = 1; y = 2; }; faa(e) = e; process = faa(foo).y; // the result should be 2 here
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/20180424-env-bug.dsp
faust
environement should be passed as arguments without triggering an error the result should be 2 here
foo = environment { x = 1; y = 2; }; faa(e) = e;
18885c28083d296288f6dcec86ac7bd947f88d3241272756c66e81f6a1e39150
HexHive/datAFLow
bug20100223.dsp
// Must be an integer signal // therefore pow can't be used // and a template version was introduced process = (+(1) <:*) ~_;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/bug20100223.dsp
faust
Must be an integer signal therefore pow can't be used and a template version was introduced
process = (+(1) <:*) ~_;
5d62a063f427b65569e5b499a9b303d98f9f7961244798c37cabe98c8087be8d
HexHive/datAFLow
v1.dsp
// route visualisation test //process = +: _: abs; process = + : route(1,1,1,1) : abs;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/v1.dsp
faust
route visualisation test process = +: _: abs;
process = + : route(1,1,1,1) : abs;
c4a6746428901fcecd0d24709aa25d1fb29a3aa4316a3e45427072dc4a8edbb7
HexHive/datAFLow
schema1.dsp
inverse(x:y) = inverse(y):inverse(x); inverse(x) = x; process = inverse(sin:sqrt:abs);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/schema1.dsp
faust
inverse(x:y) = inverse(y):inverse(x); inverse(x) = x; process = inverse(sin:sqrt:abs);
609c0e98ef1f6d8e8d23d5b4a3fd3be1875a4441498b127f42bb8234716f8419
HexHive/datAFLow
dimensioncheck_7.dsp
process = vectorize(2),2:*:serialize;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/dimensioncheck_7.dsp
faust
process = vectorize(2),2:*:serialize;
5062b4c6405e8bd7a387de2a45d8a48b6d4ca35be31f85ebc14254bcebf8de2f
HexHive/datAFLow
autocast.dsp
// An automatic int cast should be generated smooth(c) = *(1-c) : +~*(c); process = @(hslider("delay", 0, 0, 10000, 1) : smooth(0.9999) : int : &(16535));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/autocast.dsp
faust
An automatic int cast should be generated
smooth(c) = *(1-c) : +~*(c); process = @(hslider("delay", 0, 0, 10000, 1) : smooth(0.9999) : int : &(16535));
6626eaffc598d7b4677de6c01d0c762055308562076f734b75f62a3b00356a48
HexHive/datAFLow
PM-bug3tris.dsp
fact (0) = 1; fact (n) = n*fact(n-1); process = fact(6);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug3tris.dsp
faust
fact (0) = 1; fact (n) = n*fact(n-1); process = fact(6);
87b34f854bfb620acfb860e80917b4ed2720a713ebb3a98c54862c2efd0e5ad4
HexHive/datAFLow
parabolic-env2.dsp
//----------------------------------------------- // // Parabolic Grain Envelop : from Ross Bencina // //----------------------------------------------- // integrate values of x starting : 0, x(0), x(0)+x(1),... integrate = +~_ : mem; durationSamples = 10; grainAmplitude = 2.8; rdur = 1.0/durationSamples; rdur2 ...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/parabolic-env2.dsp
faust
----------------------------------------------- Parabolic Grain Envelop : from Ross Bencina ----------------------------------------------- integrate values of x starting : 0, x(0), x(0)+x(1),...
integrate = +~_ : mem; durationSamples = 10; grainAmplitude = 2.8; rdur = 1.0/durationSamples; rdur2 = rdur*rdur; curve = -8.0 * grainAmplitude * rdur2; slope = 4* grainAmplitude * (rdur - rdur2) + integrate(curve); amplitude = integrate(slope); process = integrate(1), slope, max(0.0,amplitude);
b5ed08bc3f77965d72839dff0869204924d228f46ed74738fb3575a98861a51c
HexHive/datAFLow
path2d.dsp
foo(x) = vgroup( "foo", x); process = tgroup("toto", foo(hslider("slid2", 0,0,1,0.1)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path2d.dsp
faust
foo(x) = vgroup( "foo", x); process = tgroup("toto", foo(hslider("slid2", 0,0,1,0.1)));
8a8081798dee03bc82733ca8ebab8ca390c475c1b407e93863d49f7cef7d51cd
HexHive/datAFLow
path2c.dsp
foo(x) = vgroup( "foo", x); process = tgroup("toto", foo(hslider("../slid2", 0,0,1,0.1)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path2c.dsp
faust
foo(x) = vgroup( "foo", x); process = tgroup("toto", foo(hslider("../slid2", 0,0,1,0.1)));
9a1f7660365f7fcd7e2587f990730f9ede06dba8faf8722796a131b642375fa0
HexHive/datAFLow
path2.dsp
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", par(i, 4, foo(i, hslider("slid", 0,0,1,0.1), hslider("../common", 0,0,1,0.1))));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path2.dsp
faust
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", par(i, 4, foo(i, hslider("slid", 0,0,1,0.1), hslider("../common", 0,0,1,0.1))));
223f4c29400985efd528477dc786d3bd00e1daf842a600fc1772937821a6e264
HexHive/datAFLow
zita_rev1.dsp
declare name "zita_rev1"; import("effect.lib"); process = zita_rev1 with { zita_rev1(x,y) = zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax,x,y) : out_eq : dry_wet(x,y) : out_level with { fsmax = 48000.0; // highest sampling rate that will be used fdn_group(x) = hgroup( "[0] Zita_Rev1 [tooltip: ~ ZITA...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/zita_rev1.dsp
faust
highest sampling rate that will be used Zolzer style peaking eq (not used in zita-rev1) (filter.lib): pareq_stereo(eqf,eql,Q) = peak_eq(eql,eqf,eqf/Q), peak_eq(eql,eqf,eqf/Q); Regalia-Mitra peaking eq with "Q" hard-wired near sqrt(g)/2 (filter.lib): tan(PI*B/SR), B bw in Hz (Q^2 ~ g/4) peak frequency in rad/sampl...
declare name "zita_rev1"; import("effect.lib"); process = zita_rev1 with { zita_rev1(x,y) = zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax,x,y) : out_eq : dry_wet(x,y) : out_level with { fdn_group(x) = hgroup( "[0] Zita_Rev1 [tooltip: ~ ZITA REV1 FEEDBACK DELAY NETWORK (FDN) & SCHROEDER ALLPASS-COMB REV...
262c85e8240dc9a45f584278d3f38147a8b1fdc2c5e0c31caa931a7cd55b83ad
HexHive/datAFLow
BUG071129.dsp
//------------------------------------------------- // Bug 20071129 : generation de code recursif complexe. // Les calculs ne sont pas ordonnés correctement // Le bug se produit deja dans la version 0.9.8.7 // en mode scalaire normal. //-------------------------------------------------- // fonctions mutuellement recur...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/BUG071129.dsp
faust
------------------------------------------------- Bug 20071129 : generation de code recursif complexe. Les calculs ne sont pas ordonnés correctement Le bug se produit deja dans la version 0.9.8.7 en mode scalaire normal. -------------------------------------------------- fonctions mutuellement recursives BUG dans...
myroute(rx,ry,x,y) = x,rx,ry,y,ry,rx; foo(x, rx, ry) = x + 0.9*rx + 0.1*ry; faa(y, ry, rx) = y + 0.2*rx - 0.8*ry; goo = +~sqrt; gaa = +~sin; process = ((myroute : foo, faa)~(_,_) : *(11), *(13)) ~ (goo, gaa);
b6715b957c630546338c349d1f494833752b224be44654e0e9a493d1d8d1bc39
HexHive/datAFLow
20180211-bug.dsp
// Bug Julius 2018-02-11 // Missing interval computation for << and >> // // Expected behavior: two delay lines of same size (131072) // should be allocated x = nentry("Log2(Delay)",15,5,16,1); process = @(pow(2.0f, x)), @(1<<int(x));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/20180211-bug.dsp
faust
Bug Julius 2018-02-11 Missing interval computation for << and >> Expected behavior: two delay lines of same size (131072) should be allocated
x = nentry("Log2(Delay)",15,5,16,1); process = @(pow(2.0f, x)), @(1<<int(x));
6ce3c3fcb589d54ccd32ef5feceb4c7e35c429eaf273ccd54653077d7655efe2
HexHive/datAFLow
bug-power-partialappl.dsp
// With faust 0.9.22 '^(2)' is not equivalent to '_^2' process = ^(2), _^2, /(2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/bug-power-partialappl.dsp
faust
With faust 0.9.22 '^(2)' is not equivalent to '_^2'
process = ^(2), _^2, /(2);
0c14cdcef8fa5b6e67c72a6c5db371bcd6cb5e9d81d5b9b3a827d6bcf43b6e0a
HexHive/datAFLow
bug-sampo-power.dsp
// BUG 2010 05 03 in Faust 0.9.22 //---------------------------------------------------------- // Faustpower definition not generated when power is used in // initialisation classes (that is in table contents). mytbl(r) = rdtable(128, (1 : +~_ : _^2), r); process(x) = mytbl(int(abs(x)*127)) : _^2;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/bug-sampo-power.dsp
faust
BUG 2010 05 03 in Faust 0.9.22 ---------------------------------------------------------- Faustpower definition not generated when power is used in initialisation classes (that is in table contents).
mytbl(r) = rdtable(128, (1 : +~_ : _^2), r); process(x) = mytbl(int(abs(x)*127)) : _^2;
48ac022679e90bb0bfceadcd09affd7e1dce17ae6afc1de97eb9bd0d9c85ca47
HexHive/datAFLow
testif2.dsp
// Test real if if(c,t,e) = select2(c,e,t); process(x) = if(x<0, 0, int(x)) : abs;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/testif2.dsp
faust
Test real if
if(c,t,e) = select2(c,e,t); process(x) = if(x<0, 0, int(x)) : abs;
39a1c4f6041de6c73d8b9ec798eeb8b74e0d8c08161a30efad924b55d3fd9a85
HexHive/datAFLow
exp10.dsp
process = pow(10, _);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/exp10.dsp
faust
process = pow(10, _);
c9c54437f826fe0174c2f14d919b6452baaa8b2d7fe0c000ea49687beae8df49
HexHive/datAFLow
spectral_level.dsp
// Spectrum analyzer declare name "spectral_level"; fl = library("filter.lib"); BandsPerOctave = 3; // third-octave filter bank process = fl.mth_octave_spectral_level_demo(BandsPerOctave) <: _,_;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/spectral_level.dsp
faust
Spectrum analyzer third-octave filter bank
declare name "spectral_level"; fl = library("filter.lib"); process = fl.mth_octave_spectral_level_demo(BandsPerOctave) <: _,_;
3addf94b26dea01ba853bd3539fae00981bd803ff2b5c4e82b9633c7dabd892e
HexHive/datAFLow
PM-bug4.dsp
import("music.lib"); fold = case { (1,f,x) => x(0); (n,f,x) => f(fold(n-1,f,x),x(n-1)); }; fpar(n) = fold(n,\(x,y).(x,y)); freq = hslider("freq", 440, 20, 20000, 0.1); partial(i) = osc(i*freq); process = fpar(5, partial);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug4.dsp
faust
import("music.lib"); fold = case { (1,f,x) => x(0); (n,f,x) => f(fold(n-1,f,x),x(n-1)); }; fpar(n) = fold(n,\(x,y).(x,y)); freq = hslider("freq", 440, 20, 20000, 0.1); partial(i) = osc(i*freq); process = fpar(5, partial);
1def52b69d3d8958383a0d58ac0148ce4cd475157284b6afc4ef8540390db554
HexHive/datAFLow
ratepass_11.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = (up2,dw2) ~ (dw2,up2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_11.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = (up2,dw2) ~ (dw2,up2);
5b1d6b322dd6cfd7d98e8dc5162dfc1d699ba7cecfd608e434a5d7b6d8e88ae0
HexHive/datAFLow
test010.dsp
// bug dominique process = _:_;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test010.dsp
faust
bug dominique
process = _:_;
f6792c64f43920d8ebaa53e1db39025ffc062becde35e08241e7eb3fe87ddf35
HexHive/datAFLow
PM-bug13.dsp
foo = abs,abs; x = 666; n = 18; fact(0) = 1; fact(n) = n*fact(n-1); map(foo, (x,xs)) = foo(x), map(foo,xs); map(foo, x) = foo(x); process = map(fact, (10,11,12,13));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug13.dsp
faust
foo = abs,abs; x = 666; n = 18; fact(0) = 1; fact(n) = n*fact(n-1); map(foo, (x,xs)) = foo(x), map(foo,xs); map(foo, x) = foo(x); process = map(fact, (10,11,12,13));
c1530a99ddccd4f1dced0f042e58ce04e55523af2347bb73bd60744d35d57a53
HexHive/datAFLow
quadecho.dsp
declare name "quadecho"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2007"; //----------------------------------------------- // A 1 second quadriphonic Echo //----------------------------------------------- import("music.lib"); process = vgroup("stere...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/quadecho.dsp
faust
----------------------------------------------- A 1 second quadriphonic Echo -----------------------------------------------
declare name "quadecho"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2007"; import("music.lib"); process = vgroup("stereo echo", multi(echo1s, 4)) with{ multi(f,1) = f; multi(f,n) = f,multi(f,n-1); echo1s = vgroup("echo 1000", +~(delay(65536, int(h...
e325dbd45052978f48f92a8705993a786bf09f5e0a9ffa96dc3427351a23e403
HexHive/datAFLow
test6.dsp
fii(x) = (x+x')/2; foo = +~sin; faa = +~sin; process = _ <: foo + faa ;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test6.dsp
faust
fii(x) = (x+x')/2; foo = +~sin; faa = +~sin; process = _ <: foo + faa ;
f72993475d647e20d65e10b8f3058014f5a55e1cf3b802b0d68b0beb06ff7a14
HexHive/datAFLow
ratepass_3.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; up4 = up2:up2; dw4 = vectorize(4) : [0]; process = up2 ~ ( (up4~dw4) : dw2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_3.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; up4 = up2:up2; dw4 = vectorize(4) : [0]; process = up2 ~ ( (up4~dw4) : dw2);
ddf7f2f7eddf54aeabc9098c8427ef3adc984e6f143ec33a01139901ebbaa5b4
HexHive/datAFLow
ratepass_5.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = ((up2) ~ dw2, dw2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_5.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = ((up2) ~ dw2, dw2);
d3608c9d1f8d5136b87339774c778a1864ef85d03bc76092812543d0eb31ad89
HexHive/datAFLow
test17.dsp
// example of simplification fv = component("freeverb.dsp"); process = _,_ <: fv, fv : _, _, *(-1), *(-1) :> _,_;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test17.dsp
faust
example of simplification
fv = component("freeverb.dsp"); process = _,_ <: fv, fv : _, _, *(-1), *(-1) :> _,_;
a7622fc89f019e172381fa6acd44958410dd38c300863483676f05a01d97489c
HexHive/datAFLow
test5b.dsp
fii(x) = (x+x')/2; foo = +~fii; process = foo : mem : mem;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test5b.dsp
faust
fii(x) = (x+x')/2; foo = +~fii; process = foo : mem : mem;
442ef14821dc0be189d92b22c364c093715b1a2181a4864efebcd20067b8f64a
HexHive/datAFLow
bs.dsp
// Test the BS variable access process = ramp(BS, 10) with { ramp = case { (0) => _; (n) => \(y,x).(if(y+x/n < x, y+x/n, if(y-x/n > x, y-x/n, x))) ~ _; }; if(cond,then,else) = select2(cond,else,then); BS = fvariable(int count, <math.h>); };
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/bs.dsp
faust
Test the BS variable access
process = ramp(BS, 10) with { ramp = case { (0) => _; (n) => \(y,x).(if(y+x/n < x, y+x/n, if(y-x/n > x, y-x/n, x))) ~ _; }; if(cond,then,else) = select2(cond,else,then); BS = fvariable(int count, <math.h>); };
cd912008d30664039a8327e5a48d4a123c2505b65a6f9faff4db5318f2fdced6
HexHive/datAFLow
APF.dsp
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = APF(x,F,G,Q);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/APF.dsp
faust
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = APF(x,F,G,Q);
1f03b89d8f0a54f9cb464742c73d2c76cf7a9c96219b8fde8e14c875031029e5
HexHive/datAFLow
numsimplerr7.dsp
process = 0,0 : mem;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/numsimplerr7.dsp
faust
process = 0,0 : mem;
54599592d1c6661526563071655d12fe633cb4b95c91d69106fa90befacf2d28
HexHive/datAFLow
ratepass_2.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = (up2,_:+) ~ dw2;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_2.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = (up2,_:+) ~ dw2;
92771d21a8c6330881fa780ab9577fe60dc4202f304ec0ffae5756eba6631f61
HexHive/datAFLow
peakNotch.dsp
import("maxmsp.lib"); G = hslider("Gain [unit: lin]", 1, 0, 8, 0.01); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = peakNotch(x,F,G,Q);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/peakNotch.dsp
faust
import("maxmsp.lib"); G = hslider("Gain [unit: lin]", 1, 0, 8, 0.01); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = peakNotch(x,F,G,Q);
4c8ca79bd71868f51ca6f1c5072bfb1ebdb1dd3ac22f95169e27d2a63fabe2f1
HexHive/datAFLow
associativity.dsp
// check associativity rules first((x,xs)) = x; first((x:xs)) = x; process = first(par(i,8,*(i+1))) : first(seq(i,10,+(i+1)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/associativity.dsp
faust
check associativity rules
first((x,xs)) = x; first((x:xs)) = x; process = first(par(i,8,*(i+1))) : first(seq(i,10,+(i+1)));
86b9cef015b5e9709d6bbb07f86d76a34e99ad6ec76c942bf5330612733fed1c
HexHive/datAFLow
error06.dsp
//ERROR : pattern matching failed, no rule of case {(z,y,x,x) => (x,(10,y:*):+),(100,z:*):+; } matches argument list (4,7,2,#1) foo(x,x,y,z) = x+10*y+100*z; process = foo(4,7,2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error06.dsp
faust
ERROR : pattern matching failed, no rule of case {(z,y,x,x) => (x,(10,y:*):+),(100,z:*):+; } matches argument list (4,7,2,#1)
foo(x,x,y,z) = x+10*y+100*z; process = foo(4,7,2);
415024c4fe3d0bd154a39741d1956a56ebc556284090b8015a6341f28ef3fb1b
HexHive/datAFLow
v2.dsp
// route visualisation test //process = +: _: abs; process = route(3,2,1,2,3,1) : *;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/v2.dsp
faust
route visualisation test process = +: _: abs;
process = route(3,2,1,2,3,1) : *;
08b9f56194bbf4f990147b80212104332f1b60b9e56bf7f051b4d6ca3d9a18db
HexHive/datAFLow
error23.dsp
// delay with negative values filter = *(0.01) : +~*(0.99); d = hslider("delay", 0, -10, 1000, 1) : int; process = @(d);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error23.dsp
faust
delay with negative values
filter = *(0.01) : +~*(0.99); d = hslider("delay", 0, -10, 1000, 1) : int; process = @(d);
3b45d45358122c25e74353eb715a127684768cca36162db61b7c0144bb3b9198
HexHive/datAFLow
effect.dsp
process = _;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/effect.dsp
faust
process = _;
ac5da86b87a69bbf829b9d2181a72a09bb5f2088b4d374f2191c0c8790686305
HexHive/datAFLow
error24.dsp
process = :
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error24.dsp
faust
process = :
d3487aafe1a65b8fdd1c56871b2520562cf20a57e5ba9577dc5f3cbb08720d74
HexHive/datAFLow
schema2.dsp
// exemple de schema illisible toto(0,f) = _; toto(1,f) = f(1); toto(n,f) = f(n) : toto(n-1,f); process = toto(10,\(i).(*(i)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/schema2.dsp
faust
exemple de schema illisible
toto(0,f) = _; toto(1,f) = f(1); toto(n,f) = f(n) : toto(n-1,f); process = toto(10,\(i).(*(i)));
2509ccd626d19416f60a23046a3be02b906ebb235b70a804a7157a5d080c1fc5
HexHive/datAFLow
error26.dsp
nlf2(c,s) = (*(c),*(s),*(0-s),*(c)) <: (_,_) ~ (_,_); process = nlf2(1000,1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error26.dsp
faust
nlf2(c,s) = (*(c),*(s),*(0-s),*(c)) <: (_,_) ~ (_,_); process = nlf2(1000,1);
3473adc79d1f53437852bae62b807a1de9beb4f781ffc141674008d6d5844cef
HexHive/datAFLow
BUG080127-twgosc.dsp
//------------------------------------- // BUG decouvert par jos le 27 janv 2008 // Non partage d'une expression slow //------------------------------------- import("music.lib"); amp = vslider("_amp",0.1,0,1,0.01); fr = vslider("_freq",440,10,20000,1); //----------------------------- wgr --------------------------...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/BUG080127-twgosc.dsp
faust
------------------------------------- BUG decouvert par jos le 27 janv 2008 Non partage d'une expression slow ------------------------------------- ----------------------------- wgr --------------------------------- Second order transformer-normalized digital waveguide resonator wgr(fr,G) fr : frequency (Hz) ...
import("music.lib"); amp = vslider("_amp",0.1,0,1,0.01); fr = vslider("_freq",440,10,20000,1); wgr(fr,r,x) = (*(G),_<:_,((+:*(C))<:_,_),_:+:+(x),-) ~ cross : _,/(0-g) with { C = cos(2*PI*fr/SR); cross = _,_ <: !,_,_,!; }; wgosc = wgoscc; process = test(fr); test(fr) =*(g), *(g-g') with { C = cos(2*P...
02876fed56ca428ceb97f6d4b6ea6e989606bfefc653f0ce8ffb08ff3264297a
HexHive/datAFLow
tester2.dsp
declare name "StereoAudioTester"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2014"; //----------------------------------------------- // Stereo Audio Tester : send a test signal (sine, // noise, pink) on a stereo channel //----------------------------------...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/tester2.dsp
faust
----------------------------------------------- Stereo Audio Tester : send a test signal (sine, noise, pink) on a stereo channel ----------------------------------------------- User interface ----------------
declare name "StereoAudioTester"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2014"; import("music.lib"); pink = f : (+ ~ g) with { f(x) = 0.04957526213389*x - 0.06305581334498*x' + 0.01483220320740*x''; g(x) = 1.80116083982126*x - 0.80257737639225*x'; }...
546b48b6f5112c7a887749f97b06597d6310cb0f7de4b51e2847e275236196b0
HexHive/datAFLow
bug127.dsp
// regression test for #127 by @magnetophon, fixed in 2.5.21 (rev. cc8253f7) group(x) = vgroup("foo", x); //this compiles: // group(x) = vgroup("foo", (_,_)); test(1,group) = (group(_,_)); //this compiles: // test(1,group) = (vgroup("foo",(_,_))); process = test(1,group); //this compiles: // (group(_,_));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/bug127.dsp
faust
regression test for #127 by @magnetophon, fixed in 2.5.21 (rev. cc8253f7) this compiles: group(x) = vgroup("foo", (_,_)); this compiles: test(1,group) = (vgroup("foo",(_,_))); this compiles: (group(_,_));
group(x) = vgroup("foo", x); test(1,group) = (group(_,_)); process = test(1,group);
f49a7122d99d89a651a6a41165b61a3d2782d3e4f83b9db8f6d60cb7094a4027
HexHive/datAFLow
path1.dsp
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", par(i, 4, foo(i, hslider("slid1", 0,0,1,0.1), hslider("slid2", 0,0,1,0.1))));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path1.dsp
faust
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", par(i, 4, foo(i, hslider("slid1", 0,0,1,0.1), hslider("slid2", 0,0,1,0.1))));
5d8a1b8d21b1df6fd6f6237d7c5f2832f883b07f0f014f955f76318a0e7a4583
HexHive/datAFLow
LPF.dsp
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = LPF(x,F,G,Q);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/LPF.dsp
faust
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = LPF(x,F,G,Q);
7b3485a073e5c883bfa015d8e6e4fe3d3572bc4f41ba95fd6bae5ee87d4f243a
HexHive/datAFLow
numsimplerr1.dsp
bad(1) = 0; bad(n) = bad(n-1); process = bad((1,1));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/numsimplerr1.dsp
faust
bad(1) = 0; bad(n) = bad(n-1); process = bad((1,1));
41a4e701799008f87ebb0f4af7dc1788e052f16b07711917a806b60a312f6e0e
HexHive/datAFLow
test4.dsp
IIR2P(b0,b1,b2,a1,a2) = + ~ conv2 : conv3 with { conv2 = _ <: 0 - _*a1 - mem*a2 ; conv3 = _ <: _*b0 + mem*b1 + (mem:mem)*b2; }; process = IIR2P(1.25,1.73,1,1.73,1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/test4.dsp
faust
IIR2P(b0,b1,b2,a1,a2) = + ~ conv2 : conv3 with { conv2 = _ <: 0 - _*a1 - mem*a2 ; conv3 = _ <: _*b0 + mem*b1 + (mem:mem)*b2; }; process = IIR2P(1.25,1.73,1,1.73,1);
0053f00c1cd2a884c20572b1a1f35f951cfbdee1f19029555bbdcb35117068e9
HexHive/datAFLow
felix2.dsp
/* Beamforming - Prototyp */ import("music.lib"); nquads = 6; // amount of quadrants on 1 axis roomsize = 2.0; // x*x meters nmics = 6; // amount of microfones // delay with offset, to avoid negative delays //delayl(n) = fdelay(512, n+256); delayl(n) = delay(512, n+256); // without interpolation // x-axis of mic(n)...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/felix2.dsp
faust
Beamforming - Prototyp amount of quadrants on 1 axis x*x meters amount of microfones delay with offset, to avoid negative delays delayl(n) = fdelay(512, n+256); without interpolation x-axis of mic(n) (depends on arrangement of mics) vectornorm subtraction of vectors index to meters (x/y-axis): index = 0...n...
import("music.lib"); mic(n) = 0.1*n-0.1; vabs(x,y) = sqrt(x*x+y*y); vsub(x1,y1,x2,y2) = (x1-x2) , (y1-y2); i2x(x) = (x/nquads)*roomsize-(roomsize*0.5); i2y(y) = (y/nquads)*roomsize; stime(mx,my,px,py) = vsub(mx,my,i2x(px),i2y(py)):vabs / 343 * 44100; dtime(x, y, m) = stime(mic(0),-0.5,x,y)-stime(mic(m),-0.5,x,...
d18146e3d353fb9c5284b9908c0fe25b0d2a534f49d00bdbcedcb379235d833d
HexHive/datAFLow
lfboost.dsp
declare name "lfboost"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; //------------------------------------------------------------------ // DAFX, Digital Audio Effects (Wiley ed.) // chapter 2 : filters // section 2.3 : Equalizers // page 53 : secon...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/lfboost.dsp
faust
------------------------------------------------------------------ DAFX, Digital Audio Effects (Wiley ed.) chapter 2 : filters section 2.3 : Equalizers page 53 : second order shelving filter design ------------------------------------------------------------------ ----------------------low frequency boost filter ...
declare name "lfboost"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; import("math.lib"); import("music.lib"); lfboost(F,G) = TF2( (1 + sqrt(2*V)*K + V*K*K) / denom, 2 * (V*K*K - 1) / denom, (1 - sqrt(2*V)*K + V*K*K) / denom, 2 ...
fe567c3140ad19fcb02dcb20044f0101625ffeceffc5bd387747787993714d51
HexHive/datAFLow
schema5.dsp
// exemple de schema non encore simplifié fold(1,f,x) = x(0); fold(n,f,x) = f(fold(n-1,f,x),x(n-1)); fpar(n) = fold(n,\(x,y).(x,y)); partial(i) = 2*i; process = fpar(5, \(i,x).(partial(i)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/schema5.dsp
faust
exemple de schema non encore simplifié
fold(1,f,x) = x(0); fold(n,f,x) = f(fold(n-1,f,x),x(n-1)); fpar(n) = fold(n,\(x,y).(x,y)); partial(i) = 2*i; process = fpar(5, \(i,x).(partial(i)));
5b4e69ee38c96ea8de545cba6e944f53e6f32a9af8aa27a054b91f2c948fa877
HexHive/datAFLow
mr_ffun.dsp
asinh = ffunction ( float asinhf(float), <math.h> , ""); process = asinh:vectorize(4):serialize:asinh;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/mr_ffun.dsp
faust
asinh = ffunction ( float asinhf(float), <math.h> , ""); process = asinh:vectorize(4):serialize:asinh;
eb5caa0f08c9e97dad1fc903ddfb7c1125b1f026fc1f2f01e8a5352607245a99
HexHive/datAFLow
multirate_5.dsp
process = _ : (vectorize(4),abs) ~ sqrt ;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/multirate_5.dsp
faust
process = _ : (vectorize(4),abs) ~ sqrt ;
1783462ad51dc077888f02a44834334669e244d936a82448d5b895ef0988c880
HexHive/datAFLow
20100120b-bug.dsp
// BUG 20 Jan 20010 : the following code creates a segmentation fault //process = vslider("2:0:cos", 0, 0, 1, 0.01); process = vslider("Cos", 0, 0, 1, 0.01);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/20100120b-bug.dsp
faust
BUG 20 Jan 20010 : the following code creates a segmentation fault process = vslider("2:0:cos", 0, 0, 1, 0.01);
process = vslider("Cos", 0, 0, 1, 0.01);
dc4fe4c5c55c6b52317f46f01378a80d4db878456df52fb33eaa2d1a8f0a3b24
HexHive/datAFLow
shareFixDelays.dsp
import("music.lib"); process = _ <: @(200), @(300) : +;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/shareFixDelays.dsp
faust
import("music.lib"); process = _ <: @(200), @(300) : +;
5ca58cc014471e9eafeedefddb872495b2d12b0bf612ed63d635ff2b21b77b8a
HexHive/datAFLow
ratepass_10.dsp
up2 = vectorize(1) <: # : serialize; up4 = up2:up2; dw2 = vectorize(2) : [0]; dw4 = vectorize(4) : [0]; process = (up2,up4) ~ (dw2,dw4);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_10.dsp
faust
up2 = vectorize(1) <: # : serialize; up4 = up2:up2; dw2 = vectorize(2) : [0]; dw4 = vectorize(4) : [0]; process = (up2,up4) ~ (dw2,dw4);
ab7a055766852eda891f4ec45b1f2fcb5cc376c16cc33b6bbf29cd9553e5d01a
HexHive/datAFLow
freeverb.dsp
declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; //====================================================== // // Freeverb...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/freeverb.dsp
faust
====================================================== Freeverb Faster version using fixed delays (20% gain) ====================================================== Constant Parameters -------------------- value of the gain of fxctrl feedback of the delays used in allpass filters Filter...
declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; scalewet = 3.0; scaledry = 2.0; scaledamp = 0.4; scaleroom = 0.28; offsetroom =...
325af06e071466dad8ec574d170bcfcdf86c79f7b124c2037bc704781fec9d63
HexHive/datAFLow
error03.dsp
//ERROR : pattern matching failed, no rule of case {(y,x,x) => y,123:*; } matches argument list (1,10,6) foo(x,x,y) = y*123; process = foo(1,10,6);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/error03.dsp
faust
ERROR : pattern matching failed, no rule of case {(y,x,x) => y,123:*; } matches argument list (1,10,6)
foo(x,x,y) = y*123; process = foo(1,10,6);
2ede4deab19b3fa378e184e7a81f73e6bab5b2c5532784b985f7d35642569192
HexHive/datAFLow
lowShelf.dsp
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = lowShelf(x,F,G,Q);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/lowShelf.dsp
faust
import("maxmsp.lib"); G = hslider("Gain [unit:dB]", 0, -10, 10, 0.1); F = hslider("Freq", 1000, 100, 10000, 1); Q = hslider("Q", 1, 0.01, 100, 0.01); process(x) = lowShelf(x,F,G,Q);
80ae681015008777bec333767fa696731bbfa3bb24060a143aa20f56c9d43368
HexHive/datAFLow
parabolic-env3.dsp
//----------------------------------------------- // // Parabolic Grain Envelop : from Ross Bencina // //----------------------------------------------- // integrate values of x starting : 0, x(0), x(0)+x(1),... //integrate = +~_ : mem; rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSample...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/parabolic-env3.dsp
faust
----------------------------------------------- Parabolic Grain Envelop : from Ross Bencina ----------------------------------------------- integrate values of x starting : 0, x(0), x(0)+x(1),... integrate = +~_ : mem;
rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSamples = 10; grainAmplitude = 2.8; rdur = 1.0/durationSamples; rdur2 = rdur*rdur; curve = -8.0 * grainAmplitude * rdur2; slope(zero) = 4* grainAmplitude * (rdur - rdur2) + rintegrate(zero,curve); amplitude(zero) = rintegrate(zero, ...
84b532ebb4a9888d433aea3b23b30d349dfca884bd23d4f78355f4a145e2c183
HexHive/datAFLow
parabolic-env4.dsp
//----------------------------------------------- // // Parabolic Grain Envelop : from Ross Bencina // //----------------------------------------------- // integrate values of x starting : 0, x(0), x(0)+x(1),... //integrate = +~_ : mem; rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSample...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/parabolic-env4.dsp
faust
----------------------------------------------- Parabolic Grain Envelop : from Ross Bencina ----------------------------------------------- integrate values of x starting : 0, x(0), x(0)+x(1),... integrate = +~_ : mem; process = integrate(1), slope(trig), max(0.0,bidule(trig));
rintegrate(zero) = (+:*(zero))~_ : mem; integrate = rintegrate(1); durationSamples = 10; grainAmplitude = 2.8; rdur = 1.0/durationSamples; rdur2 = rdur*rdur; curve = -8.0 * grainAmplitude * rdur2; slope(zero) = 4* grainAmplitude * (rdur - rdur2) + rintegrate(zero,curve); amplitude(zero) = rintegrate(zero, ...
85a07715cc5b0f70be856e4c12888a247054fd5a3d96aeab63cc21b74e098f7c
HexHive/datAFLow
delay02.dsp
// now @ accepts variable delais provided that they are bounded and positive process = @(hslider("delay", 0, 0, 1000, 1));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/delay02.dsp
faust
now @ accepts variable delais provided that they are bounded and positive
process = @(hslider("delay", 0, 0, 1000, 1));
2bd84852ef70c4e53276c15abeabade670eb1a636928652c1522060d37d0938c
HexHive/datAFLow
rms.dsp
declare name "rms"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2009"; // Root Mean Square of n consecutive samples RMS(n) = square : mean(n) : sqrt ; // the square of a signal square(x) = x * x ; // the mean of n consecutive samples of a signal // uses f...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/rms.dsp
faust
Root Mean Square of n consecutive samples the square of a signal the mean of n consecutive samples of a signal uses fixpoint to avoid the accumulation of rounding errors the sliding sum of n consecutive samples of a signal convertion between float and fix point Root Mean Square of 1000 consecutive samples
declare name "rms"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2009"; RMS(n) = square : mean(n) : sqrt ; square(x) = x * x ; mean(n) = float2fix : integrate(n) : fix2float : /(n); integrate(n,x) = x - x@n : +~_ ; float2fix(x) = int(x*(1<<20)); f...
dd5ae82c42ba1de8d254d10fa014b3cec66f24f35e1583cda2361df6429ac446
HexHive/datAFLow
testYO.dsp
foo(x,y) = (y,x); choice0 = case { (1) => *; (2) => /; (x) => +; }; choice1 = case { ((3,2:-)) => *; ((4,2:-)) => /; (x) => +; }; choice2 = case { ((2,3:foo:-)) => *; ((2,4:foo:-)) => /; (x) => +; }; //process = choice0((6,3:/)); process = choice0((3,6:f...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/testYO.dsp
faust
process = choice0((6,3:/));
foo(x,y) = (y,x); choice0 = case { (1) => *; (2) => /; (x) => +; }; choice1 = case { ((3,2:-)) => *; ((4,2:-)) => /; (x) => +; }; choice2 = case { ((2,3:foo:-)) => *; ((2,4:foo:-)) => /; (x) => +; }; process = choice0((3,6:foo:/));
a27ffbde2bc97ead3d5c7f12da171ca63bb36d44e2d49c9b0cfb49f295be7c5d
HexHive/datAFLow
mr_prim.dsp
process = abs:vectorize(4):serialize:abs;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/mr_prim.dsp
faust
process = abs:vectorize(4):serialize:abs;
43e1cce745c213d0784cd87ac4981d9bd83ab47ea93c52b10707103c6a600045
HexHive/datAFLow
table1.dsp
// Generate incorrect code where itbl1mydspSIG0 is read without being initialized (use interp-tracer -trace 7 table1.dsp) t1 = rdtable(100, (1:+~_)); t2 = rdtable(50, t1(2:+~_)); process = t2(3:(+,50:%)~_);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/table1.dsp
faust
Generate incorrect code where itbl1mydspSIG0 is read without being initialized (use interp-tracer -trace 7 table1.dsp)
t1 = rdtable(100, (1:+~_)); t2 = rdtable(50, t1(2:+~_)); process = t2(3:(+,50:%)~_);
25b9832fbab51aac55f95891bd0e9945f44bf9a2bb995ce5e21089ad9bcc6cab
HexHive/datAFLow
PM-bug5.dsp
import("music.lib"); freq = hslider("freq", 440, 20, 20000, 0.1); partial(i) = osc(i*freq); process = par(i, 5, partial(i));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/PM-bug5.dsp
faust
import("music.lib"); freq = hslider("freq", 440, 20, 20000, 0.1); partial(i) = osc(i*freq); process = par(i, 5, partial(i));
6a228c68283674e5ead24d3eb7f62e972f775e635b4792fe52d753869af32fe8
HexHive/datAFLow
path4.dsp
a = hslider("/v:foo/slid1", 0,0,1,0.1); b = hslider("/v:foo/h:faa/slid2", 0,0,1,0.1); c = hslider("/v:foo/h:faa/slid3", 0,0,1,0.1); process = a+b+c;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path4.dsp
faust
a = hslider("/v:foo/slid1", 0,0,1,0.1); b = hslider("/v:foo/h:faa/slid2", 0,0,1,0.1); c = hslider("/v:foo/h:faa/slid3", 0,0,1,0.1); process = a+b+c;
d725cc6a173f202a9082da7bf7c4f1882d1e4bb9be2f7b0645149b13db05ffad
HexHive/datAFLow
ratepass_12.dsp
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = ((up2,dw2) ~ (dw2,up2)):(_,dw2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_12.dsp
faust
up2 = vectorize(1) <: # : serialize; dw2 = vectorize(2) : [0]; process = ((up2,dw2) ~ (dw2,up2)):(_,dw2);
8594f037b2e879b2ece4e183f6a2a84a7f83d07087b6dc74072bbcf4faad6a87
HexHive/datAFLow
ratepass_8.dsp
up2 = vectorize(1) <: # : serialize; dw3 = vectorize(3) : [0]; dw2 = vectorize(2) : [0]; process = up2 <: (dw3,dw2);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/ratepass_8.dsp
faust
up2 = vectorize(1) <: # : serialize; dw3 = vectorize(3) : [0]; dw2 = vectorize(2) : [0]; process = up2 <: (dw3,dw2);
4e8d9260b8aecb5f96cd06fabbb3d8772177e9665d29d744067889a6301664e8
HexHive/datAFLow
vcf_wah_pedals.dsp
ol = library("oscillator.lib"); fl = library("filter.lib"); el = library("effect.lib"); // process = ol.sawtooth_demo : // el.crybaby_demo : el.moog_vcf_demo : el.wah4_demo : // fl.spectral_level_demo <: _,_; process = vgroup("[1]", ol.sawtooth_demo) : vgroup("[2]", el.crybaby_demo) : vgroup("[3]", el.wa...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/vcf_wah_pedals.dsp
faust
process = ol.sawtooth_demo : el.crybaby_demo : el.moog_vcf_demo : el.wah4_demo : fl.spectral_level_demo <: _,_;
ol = library("oscillator.lib"); fl = library("filter.lib"); el = library("effect.lib"); process = vgroup("[1]", ol.sawtooth_demo) : vgroup("[2]", el.crybaby_demo) : vgroup("[3]", el.wah4_demo) : vgroup("[4]", el.moog_vcf_demo) : vgroup("[5]", fl.spectral_level_demo) <: _,_;
84e364df9e72ccdd5e5b289e6d44aa52ee3468715989402edcb39a3f36a03056
HexHive/datAFLow
tester.dsp
declare name "tester"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; //----------------------------------------------- // Tester : tests louspeakers // Send a test signal( sine, noise, pink) to one // of 8 loudspeakers //--------------------------------...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/tester.dsp
faust
----------------------------------------------- Tester : tests louspeakers Send a test signal( sine, noise, pink) to one of 8 loudspeakers ----------------------------------------------- User interface ----------------
declare name "tester"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2006"; import("music.lib"); pink = f : (+ ~ g) with { f(x) = 0.04957526213389*x - 0.06305581334498*x' + 0.01483220320740*x''; g(x) = 1.80116083982126*x - 0.80257737639225*x'; }; smooth(c...
a4f6cfe75e116f3498bf7acb75cde9f337222e33fc86ee517ec4317715e172bd
HexHive/datAFLow
smoothdelay.dsp
declare name "SmoothDelay"; declare author "Yann Orlarey"; declare copyright "Grame"; declare version "1.0"; declare license "STK-4.3"; //--------------------------process---------------------------- // // A stereo smooth delay with a feedback control // // This example shows how to use sdelay, a delay that doesn'...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/smoothdelay.dsp
faust
--------------------------process---------------------------- A stereo smooth delay with a feedback control This example shows how to use sdelay, a delay that doesn't click and doesn't transpose when the delay time is changed -------------------------------------------------------------
declare name "SmoothDelay"; declare author "Yann Orlarey"; declare copyright "Grame"; declare version "1.0"; declare license "STK-4.3"; import("music.lib"); process = par(i, 2, voice) with { voice = (+ : sdelay(N, interp, dtime)) ~ *(fback); N = int(2^19); interp = hslider("interpolation[unit:ms][styl...
c9ed6fbcf4fc51a486995834bc97ab082e91a65a4fde622fd809b1519962f154
HexHive/datAFLow
find-import.dsp
// check that imported libraries are found import("music.lib"); process = noise;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/find-import.dsp
faust
check that imported libraries are found
import("music.lib"); process = noise;
63715bdbc7fc8eaa942614e59f56c4b6463429d28deaaa8fece7a500c71a62f3
HexHive/datAFLow
20100716-bug-jos.dsp
//----------------------------------------------------------------- // bug discovered by jos and resolved by removing recursive call // to simplify() in normalizeFixedDelayTerm() //----------------------------------------------------------------- import("music.lib"); tf1(b0,b1,a1) = _ <: *(b0), (mem : *(b1)) :> + ~ ...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/20100716-bug-jos.dsp
faust
----------------------------------------------------------------- bug discovered by jos and resolved by removing recursive call to simplify() in normalizeFixedDelayTerm() ----------------------------------------------------------------- bilinear-transform scale-factor bilinear-transform scale-factor new: new: n...
import("music.lib"); tf1(b0,b1,a1) = _ <: *(b0), (mem : *(b1)) :> + ~ *(0-a1); tf1s(b1,b0,a0,w1) = tf1(b0d,b1d,a1d) with { d = a0 + c; b1d = (b0 - b1*c) / d; b0d = (b0 + b1*c) / d; a1d = (a0 - c) / d; }; tf2(b0,b1,b2,a1,a2) = sub ~ conv2(a1,a2) : conv3(b0,b1,b2) with { conv3(k0,k1,k2,x) = k0*x + k1*...
d788f5fa296dae3735b897597318c61d9dcdcd7131c63c3f3f3a9695cc87c207
HexHive/datAFLow
k.dsp
declare name "k"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2009"; vol = hslider("volume", 0.1, 0, 1, 0.1); process = 1 * vol;
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/k.dsp
faust
declare name "k"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c)GRAME 2009"; vol = hslider("volume", 0.1, 0, 1, 0.1); process = 1 * vol;
476c54a9c15365663d4139cc8e98eb3ea49cb67938d9bc5ddaf5ae1abe665b18
HexHive/datAFLow
floatcastbug.dsp
// variable (but bounded) delays using the @ operator process = float(10);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/floatcastbug.dsp
faust
variable (but bounded) delays using the @ operator
process = float(10);
9c6f7a3d2b188ba4fc08509a9abeb0592e3ff1c5c44a2820b82a4f69848ff2d9
HexHive/datAFLow
UITester.dsp
declare name "UI Tester"; declare version "1.0"; declare author "O. Guillerminet"; declare license "BSD"; declare copyright "(c) O. Guillerminet 2012"; vbox = vgroup("vbox", checkbox("check1"), checkbox("check2"), nentry("knob0[style:knob]", 60, 0, 127, 0.1)); sliders = hgroup("sliders", vsli...
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/UITester.dsp
faust
------------------------- Process --------------------------------
declare name "UI Tester"; declare version "1.0"; declare author "O. Guillerminet"; declare license "BSD"; declare copyright "(c) O. Guillerminet 2012"; vbox = vgroup("vbox", checkbox("check1"), checkbox("check2"), nentry("knob0[style:knob]", 60, 0, 127, 0.1)); sliders = hgroup("sliders", vsli...
5b48aae8d0547d41cf5a08d9ad20893393276c479ecfcac28f03bc9c4385316e
HexHive/datAFLow
mr_binop.dsp
process = *(2):vectorize(4):serialize:+(1);
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/mr_binop.dsp
faust
process = *(2):vectorize(4):serialize:+(1);
504f2855145da7192a1e0cf7da68ce63f0c676383686ded1576df437fcd36e4e
HexHive/datAFLow
path2b.dsp
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", vgroup("foo", hslider("../slid2", 0,0,1,0.1)));
https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/path2b.dsp
faust
foo(n,x,y) = vgroup( "foo %n", *(x*y)); process = tgroup("toto", vgroup("foo", hslider("../slid2", 0,0,1,0.1)));