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

Request: Loop music from specific point #1662

Closed
SeiferTim opened this issue Nov 20, 2015 · 3 comments
Closed

Request: Loop music from specific point #1662

SeiferTim opened this issue Nov 20, 2015 · 3 comments

Comments

@SeiferTim
Copy link
Member

So, after working with a couple of different music artists on projects, something that I keep getting asked is: "Can you make this track loop from a specific point, after the first play?"

Apparently, this is something that is pretty common in a lot of games? A track will have a few seconds of 'lead' for the first time it's played, but when it loops, it's meant to skip that section...

I'm not sure the best way to implement, or how we have it work, but it would be a nice feature to add.

@MSGhero
Copy link
Member

MSGhero commented Nov 20, 2015

I feel like you split up the track into the intro and the part that loops, play the intro once, then play the loop onComplete.

@SeiferTim
Copy link
Member Author

That is how I've solved this issue in the past, but, it's a common-enough issue that I think it could be solved with code, instead...

Also, it looks like it's something that is RPG Maker (and possibly other software) handles already?
http://forums.rpgmakerweb.com/index.php?/topic/9251-how-to-make-looping-music-the-right-way/

Or, maybe it's something in the Ogg format that 'just works' that could be duplicated? (I don't know that much about music...)

@winterismute
Copy link
Contributor

In any case, this is quite simple to implement, see PR #1736

@Gama11 Gama11 closed this as completed in 53c3981 Mar 15, 2016
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

No branches or pull requests

4 participants