Regis Monte
Member
Hello everybody,
Please forgive my bad english...
I am quite stuck here. I tried to work on a project of synth after a while and after having upgraded teensyduino. My project used to work before but now, after some time searching, I found out that when I call the enable() function of AudioControlSGTL5000 object during class initialization, the Teensy reboots.
However Teensy's samples sketches such as MidiSynthKeyboard.ino works fine.
In my project I have a lot of classes because I wanted to do a kind of an unified platform for the great synths developped for Teensy, giving generic tools for hardware, midi, controlers, EEPROM patch saving and audio software, but it is quite empty.
Does anyone got an idea ? You may download the src folder.
The call which make the crash is in src/TeensyInstruments/SympleSynth/SimpleSynthInstrument.h on line 104
Thanks a lot, I don't know how to move forward, except starting form scratch.
And here is the building configuration :
Please forgive my bad english...
I am quite stuck here. I tried to work on a project of synth after a while and after having upgraded teensyduino. My project used to work before but now, after some time searching, I found out that when I call the enable() function of AudioControlSGTL5000 object during class initialization, the Teensy reboots.
However Teensy's samples sketches such as MidiSynthKeyboard.ino works fine.
In my project I have a lot of classes because I wanted to do a kind of an unified platform for the great synths developped for Teensy, giving generic tools for hardware, midi, controlers, EEPROM patch saving and audio software, but it is quite empty.
Does anyone got an idea ? You may download the src folder.
The call which make the crash is in src/TeensyInstruments/SympleSynth/SimpleSynthInstrument.h on line 104
Thanks a lot, I don't know how to move forward, except starting form scratch.
And here is the building configuration :
Code:
CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html
PLATFORM: Teensy (4.18.0) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
- framework-arduinoteensy @ 1.158.0 (1.58)
- tool-teensy @ 1.158.0 (1.58)
- toolchain-gccarmnoneeabi-teensy @ 1.110301.0 (11.3.1)
Converting SillonsSynthMedium.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 92 compatible libraries
Scanning dependencies...
Dependency Graph
|-- USBHost_t36 @ 0.2
|-- Bounce
|-- Wire @ 1.0
|-- Audio @ 1.3
|-- EEPROM @ 2.0
Building in release mode