pyjack
pyjack copied to clipboard
PyJack and multiprocessing
Hello my name is Federico,
I'm creating a metronome using PySide, and I'm using PyJack to connect to the jack audio server. My metronome has some graphics and needs to play sounds. In order the GUI not to freeze I need to use multiprocessing. The problem is: I'm not able to share my instance of jack.Client between processes, so I need to create a new instance and connect it in each process. I have tried to find out several solution but I'm not able to consistently and efficiently play the sound beats of my metronome and update the UI at the same time. Do you have any examples of use of PyJack in a multi-processing program? Many thanks Federico