Closed Quinn1876 closed 1 year ago
Hi!
Indeed, Mozzi needs to be configured to use the AudioInput
feature.
For that you need to edit the file mozzi_config.h
:
//#define USE_AUDIO_INPUT true
should be : #define USE_AUDIO_INPUT true
To find this file, open your sketchbook folder (open Arduino's preferences to find where it is if you do not know), then libraries/Mozzi
.
Hope this helps!
Hi @Quinn1876!
Did that help? Can this issue be closed?
Hello,
I am currently trying to run the
AudioInput
example for mozi, but it will not compile.Here is the code for reference:
Compile Error:
error: 'getAudioInput' was not declared in this scope int asig = getAudioInput(); // range 0-1023
I looked around, but I could not find documentation for the following line:
Configuration: requires these lines in the Mozzi/mozzi_config.h file:
Which config file do I need to add these lines too? Do I need to make this file path in the sketch directory or is there a global config file that I was supposed to change. If so, where do I find it?
Any help in this matter would be appreciated.