rconstanzo / karma

The karma~ external (for Max) is a dynamically lengthed varispeed record/playback looper object with complex functionality.
http://www.rodrigoconstanzo.com/karma
103 stars 12 forks source link

Add @loop attribute #27

Open rconstanzo opened 7 years ago

rconstanzo commented 7 years ago

Defaults to @loop 1 but when @loop is set to 0, the playback (or recording) will get to the end of the loop at stop.

For all intents and purposes, stop is the message that is internally sent at the end, with regards to the state machine logic. (i.e. overdub would go to stop, play would go to stop, record would go to stop, etc...)

rconstanzo commented 6 years ago

The loop should stop whenever the playback phasor reaches the end of the loop (or start of the loop if in reverse) OR if it comes to the edge of a window setting. So whichever comes first.

So for example: If pos = 0.5 and win = 0.1 and you send a jump 0.8 message, playback will continue until the phasor reaches the very end of the loop. However sending a jump 0.55 message would playback until the phasor reaches the end of the window (in this case phasor = 0.6).