Skip to content

Notebot: replace out of range note rounding with transposing - #6668

Merged
Big-Iron-Cheems merged 2 commits into
MeteorDevelopment:masterfrom
rewrite:notebot-transpose
Sep 21, 2026
Merged

Big-Iron-Cheems merged 2 commits into
MeteorDevelopment:masterfrom
rewrite:notebot-transpose

Conversation

@rewrite

@rewrite rewrite commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature

Description

Instead of rounding, transposes notes that are not playable. This makes them actually sound somewhat good!

Related issues

None

How Has This Been Tested?

CCBlueX test server, with NBS files that have out of range notes.

Drop OOR notes:

2026-09-16.22-21-47.mp4

Round OOR notes:

2026-09-16.22-22-38.mp4

Transpose OOR notes:

2026-09-16.22-23-15.mp4

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@Big-Iron-Cheems

Copy link
Copy Markdown
Collaborator

Transposes out-of-range notes by ±12 semitones until they fit the 0–24 range, preserving their pitch class instead of clamping them.
Looks (and sounds) good to me.

@Big-Iron-Cheems
Big-Iron-Cheems merged commit 5f274f5 into MeteorDevelopment:master Sep 21, 2026
1 check passed
@rewrite
rewrite deleted the notebot-transpose branch September 21, 2026 18:28
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