diff --git a/wiki/linux/audio.md b/wiki/linux/audio.md index 55dda31..afcb414 100644 --- a/wiki/linux/audio.md +++ b/wiki/linux/audio.md @@ -2,36 +2,24 @@ Audio is an important point in a linux desktop environment -## Pulseaudio +## Sound Server -[Pulseaudio](https://www.freedesktop.org/wiki/Software/PulseAudio) is the go-to -audio server program for linux distributions. +A sound server is software that manages use and access of audio devices. +The following is a list of available sound servers. -## Noise cancellation - -Noise cancellation can be easily achieved by installing -[Noisetorch](https://github.com/lawl/NoiseTorch). -After the installation modify the `Voice Activation Threshhold` to your needs. - -## Pipewire +- [PulseAudio](./pulseaudio.md) is the go-to sound server program used for + linux. +- [Pipewire](./pipewire.md) is a modern graph based sound server. -[Pipewire](https://pipewire.org) is a graph based processing engine for -`pulseaudio` and `JACK`. -It makes improvements for the input and output handling. - -### Installation - -If the current audio server program running is `pulseaudio`, you can just -install `pipewire-pulse` (on Arch-based distros or according packages on other -distros) and pipewire is running. -Make sure to restart to be sure everything is running correctly. +## Noise cancellation -### Noise cancellation +Removing noise can be achieved by using +sound processing software options for [sound server](#sound-server). +An example for this is the noise reduction included in +[easyeffects](/wiki/linux/easyeffects.md#noise-cancellation) for Pipewire. -Noise cancellation can be easily achieved in `pipewire`-style by installing -[easyeffects](https://github.com/wwmm/easyeffects). -Make sure to check the box `Process all Inputs` and `Process all Outputs` to -route everything through `easyeffects`. -Make log out of your system afterwards. -To enable noise cancellation navigate `Inputs` and click `Plugins`. -After that click `Add Plugin` and select `Noise Reduction`. +As an alternative software explicitly made for the reduction of noise can be +installed. +Belonging to the latter option noise cancellation can be easily achieved by +installing [Noisetorch](https://github.com/lawl/NoiseTorch). +After the installation modify the `Voice Activation Threshhold` to your needs. diff --git a/wiki/linux/easyeffects.md b/wiki/linux/easyeffects.md new file mode 100644 index 0000000..3e5ba83 --- /dev/null +++ b/wiki/linux/easyeffects.md @@ -0,0 +1,44 @@ +# Easyeffects + +[Easyeffects](https://github.com/wwmm/easyeffects) is a free and open-source +GUI-software for applying sound effects and filters on input and output audio +streams. +Easyeffects uses [Pipewire](./pipewire.md) as +[sound server](/wiki/linux/audio.md#sound-server). + +## Installation + +Easyeffects can be installed in most distributions by installing the +`easyeffects` plugin. +An installation via [Flatpak](./flatpak.md) is also possible. + +## Usage + +Easyeffects can apply `Effects` to input and output sound. + +### Noise cancellation + +Noise cancellation can be achieved by installing +Easyeffects. +Make sure to check the box `Process all Inputs` and `Process all Outputs` to +route everything through `easyeffects`. +Make log out of your system afterwards. +To enable noise cancellation navigate `Inputs` and click `Plugins`. +After that click `Add Plugin` and select `Noise Reduction`. + +### Presets + +Presets can be created by selecting `Presets`, setting the name and clicking the +`+` to save it. +It is then displayed in the list below from where it can be loaded or deleted. +Presets are saved in the directory `~/.config/easyeffects/input` and +`~/.config/easyeffects/output`. + +#### Recommended Presets + +The following is a list of presets that have been tested and only need slight +configuration to adjust them to the specific system. + +- [tiyns voice input preset](https://github.com/tiyn/dotfiles/blob/master/.config/easyeffects/input/voice.json) + is a list of different effects to achieve an enhanced quality of microphone + sound for speach. diff --git a/wiki/linux/pipewire.md b/wiki/linux/pipewire.md new file mode 100644 index 0000000..241ccfc --- /dev/null +++ b/wiki/linux/pipewire.md @@ -0,0 +1,23 @@ +# Pipewire + +[Pipewire](https://pipewire.org) is a graph based +[sound server](/wiki/linux/audio.md#sound-server). + +## Installation + +For clients that use the [PulseAudio](/wiki/linux/pulseaudio.md) API +`pipewire-pulse` (on Arch-based distros or according +packages on other distros) can be installed. +It will automatically remove unneeded and conflicting PulseAudio packages. +Additionally `pipewire-alsa` and `pipewire-jack` for JACK and Alsa clients are +available. +Make sure to restart to be sure everything is running correctly. + +## Sound processing + +For simple sound processing in the form of volume adjustment as well as setting +the default input and output devices `pavucontrol` can be used as a simple +mixer. +For further sound processing the easiest way to do so is using +[easyeffects](/wiki/linux/easyeffects.md) which features a wide range of effects +to apply to sound streams including noise reduction. diff --git a/wiki/linux/pulseaudio.md b/wiki/linux/pulseaudio.md new file mode 100644 index 0000000..a9a5ca2 --- /dev/null +++ b/wiki/linux/pulseaudio.md @@ -0,0 +1,11 @@ +# PulseAudio + +[PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio) is a +[sound server](/wiki/linux/audio.md#sound-server) distributed by the +[freedesktop.org](https://www.freedesktop.org/wiki/Software/PulseAudio) project. + +## Sound Processing + +For simple sound processing in the form of volume adjustment as well as setting +the default input and output devices `pavucontrol` can be used as a simple +mixer.