streamlit-webrtc icon indicating copy to clipboard operation
streamlit-webrtc copied to clipboard

how to mix audio track

Open zz00217 opened this issue 2 years ago • 2 comments

I want to mix 2 audio tracks. have any related examples?

zz00217 avatar Aug 26 '23 08:08 zz00217

This is an example of mixing multiple video tracks: https://github.com/whitphx/streamlit-webrtc/blob/main/pages/6_mix_multi_inputs.py Replacing its "video" to "audio" may work...? Sorry audio is not my expertise...

whitphx avatar Sep 10 '23 13:09 whitphx

Thank you for your reply. It will save the last frame in the _latest_frames_map and don't remove it in the mixe.py unless the track is ended . For videos, this will save the previous image. Is there an impact on audio mixing?

zz00217 avatar Sep 11 '23 06:09 zz00217