How to generate Faust code #1565
-
Hi Phil After that I have left the sketch unchanged but re-generated the Faust code as instructed in the Wiki : The sketch compiles OK but crashes with:
etc... I am running Faust on my Mac (Sonoma). The header of the generated fluteMidi.h starts with:
Do you know what is wrong here ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Microcontrollers have only a very small amount of RAM and usually you cant allocate big blocks of memory. Dont forget to add the -mem option as described in the Wiki |
Beta Was this translation helpful? Give feedback.
-
I guess this is due to the slow speed of PSRAM and the floating point operations. |
Beta Was this translation helpful? Give feedback.
Microcontrollers have only a very small amount of RAM and usually you cant allocate big blocks of memory.
Fortunately some ESP32 have PSRAM. So, if you one with PSRAM you need to activate it in Arduino Tools menu and in the sketch by activating the memory manager like it is demonstrated in one of the examples by using a #define USE_MEMORY_MANAGER before the includes
Dont forget to add the -mem option as described in the Wiki