quantum-music-playground
quantum-music-playground copied to clipboard
circuit composer interaction
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.
- add this little blurb to the gates script:
this might be of use: https://cycling74.com/forums/live-slider-can-i-change-rangeenum-on-the-fly