Replies: 3 comments
-
If you compile in Doing a higher audio bitrate will only preserve audio quality. The AM demodulator runs at 8 kHz and the NFM demodulator runs at 16 kHz. As for turning up the volume, that should be a straight forward code change, I'll add that to the backlog |
Beta Was this translation helpful? Give feedback.
-
Thank you. 16k vs 8k: I beileve I compiled on unstable, with NFM enabled and still only getting 8k. I've inlined a log below. Is this a bug ? Volume: if its a quick-fix I'd be happy to take a crack at it. Thanks, Edmund $ git checkout unstable $ git pull $ cmake ../ -- - Build type: Release $ cd.. $ rtl_airband -v $ rtl_airband -f -c $ mplayer 4_20230303_171831.mp3 Playing 4_20230303_171831.mp3. Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AO: [pulse] 8000Hz 2ch s16le (2 bytes per sample) With this config file devices: |
Beta Was this translation helpful? Give feedback.
-
I haven't had a chance to look at the code closer on the 8k vs 16k but will get back to you on that. For opening a PR on the volume change, that would be great (please fork and open a PR to the |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to improve the quality of the .mp3 file outputs from airband. Currently the sample rate is 8kHz and the output volume is is really low. I cannot find the settings to adjust these, and any help will be appreciated.
Thank you,
Edmund
My config file looks like this:
File outputting listener based on RTLSDR.
devices:
({
type = "rtlsdr";
index = 0;
gain = 40;
centerfreq = 462.500;
afc = 1;
channels:
(
{
freq = 462.5625;
modulation = "nfm";
squelch_threshold = -15;
outputs: (
{
type = "file";
directory = ".";
#include_freq = true;
filename_template = "1";
split_on_transmission = true;
}
);
},
... etc
Beta Was this translation helpful? Give feedback.
All reactions