right now it is a bit awkward to go back and forth with clicking the palette buttons to do anything.
Here are 2 suggestions:
- the javascript way (since you have a lot of patience here):
- click to add gate, click again to remove or
- if gate-tool selected is different than the one on the circuit, replace it with the one selected
- the live mapping way:
- add this little blurb to the gates script:
function bang(){/*copy all the contents of onclick() here*/}
- then place live.button on top of each jsui that we want to map
- then patch it (or script it is js?) so that they will only be visible when in midi/key mapping mode
- there is this interesting abstraction that could be of use here.
right now it is a bit awkward to go back and forth with clicking the palette buttons to do anything.
Here are 2 suggestions:
function bang(){/*copy all the contents of onclick() here*/}