Skip to content

Commit

Permalink
Merge pull request #349 from shorepine/juno_portamento
Browse files Browse the repository at this point in the history
Juno portamento
  • Loading branch information
bwhitman authored Sep 4, 2024
2 parents 84a33fd + a351ed0 commit 08a80fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tulip/shared/py/juno6.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ def cho(n):
ch = JunoSection("CH", [chorus_mode := JunoRadioButtons("Mode", ["Off", "I", "II", "III"],
[cho(0), cho(1), cho(2), cho(3)])])

port = JunoSection("PORT", [portamento := JunoSlider("Port", jcb('portamento'))])

def setup_ui_from_juno_patch(patch):
"""Make the UI match the values in a JunoPatch."""
Expand Down Expand Up @@ -633,6 +634,7 @@ def run(screen):
screen.deactivate_callback = deactivate
screen.set_bg_color(73)
screen.add([lfo, dco, hpf, vcf, vca, env, ch])
screen.add(port, x=20, y=330)
# I wanted this further left, but the channel_selector stomps on in?
screen.add(patch_selector, x=500, y=20) # relative=lfo, direction=lv.ALIGN.OUT_TOP_MID)
# channel_selector affects patch_selector, so it is placed to the left.
Expand Down

0 comments on commit 08a80fc

Please sign in to comment.