doc:appunti:linux:sa:alsa_rec
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:alsa_rec [2020/12/26 11:22] – [Registrare con parecord] niccolo | doc:appunti:linux:sa:alsa_rec [2020/12/26 11:34] (current) – [Registrare con parecord] niccolo | ||
|---|---|---|---|
| Line 138: | Line 138: | ||
| | 98304 | 96k | 150% | 10.57 | | | 98304 | 96k | 150% | 10.57 | | ||
| - | **ATTENZIONE**: | + | **ATTENZIONE**: |
| Ogni source ha il suo **Base Volume** che cambia da scheda audio a scheda audio. Nel nostro esempio il microfono della **scheda audio PCI integrata** ha un valore pari a **5206** (8%, -66.00 dB), mentre la **scheda USB** ha un valore pari a **20724** (32%, -30.00 dB). Per conoscere tale valore si usa il comando **pactl list sources**: | Ogni source ha il suo **Base Volume** che cambia da scheda audio a scheda audio. Nel nostro esempio il microfono della **scheda audio PCI integrata** ha un valore pari a **5206** (8%, -66.00 dB), mentre la **scheda USB** ha un valore pari a **20724** (32%, -30.00 dB). Per conoscere tale valore si usa il comando **pactl list sources**: | ||
| Line 162: | Line 162: | ||
| </ | </ | ||
| + | Finally the command to record a sound file from the microphone: | ||
| + | |||
| + | < | ||
| + | parecord --verbose --device=5 --channels=1 --fix-rate foobar.wav | ||
| + | </ | ||
| + | |||
| + | You have to press **Ctrl-C** to terminate the recording. The **%%--fix-rate%%** will use the native sampling rate of the source. | ||
| ===== Profili PulseAudio ===== | ===== Profili PulseAudio ===== | ||
doc/appunti/linux/sa/alsa_rec.1608978126.txt.gz · Last modified: by niccolo
