Skip to content

make inserts parameter selection respond immediately - #44

Merged
llozd merged 2 commits into
mainfrom
inserts-select-refresh
Nov 16, 2026
Merged

llozd merged 2 commits into
mainfrom
inserts-select-refresh

Conversation

@llozd

@llozd llozd commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Summary & Goal

On the Master > Inserts page, moving between parameters with Left/Right or the function keys took a long time to respond, while the encoder felt fine.

Behavior & Changes

insertsSelect() redrew the whole page (8 labels, 8 bars, the EQ curve with its responseDb() calls) and never called display.synchronizeRefresh(). Without it the display swaps the full screen after every control, so one press cost about 18 swaps, with the selection frame drawn last. Selecting now only moves the frame and syncs the refresh, so a press is one control and one swap. The encoder path is unchanged.

Target Devices

  • Original Polyend Tracker (MK66)
  • Polyend Tracker+ (IMX)
  • Polyend Tracker Mini (IMX)

Hardware Testing Status

Device Tested on Hardware by Author Needs Community Hardware Testing Not Applicable Notes / Tested By
Original Tracker (MK66) [ ] [ ] [x] No inserts (FEATURE_REALTIME_FX)
Tracker+ (IMX) [ ] [x] [ ]
Tracker Mini (IMX) [ ] [x] [ ]

How to Test

  1. Open Master > Inserts and load an effect into a slot (try an EQ and a compressor).
  2. Press Left/Right (D-pad on the Mini) and the function keys to move between places: the frame should move immediately.
  3. Check labels, bars, meters and the EQ curve still update when turning the encoder, changing page, effect or channel.

Developer Checklist

  • I have read and understood the Contribution & Pull Request Guidelines (CONTRIBUTING.md).
  • This PR implements one single feature or bug fix (no unrelated refactors or formatting sweeps).
  • make all compiles cleanly for all three devices (Original, Plus, Mini).
  • Memory usage (SRAM_DTC, EXTERNAL_RAM, FLASH) was checked and stays within safe hardware headroom.
  • No heap allocations (new/malloc) or SD card I/O were added to real-time audio callbacks.
  • Existing .mt projects, .pti instruments, .pts synth patches, and mtConfig settings remain backward-compatible.

@llozd
llozd marked this pull request as ready for review November 16, 2026 08:11
@llozd
llozd merged commit 1409fbf into main Nov 16, 2026
1 check passed
@llozd
llozd deleted the inserts-select-refresh branch November 23, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant