Skip to content

Faster LCD updates on bypass / footswitch changes#170

Merged
sastraxi merged 2 commits into
TreeFallSound:pistomp-v3from
sastraxi:fix/footswitch-latency
Jun 11, 2026
Merged

Faster LCD updates on bypass / footswitch changes#170
sastraxi merged 2 commits into
TreeFallSound:pistomp-v3from
sastraxi:fix/footswitch-latency

Conversation

@sastraxi

@sastraxi sastraxi commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Every plugin-bypass echo and every footswitch press triggered multiple full-panel SPI blits. Now, we only update the plugin (and footswitch) whose state changed via the incoming message.

Included in this is a small fix for footswitch rendering: these were sized to plugin_height, shorter than their drawn halo+label. The old full-panel blit masked the overflow; partial redraws exposed it. Corrected to the intended footswitch_height.

Snapshots unchanged (pixel-identical), confirming the partial path matches the old full-panel output.

@sastraxi sastraxi requested a review from rreichenbach June 9, 2026 21:03

@rreichenbach rreichenbach left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, I'm seeing the almost the opposite with this one. The footswitch LED and halo update quickly, but the lag for the associated plugin block seems way worse - sometimes almost a second or so. I also sometimes see an LED flash like it's getting updated twice.

@rreichenbach rreichenbach left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and seems to work well now

@sastraxi sastraxi merged commit d010e6f into TreeFallSound:pistomp-v3 Jun 11, 2026
1 check passed
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.

2 participants