Talk:Advanced Linux Sound Architecture/Configuration examples

From ArchWiki
Latest comment: 9 October 2019 by Quequotion in topic pcsp plug

pcsp plug

To get "better" sound out of snd-pcsp, it might help to use a plug that converts audio to its supported format, rate, and mono channel (alsa doesn't seem to be doing this on its own).

Not sure if it would be any help to use a dmix for the buffering specifications. The sources also indicate that dmix can be used to change the format to signed, 16-bit, little endian; although I don't know if it would make any difference--alsa may be buffering correctly as is.

As yet, this has only helped me to get a barely recognizable sound from text to speech (improved from unrecognizable); music comes out as garbled nonsense with or without. quequotion (talk) 13:32, 9 October 2019 (UTC)Reply[reply]

asound.rc
pcm.pc {
  type plug
  slave {
    pcm {
      type hw
      format U8
      rate 18643
      channels 1
      card pcsp
    }
  }
}
Note: The rate can be increased to 37286 in alsamixer (save this setting with alsactl store; and then amended in this configuration.