server#

Wrapper around autopilot’s JackClient

  • boot and kill the jackd daemon

  • references to jackclient module

perceptivo.sound.server.boot_jackd(config: perceptivo.types.sound.Jackd_Config) subprocess.Popen#

Boot the jacked server given the configuration given by types.Jackd_Config

Launches with shell = True and preexec_fn=os.setsid so that the process can be killed later.

Registers the jackd sound server to be killed at exit.

Thanks to https://stackoverflow.com/a/4791612/13113166 for information about how to kill a process with shell = True

Returns

subprocess.Popen - opened subprocess

perceptivo.sound.server.kill_jackd(proc: Optional[subprocess.Popen] = None)#