Skip to content
Snippets Groups Projects

py: use InputController in simple_drums

Merged q3k requested to merge q3k/simple-drums-input-controller into main

Merge request reports

Pipeline #6344 passed

Pipeline passed for 36d14db5 on q3k/simple-drums-input-controller

Approval is optional

Merged by q3kq3k 1 year ago (Aug 10, 2023 7:57pm UTC)

Merge details

  • Changes merged into main with 36d14db5.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #6345 passed

Pipeline passed for 36d14db5 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • q3k assigned to @dx

    assigned to @dx

  • q3k added 1 commit

    added 1 commit

    • 0ba7b684 - py: allow disabling input repeat, use InputController in simple_drums

    Compare with previous version

  • q3k added 3 commits

    added 3 commits

    Compare with previous version

  • Maintainer

    Had a look, but deferring to @moon2 who's afk today but has some valid points.

  • q3k changed title from py: allow disabling input repeat, use InputController in simple_drums to py: use InputController in simple_drums

    changed title from py: allow disabling input repeat, use InputController in simple_drums to py: use InputController in simple_drums

  •         # True if a given track should be highlighted, when a corresponding
            # petal is pressed.
            self._bar_highlight = [False for _ in range(4)]

    "bar" is a reserved term in music, so let's not use it here to avoid confusion - in the current settings the entire 16 beats represent a bar actually. We can understand the confusion with the vertical lines as they resemble bar lines in music notation, but they're really just a visual aid to make it easier to align stuff and represent quarter notes atm, but with a more flexible config they could really be anything. Maybe we should use a different symbol (dotted lines or smth) there, but we'll change up looks someday soon anyways and can just do it then.

    Below we use "groupgap" with "group" referring to one of the highlightable units, so maybe rename _bar_hightlight to _group_highlight? Also we think in the comment you mean "bar"(->group) when you say "track", which is a reserved term of the sequencer, if that is the case please correct accordingly to whatever you change the variable name to.

    Rest looks good!

  • q3k added 37 commits

    added 37 commits

    Compare with previous version

  • Author Contributor

    Renamed bar to group, rebased on top of newer changes. Please take a look.

  • q3k added 1 commit

    added 1 commit

    • 31a1ec74 - py: use InputController in simple_drums

    Compare with previous version

  • looks good, go ahead

  • moon2 approved this merge request

    approved this merge request

  • q3k added 9 commits

    added 9 commits

    Compare with previous version

  • q3k enabled an automatic merge when the pipeline for 36d14db5 succeeds

    enabled an automatic merge when the pipeline for 36d14db5 succeeds

  • q3k merged

    merged

Please register or sign in to reply
Loading