Skip to content

Conversation

@L-Sun
Copy link
Contributor

@L-Sun L-Sun commented Dec 24, 2025

Issues

Fixes #2455

Proposed changes

Fixed GP file export to correctly generate RSE audio configuration. GP files exported from alphaTab were missing the <Name> element and incorrectly using <Pitched> element, causing no sound when playing with RSE audio in Guitar Pro.

Root cause:
Exported GP files had <Pitched>Pitched</Pitched> instead of <Name>Pitched</Name> in the RSE audio configuration, which prevented Guitar Pro from properly loading the RSE sound bank.

Change:

// Before
element.addElement('Pitched').innerText = 'Pitched';
// After
element.addElement('Name').innerText = 'Pitched';

Testing/Debugging process:

  1. Exported a GP file from alphaTab and reduced it to one measure with one track
  2. Created a new track in Guitar Pro 8 and copied the notes from the original track
  3. Configured both tracks to use RSE audio
  4. Observed that the new track had sound but the original track (exported from alphaTab) did not
  5. Unpacked both GP files and compared the score.gpif XML structure
  6. Found that the working track had <Name>Pitched</Name> while the non-working track had <Pitched>Pitched</Pitched>

After applying this fix, exported GP files now play correctly with RSE audio in Guitar Pro.

Checklist

  • I consent that this change becomes part of alphaTab under its current or any future open source license
  • Changes are implemented
  • New tests were added

Further details

  • This is a breaking change
  • This change will require update of the documentation/website

@Danielku15 Danielku15 self-assigned this Dec 24, 2025
@Danielku15 Danielku15 changed the title fix(exporter): no sound in guitar 8 pro RES fix(exporter): no sound in guitar 8 pro RSE Dec 24, 2025
@Danielku15
Copy link
Member

Thanks for the fix. 🤘🏻 Must have been a simple mistake to produce a Pitched XML tag here. As we cannot verify things in Guitar Pro automatically, it doesn't make much sense to add any test here.

@Danielku15 Danielku15 merged commit 719d55b into CoderLine:develop Dec 24, 2025
5 checks 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.

The exported gp file has no sound in Guitar 8 Pro's RSE

2 participants