For debugging, here is what I do:

https://ccrma.stanford.edu/~jos/aspf/Verifying_Testing_FAUST_Programs.html

To see the amp_follower output, just route it temporarily to the
output, e.g., "signal : amp_follower(0.2) <: _ , ampEnvUser;".  Then
use faust2octave to look at it, or faust2plot, etc.

The amplitude output units are in amplitude, (0 to 1), not dB.  You
can usually take a look at the code to quickly answer questions like
this (amp_follower is a one-liner).

- Julius
On Mon, Nov 5, 2018 at 10:54 AM Virginie YK <[email protected]> wrote:
>
> Hi
>
> As I only work on Windows, I prefer using the Faust Online Editor. By 
> definition, I have no terminal linked to this editor. So, when I want to know 
> the value of a variable, I can't print it ! (for example, I want to know what 
> does my "amp_follower" is detecting, and I can't see its values.
>
> 1) is there a way to debug  / or print intermediary results when using the 
> Online Editor ?
>
> 2) what is the result of amp_follower ? a value between 0 and 1 ?  a value in 
> dB ? a value in Volts ???
>
> Thanks a lot for your answer.
> _______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



-- 

Julius O. Smith III <[email protected]>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/


_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to