SofaPirate / Plaquette

Object-oriented Arduino library for creative physical computing
https://sofapirate.github.io/Plaquette/
GNU General Public License v3.0
15 stars 4 forks source link

Add options to reset generative sources #87

Open sofian opened 9 months ago

sofian commented 9 months ago

This is important to re-sync a Metro or an Osc object. We could also either add a reset() function, which would be the easiest. We could also choose to add similar functions as the Chronometer object, with start/stop/resume functions. But this would involve keeping track of whether the object has been started.

sofian commented 9 months ago

Question is: what word to use?

sofian commented 9 months ago

Also: there would be an easy way to avoid using an extra boolean in the Metro and Osc classes by using the sign of one of the floats.

sofian commented 9 months ago

I think we should follow a common API similar to Chrono. See #92