From ad396fa970e85a00a45d75c8b40db6f100a40cc4 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 20 Jul 2021 13:33:26 +0200 Subject: [PATCH 01/11] remove "unvoiced quality" setting --- config_webrx.py | 3 --- csdr/__init__.py | 9 --------- owrx/config/defaults.py | 1 - owrx/controllers/settings/decoding.py | 6 ------ owrx/dsp.py | 2 -- 5 files changed, 21 deletions(-) diff --git a/config_webrx.py b/config_webrx.py index 4d61fbd..f06f50e 100644 --- a/config_webrx.py +++ b/config_webrx.py @@ -104,9 +104,6 @@ version = 7 #digimodes_fft_size = 2048 -# determines the quality, and thus the cpu usage, for the ambe codec used by digital voice modes -# if you're running on a Raspi (up to 3B+) you'll want to leave this on 1 -#digital_voice_unvoiced_quality = 1 # enables lookup of DMR ids using the radioid api #digital_voice_dmr_id_lookup = True diff --git a/csdr/__init__.py b/csdr/__init__.py index 4eed983..32e2b09 100644 --- a/csdr/__init__.py +++ b/csdr/__init__.py @@ -85,7 +85,6 @@ class Dsp(DirewolfConfigSubscriber): self.pipes = {} self.secondary_pipe_names = {"secondary_shift_pipe": Pipe.WRITE} self.secondary_offset_freq = 1000 - self.unvoiced_quality = 1 self.codecserver = None self.modification_lock = threading.Lock() self.output = output @@ -641,13 +640,6 @@ class Dsp(DirewolfConfigSubscriber): if self.running: self.pipes["squelch_pipe"].write("%g\n" % (self.convertToLinear(actual_squelch))) - def set_unvoiced_quality(self, q): - self.unvoiced_quality = q - self.restart() - - def get_unvoiced_quality(self): - return self.unvoiced_quality - def set_codecserver(self, s): if self.codecserver == s: return @@ -769,7 +761,6 @@ class Dsp(DirewolfConfigSubscriber): nc_port=self.nc_port, output_rate=self.get_output_rate(), smeter_report_every=int(self.if_samp_rate() / 6000), - unvoiced_quality=self.get_unvoiced_quality(), codecserver_arg=self.get_codecserver_arg(), audio_rate=self.get_audio_rate(), wfm_deemphasis_tau=self.wfm_deemphasis_tau, diff --git a/owrx/config/defaults.py b/owrx/config/defaults.py index de81af9..f03dded 100644 --- a/owrx/config/defaults.py +++ b/owrx/config/defaults.py @@ -18,7 +18,6 @@ defaultConfig = PropertyLayer( fft_compression="adpcm", wfm_deemphasis_tau=50e-6, digimodes_fft_size=2048, - digital_voice_unvoiced_quality=1, digital_voice_dmr_id_lookup=True, digital_voice_nxdn_id_lookup=True, sdrs=PropertyLayer( diff --git a/owrx/controllers/settings/decoding.py b/owrx/controllers/settings/decoding.py index a21cd06..fb0e542 100644 --- a/owrx/controllers/settings/decoding.py +++ b/owrx/controllers/settings/decoding.py @@ -35,12 +35,6 @@ class DecodingSettingsController(SettingsFormController): ), Section( "Digital voice", - NumberInput( - "digital_voice_unvoiced_quality", - "Quality of unvoiced sounds in synthesized voice", - infotext="Determines the quality, and thus the cpu usage, for the ambe codec used by digital voice" - + " modes.
If you're running on a Raspberry Pi (up to 3B+) you should leave this set at 1", - ), TextInput( "digital_voice_codecserver", "Codecserver address", diff --git a/owrx/dsp.py b/owrx/dsp.py index 6df6544..b6a569f 100644 --- a/owrx/dsp.py +++ b/owrx/dsp.py @@ -67,7 +67,6 @@ class DspManager(Output, SdrSourceEventClient): "fft_compression", "digimodes_fft_size", "samp_rate", - "digital_voice_unvoiced_quality", "center_freq", "start_mod", "start_freq", @@ -128,7 +127,6 @@ class DspManager(Output, SdrSourceEventClient): self.props.wireProperty("low_cut", set_low_cut), self.props.wireProperty("high_cut", set_high_cut), self.props.wireProperty("mod", self.dsp.set_demodulator), - self.props.wireProperty("digital_voice_unvoiced_quality", self.dsp.set_unvoiced_quality), self.props.wireProperty("dmr_filter", self.dsp.set_dmr_filter), self.props.wireProperty("wfm_deemphasis_tau", self.dsp.set_wfm_deemphasis_tau), self.props.wireProperty("digital_voice_codecserver", self.dsp.set_codecserver), From 355b47760ce004872706b33bedcd34e522f95549 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 23 Jul 2021 10:52:21 +0200 Subject: [PATCH 02/11] update m17 in docker to v2.0 --- docker/scripts/install-dependencies.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/scripts/install-dependencies.sh b/docker/scripts/install-dependencies.sh index bae8d91..6d14fac 100755 --- a/docker/scripts/install-dependencies.sh +++ b/docker/scripts/install-dependencies.sh @@ -102,8 +102,7 @@ rm -rf dream rm dream-2.1.1-svn808.tar.gz git clone https://github.com/mobilinkd/m17-cxx-demod.git -# latest master as of 2021-04-20 -cmakebuild m17-cxx-demod c1d954fd5e5c53d28a2524e99484f832f9dcb826 +cmakebuild m17-cxx-demod v2.0 git clone https://github.com/hessu/aprs-symbols /usr/share/aprs-symbols pushd /usr/share/aprs-symbols From de14fa4b936b07d637551a0488233bcf6db56161 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 23 Jul 2021 11:44:14 +0200 Subject: [PATCH 03/11] don't compile the tests (they're optional by now) --- docker/scripts/install-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/install-dependencies.sh b/docker/scripts/install-dependencies.sh index 6d14fac..8820f93 100755 --- a/docker/scripts/install-dependencies.sh +++ b/docker/scripts/install-dependencies.sh @@ -19,7 +19,7 @@ function cmakebuild() { cd /tmp STATIC_PACKAGES="sox libfftw3-bin python3 python3-setuptools netcat-openbsd libsndfile1 liblapack3 libusb-1.0-0 libqt5core5a libreadline7 libgfortran4 libgomp1 libasound2 libudev1 ca-certificates libqt5gui5 libqt5sql5 libqt5printsupport5 libpulse0 libfaad2 libopus0 libboost-program-options1.67.0 libboost-log1.67.0" -BUILD_PACKAGES="wget git libsndfile1-dev libfftw3-dev cmake make gcc g++ liblapack-dev texinfo gfortran libusb-1.0-0-dev qtbase5-dev qtmultimedia5-dev qttools5-dev libqt5serialport5-dev qttools5-dev-tools asciidoctor asciidoc libasound2-dev libudev-dev libhamlib-dev patch xsltproc qt5-default libfaad-dev libopus-dev libgtest-dev libboost-dev libboost-program-options-dev libboost-log-dev libboost-regex-dev" +BUILD_PACKAGES="wget git libsndfile1-dev libfftw3-dev cmake make gcc g++ liblapack-dev texinfo gfortran libusb-1.0-0-dev qtbase5-dev qtmultimedia5-dev qttools5-dev libqt5serialport5-dev qttools5-dev-tools asciidoctor asciidoc libasound2-dev libudev-dev libhamlib-dev patch xsltproc qt5-default libfaad-dev libopus-dev libboost-dev libboost-program-options-dev libboost-log-dev libboost-regex-dev" apt-get update apt-get -y install auto-apt-proxy apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES From d0d3e6717488d514e4ce13464d43ca891f888d73 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 2 Aug 2021 17:39:18 +0200 Subject: [PATCH 04/11] add missing digiham components --- owrx/feature.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owrx/feature.py b/owrx/feature.py index 629829c..b5be77f 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -259,6 +259,8 @@ class FeatureDetector(object): "fsk_demodulator", "pocsag_decoder", "dstar_decoder", + "nxdn_decoder", + "dc_block", ], ), True, From fa49e5920056ffd9bb4a0fb72c233e3b9832eb83 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 2 Aug 2021 18:11:45 +0200 Subject: [PATCH 05/11] increase required connector version to 0.5 (0.4 would work but cannot be parsed) --- owrx/feature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/feature.py b/owrx/feature.py index b5be77f..a1fff41 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -281,7 +281,7 @@ class FeatureDetector(object): return False def _check_owrx_connector(self, command): - return self._check_connector(command, LooseVersion("0.4")) + return self._check_connector(command, LooseVersion("0.5")) def has_rtl_connector(self): """ From 1845fa3f39b461bd4d2afcc63728f33257261ffc Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 2 Aug 2021 18:26:16 +0200 Subject: [PATCH 06/11] prepare release 1.1.0 --- CHANGELOG.md | 2 +- debian/changelog | 4 ++-- htdocs/index.html | 4 ---- owrx/version.py | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b7a22..4635f83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -**1.1.x - unreleased** +**1.1.0** - Reworked most graphical elements as SVGs for faster loadtimes and crispier display on hi-dpi displays - Updated pipelines to match changes in digiham - Changed D-Star and NXDN integrations to use new decoders from digiham diff --git a/debian/changelog b/debian/changelog index f5684bc..fda5286 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -openwebrx (1.1.0) UNRELEASED; urgency=low +openwebrx (1.1.0) buster hirsute; urgency=low * Reworked most graphical elements as SVGs for faster loadtimes and crispier display on hi-dpi displays @@ -6,7 +6,7 @@ openwebrx (1.1.0) UNRELEASED; urgency=low * Changed D-Star and NXDN integrations to use new decoder from digiham * Added D-Star and NXDN metadata display - -- Jakob Ketterl Sun, 09 May 2021 14:05:00 +0000 + -- Jakob Ketterl Mon, 02 Aug 2021 16:24:00 +0000 openwebrx (1.0.0) buster hirsute; urgency=low * Introduced `squelch_auto_margin` config option that allows configuring the diff --git a/htdocs/index.html b/htdocs/index.html index 300a777..95c34c5 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -55,10 +55,6 @@
-
- Under construction -
We're working on the code right now, so the application might fail. -