With the Accents remediation done, I’d like to dip my toe into the new lower layer development. I’m feeling a bit lost as to where to even begin to get something very simple working. So let me start with some very basic questions. Please pardon my ignorance - in addition to lacking some ER-301 specific knowledge, my experience with C++ is pretty ancient too.
Should I be creating my code files inside of the er-301 repo somewhere? Or in my own repo and just somehow include a path to the er-301 code? I assume I will have dependencies on the existing code, and will need to include some references to classes such as unit. I don’t think I’d be creating anything at the moment that I’d want to make a pull request and commit into the firmware, but rather the target would be a *.so file that lives inside a packaged mod. A binary that can be included in lua and used with the Unit.addObject method to create a new unit.
I’m assuming the bare minimum project would be a header (*.h) file and a c++ (.CPP) file. I’m thinking it would have 1 mOutlet (definitely), and possibly an mInlet (for a processor), and likely an mParameter or two. It would contain at least a process() function, which somehow gets called by upstream “stuff” once per period which is determined by the sample rate?
What other requirements am I missing for a minimalistic project?
What is flawed in my understanding so far?