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

soft loop fading between in and out point #11206

Open
betalars opened this issue Jan 16, 2023 · 2 comments
Open

soft loop fading between in and out point #11206

betalars opened this issue Jan 16, 2023 · 2 comments
Labels

Comments

@betalars
Copy link

Feature Description

I would like to make a piece of music softly loop in on itself.

The main use case is for tabletop background music. Many Soundtracks for games loop perfectly in-game, but are mastered for the soundtracks you can buy, so you end up with a lot of music, that only kind of loops in on itself.

So being able to smooth that out so the cut is not as jarring would be great.

@ronso0
Copy link
Member

ronso0 commented Jan 16, 2023

I think you notice #9842 Fading would be just a workaround, it'd be better to fix the actual bug.
IIRC the issue is that if there are not enough track samples at the end to fill the last buffer before jumping to the beginning (or loop_in), that space is filled with silence (the gap you hear).

@betalars
Copy link
Author

I really don't think it's that bug.

As I said: the soundtracks you can buy for video games are not always mixed in a way, that allows for perfect looping of a track.

Knowing #9842 exsists, it explains some quirks I rarely get.

But for instance: for all but two tracks in the witcher soundtrack, I found perfect spots to loop in and out and it really was undetectable.
In the Horizon: Zero Dawn soundtrack on the other hand, most of the tracks are multiple loops mixed together to form a nice arrangement - wich is nice - but you often have no chance to loop it without some amount of "audio jumping".

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

No branches or pull requests

2 participants