Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUGGESTION: VGM loop / Compile loop #37

Open
nataliapc opened this issue Sep 18, 2024 · 1 comment
Open

SUGGESTION: VGM loop / Compile loop #37

nataliapc opened this issue Sep 18, 2024 · 1 comment

Comments

@nataliapc
Copy link

When using ']0' infinite loop the 'Compile' option don't works properly. Maybe it's needed defining a maximum loop value at compilation time when infinite loop is assigned.

Also, the ']0' infinite loop would be interesting to implement in the 'Export to VGM' option setting the VGM header loop offset.

Thanks for a great work ^^

@okaxaki
Copy link
Member

okaxaki commented Sep 19, 2024

Even the infinite global loop is specified in the MML, MSXplay's internal player and exporter plays the global loop maximum 2 times by default (This is because all the playback data needs to be buffered for fastest seek). This default value can be changed by adding loop=n (n>0) to the meta directive section at the beginning of the MML.

;[gain=1.0 name=noise duration=300s fade=5s cpu=0 lpf=1 loop=3]
                                                        ^^^^^^

As for the VGM loop header, the end frame of the global loop is obvious but it's hard to detect the start frame of the global loop. So the loop option for VGM is something I also want, but I haven't been able to start working on it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants