This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:dac [2016/05/20 20:02] – [REGA] scipio | tips:dac [2016/07/27 20:00] (current) – [REGA] scipio | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * [[http:// | * [[http:// | ||
| + | |||
| + | < | ||
| + | aplay -v -D plughw:1,0 test192.wav | ||
| + | </ | ||
| + | |||
| < | < | ||
| Line 48: | Line 53: | ||
| ===== REGA ===== | ===== REGA ===== | ||
| - | ~/.asoundrc | + | Usando il comando aplay -l identificare la scheda con SPDIF, ad esempio card1 |
| + | |||
| + | Trovare il nome della scheda | ||
| + | < | ||
| + | cat / | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | Creare | ||
| < | < | ||
| pcm.DAC { | pcm.DAC { | ||
| Line 67: | Line 80: | ||
| } | } | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | suonare con | ||
| + | < | ||
| + | aplay file | ||
| + | </ | ||
| + | |||
| + | verificare con | ||
| + | < | ||
| + | watch cat / | ||
| </ | </ | ||
| Line 87: | Line 110: | ||
| Rates: 32000, 44100, 48000 | Rates: 32000, 44100, 48000 | ||
| </ | </ | ||
| + | |||
| + | ===== hifiberry ===== | ||
| + | |||
| + | ==== rasberry ==== | ||
| + | |||
| + | / | ||
| + | < | ||
| + | dtparam=i2c_arm=on | ||
| + | # | ||
| + | dtoverlay=hifiberry-digi | ||
| + | </ | ||
| + | |||
| + | / | ||
| + | < | ||
| + | pcm.!default | ||
| + | type hw card 0 | ||
| + | } | ||
| + | ctl.!default { | ||
| + | type hw card 0 | ||
| + | } | ||
| + | </ | ||
| + | |||