lmckusic-Wuw85uim5zDR7s880joybQ@public.gmane.org [linuxham]
2014-06-15 08:42:31 UTC
I am trying to make my Linux box switch to a second sound card and set the microphone and speaker volumes to send out the correct level of audio signals to my transceiver.
My late model Ubuntu box of course uses pulseaudio. Pulseaudio sort of replaces and overlays the older Alsa sound utility. Pulseaudio has two utility programs Pacmd and Pactl that seem like they ought to control the sound card and volume levels.
Has a person on this list got the utility programs pactl and pacmd working and controlling their sound cards yet?
Could you please post any command lines or script texts that show how you got it working?
So far, I added myself to the "audio" group because that was suggested in an old Pulseaudio website FAQ article. The command is sudo adduser myusername audio. Log out and log back in to see the new group when you run groups.
So far, I figured out that my external USB sound card dongle is "sink 0" and "source 0" but something is happening about the device names and numbers that I just can't figure out. Anyhow, I can switch sound cards with pactl set-default-sink 0 but I can't figure out how to set the microphone and speaker volume for this sound card.
The terminology used by pulseaudio is kind of rubbery. In particular, the second USB sound card dongle has either a speaker or headphone output. What is the pulseaudio name for that specific point and how do I reduce the signal level or voltage going out that connection with a command line command.
It appears the fldigi is connecting just fine to pulseaudio with the Sound-->Pulseaudio server selected and nothing entered in the server field on the same line. So I am mostly stuck with setting the output volume levels. I need to reduce the output volume levels going to the transceiver to prevent the radio from being overdriven and made non-linear.
So thanks for a reply.
My late model Ubuntu box of course uses pulseaudio. Pulseaudio sort of replaces and overlays the older Alsa sound utility. Pulseaudio has two utility programs Pacmd and Pactl that seem like they ought to control the sound card and volume levels.
Has a person on this list got the utility programs pactl and pacmd working and controlling their sound cards yet?
Could you please post any command lines or script texts that show how you got it working?
So far, I added myself to the "audio" group because that was suggested in an old Pulseaudio website FAQ article. The command is sudo adduser myusername audio. Log out and log back in to see the new group when you run groups.
So far, I figured out that my external USB sound card dongle is "sink 0" and "source 0" but something is happening about the device names and numbers that I just can't figure out. Anyhow, I can switch sound cards with pactl set-default-sink 0 but I can't figure out how to set the microphone and speaker volume for this sound card.
The terminology used by pulseaudio is kind of rubbery. In particular, the second USB sound card dongle has either a speaker or headphone output. What is the pulseaudio name for that specific point and how do I reduce the signal level or voltage going out that connection with a command line command.
It appears the fldigi is connecting just fine to pulseaudio with the Sound-->Pulseaudio server selected and nothing entered in the server field on the same line. So I am mostly stuck with setting the output volume levels. I need to reduce the output volume levels going to the transceiver to prevent the radio from being overdriven and made non-linear.
So thanks for a reply.