matthewscharles / instrument-maker

A framework for making digital instruments with sensors, driven by a need to improve access.
http://www.instrumentmaker.org/
GNU General Public License v3.0
18 stars 5 forks source link

First step of im.sequence played on key release when triggered by LFO. #43

Open alexmlucas opened 4 years ago

alexmlucas commented 4 years ago

This is a bit of an edge case but I've been having problems using im.lfo to trigger im.sequence. In the patch below, the first step of the sequence is always played when the key is released. Although, I'm not sure there's any way to avoid this.

It would be great to have a flexible way of triggering a stream of steady clock pulses from a single keypress or button. I've created im.retrigger which I've also included below. Perhaps im.clock or im.metro would be a better name?

https://drive.google.com/file/d/1JfD8b-Fe1S17hqW4Q_D7tBcnOWm-xmfR/view?usp=sharing

https://drive.google.com/file/d/1ZwljHMYlYZeF42AQKQ0GjoeBl6IKEJDx/view?usp=sharing

matthewscharles commented 4 years ago

Absolutely. I think I made some notes on this, will check.