Professional audio/Examples - ArchWiki

Jump to content

# Professional audio/Examples

From ArchWiki
< Professional audio

Related articles

- Professional audio
- Professional audio/Development

This article or section is a candidate for merging with Professional audio.

Notes: (a) This article is extremely small—no reason to make it separate instead of some sort of (sub)sections. (b) Both PulseAudio and JACK Audio Connection Kit are replaced by PipeWire. What about just removing the article? or replacing it with a small notion?.. (Discuss in Talk:Professional audio/Examples)

This article is dedicated for advanced setups of a professional audio (pro audio) environment like combinations of sound servers or a complex startup procedure to account for special use cases and hybrid systems (e.g pro audio and virtualization host on one machine).

## Advanced sound server setups

Some multimedia applications and especially web browsers and games do not provide a JACK client and thus, either depend on other sound server packages or just do not make a sound when JACK is running. Although you might want a streamlined pro audio system, you cannot do without some of the aforementioned applications. For that reason you would want to run a combination of sound servers and (automatically) route them into one another.

This layout illustrates a layer model some advanced sound server setups to be discussed:

         #PulseAudio+JACK

    ┌───────────────────────┐
    │      Applications     │
    ├──────────────┬────────┤
    │  PulseAudio  │  JACK  │
    ├──────────────┴────────┤
    │         ALSA          │
    └───────────────────────┘

### PulseAudio+JACK

PulseAudio has become a popular sound server as it is easier to use and widely adopted by most desktop applications in contrast to JACK. Thus, you usually need to install it on a desktop system. On the other hand PulseAudio can be cumbersome, if you want to use JACK on demand for pro audio work on a hybrid system.

To maintain desktop audio capabilities a configuration for routing PulseAudio through JACK is employed. Most preferably use the KXStudio method by installing pulseaudio-jack and jack2-dbus for running Jack2. Graphical management of the bridge between PulseAudio and JACK can be done via cadenceAUR.

If you're using qjackctl instead, the default sink and source has to be set after JACK startup using the following script:

    #!/bin/bash
    pacmd set-default-sink jack_out
    pacmd set-default-source jack_in
    exit 0

More information on how to use that script can be found in PulseAudio/Examples#The shell script method.

Category:

- Sound

Hidden category:

- Pages or sections flagged with Template:Merge

Professional audio/Examples
Add topic