Differences between revisions 82 and 83
Revision 82 as of 2021-05-19 20:02:33
Size: 3434
Comment: a dust
Revision 83 as of 2021-12-06 13:47:12
Size: 3797
Comment: make translation header easy to include in translations
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/Sound|español]] - [[fr/Sound|Français]] - [[it/Sound|Italiano]] -~ ##For Translators - to have a constantly up to date translation header in you page, you can just add a line like the following (with the comment's character at the start of the line removed)
## <<Include(Sound, ,from="^##TAG:TRANSLATION-HEADER-START",to="^##TAG:TRANSLATION-HEADER-END")>>
##TAG:TRANSLATION-HEADER-START
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[Sound|English]] - [[es/Sound|español]] - [[fr/Sound|Français]] - [[it/Sound|Italiano]] -~
##TAG:TRANSLATION-HEADER-END

Translation(s): English - español - Français - Italiano


Sound playback, recording, and mixing in Debian is provided by the ALSA kernel interface, almost always in combination with a sound server. These sound-related services can, usually, be run in parallel without conflicting, and can often be integrated.

For a list of sound applications, see Multimedia

Sound servers and APIs

  • ALSA - The "Advanced Linux Sound Architecture" (ALSA) is a part of the Linux kernel that provides an interface to the kernel audio drivers. It is also a userspace library ("alsa-lib") that provides more advanced features. All sound servers ultimately rely on the ALSA kernel API, and as such, it cannot be substituted. The userspace library, however, can be replaced.

  • PipeWire - A modern multimedia server looking to eventually unify and replace PulseAudio and JACK. Also a drop-in replacement for alsa-lib.

  • PulseAudio - A sound server that sits between ALSA and user applications, aiming to provide easy automatic sound configuration for users. It also provides a more advanced application interface than ALSA and can glue ALSA and JACK together. This is the most common sound server, and is often installed by default.

  • JACK - A sound server API and sound server daemon ("jackd") aimed at professional usage that provides real-time, low-latency connections for audio and MIDI between applications.

  • OSS (Legacy) - used to be the default sound subsystem before Linux 2.4

Miscellaneous

  • BluetoothUser/a2dp - Guide for setting up Bluetooth audio on Debian.

  • MIDI - MIDI is a communication protocol to connect electronic musical instruments, computers, and audio devices. This page documents its usage in Debian.

  • SoundFormats - Information about various audio file formats/codecs, and how to work with them in Debian.


Troubleshooting

No sound: go through these steps while audio is playing in an application (music player, web browser...):

  • Check proper connection of the output jack
  • Check that your amplifier/speakers are powered on and working
  • Check that the audio playback program is unmuted/volume is raised, from inside the application, and in the system audio mixer (eg. PulseAudio volume control or alsamixer)

  • Check that your soundcard is visible, enabled, and is selected as default in the Configuration tab of the audio mixer

  • Disable any other output devices like HDMI, only enable the desired output
  • Check that your soundcard is detected by ALSA: aplay -l

    • Check that a driver/module is loaded for your sound card using lspci -knn

    • If not, identify your soundcard's PCI ID ([XXXX:XXXX]) and paste the ID here to determine if a driver is available in Debian.

    • Check if your soundcard requires an additional Firmware.

  • Check whether you can play sound as Root/add your user to the audio group


Wiki pages

A list of all pages related to Sound playback and recording:

Portal refactoring/merging in progress below this point


CategorySound