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

Sequential concatentation to start before the previous sound has finished #3

Open
ThomasVeitch opened this issue Aug 6, 2020 · 16 comments

Comments

@ThomasVeitch
Copy link

Not really an issue but a requirement.

It would be useful if you were able to make a wav file from many wav files. But instead of sequentially waiting until one sound finished before concatenating it to the end, you can start a sound before the first finished. So really I'm looking for a mixture of parallel and sequential, but the sequential being able to be added at a specific time before the previous sound has finished.
Is this possible?
Could you do it?

Thanks.

@ZeroOneZeroR
Copy link
Owner

ZeroOneZeroR commented Aug 6, 2020

What you want can be done by this. You just need to use parallel mixing with blank audio input.

Aren't wav files supported?

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Aug 6, 2020 via email

@ZeroOneZeroR
Copy link
Owner

ZeroOneZeroR commented Aug 6, 2020

Sorry, I gave the wrong answer.
Currently this not possible with this. Need to do some work.

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Aug 6, 2020 via email

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Aug 13, 2020 via email

@ZeroOneZeroR
Copy link
Owner

I will work on it soon.

@ZeroOneZeroR
Copy link
Owner

ZeroOneZeroR commented Aug 24, 2020

Your problem has been solved. You can now set startOffsetUs() to GeneralAudioInput. Use version v1.1

@ZeroOneZeroR
Copy link
Owner

Do you have the previous version's code? I need the README.md file. Could you provide me with that, please?

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Aug 25, 2020 via email

@ZeroOneZeroR
Copy link
Owner

Thank you so much.

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Sep 9, 2020 via email

@ZeroOneZeroR
Copy link
Owner

You want this while playing with Mediaplayer? I haven't got you properly.

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Sep 9, 2020 via email

@ZeroOneZeroR
Copy link
Owner

You can add one audio multiple times. You can add the previous Audios again with new AudioInputs with your required settings. You have to calculate the startOffset for looping.

@ThomasVeitch
Copy link
Author

ThomasVeitch commented Sep 9, 2020 via email

@ZeroOneZeroR
Copy link
Owner

Maybe i will have to do something to maintain the volume. I already have thought about it. Let me do something with volume. But i can't do anything with timing.

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