Hi Mark-David,

> Le 8 janv. 2021 à 19:36, Mark-David Hosale <mdhos...@users.sourceforge.net> a 
> écrit :
> 
> Hi again-
> I was wondering if anyone had advice about compiling FAUST using double 
> and/or quad precision? For the biosensing analysis we are doing we are 
> working with filters a low frequencies (0.05-40Hz), which is a challenge to 
> get precise results given the standard audio sampling rates. One solution we 
> wanted to explore was working with double and/or quad precision . However, I 
> don't see any option for that in the web IDE.

Yes, the Faust Web IDE can only use float samples for now. We are working on 
adding double support.

> I downloaded the command line tools, but when I run (for example):
> faust2max6 -quad MECIfilters5GUI.dsp                                          
>                    
> I get

Quad is probably not supported correctly yes. But faust2max6 uses -double by 
default, since Max 6 and later use double samples (see 
https://github.com/grame-cncm/faust/tree/master-dev/architecture/max-msp) 

You can try that first.

> ERROR : cannot using -single, -double or -quad at the same time
> (double might be working, but I am getting a linker error that I still need 
> to resolve)
> 
> if I run 
> faust MECIfilters5GUI.dsp -quad
> 
> That works, but I just a dump of C++ files, which I am not sure how to use.
> 
> Likely, it is just because I am not finding the right documentation, so if 
> you have a pointer that would be appreciated. Also if you have any thoughts 
> on working with the lower frequencies such I am describing above. I should 
> say that typically when people design scientific applications for these 
> signals they use much lower sampling rates, even as low as 2-4kHz. (for 
> example if we could make a side chain at a lower sampling rate, that would be 
> perfect). We realize that FAUST might not be optimal for this application, 
> but the goal is to create a toolset that is readily available to artists and 
> composers using common development/creation environments. Ultimately we are 
> looking to deploy these tools in Max, SuperCollider, Teensy/ESP32, VST, and 
> likely later Unity, iOS, Android, etc. (you can see the appeal of FAUST for 
> us!!)

The Faust C++ generated code is somewhat agnostic related to sample rate. The 
architecture code gives the compiled DSP the desired SR at init time. You can 
always develop a specific architecture file for a special need, or adapt an 
existing one.
> 
> Thank you again and in advance for your help-
> Kind regards,
> Mark-David
> 

Stéphane 

_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to