On 22/07/2015 18:45, Richard Shaw wrote:
Hi Richard,
I'm not sure who else has battled this but Qt in their infinite wisdom
decided they need a random name for the audio connection to PulseAudio
which means it will NEVER remember the volume level you set.
What's wrong with setting the levels in WSJT-X, those settings are saved
between sessions?
I did some digging on PA command line options and came up with a
script to start wsjtx:
launch-wsjtx:
#!/bin/bash
$(which wsjtx) &
sleep 15
pactl set-source-volume alsa_input.pci-0000_00_14.2.analog-stereo 21000
of course you need to substitute the correct sound card device.
Something like:
$ pacmd list-cards | grep alsa_input
The last option is the volume level, you can specify it in multiple
ways but I settled on figuring out what integer input seemed to work well.
If you create your own script don't forget to mark it executable!
$ chmod +x launch-wsjtx
Thanks,
Richard
73
Bill
G4WJS.
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel