Skip to content

Using Mixing Option with Ongoing Stream #1807

Answered by sufyanshafiq
sufyanshafiq asked this question in Q&A
Discussion options

You must be logged in to vote

To achieve the scenario I used:

Fallback. The first way of combining sources is through the fallback operator, which takes
as argument a list of sources, and plays the first one which is available, i.e. can produce some
stream.

Below code that helped me:

mic = blank.strip(max_blank=2., min_noise=.1, threshold=-20., mic)
music = playlist("~/Music")
radio = fallback(track_sensitive=false, [mic, music])

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@sufyanshafiq
Comment options

@sufyanshafiq
Comment options

@smimram
Comment options

@sufyanshafiq
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sufyanshafiq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1806 on August 12, 2021 06:45.