Page 1 of 1
piHPSDR AF on Ubuntu
Posted: Sat Jul 01, 2023 3:27 pm
by HB9LFQ
Hi all,
I compiled and run piHPSDR on Ubuntu with an ANAN-7000 DLE2. It works in RX and TX. I use a headset connected to MIC/headphone on the front side of the radio and my problem is that the audio is way too loud even if AF is set to 1 (on 0 there is no audio). Is there a way to somehow rescale the AF range? I didn't find any hints in the piHPSDR manual.
regards,
András / HB9LFQ
Re: piHPSDR AF on Ubuntu
Posted: Sun Jul 02, 2023 7:00 am
by Joerg
Don't you have to connect the headset USB to the Raspberry, that's how I do it with my Red Pitaya.
73 Jörg, DD8JM
Re: piHPSDR AF on Ubuntu
Posted: Sun Jul 02, 2023 4:44 pm
by HB9LFQ
Hi all,
I'm running piHPSDR on a Intel NUC with Ubuntu 22.04. I figured out myself. I had to change in sliders.c everywhere the factor 100 for active_receiver->volume to 5000 (e.g. line 122: old: gtk_range_set_value(GTK_RANGE(af_gain_scale),active_receiver->volume*100.0);
new: gtk_range_set_value(GTK_RANGE(af_gain_scale),active_receiver->volume*5000.0);
Now the AF gain is finegrained enough if you use the headset connected to mic/speaker on the front of the Anan 7000 DLE II.
73,
András / HB9LFQ
Re: piHPSDR AF on Ubuntu
Posted: Sun Jul 02, 2023 6:50 pm
by n1gp
Hi András,
Just in case you didn't know, Christoph keeps a fork of John's piHPSDR
which has many additions you might find useful:
https://github.com/dl1ycf/pihpsdrOne difference you may find helpful is the change to a logarithmic scale
for the volume.
He also has updates to wdsp which is required for his version of piHPSDR:
https://github.com/dl1ycf/wdsp73s
-Rick / N1GP
Re: piHPSDR AF on Ubuntu
Posted: Sun Jul 02, 2023 7:28 pm
by HB9LFQ
Hi Rick,
looks interesting, I built it, but had again to adjust the value. This time from -40 to -70 as it was too loud on 39.5 (-40 sets audio off). Is there some list about the exact differences? I didn't find anything neither on github nor on Christoph's homepage.
73,
András / HB9LFQ