Automatic config of sound and fixed using /dev/stdin as input