ancien:tek:cartes_sons
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | ancien:tek:cartes_sons [2024/02/09 16:39] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Cartes sons ====== | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Sur l' | ||
+ | |||
+ | < | ||
+ | aplay -l | ||
+ | **** List of PLAYBACK Hardware Devices **** | ||
+ | card 0: igep2 [igep2], device 0: TWL4030 twl4030-0 [] | ||
+ | </ | ||
+ | |||
+ | Nous utiliserons pour test les (toutes) petites cartes sons USB de type http:// | ||
+ | < | ||
+ | speaker-test -Dplughw: | ||
+ | speaker-test -Dplughw: | ||
+ | </ | ||
+ | |||
+ | piste pulseaudio/ | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Installation jackd ===== | ||
+ | |||
+ | < | ||
+ | cd /usr/src | ||
+ | wget http:// | ||
+ | apt-get install celt libcelt-dev libcelt0-0 libsndfile1-dev libsamplerate0-dev fftw | ||
+ | tar xvzf jack-audio* | ||
+ | cd jack-audio-connection-kit-0.118.0 | ||
+ | ./configure --disable-firewire --disable-freebob --disable-sun --disable-oss --disable-coreaudio --enable-preemption-check --prefix=/ | ||
+ | make;make install | ||
+ | </ | ||
+ | |||
+ | ===== Test pulseaudio jackd en 5.1 ===== | ||
+ | modifier le fichier / | ||
+ | < | ||
+ | default-sample-channels = 6 | ||
+ | </ | ||
+ | Créer un fichier | ||
+ | **jack-pulse.sh** | ||
+ | < | ||
+ | #load pulseaudio jack modules | ||
+ | #!/bin/bash | ||
+ | |||
+ | pactl load-module module-jack-sink | ||
+ | pactl load-module module-jack-source | ||
+ | |||
+ | echo " | ||
+ | echo " | ||
+ | </ | ||
+ | |||
+ | modifier le fichier ~.asoundrc | ||
+ | < | ||
+ | ctl.jack51 { | ||
+ | type hw | ||
+ | card 0 | ||
+ | } | ||
+ | |||
+ | pcm.jack51 { | ||
+ | # " | ||
+ | # handling of in/out devices | ||
+ | type asym | ||
+ | playback.pcm { | ||
+ | # route for mmap workaround | ||
+ | type plug | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | capture.pcm { | ||
+ | # 2 channels only | ||
+ | type hw | ||
+ | card 0 | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | Lancer jackd avec | ||
+ | < | ||
+ | jackd -d alsa --device jack51 --inchannels 2 --outchannels 6 | ||
+ | </ | ||
+ | ou dans qjackctl | ||
+ | * mettre ' | ||
+ | * exécuter un script après démarrage : jack-pulse.sh | ||
+ | |||
+ | ===== Utiliser plusieurs cartes USB avec pulseaudio ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | < | ||
+ | </ | ||
ancien/tek/cartes_sons.txt · Dernière modification : de 127.0.0.1