'Raspberry pi pyaudio - same output device - two python scripts?

I am trying to write out a stream audio into the same output device but through two python scripts. It says that i can have 2 max outputs, but when starting the scripts on linux terminal only one script actually works as an output (send audio to the output device). How can i have both outputs write to the same output device?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source