Skip to content

Speed up MIDI by 20% on Pico with faster SADD#791

Closed
earlephilhower wants to merge 1 commit intomasterfrom
turbno
Closed

Speed up MIDI by 20% on Pico with faster SADD#791
earlephilhower wants to merge 1 commit intomasterfrom
turbno

Conversation

@earlephilhower
Copy link
Owner

Rewrite the saturation detection in the MIDI inner loop to give a 20%(!) boost in performance on the Pico RP2040

Rewrite the saturation detection in the MIDI inner loop to give a 20%(!)
boost in performance on the Pico RP2040
@earlephilhower
Copy link
Owner Author

D'oh! 😱 Off by 1 error, the patch was effectively never clipping. Need to look at bits 30...15, not 31...16 to detect carry in ~= carry out. When adjusted to work properly, back to same performance.

@earlephilhower earlephilhower deleted the turbno branch October 24, 2025 01:19
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