Comments (11)
Thanks for reporting this problem and the detailed analysis. It is a bit unfortunate that Guitar Pro still has some special proprietary binary files in their format. But even if it might be a bug in GP8 (which we could report) I guess it should be possible to write files which makes GP7 and 8 happy. It is a bit a gray zone with the reverse engineering of file formats but as we talk about interopability here it should be fine. Maybe Arobas would be even willing to share some insights about their format like they did in the old days with publishing the GP4 file format description.
from alphatab.
Intermediate findings: The problem seems to be in the PartConfiguration
the LayoutConfiguration
seems optional and not making a difference (e.g. when deleting the file in the GP-zip). But it seems the way we generate the PartConfiguration
is rather wrong compared to what GP8 is doing. Will have to do some deeper reverse engineering there because the file is mandatory. But if we write it wrong that's not good.
from alphatab.
Problems identified and fixed.
from alphatab.
Thanks for the quick responses! Now I can open a multi-track score from the generator (with the new change, it's by default rendering one track)! But I think it still have the same issue when clicking the button to "Switch single track / multitrack".
![Screenshot 2023-08-07 at 8 04 53 AM](https://private-user-images.githubusercontent.com/553783/258844174-54455fa7-5880-4bbe-ac14-122c6d662462.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQxMTA2NTUsIm5iZiI6MTcxNDExMDM1NSwicGF0aCI6Ii81NTM3ODMvMjU4ODQ0MTc0LTU0NDU1ZmE3LTU4ODAtNGJiZS1hYzE0LTEyMmM2ZDY2MjQ2Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQyNlQwNTQ1NTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZGU3YTVlMDU5N2ZiMzZkMzU5MzE5YTg1N2VmNGFhNWE1OWQzNzZjZmRhZDliNzEwMTE5ZjMyMDdiYzgzNDBkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ee1ke1dQCI5DPeOAImCw4a8huYRUpqna40zqR3nCFyE)
from alphatab.
@Jeswang Do you still experience a bug? I opened your provided example files and it works fine for me with Guitar Pro 8 (8.1.0 Build 48) on Windows. I see you are on a Mac.
I re-created your testfile with GP8 on windows and sent it through alphaTab to export it and also it works fine. Can you try following two files on your environment and check what happens?
multi-track-win.zip
from alphatab.
Yep, confirmed that Guitar Pro 8 still cannot render mutlipe tracks with the files attached in the above comment.
![image](https://private-user-images.githubusercontent.com/553783/292781131-3066e3e4-10fe-4f39-8cf2-d9ab292cd3d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQxMTA2NTUsIm5iZiI6MTcxNDExMDM1NSwicGF0aCI6Ii81NTM3ODMvMjkyNzgxMTMxLTMwNjZlM2U0LTEwZmUtNGYzOS04Y2YyLWQ5YWIyOTJjZDNkOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQyNlQwNTQ1NTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mODRhOTA5MWY3MzgxODlkZjA2MmI1MzNkNTExOWY2NzhhZGRiZTc1MzAxYTgwNmM5ZmE4N2U3NTAwMDM2YjU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.X5BTGU8Nkppzs20kE0t8ilvdXh7etxpwHBUqVVO10aY)
from alphatab.
@Jeswang Do I understand you correctly that you also get an error when you try to open multi-track-win.zip/Example.gp
? Or does it only happen with multi-track-win.zip/Example-output.gp
?
Example.gp has been created with Guitar Pro 8 and was not touched by alphaTab at all. This would mean Guitar Pro 8 has a bug and we cannot do much from our side.
from alphatab.
Ping @Jeswang any feedback on my last question?
from alphatab.
Sorry for the slow response.
@Jeswang Do I understand you correctly that you also get an error when you try to open
multi-track-win.zip/Example.gp
? Or does it only happen withmulti-track-win.zip/Example-output.gp
?
I can open multi-track-win.zip/Example.gp
fine without any error when showing multiple tracks, and only encounter issues with multi-track-win.zip/Example-output.gp
.
Example.gp has been created with Guitar Pro 8 and was not touched by alphaTab at all. This would mean Guitar Pro 8 has a bug and we cannot do much from our side.
from alphatab.
@Jeswang: I double checked now many things again and I cannot reporduce the problem with Guitar Pro 8.1.1 Build 17. I took the files from reproduce.zip and multi-track-win.zip but I can open all files and switch tracks without problems.
at-issue-1238.mp4
From the screenshot I realized that there might be something else important: The example files have two tracks one with an empty name and one with "Stell Guitar" but in your screenshot you have two empty strings and one track is muted.
Are there more details you can share about your environment? I tested on macOS Sonoma using the files we have shared until now.
from alphatab.
Related Issues (20)
- Merge certain effects across voices (e.g. let ring & palm mute) HOT 1
- Idea: Create own lightweight skia lib wrapper to get unified rendering
- https://alphatab.net/ is 500 Now HOT 1
- "Justify" last row of bars
- Score playback is currently broken HOT 2
- js: Uncaught ReferenceError: alphaTab is not defined
- When enableAnimatedBeatCursor=false, some section pointers may skip some notes HOT 10
- Odd cursor movement when playing repeat-close.gp5 HOT 2
- vite build does not work with alphaTab's worker HOT 2
- When playing for the second time to the end, it cannot be stopped and emits a harsh noise. HOT 3
- After updating to patch commit b079e29, this error occurred:the cursor pauses at the end of each bar HOT 2
- Announcement: Native iOS Version
- After upgrading to Commits #1334, it was found that when there is an empty bar, the cursor does not appear. HOT 1
- Full WebPack support
- Full Rollup support HOT 1
- Full Vite support
- When the beginning of a bar is two connected grace notes, the playback cursor gets stuck and cannot move forward normally. HOT 2
- Full Angular+WebPack Support
- Failed to execute 'importScripts' on 'WorkerGlobalScope' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alphatab.