Hi,
sorry, this is more of a general C++ topic, but my question is aimed at a Teensy project. So I hope it's ok if I ask the question here.
I am developing MicroDexed, a 6 OP FM synth (compatible with a famous synth from the 80ies). The sound generation code is taken from Dexed (a JUCE based implementation of the msfa engine). It's working fine.
But now I thought about to build a single audio object for Teensy. The current audio engine code is stable and is very rarely touched. Currently the code is splitted over several *.h and *.cpp files. My idea was to put the engine code into a single *.cpp and *.h file. But how to do this?
Simply merging the files will probably not work. Does anyone have an idea how to do this?
TIA, Holger
sorry, this is more of a general C++ topic, but my question is aimed at a Teensy project. So I hope it's ok if I ask the question here.
I am developing MicroDexed, a 6 OP FM synth (compatible with a famous synth from the 80ies). The sound generation code is taken from Dexed (a JUCE based implementation of the msfa engine). It's working fine.
But now I thought about to build a single audio object for Teensy. The current audio engine code is stable and is very rarely touched. Currently the code is splitted over several *.h and *.cpp files. My idea was to put the engine code into a single *.cpp and *.h file. But how to do this?
Simply merging the files will probably not work. Does anyone have an idea how to do this?
TIA, Holger