[Faudiostream-devel] Any Faust code source of granulation techniques you are aware of ?

2022-11-17 Thread Stéphane Letz
I know Dario Sanfilippo: https://ieeexplore.ieee.org/document/9768227 and https://github.com/dariosanfilippo/concatenative_granulation. Any other ? Thanks. Stéphane ___ Faudiostream-devel mailing list Faudiostream-devel@lists.sourceforge.net https:/

[Faudiostream-devel] BUG: sigInput's interval is [-1,1] ?

2022-11-17 Thread Oleg Nesterov
global::init() does TINPUT = makeSimpleType(kReal, kSamp, kExec, kVect, kNum, interval(-1, 1)); and "interval(-1, 1)" doesn't look right to me. Why does faust assume that "-1 <= inputs[i] <= 1" ??? To me, this code process(x,y) = x@(y+1); is wrong and should fail with "can't c

[Faudiostream-devel] [PATCH] BUG: suboptimal code with ffarity() == 0

2022-11-17 Thread Oleg Nesterov
On 11/17, Oleg Nesterov wrote: > > However, if ffarity() == 0 > > a = fconstant(float a, ""); > b = fconstant(float b, ""); > > c = a / b; > > f0 = ffunction(float f0(), "",""); > process = f0 : *(c); > > then "a / b" is calculated at run time: > > virtual void i

[Faudiostream-devel] BUG: suboptimal code with ffarity() == 0

2022-11-17 Thread Oleg Nesterov
Hello, NOTE: the code examples below use fconstant's just to make the generated code more readable, any compile-time constant like ma.SR lead to the same problem. -- Lets start with the trivial example: a = fcons