monome / softcut-lib

sample cutting library
GNU General Public License v3.0
35 stars 6 forks source link

toggle running/stopped state as appropriate when setting play/rec flags #58

Closed catfact closed 3 years ago

catfact commented 3 years ago

this makes for less surprising behavior when toggling play/rec dynamically:

this means rec and/or play flags can be used to perform a hard stop/start, and repositioning can be done in between without producing unexpected crossfades.


in most cases, it's still probably more useful to simply set the levels and positions, not caring about where the phase ends up. in a future (breaking) version it would be nice to revise the whole interface and add things like "fade out and stop" that users might reasonably expect.