faust icon indicating copy to clipboard operation
faust copied to clipboard

Recursively defined tables generating incorrect code

Open sletz opened this issue 3 years ago • 0 comments

import("stdfaust.lib");
process = rdtable(1000, os.osc(500), 10);

produces incorrect code in all FIR backends.

or

import("stdfaust.lib");
process = rdtable(1000, rdtable(1000, os.osc(500), 10), 10);

produces incorrect code in -ocpp and all FIR backends.

f1 = rdtable(10, ba.time + 10);
f2 = rdtable(10, ba.time : f1);

process = ba.time % 10 : f2;

compiles but produces incorrect code. Does not compile with -it option.

sletz avatar May 17 '22 13:05 sletz