Comments (6)
from rtlsdr-airband.
Yes forgot to say it's NFM that was looking to get the gain on.
from rtlsdr-airband.
The phase difference-to-amplitude translation is done in fm_quadri_demod or
polar_disc_fast function (depending on whether you choose to use -Q option
or not). It's around line 863 and below. As the maximum possible phase
change equals pi (180 degrees) and the maximum possible amplitude is 1.0,
the scaling process is simply done by multiplying the demodulation result
by 1/pi (the M_1_PI macro). If you put a higher value in place of M_1_PI
(for example 0.4 or 0.5), you will get higher output amplitude. Don't be
tempted to increase it too much though, as it will easily cause audio
clipping. That's why I prefer to use analog method to adjust the gain -
namely, the volume knob on the amp or speakers :)
I once thought about implementing auto gain for NFM, however NFM is already
quite CPU intensive on the RPi, so I abandoned that idea in favor of
working on a few other, more often requested features.
Tomasz Lemiech
from rtlsdr-airband.
Awesome, thanks for the info.
Understood I only have so much to play with until it starts clipping, I capture audio from a trunked radio system also, and want to add these couple VHF channels into the mix, but I want/need the audio to be about the same.
from rtlsdr-airband.
There is a new feature, called mixers, which has recently arrived into unstable. You may use it to configure a volume boost factor manually. See here for details: #40
from rtlsdr-airband.
Awesome thanks for that.
from rtlsdr-airband.
Related Issues (20)
- [BUG] unstable requires libshout version not available in APT on Raspberry PI (buster 10) HOT 2
- Help finding the right settings HOT 1
- [compile error] error: βint shout_set_format(shout_t*, unsigned int)β is deprecated HOT 6
- [FEATURE] Change the I/Q sample format for the rawfile output to a more standard one HOT 2
- Possible Bookworm cmake issue on a clean install [BUG] HOT 4
- [FEATURE] Add label to multichannel mode HOT 1
- CMake Error during installation [BUG] HOT 12
- [BUG] RTLSDR v4 no audio/signal HOT 8
- [BUG] Random Disconnects from Broadcastify / Other Icecast Outputs HOT 4
- [BUG] Segmentation fault on Alpine Linux HOT 4
- [BUG] `cmake` fails to detect `RTL_AIRBAND_VERION` when using source from a release artifact HOT 1
- Unable to schedule program startup at boot or find any logs [BUG] HOT 1
- [BUG] SHOUT_META_NAMEβ was not declared in this scope HOT 1
- [BUG] Choppy/garbled/audio dropout on Raspberry Pi 5 using SoapySDR HOT 6
- Gain Error Failed to initialize gain for device #-536870912: error -1071395636 HOT 7
- Error on Service Start Failed to connect to Pulse HOT 1
- Bias-t activation SDR V4 via RTL_airband
- send_scan_freqs_tags not work v5.0.9
- [FEATURE] Channel priority, so it will be muted if there's audio in another channel
- [FEATURE] Add GStreamer Output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtlsdr-airband.