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

Cannot easily retrigger notes on standalone synthesisers? #25

Open alexmlucas opened 4 years ago

alexmlucas commented 4 years ago

To play two identical notes consecutively from [im.tunedperc] the user is required to alternate between positive and negative values. Is there an easier way to achieve this?

[72(   [-72(
|     /
[sig~]
|
[im.tunedperc]
|
[im.speaker]
matthewscharles commented 4 years ago

This is an idiosyncrasy for sure. I wouldn't have thought of this. As a quick fix, we could make an object to replace sig~ in your patch (perhaps called im.trigger) which will make that transition from control to signal easier.

Alternatively, I could add a midi-style velocity inlet on all the standalone synths, and an equivalent to makenote .. this sounds like a good idea anyway.

matthewscharles commented 4 years ago

I've added velocity to tunedpercussion in the restructure branch.

The instrument defaults to maximum velocity if no velocity is received from the inlet.

0-1 (straight from im.sensor) gives full range of velocity 0-127 (e.g. from midi) gives full range of velocity, if a velocity above 1 is detected.

change in velocity triggers a note -- not entirely happy with this, but it tests fine with makenote at least.

floats accepted in both inlets as well as signals if running v0.50+