Skip to content

Fix LV2 microVersion field to use integer instead of string#2

Draft
Godly75 with Copilot wants to merge 2 commits into
masterfrom
copilot/update-tts-reaper-version
Draft

Fix LV2 microVersion field to use integer instead of string#2
Godly75 with Copilot wants to merge 2 commits into
masterfrom
copilot/update-tts-reaper-version

Conversation

Copilot AI commented Nov 24, 2025

Copy link
Copy Markdown

The LV2 TTL generator was outputting lv2:microVersion as a string literal instead of an integer, violating the LV2 specification.

Changes

  • src/common/version.h.in: Added RELEASE_NUMBER_INT macro alongside existing RELEASE_NUMBER_STR
  • src/lv2/SurgeLv2Export.cpp: Changed microVersion output from RELEASE_NUMBER_STR to RELEASE_NUMBER_INT

Before:

osDsp << "    lv2:microVersion " << RELEASE_NUMBER_STR << " .\n";
// Generated: lv2:microVersion "1000" .

After:

osDsp << "    lv2:microVersion " << RELEASE_NUMBER_INT << " .\n";
// Generated: lv2:microVersion 1000 .
Original prompt

tts reaper def versie


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Godly75 <38914962+Godly75@users.noreply.github.com>
Copilot AI changed the title [WIP] Update TTS Reaper to latest version Fix LV2 microVersion field to use integer instead of string Nov 24, 2025
Copilot AI requested a review from Godly75 November 24, 2025 02:33
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