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

Setting min and max duration of audiotracks not working as expected #24

Open
gavspav opened this issue Feb 24, 2023 · 4 comments
Open

Comments

@gavspav
Copy link

gavspav commented Feb 24, 2023

As ever, everything which follows has a huge caveat of it probably being user error......

If I set the min and max playback duration to 10 seconds in the audiotrack settings I expect (after reading the docs) clips < 10s to play in their entirety and longer clips to just play for 10 seconds.

However what actually happens is that none of the clips play. Each marker goes red for 10 seconds but there is no audio.

@hburgund
Copy link
Member

Your expectation is correct! Not sure why this isn't working properly; could be a bug or could be that your fade times are too long. If your fade in/out times are say 10s each, then each clip is going to play, start fading in a bit and then fade out again before it is even audible.

What value of playback duration do things start working again?

@gavspav
Copy link
Author

gavspav commented Feb 24, 2023 via email

@hburgund
Copy link
Member

OK, agreed that this seems like a bug then. Probably just some simple math wrong in the playback pipeline that only becomes obvious at the shorter lengths.

If there are any additional consistencies you can discover, please note them here as that will help us figure it out.

To be clear, are you saying that when the min time is set to 0 and max is 10, things work OK? It's just when they are both set to 10 that this issue happens?

@shreyas-jadhav we can check this out when you have the time.

@gavspav
Copy link
Author

gavspav commented Feb 24, 2023

Yes I think it's just when you set min and max to the same. The markers behave as expected ie stay red for n seconds. But there is no audio,

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

2 participants