Commit Graph

161 Commits

Author SHA1 Message Date
Andreas Eversberg f8b836182f Make run faster on ARM CPUs using fast math approximation
Use --fast-math to use sine/cosine tables and approximate atan2.
2018-11-10 15:18:28 +01:00
Andreas Eversberg 393e54b817 Compandor: Remove unused option for unaffected level 2018-10-14 13:07:25 +02:00
Andreas Eversberg d058927e2d Rework of displaying supervisory info: NMT and AMPS
Using lower rate to show debug info of supervisory signal.

Display supervisory info for NMT and AMPS at measurement display screen.
2018-08-31 20:05:38 +02:00
Andreas Eversberg 9454702944 SDR: Add presets for LimeSDR-Mini 2018-08-25 10:25:25 +02:00
Andreas Eversberg f5c4557051 SDR: Fix level range of IQ date; must not exceed range of -1 .. 1
LimeSDR mini (and maybe others) do not want IQ data to become a value below
-1 or above 1. This happens slightly when applying the IIR filter after
upsampling. To prevent this, we scale down the IQ level a little bit.

To test the problem:
- set the scale level to 1.0, so it does not take effect
- use LimeSDR mini
- use upsampling (sample rate differs SDR sample rate)
- run loopback mode 2 (-l 2)
- IIR filter must be initialized with 2 or more iterations to take effect
- check linear IQ graph; it will then plot dots inside the circle
2018-08-25 08:13:16 +02:00
Andreas Eversberg 8b1aa76168 SDR: Add clock source selection, untested yet 2018-06-24 11:36:56 +02:00
Andreas Eversberg b89251ee1a Fixed -t (--tone) option 2018-05-27 06:04:09 +02:00
Andreas Eversberg 6b04026488 SoapySDR: Flip initialization of RX and TX, so LimeSDR works with frequencies below 30 MHz 2018-05-21 19:39:09 +02:00
Andreas Eversberg 6e52be6158 Add real-time scheduling to osmotv and make it default for all base stations
This is required to drastically reduce the latency of the thread execution.
2018-05-21 19:39:09 +02:00
Andreas Eversberg ad4973cdca Fix compiler warning in conjunction with strncpy 2018-05-21 19:39:09 +02:00
Andreas Eversberg 9d39ac393e Update ImageMagick support to API version 7 2018-05-21 19:39:09 +02:00
Andreas Eversberg 5df7f92647 Refactoring command line option handling
* Use own function to define and parse command line options

 * Command line options can be defined by config file also

 * --limesdr allows to auto-set required SDR option for LimeSDR
2018-05-21 19:39:09 +02:00
Andreas Eversberg e74b7442c6 Make LimeSDR tune rx to tx frequency 2018-05-21 19:39:09 +02:00
Andreas Eversberg bfacc6d232 Add 'osmoradio', an analog radio (FM/AM)
This radio can be a receiver or a transmitter or both simultaniously.
2018-02-16 15:54:42 +01:00
Andreas Eversberg 45771bb309 Add libam, a library to do AM modulation and demodulation 2018-02-16 15:54:42 +01:00
Andreas Eversberg df4c687ff1 Add libclipper, a library to 'smoothly' clip overdriven audio levels 2018-02-16 15:54:41 +01:00
Andreas Eversberg 49a05ee2bb Improved audio (sdr) handling 2018-02-16 15:54:40 +01:00
Andreas Eversberg e41badf850 Improved wave playback 2018-02-16 15:54:40 +01:00
Andreas Eversberg 3f92b0b3ba Improved emphasis 2018-02-16 15:54:39 +01:00
Andreas Eversberg e59ea04cd6 Improving and cleaning configure script 2018-02-16 15:53:48 +01:00
Andreas Eversberg 65d284403e libwave: Use libdebug for debugging messages. 2018-02-15 08:00:19 +01:00
Andreas Eversberg 9e98578f3d Make libdebug not depend on libdisplay 2018-02-15 08:00:19 +01:00
Andreas Eversberg ee561f29c8 Minor debug message corrections 2018-02-15 08:00:18 +01:00
Andreas Eversberg 73c656eddf Fix compiler warnings 2018-02-15 08:00:15 +01:00
Andreas Eversberg e7016f9f02 Make sound card support (Alsa) optional 2018-02-15 08:00:15 +01:00
Andreas Eversberg 5c9964ff19 libdisplay: Removing dependency from libmobile 2018-02-15 08:00:14 +01:00
Andreas Eversberg fd819d2f9f Add JollyCom, a simple and experimantal mobile network
This network that can be used with any radio and a DTMF transmitter.
2018-01-21 10:46:09 +01:00
Andreas Eversberg 6452a41996 Squelch improvement
Continuously calculate noise floor and lower threshold level if less noise
was received. High noise or ongoing transmission during start of program will
not cause a threshold that is too far above the actual noise floor.
2017-12-09 20:46:16 +01:00
Andreas Eversberg aafdea4bea SDR: Add option to set local oscillator (LO) offset
By default it is set to -1 MHz.
2017-12-09 20:46:14 +01:00
Andreas Eversberg ec4c62bfb8 Remove dependencies between debug, displays and mncc-console
Test functions are cleaned up, due to removed dependencies.
2017-12-09 20:46:13 +01:00
Andreas Eversberg 3f217b99f6 Add 'hold' function and level display to spectrum view 2017-12-05 11:10:47 +01:00
Andreas Eversberg 5a6097e797 SDR: Add DC offset removal (DC bias) 2017-12-05 11:10:44 +01:00
Andreas Eversberg 0addb4044c Add DTMF decoder to libdtmf
Note: This decoder has no user yet.
2017-12-03 08:46:05 +01:00
Andreas Eversberg 185b45b0b5 FM modulation: Never turn carrier completely off
This prevents IIR filter to become very slow for some unknown reason.
2017-12-03 08:46:04 +01:00
Andreas Eversberg 7ee15b2a08 Add NaN debugging to IIR filter (disabled by default) 2017-12-03 08:46:02 +01:00
Andreas Eversberg 0da604d208 Add library to normalize speech level (Sendevolumenregler SVoR)
Note: This lib has no user yet.
2017-12-03 08:46:01 +01:00
Andreas Eversberg 776c79e40e Restructure: Move debug from common code to 'libdebug' 2017-12-03 08:45:58 +01:00
Andreas Eversberg b26642ad26 Restructure: Move display from common code to 'libdisplay' 2017-12-03 08:45:55 +01:00
Andreas Eversberg 736a87873f Restructure: Move mobile from common code to 'libmobile' 2017-12-03 08:45:54 +01:00
Andreas Eversberg 0197bed50d Restructure: Move sample from common code to 'libsample' 2017-12-03 08:45:48 +01:00
Andreas Eversberg d5bf0e6291 Restructure: Move sdr from common code to 'libsdr' 2017-12-03 08:45:45 +01:00
Andreas Eversberg f25b46ffef Restructure: Move sound from common code to 'libsound' 2017-11-25 19:28:36 +01:00
Andreas Eversberg b4eb2d63a2 Restructure: Move img from common code to 'libimage' 2017-11-25 19:28:35 +01:00
Andreas Eversberg d4fe5c2c2e Restructure: Move mncc from common code to 'libmncc' 2017-11-25 19:28:33 +01:00
Andreas Eversberg c1d911d516 Restructure: Move compandor from common code to 'libcompandor' 2017-11-25 19:25:10 +01:00
Andreas Eversberg 737bbe8cce Restructure: Move fsk from common code to 'libfsk' 2017-11-25 19:24:03 +01:00
Andreas Eversberg 9ddb929605 Restructure: Move fm_modulation from common code to 'libfm' 2017-11-25 19:24:02 +01:00
Andreas Eversberg 3ec1cd7b6e Restructure: Move 'libgermantone' to a-netz code 2017-11-25 19:23:59 +01:00
Andreas Eversberg 058f641789 Restructure: Move fft from common code to 'libfft' 2017-11-25 19:23:57 +01:00
Andreas Eversberg 06c07146d9 Restructure: Move emphasis from common code to 'libemphasis' 2017-11-25 19:23:56 +01:00