Open Andrjazz opened 1 month ago
Hi, this project was built using Mozzi 1.3, and it looks like it is not directly compatible with Mozzi 2.0 which has just been released.
Possible fix is to manually import Mozzi 1.3 instead of the 2.0 library which the IDE loads. If anyone in the community is able to upgrade the project to mozzi2.0 please let me know!
Firstly, thanks so much for sharing your work. I'm seeing the same errors above when I try to load the sketch too. I did have a hunt around for Mozzi 1.3 but couldn't find a repository. Def been keen to get my hands on a solution if anyone has one. Also, this might be a silly question but I'm going to ask it anyhow. can you uload the script using Arduino IDE or do you have to use VS Code and PlatformIO? I did try to use Adruino IDE but it was giving a lot or errors which could be because of the update in Mozzie.
I deleted Mozzi 2.0 and deleted library FixMath, and download Mozzi library 1.1.2 and sketch loaded success
link Mozzi 1.1.2 and old: https://www.arduino.cc/reference/en/libraries/mozzi/
You sir are a legend. Will try the same and see how it goes!
Nice to hear som work done. I wonder.. Is there any possible way to enable midi out?
Best regards Martin Sweden
Den tis 13 aug. 2024 12:35lonesoulsurfer @.***> skrev:
You sir are a legend. Will try the same and see how it goes!
— Reply to this email directly, view it on GitHub https://github.com/Meebleeps/MeeBleeps-Mutant-Synth/issues/4#issuecomment-2285924562, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBNXPKLQVUJ7PYTJBBP33FDZRHOOBAVCNFSM6AAAAABLSSHZP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVHEZDINJWGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello again, I've done what @Andrjazz has suggested but am getting the following errors. I know it is going to be something simple that I'm not doing but for the life of me can't work it out. Any suggestions would be very much appreciated.
Here are the errors I'm getting. Note that the H files have been included when compiling. I've tried to load the sketch in VS code as well as Arduini IDE
C:\Users\marcus\AppData\Local\Temp\cci8Qpoe.ltrans0.ltrans.o: In function `displaySettingIcon(unsigned char const*)':
@lonesoulsurfer Very strange, in your Arduino IDE opened all files? like this?
Nope - haha. I had included the header files but didn't realise I had to include the cpp ones! Just uploaded it again and it worked! Thanks for your help - you learn something new everyday!
Hello everyone! When I upload sketch MutantMozziSynth.ino in my Arduino Nano, I have error
`In file included from C:\Users\Andr\Documents\Arduino\libraries\Mozzi/internal/config_checks_generic.h:199:0, from C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:31, from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:17: c:\users\andr\documents\arduino\libraries\mozzi\audiooutput.h:60:10: fatal error: FixMath.h: No such file or directory
include
compilation terminated. exit status 1 `
I installed library FixMath but Ihave new error
`In file included from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:17:0: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:20:2: warning: #warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0 [-Wcpp]
warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0
^
~~ In file included from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\avSequencer.cpp:11:0: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:20:2: warning: #warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0 [-Wcpp]warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0
^
~~ In file included from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\avSourcePhasor.cpp:10:0: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:20:2: warning: #warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0 [-Wcpp]warning Direct inclusion of MozziGuts.h is deprecated. Use Mozzi.h, instead, and read about porting to Mozzi 2.0
^
~~ In file included from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\avSource.h:19:0, from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:21: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/LowPassFilter.h:17:2: warning: #warning This header is deprecated, please use ResonantFilter.h instead. [-Wcpp]warning This header is deprecated, please use ResonantFilter.h instead.
^
~~ D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:26:0: warning: "CONTROL_RATE" redefineddefine CONTROL_RATE 256
In file included from C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:31:0, from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:17: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/internal/config_checks_generic.h:193:0: note: this is the location of the previous definition
define CONTROL_RATE MOZZI_CONTROL_RATE
In file included from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\avSource.h:19:0, from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\avSourcePhasor.cpp:17: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/LowPassFilter.h:17:2: warning: #warning This header is deprecated, please use ResonantFilter.h instead. [-Wcpp]
warning This header is deprecated, please use ResonantFilter.h instead.
^(pin); }
^
~~ D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino: In function 'void updateAnalogControls()': D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:685:41: warning: 'uint16_t mozziAnalogRead(uint8_t)' is deprecated: This use of mozziAnalogRead() is not portable. Refer to the API documentation for suggested alternatives. [-Wdeprecated-declarations] rawValue[i] = mozziAnalogRead(A0 + i); ^ In file included from C:\Users\Andr\Documents\Arduino\libraries\Mozzi/MozziGuts.h:33:0, from D:\Arduino\MeeBleeps-Mutant-Synth-master\src\MutantMozziSynth\MutantMozziSynth.ino:17: C:\Users\Andr\Documents\Arduino\libraries\Mozzi/mozzi_analog.h:176:150: note: declared here MOZZI_DEPRECATED("2.0", "This use of mozziAnalogRead() is not portable. Refer to the API documentation for suggested alternatives.") inline uint16_t mozziAnalogRead(uint8_t pin) { return mozziAnalogRead~~~~~~ sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::output_buffer' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::x' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::y' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::z' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::adcPinToChannelNum(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::adcStartConversion(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::setupFastAnalogRead(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::setupMozziADC(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::stopMozzi()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::autoSeed()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::audioTicks()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::mozziMicros()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::startMozzi(int)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
mozziMicros()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
audioTicks()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
startMozzi(int)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
stopMozzi()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
setupMozziADC(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
setupFastAnalogRead(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
adcPinToChannelNum(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
audioOutput(MonoOutput)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::adcReadSelectedChannels()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
vector_21' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::adcStartReadCycle()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::mozziAnalogRead(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
vector_13' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
MozziPrivate::audioHook()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSequencer.cpp.o (symbol from plugin): In functionMozziPrivate::output_buffer': (.text+0x0): multiple definition of
audioHook()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::output_buffer' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::x' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::y' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::z' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::adcPinToChannelNum(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::adcStartConversion(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::setupFastAnalogRead(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::setupMozziADC(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::stopMozzi()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::MozziRandPrivate::autoSeed()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::audioTicks()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::mozziMicros()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::startMozzi(int)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
mozziMicros()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
audioTicks()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
startMozzi(int)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
stopMozzi()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
setupMozziADC(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
setupFastAnalogRead(signed char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
adcPinToChannelNum(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
audioOutput(MonoOutput)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::adcReadSelectedChannels()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
__vector_21' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::adcStartReadCycle()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::mozziAnalogRead(unsigned char)' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
__vector_13' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MozziPrivate::audioHook()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
audioHook()' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here sketch\avSourcePhasor.cpp.o (symbol from plugin): In functionMutatingPhasor::setGain(unsigned char)': (.text+0x0): multiple definition of
MidiToFreqPrivate::midiToFreq' sketch\MutantMozziSynth.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 `How it is Fix? Maybe someone solved this problem?