Hi Richard and Bill, I've read the docs: (http://doc.qt.io/qt-5/qaudioinput.html#setVolume).
But, how do you have two or more Input devices as in I and Q ? (I'm not a Qt programmer) Alan VK2ZIW On Wed, 22 Jul 2015 20:48:47 +0100, Bill Somerville wrote > On 22/07/2015 20:33, Richard Shawwrote: > > Hi Richard, > > > > Wed, Jul 22, 2015 at 2:14 PM, BillSomerville <[email protected]>wrote: > > > On 22/07/2015 18:45, Richard Shaw wrote: > > Hi Richard, > > I'm notsure who else has battled this but Qt in theirinfinite wisdom decided > they need a random namefor the audio connection to PulseAudio whichmeans it > will NEVER remember the volume levelyou set. > What's wrong with setting the levels in WSJT-X,those settings are saved > between sessions? > > I have to cut it WAY down and I haven't done any actualanalysis, but the > instructions indicate that that's not agood thing. Why amp up your audio in > software just toknock it back down in software? It can't possibly helpthe > audio quality.You are right in principle but I would expect the default level > tobe 0dB i.e. what comes out of the A/D converter so doing all > digitalattenuation in WSJT-X is optimal since it limits any > accumulatedquantization error. The same would apply if the WSJT-X level > wereleft at 0dB (the middle I believe) and all digital adjustment weredone in > the pulseaudio digital domain. > > The best solution is to set the analog level at he rig to a bestapproximation > and only do fine adjustments per band or to compensatefor AGC variations in > the Rx. > > > And either way, it's still just obnoxious on the Qtside. I wonder how many > presets PulseAudio has stored fordevice names it will never see again?Agreed > that it would be nice to have a way of setting the streamname on Linux, but > there is an alternative where, like we do withTx, the stream level can be > directly adjusted from the applicationusing the stream > (http://doc.qt.io/qt-5/qaudioinput.html#setVolume).This allows the > application to store the level itself. CurrentlyWSJT-X doesn't use this, > instead it has its own gain/attenuationstage further downstream in the DSP > chain. I believe the built ingain stage is both historical from before we > switched to Qt audioand also to provide gain as well as attenuation (gain is > notavailable on some platforms). > > I expect the availability of adjustment of the stream level via theQt API is > the reason why our request to control the stream name hasbeen ignored by the > Qt developers. > > > Thanks, > Richard > 73 > Bill > G4WJS. Alan Man's greatest waste of time: Worshipping the wrong God. Consider Jesus. --------------------------------------------------------------------------- Alan Beard Unix Support Technician from 1984 to today 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals etc.. +61 2 47353013 (h) Support Programming, shell scripting, "C", assembler 0414 353013 (mobile) After uni, electronics tech
------------------------------------------------------------------------------
_______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
