Re: [wsjt-devel] Bandaid for stupid Qt volume issue in wsjt-x

2015-07-22 Thread Bill Somerville

On 22/07/2015 20:33, Richard Shaw wrote:

Hi Richard,

 Wed, Jul 22, 2015 at 2:14 PM, Bill Somerville g4...@classdesign.com 
mailto:g4...@classdesign.com wrote:


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 have to cut it WAY down and I haven't done any actual analysis, but 
the instructions indicate that that's not a good thing. Why amp up 
your audio in software just to knock it back down in software?  It 
can't possibly help the audio quality.
You are right in principle but I would expect the default level to be 
0dB i.e. what comes out of the A/D converter so doing all digital 
attenuation in WSJT-X is optimal since it limits any accumulated 
quantization error. The same would apply if the WSJT-X level were left 
at 0dB (the middle I believe) and all digital adjustment were done in 
the pulseaudio digital domain.


The best solution is to set the analog level at he rig to a best 
approximation and only do fine adjustments per band or to compensate for 
AGC variations in the Rx.


And either way, it's still just obnoxious on the Qt side. I wonder how 
many presets PulseAudio has stored for device names it will never see 
again?
Agreed that it would be nice to have a way of setting the stream name on 
Linux, but there is an alternative where, like we do with Tx, the stream 
level can be directly adjusted from the application using the stream 
(http://doc.qt.io/qt-5/qaudioinput.html#setVolume). This allows the 
application to store the level itself. Currently WSJT-X doesn't use 
this, instead it has its own gain/attenuation stage further downstream 
in the DSP chain. I believe the built in gain stage is both historical 
from before we switched to Qt audio and also to provide gain as well as 
attenuation (gain is not available on some platforms).


I expect the availability of adjustment of the stream level via the Qt 
API is the reason why our request to control the stream name has been 
ignored by the Qt developers.


Thanks,
Richard


73
Bill
G4WJS.
--
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Bandaid for stupid Qt volume issue in wsjt-x

2015-07-22 Thread Bill Somerville

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-_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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Bandaid for stupid Qt volume issue in wsjt-x

2015-07-22 Thread Richard Shaw
 Wed, Jul 22, 2015 at 2:14 PM, Bill Somerville g4...@classdesign.com
wrote:

  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 have to cut it WAY down and I haven't done any actual analysis, but the
instructions indicate that that's not a good thing. Why amp up your audio
in software just to knock it back down in software?  It can't possibly help
the audio quality.

And either way, it's still just obnoxious on the Qt side. I wonder how many
presets PulseAudio has stored for device names it will never see again?

Thanks,
Richard
--
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Is this list alive?

2015-07-22 Thread Richard Shaw
On Wed, Jul 22, 2015 at 8:00 AM, Joe Taylor j...@princeton.edu wrote:

 What's up at SourceForge ???

 This is getting ridiculous.  Maybe it's time for us to consider github
 seriously?


I tried to send an email the other day and it bounced...

Thanks,
Richard
KF5OIM
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Is this list alive?

2015-07-22 Thread Diane Bruce
On Wed, Jul 22, 2015 at 08:12:57AM -0500, Michael Black wrote:
 Patience...there's nothing to prevent this from happening to github too or
 anybody else.  Restoring a couple terabytes of code can take a while...and
 do it propertly/safely too.

Not to mention

http://www.extremetech.com/computing/120981-github-hacked-millions-of-projects-at-risk-of-being-modified-or-deleted


 
 SourceForge developer pages online
 http://sourceforge.net/blog/category/status-updates/
 73
 Mike W9MDB
 
 On Wed, Jul 22, 2015 at 8:00 AM, Joe Taylor j...@princeton.edu wrote:
 
  What's up at SourceForge ???
 
  This is getting ridiculous.  Maybe it's time for us to consider github
  seriously?
 
   -- Joe, K1JT
 
 
  --
  Don't Limit Your Business. Reach for the Cloud.
  GigeNET's Cloud Solutions provide you with the tools and support that
  you need to offload your IT needs and focus on growing your business.
  Configured For All Businesses. Start Your Cloud Today.
  https://www.gigenetcloud.com/
  ___
  wsjt-devel mailing list
  wsjt-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wsjt-devel
 

 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/

 ___
 wsjt-devel mailing list
 wsjt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wsjt-devel


-- 
- d...@freebsd.org d...@db.net http://www.db.net/~db

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


[wsjt-devel] Is this list alive?

2015-07-22 Thread Joe Taylor
What's up at SourceForge ???

This is getting ridiculous.  Maybe it's time for us to consider github 
seriously?

 -- Joe, K1JT

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Is this list alive?

2015-07-22 Thread Michael Black
Patience...there's nothing to prevent this from happening to github too or
anybody else.  Restoring a couple terabytes of code can take a while...and
do it propertly/safely too.

SourceForge developer pages online
http://sourceforge.net/blog/category/status-updates/
73
Mike W9MDB

On Wed, Jul 22, 2015 at 8:00 AM, Joe Taylor j...@princeton.edu wrote:

 What's up at SourceForge ???

 This is getting ridiculous.  Maybe it's time for us to consider github
 seriously?

  -- Joe, K1JT


 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 wsjt-devel mailing list
 wsjt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wsjt-devel

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


[wsjt-devel] -O3 -ffast-math for wspr decoder

2015-07-22 Thread Steven Franke
Hi all,
While playing with an alternative to the Fano decoder over here I discovered 
that using -O3 -ffast-math significantly decreases execution time of the 
decoder on my linux and OS X platforms. Near as I can tell, cmake is currently 
using -O2 for Debug and -O3 for Release versions. I need advice on the right 
way to modify CMakeLists.txt to make sure that (only) the wsprd sources are 
compiled with -O3 -ffast-math.
Steve k9an
--
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Bandaid for stupid Qt volume issue in wsjt-x

2015-07-22 Thread Alan VK2ZIW
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 g4...@classdesign.comwrote:
 
 
 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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel