quantum-music-playground icon indicating copy to clipboard operation
quantum-music-playground copied to clipboard

circuit composer interaction

Open omarcostahamido opened this issue 4 years ago • 1 comments

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.

omarcostahamido avatar Oct 05 '21 18:10 omarcostahamido

this might be of use: https://cycling74.com/forums/live-slider-can-i-change-rangeenum-on-the-fly

omarcostahamido avatar Oct 10 '21 11:10 omarcostahamido