fredag 11 december 2009

Pulseaudio

Hi, I'm been testing different settings in pulseaudio. I wanted to disable upmixing from stereo to 4.1 as my amplifier does this. I also been investigating how the LFE channel works. I only have two stereo cables from my soundcard (meaning 4channels). So I wanted to route all bass to front-speakers, as my amplifier then automatically sends it to the subwoofer (at least it seems so).

I didn't succeed with what I wanted, but I did learn some things about pulseaudio. And got my audio to work pretty good, even if not exactly as I wanted. Now my system does remix audio from stereo to 4 channels (front-left,front-right,rear-left,rear-right). But the reason why this is enabled is that it also routes the center channel to front speakers.

Here's a summary of stuff that I want to remember next time I work with pulseaudio:

  • pavumeter:
  • paman:
  • /etc/pulse/daemon.conf: ... remix, channels (example)
  • /etc/pulse/client.conf: ...autospawn...
  • /etc/pulse/default.pa: ... sink, remap
  • pulseaudio -k && pulseaudio --start
For now I just write keywords. And soon I'll expand these keyword into something useful for more people then me :)

lördag 5 december 2009

Spaces in /etc/fstab

Hi! I just had a problem with spaces in a mountpoints name. While searching for solutions I found others who had problems with this, but in their case while trying to mount a network share. The solution can be found in the manual page for fstab (write "man fstab" in terminal).

Here's the text from fstabs manual:

The second field, (fs_file), describes the mount point for the filesys‐
tem. For swap partitions, this field should be specified as `none'. If
the name of the mount point contains spaces these can be escaped as
`\040'.


And here's a working example that mounts "/dev/sdb1" (ntfs) into "/media/drive 2"
/dev/sdb1 /media/drive\0402 ntfs nls=iso8859-1,umask=000 0 0