Coder Social home page Coder Social logo

pajackconnect's Introduction

pajackconnect

Make JACK Work With PulseAudio

This script is intended to be invoked via QjackCtl to start up and shut down JACK on a system running PulseAudio. It handles the necessary setup to make the two work together, so PulseAudio clients get transparently routed through JACK while the latter is running, or if pulseaudio is suspend by pasuspender, do nothing

Usage: in QjackCtl’s Settings window, in the “Options” tab, enter the command

pajackconnect start &

in the field labelled “Execute script after Startup”, and put

pajackconnect stop &

in the field labelled “Execute script on Shutdown”.

pajackconnect reset &

in the field labelled “Execute script after Shutdown”.

for use jack without pulseaudio, add in Qjackctl setting window in the serverpath field 'pasuspender -- ' before 'jackd', save settings as "No Pulse" for example. Remove 'pasuspender -- ', and save settings as 'Pulse'. Now you can select from the Qjackctl setting window, if you would start jack with or without pulse.

To make it work after suspend, the file resume-fix-pulseaudio.service needs to be installed and enabled. If you use the debian package, the package installer handle that for you.

DEBIAN:

Build package with:

dpkg-buildpackage -rfakeroot -uc -us -b

On other distributions you need to first edit the file resume-fix-pulseaudio.service and replace USERNAME with your User name (logname) and USERID with your users ID (id -u $(logname))

after install you need to run (as root)

systemctl enable resume-fix-pulseaudio.service

systemctl daemon-reload

to enable the service.

pajackconnect's People

Contributors

brummer10 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.