mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 02:37:12 +00:00
Remove extra whitespace
This commit is contained in:
parent
bf312e9d7b
commit
9857b1b89f
@ -200,4 +200,4 @@
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
|
14
MANIFEST.md
14
MANIFEST.md
@ -18,29 +18,29 @@ stable_release: HEAD
|
||||
icon:
|
||||
---
|
||||
|
||||
Gqrx is an open source software defined radio (SDR) receiver implemented using GNU Radio and the Qt GUI toolkit.
|
||||
Gqrx is an open source software defined radio (SDR) receiver implemented using GNU Radio and the Qt GUI toolkit.
|
||||
Currently it works on Linux and Mac with hardware supported by gr-osmosdr, including Funcube Dongle, RTL-SDR, Airspy, HackRF, BladeRF, RFSpace, USRP and SoapySDR.
|
||||
Gqrx can operate as an AM/FM/SSB receiver with audio output or as an FFT-only instrument.
|
||||
Gqrx can operate as an AM/FM/SSB receiver with audio output or as an FFT-only instrument.
|
||||
There are also various hooks for interacting with external application using nertwork sockets.
|
||||
|
||||
Download:
|
||||
|
||||
Gqrx is distributed as source code package and binaries for Linux and Mac.
|
||||
Gqrx is distributed as source code package and binaries for Linux and Mac.
|
||||
Alternate Mac support is available through macports and homebrew.
|
||||
Please see https://gqrx.dk/download for a list of download resources.
|
||||
|
||||
Usage:
|
||||
|
||||
It is strongly recommended to run the "volk_profile" gnuradio utility before running gqrx.
|
||||
It is strongly recommended to run the "volk_profile" gnuradio utility before running gqrx.
|
||||
This will detect and enable processor specific optimisations and will in many cases give a significant performance boost.
|
||||
The first time you start gqrx it will open a device configuration dialog.
|
||||
The first time you start gqrx it will open a device configuration dialog.
|
||||
Supported devices that are connected to the computer are discovered automatically and you can select any of them in the drop-down list.
|
||||
If you don't see your device listed in the drop-down list it could be because:
|
||||
1. The driver has not been included in a binary distribution
|
||||
2. The udev rule has not been properly configured
|
||||
3. Linux kernel driver is blocking access to the device
|
||||
You can test your device using device specific tools, such as rtl_test, airspy_rx, hackrf_transfer, qthid, etc.
|
||||
Gqrx supports multiple configurations and sessions if you have several devices or if you want to use the same device under different configurations.
|
||||
You can load a configuration from the GUI or using the -c command line argument.
|
||||
Gqrx supports multiple configurations and sessions if you have several devices or if you want to use the same device under different configurations.
|
||||
You can load a configuration from the GUI or using the -c command line argument.
|
||||
See "gqrx --help" for a complete list of command line arguments.
|
||||
Tutorials and howtos are being written and published on the website https://gqrx.dk/
|
||||
|
@ -35,7 +35,7 @@ class RemoteControlSettings;
|
||||
class RemoteControlSettings : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
explicit RemoteControlSettings(QWidget *parent = 0);
|
||||
~RemoteControlSettings();
|
||||
@ -45,7 +45,7 @@ public:
|
||||
|
||||
void setHosts(QStringList hosts);
|
||||
QStringList getHosts(void) const;
|
||||
|
||||
|
||||
private slots:
|
||||
void on_hostAddButton_clicked(void);
|
||||
void on_hostDelButton_clicked(void);
|
||||
|
@ -3,260 +3,260 @@
|
||||
*/
|
||||
|
||||
float costabf[1024] = {
|
||||
1.000000000, 0.999981165, 0.999924719, 0.999830604,
|
||||
0.999698818, 0.999529421, 0.999322355, 0.999077737,
|
||||
0.998795450, 0.998475552, 0.998118103, 0.997723043,
|
||||
0.997290432, 0.996820271, 0.996312618, 0.995767415,
|
||||
0.995184720, 0.994564593, 0.993906975, 0.993211925,
|
||||
0.992479563, 0.991709769, 0.990902662, 0.990058184,
|
||||
0.989176512, 0.988257587, 0.987301409, 0.986308098,
|
||||
0.985277653, 0.984210074, 0.983105481, 0.981963873,
|
||||
0.980785251, 0.979569793, 0.978317380, 0.977028131,
|
||||
0.975702107, 0.974339366, 0.972939968, 0.971503913,
|
||||
0.970031261, 0.968522072, 0.966976464, 0.965394437,
|
||||
0.963776052, 0.962121427, 0.960430503, 0.958703458,
|
||||
0.956940353, 0.955141187, 0.953306019, 0.951435030,
|
||||
0.949528158, 0.947585583, 0.945607305, 0.943593442,
|
||||
0.941544056, 0.939459205, 0.937339008, 0.935183525,
|
||||
0.932992816, 0.930766940, 0.928506076, 0.926210225,
|
||||
0.923879504, 0.921514034, 0.919113874, 0.916679084,
|
||||
0.914209783, 0.911706030, 0.909168005, 0.906595707,
|
||||
0.903989315, 0.901348829, 0.898674488, 0.895966232,
|
||||
0.893224299, 0.890448749, 0.887639642, 0.884797096,
|
||||
0.881921291, 0.879012227, 0.876070082, 0.873094976,
|
||||
0.870086968, 0.867046237, 0.863972843, 0.860866964,
|
||||
0.857728601, 0.854557991, 0.851355195, 0.848120332,
|
||||
0.844853580, 0.841554999, 0.838224709, 0.834862888,
|
||||
0.831469595, 0.828045070, 0.824589312, 0.821102500,
|
||||
0.817584813, 0.814036310, 0.810457170, 0.806847572,
|
||||
0.803207517, 0.799537241, 0.795836926, 0.792106569,
|
||||
0.788346410, 0.784556568, 0.780737221, 0.776888490,
|
||||
0.773010433, 0.769103348, 0.765167236, 0.761202395,
|
||||
0.757208824, 0.753186822, 0.749136388, 0.745057762,
|
||||
0.740951121, 0.736816585, 0.732654274, 0.728464365,
|
||||
0.724247098, 0.720002532, 0.715730846, 0.711432219,
|
||||
0.707106769, 0.702754736, 0.698376238, 0.693971455,
|
||||
0.689540565, 0.685083687, 0.680601001, 0.676092684,
|
||||
0.671558976, 0.666999936, 0.662415802, 0.657806695,
|
||||
0.653172851, 0.648514390, 0.643831551, 0.639124453,
|
||||
0.634393275, 0.629638255, 0.624859512, 0.620057225,
|
||||
0.615231574, 0.610382795, 0.605511069, 0.600616455,
|
||||
0.595699310, 0.590759695, 0.585797846, 0.580813944,
|
||||
0.575808167, 0.570780754, 0.565731823, 0.560661554,
|
||||
0.555570245, 0.550457954, 0.545324981, 0.540171444,
|
||||
0.534997642, 0.529803634, 0.524589658, 0.519356012,
|
||||
0.514102757, 0.508830130, 0.503538370, 0.498227656,
|
||||
0.492898196, 0.487550169, 0.482183784, 0.476799220,
|
||||
0.471396744, 0.465976506, 0.460538715, 0.455083579,
|
||||
0.449611336, 0.444122136, 0.438616246, 0.433093816,
|
||||
0.427555084, 0.422000259, 0.416429549, 0.410843164,
|
||||
0.405241311, 0.399624199, 0.393992037, 0.388345033,
|
||||
0.382683426, 0.377007425, 0.371317208, 0.365612984,
|
||||
0.359895051, 0.354163527, 0.348418683, 0.342660725,
|
||||
0.336889863, 0.331106305, 0.325310290, 0.319502026,
|
||||
0.313681751, 0.307849646, 0.302005947, 0.296150893,
|
||||
0.290284663, 0.284407526, 0.278519690, 0.272621363,
|
||||
0.266712755, 0.260794103, 0.254865646, 0.248927608,
|
||||
0.242980182, 0.237023607, 0.231058106, 0.225083917,
|
||||
0.219101235, 0.213110313, 0.207111374, 0.201104641,
|
||||
0.195090324, 0.189068660, 0.183039889, 0.177004218,
|
||||
0.170961887, 0.164913118, 0.158858150, 0.152797192,
|
||||
0.146730468, 0.140658244, 0.134580702, 0.128498107,
|
||||
0.122410677, 0.116318628, 0.110222206, 0.104121633,
|
||||
0.098017141, 0.091908954, 0.085797310, 0.079682440,
|
||||
0.073564567, 0.067443922, 0.061320737, 0.055195246,
|
||||
0.049067676, 0.042938258, 0.036807224, 0.030674804,
|
||||
0.024541229, 0.018406730, 0.012271538, 0.006135885,
|
||||
0.000000000, -0.006135885, -0.012271538, -0.018406730,
|
||||
-0.024541229, -0.030674804, -0.036807224, -0.042938258,
|
||||
-0.049067676, -0.055195246, -0.061320737, -0.067443922,
|
||||
-0.073564567, -0.079682440, -0.085797310, -0.091908954,
|
||||
-0.098017141, -0.104121633, -0.110222206, -0.116318628,
|
||||
-0.122410677, -0.128498107, -0.134580702, -0.140658244,
|
||||
-0.146730468, -0.152797192, -0.158858150, -0.164913118,
|
||||
-0.170961887, -0.177004218, -0.183039889, -0.189068660,
|
||||
-0.195090324, -0.201104641, -0.207111374, -0.213110313,
|
||||
-0.219101235, -0.225083917, -0.231058106, -0.237023607,
|
||||
-0.242980182, -0.248927608, -0.254865646, -0.260794103,
|
||||
-0.266712755, -0.272621363, -0.278519690, -0.284407526,
|
||||
-0.290284663, -0.296150893, -0.302005947, -0.307849646,
|
||||
-0.313681751, -0.319502026, -0.325310290, -0.331106305,
|
||||
-0.336889863, -0.342660725, -0.348418683, -0.354163527,
|
||||
-0.359895051, -0.365612984, -0.371317208, -0.377007425,
|
||||
-0.382683426, -0.388345033, -0.393992037, -0.399624199,
|
||||
-0.405241311, -0.410843164, -0.416429549, -0.422000259,
|
||||
-0.427555084, -0.433093816, -0.438616246, -0.444122136,
|
||||
-0.449611336, -0.455083579, -0.460538715, -0.465976506,
|
||||
-0.471396744, -0.476799220, -0.482183784, -0.487550169,
|
||||
-0.492898196, -0.498227656, -0.503538370, -0.508830130,
|
||||
-0.514102757, -0.519356012, -0.524589658, -0.529803634,
|
||||
-0.534997642, -0.540171444, -0.545324981, -0.550457954,
|
||||
-0.555570245, -0.560661554, -0.565731823, -0.570780754,
|
||||
-0.575808167, -0.580813944, -0.585797846, -0.590759695,
|
||||
-0.595699310, -0.600616455, -0.605511069, -0.610382795,
|
||||
-0.615231574, -0.620057225, -0.624859512, -0.629638255,
|
||||
-0.634393275, -0.639124453, -0.643831551, -0.648514390,
|
||||
-0.653172851, -0.657806695, -0.662415802, -0.666999936,
|
||||
-0.671558976, -0.676092684, -0.680601001, -0.685083687,
|
||||
-0.689540565, -0.693971455, -0.698376238, -0.702754736,
|
||||
-0.707106769, -0.711432219, -0.715730846, -0.720002532,
|
||||
-0.724247098, -0.728464365, -0.732654274, -0.736816585,
|
||||
-0.740951121, -0.745057762, -0.749136388, -0.753186822,
|
||||
-0.757208824, -0.761202395, -0.765167236, -0.769103348,
|
||||
-0.773010433, -0.776888490, -0.780737221, -0.784556568,
|
||||
-0.788346410, -0.792106569, -0.795836926, -0.799537241,
|
||||
-0.803207517, -0.806847572, -0.810457170, -0.814036310,
|
||||
-0.817584813, -0.821102500, -0.824589312, -0.828045070,
|
||||
-0.831469595, -0.834862888, -0.838224709, -0.841554999,
|
||||
-0.844853580, -0.848120332, -0.851355195, -0.854557991,
|
||||
-0.857728601, -0.860866964, -0.863972843, -0.867046237,
|
||||
-0.870086968, -0.873094976, -0.876070082, -0.879012227,
|
||||
-0.881921291, -0.884797096, -0.887639642, -0.890448749,
|
||||
-0.893224299, -0.895966232, -0.898674488, -0.901348829,
|
||||
-0.903989315, -0.906595707, -0.909168005, -0.911706030,
|
||||
-0.914209783, -0.916679084, -0.919113874, -0.921514034,
|
||||
-0.923879504, -0.926210225, -0.928506076, -0.930766940,
|
||||
-0.932992816, -0.935183525, -0.937339008, -0.939459205,
|
||||
-0.941544056, -0.943593442, -0.945607305, -0.947585583,
|
||||
-0.949528158, -0.951435030, -0.953306019, -0.955141187,
|
||||
-0.956940353, -0.958703458, -0.960430503, -0.962121427,
|
||||
-0.963776052, -0.965394437, -0.966976464, -0.968522072,
|
||||
-0.970031261, -0.971503913, -0.972939968, -0.974339366,
|
||||
-0.975702107, -0.977028131, -0.978317380, -0.979569793,
|
||||
-0.980785251, -0.981963873, -0.983105481, -0.984210074,
|
||||
-0.985277653, -0.986308098, -0.987301409, -0.988257587,
|
||||
-0.989176512, -0.990058184, -0.990902662, -0.991709769,
|
||||
-0.992479563, -0.993211925, -0.993906975, -0.994564593,
|
||||
-0.995184720, -0.995767415, -0.996312618, -0.996820271,
|
||||
-0.997290432, -0.997723043, -0.998118103, -0.998475552,
|
||||
-0.998795450, -0.999077737, -0.999322355, -0.999529421,
|
||||
-0.999698818, -0.999830604, -0.999924719, -0.999981165,
|
||||
-1.000000000, -0.999981165, -0.999924719, -0.999830604,
|
||||
-0.999698818, -0.999529421, -0.999322355, -0.999077737,
|
||||
-0.998795450, -0.998475552, -0.998118103, -0.997723043,
|
||||
-0.997290432, -0.996820271, -0.996312618, -0.995767415,
|
||||
-0.995184720, -0.994564593, -0.993906975, -0.993211925,
|
||||
-0.992479563, -0.991709769, -0.990902662, -0.990058184,
|
||||
-0.989176512, -0.988257587, -0.987301409, -0.986308098,
|
||||
-0.985277653, -0.984210074, -0.983105481, -0.981963873,
|
||||
-0.980785251, -0.979569793, -0.978317380, -0.977028131,
|
||||
-0.975702107, -0.974339366, -0.972939968, -0.971503913,
|
||||
-0.970031261, -0.968522072, -0.966976464, -0.965394437,
|
||||
-0.963776052, -0.962121427, -0.960430503, -0.958703458,
|
||||
-0.956940353, -0.955141187, -0.953306019, -0.951435030,
|
||||
-0.949528158, -0.947585583, -0.945607305, -0.943593442,
|
||||
-0.941544056, -0.939459205, -0.937339008, -0.935183525,
|
||||
-0.932992816, -0.930766940, -0.928506076, -0.926210225,
|
||||
-0.923879504, -0.921514034, -0.919113874, -0.916679084,
|
||||
-0.914209783, -0.911706030, -0.909168005, -0.906595707,
|
||||
-0.903989315, -0.901348829, -0.898674488, -0.895966232,
|
||||
-0.893224299, -0.890448749, -0.887639642, -0.884797096,
|
||||
-0.881921291, -0.879012227, -0.876070082, -0.873094976,
|
||||
-0.870086968, -0.867046237, -0.863972843, -0.860866964,
|
||||
-0.857728601, -0.854557991, -0.851355195, -0.848120332,
|
||||
-0.844853580, -0.841554999, -0.838224709, -0.834862888,
|
||||
-0.831469595, -0.828045070, -0.824589312, -0.821102500,
|
||||
-0.817584813, -0.814036310, -0.810457170, -0.806847572,
|
||||
-0.803207517, -0.799537241, -0.795836926, -0.792106569,
|
||||
-0.788346410, -0.784556568, -0.780737221, -0.776888490,
|
||||
-0.773010433, -0.769103348, -0.765167236, -0.761202395,
|
||||
-0.757208824, -0.753186822, -0.749136388, -0.745057762,
|
||||
-0.740951121, -0.736816585, -0.732654274, -0.728464365,
|
||||
-0.724247098, -0.720002532, -0.715730846, -0.711432219,
|
||||
-0.707106769, -0.702754736, -0.698376238, -0.693971455,
|
||||
-0.689540565, -0.685083687, -0.680601001, -0.676092684,
|
||||
-0.671558976, -0.666999936, -0.662415802, -0.657806695,
|
||||
-0.653172851, -0.648514390, -0.643831551, -0.639124453,
|
||||
-0.634393275, -0.629638255, -0.624859512, -0.620057225,
|
||||
-0.615231574, -0.610382795, -0.605511069, -0.600616455,
|
||||
-0.595699310, -0.590759695, -0.585797846, -0.580813944,
|
||||
-0.575808167, -0.570780754, -0.565731823, -0.560661554,
|
||||
-0.555570245, -0.550457954, -0.545324981, -0.540171444,
|
||||
-0.534997642, -0.529803634, -0.524589658, -0.519356012,
|
||||
-0.514102757, -0.508830130, -0.503538370, -0.498227656,
|
||||
-0.492898196, -0.487550169, -0.482183784, -0.476799220,
|
||||
-0.471396744, -0.465976506, -0.460538715, -0.455083579,
|
||||
-0.449611336, -0.444122136, -0.438616246, -0.433093816,
|
||||
-0.427555084, -0.422000259, -0.416429549, -0.410843164,
|
||||
-0.405241311, -0.399624199, -0.393992037, -0.388345033,
|
||||
-0.382683426, -0.377007425, -0.371317208, -0.365612984,
|
||||
-0.359895051, -0.354163527, -0.348418683, -0.342660725,
|
||||
-0.336889863, -0.331106305, -0.325310290, -0.319502026,
|
||||
-0.313681751, -0.307849646, -0.302005947, -0.296150893,
|
||||
-0.290284663, -0.284407526, -0.278519690, -0.272621363,
|
||||
-0.266712755, -0.260794103, -0.254865646, -0.248927608,
|
||||
-0.242980182, -0.237023607, -0.231058106, -0.225083917,
|
||||
-0.219101235, -0.213110313, -0.207111374, -0.201104641,
|
||||
-0.195090324, -0.189068660, -0.183039889, -0.177004218,
|
||||
-0.170961887, -0.164913118, -0.158858150, -0.152797192,
|
||||
-0.146730468, -0.140658244, -0.134580702, -0.128498107,
|
||||
-0.122410677, -0.116318628, -0.110222206, -0.104121633,
|
||||
-0.098017141, -0.091908954, -0.085797310, -0.079682440,
|
||||
-0.073564567, -0.067443922, -0.061320737, -0.055195246,
|
||||
-0.049067676, -0.042938258, -0.036807224, -0.030674804,
|
||||
-0.024541229, -0.018406730, -0.012271538, -0.006135885,
|
||||
-0.000000000, 0.006135885, 0.012271538, 0.018406730,
|
||||
0.024541229, 0.030674804, 0.036807224, 0.042938258,
|
||||
0.049067676, 0.055195246, 0.061320737, 0.067443922,
|
||||
0.073564567, 0.079682440, 0.085797310, 0.091908954,
|
||||
0.098017141, 0.104121633, 0.110222206, 0.116318628,
|
||||
0.122410677, 0.128498107, 0.134580702, 0.140658244,
|
||||
0.146730468, 0.152797192, 0.158858150, 0.164913118,
|
||||
0.170961887, 0.177004218, 0.183039889, 0.189068660,
|
||||
0.195090324, 0.201104641, 0.207111374, 0.213110313,
|
||||
0.219101235, 0.225083917, 0.231058106, 0.237023607,
|
||||
0.242980182, 0.248927608, 0.254865646, 0.260794103,
|
||||
0.266712755, 0.272621363, 0.278519690, 0.284407526,
|
||||
0.290284663, 0.296150893, 0.302005947, 0.307849646,
|
||||
0.313681751, 0.319502026, 0.325310290, 0.331106305,
|
||||
0.336889863, 0.342660725, 0.348418683, 0.354163527,
|
||||
0.359895051, 0.365612984, 0.371317208, 0.377007425,
|
||||
0.382683426, 0.388345033, 0.393992037, 0.399624199,
|
||||
0.405241311, 0.410843164, 0.416429549, 0.422000259,
|
||||
0.427555084, 0.433093816, 0.438616246, 0.444122136,
|
||||
0.449611336, 0.455083579, 0.460538715, 0.465976506,
|
||||
0.471396744, 0.476799220, 0.482183784, 0.487550169,
|
||||
0.492898196, 0.498227656, 0.503538370, 0.508830130,
|
||||
0.514102757, 0.519356012, 0.524589658, 0.529803634,
|
||||
0.534997642, 0.540171444, 0.545324981, 0.550457954,
|
||||
0.555570245, 0.560661554, 0.565731823, 0.570780754,
|
||||
0.575808167, 0.580813944, 0.585797846, 0.590759695,
|
||||
0.595699310, 0.600616455, 0.605511069, 0.610382795,
|
||||
0.615231574, 0.620057225, 0.624859512, 0.629638255,
|
||||
0.634393275, 0.639124453, 0.643831551, 0.648514390,
|
||||
0.653172851, 0.657806695, 0.662415802, 0.666999936,
|
||||
0.671558976, 0.676092684, 0.680601001, 0.685083687,
|
||||
0.689540565, 0.693971455, 0.698376238, 0.702754736,
|
||||
0.707106769, 0.711432219, 0.715730846, 0.720002532,
|
||||
0.724247098, 0.728464365, 0.732654274, 0.736816585,
|
||||
0.740951121, 0.745057762, 0.749136388, 0.753186822,
|
||||
0.757208824, 0.761202395, 0.765167236, 0.769103348,
|
||||
0.773010433, 0.776888490, 0.780737221, 0.784556568,
|
||||
0.788346410, 0.792106569, 0.795836926, 0.799537241,
|
||||
0.803207517, 0.806847572, 0.810457170, 0.814036310,
|
||||
0.817584813, 0.821102500, 0.824589312, 0.828045070,
|
||||
0.831469595, 0.834862888, 0.838224709, 0.841554999,
|
||||
0.844853580, 0.848120332, 0.851355195, 0.854557991,
|
||||
0.857728601, 0.860866964, 0.863972843, 0.867046237,
|
||||
0.870086968, 0.873094976, 0.876070082, 0.879012227,
|
||||
0.881921291, 0.884797096, 0.887639642, 0.890448749,
|
||||
0.893224299, 0.895966232, 0.898674488, 0.901348829,
|
||||
0.903989315, 0.906595707, 0.909168005, 0.911706030,
|
||||
0.914209783, 0.916679084, 0.919113874, 0.921514034,
|
||||
0.923879504, 0.926210225, 0.928506076, 0.930766940,
|
||||
0.932992816, 0.935183525, 0.937339008, 0.939459205,
|
||||
0.941544056, 0.943593442, 0.945607305, 0.947585583,
|
||||
0.949528158, 0.951435030, 0.953306019, 0.955141187,
|
||||
0.956940353, 0.958703458, 0.960430503, 0.962121427,
|
||||
0.963776052, 0.965394437, 0.966976464, 0.968522072,
|
||||
0.970031261, 0.971503913, 0.972939968, 0.974339366,
|
||||
0.975702107, 0.977028131, 0.978317380, 0.979569793,
|
||||
0.980785251, 0.981963873, 0.983105481, 0.984210074,
|
||||
0.985277653, 0.986308098, 0.987301409, 0.988257587,
|
||||
0.989176512, 0.990058184, 0.990902662, 0.991709769,
|
||||
0.992479563, 0.993211925, 0.993906975, 0.994564593,
|
||||
0.995184720, 0.995767415, 0.996312618, 0.996820271,
|
||||
0.997290432, 0.997723043, 0.998118103, 0.998475552,
|
||||
0.998795450, 0.999077737, 0.999322355, 0.999529421,
|
||||
1.000000000, 0.999981165, 0.999924719, 0.999830604,
|
||||
0.999698818, 0.999529421, 0.999322355, 0.999077737,
|
||||
0.998795450, 0.998475552, 0.998118103, 0.997723043,
|
||||
0.997290432, 0.996820271, 0.996312618, 0.995767415,
|
||||
0.995184720, 0.994564593, 0.993906975, 0.993211925,
|
||||
0.992479563, 0.991709769, 0.990902662, 0.990058184,
|
||||
0.989176512, 0.988257587, 0.987301409, 0.986308098,
|
||||
0.985277653, 0.984210074, 0.983105481, 0.981963873,
|
||||
0.980785251, 0.979569793, 0.978317380, 0.977028131,
|
||||
0.975702107, 0.974339366, 0.972939968, 0.971503913,
|
||||
0.970031261, 0.968522072, 0.966976464, 0.965394437,
|
||||
0.963776052, 0.962121427, 0.960430503, 0.958703458,
|
||||
0.956940353, 0.955141187, 0.953306019, 0.951435030,
|
||||
0.949528158, 0.947585583, 0.945607305, 0.943593442,
|
||||
0.941544056, 0.939459205, 0.937339008, 0.935183525,
|
||||
0.932992816, 0.930766940, 0.928506076, 0.926210225,
|
||||
0.923879504, 0.921514034, 0.919113874, 0.916679084,
|
||||
0.914209783, 0.911706030, 0.909168005, 0.906595707,
|
||||
0.903989315, 0.901348829, 0.898674488, 0.895966232,
|
||||
0.893224299, 0.890448749, 0.887639642, 0.884797096,
|
||||
0.881921291, 0.879012227, 0.876070082, 0.873094976,
|
||||
0.870086968, 0.867046237, 0.863972843, 0.860866964,
|
||||
0.857728601, 0.854557991, 0.851355195, 0.848120332,
|
||||
0.844853580, 0.841554999, 0.838224709, 0.834862888,
|
||||
0.831469595, 0.828045070, 0.824589312, 0.821102500,
|
||||
0.817584813, 0.814036310, 0.810457170, 0.806847572,
|
||||
0.803207517, 0.799537241, 0.795836926, 0.792106569,
|
||||
0.788346410, 0.784556568, 0.780737221, 0.776888490,
|
||||
0.773010433, 0.769103348, 0.765167236, 0.761202395,
|
||||
0.757208824, 0.753186822, 0.749136388, 0.745057762,
|
||||
0.740951121, 0.736816585, 0.732654274, 0.728464365,
|
||||
0.724247098, 0.720002532, 0.715730846, 0.711432219,
|
||||
0.707106769, 0.702754736, 0.698376238, 0.693971455,
|
||||
0.689540565, 0.685083687, 0.680601001, 0.676092684,
|
||||
0.671558976, 0.666999936, 0.662415802, 0.657806695,
|
||||
0.653172851, 0.648514390, 0.643831551, 0.639124453,
|
||||
0.634393275, 0.629638255, 0.624859512, 0.620057225,
|
||||
0.615231574, 0.610382795, 0.605511069, 0.600616455,
|
||||
0.595699310, 0.590759695, 0.585797846, 0.580813944,
|
||||
0.575808167, 0.570780754, 0.565731823, 0.560661554,
|
||||
0.555570245, 0.550457954, 0.545324981, 0.540171444,
|
||||
0.534997642, 0.529803634, 0.524589658, 0.519356012,
|
||||
0.514102757, 0.508830130, 0.503538370, 0.498227656,
|
||||
0.492898196, 0.487550169, 0.482183784, 0.476799220,
|
||||
0.471396744, 0.465976506, 0.460538715, 0.455083579,
|
||||
0.449611336, 0.444122136, 0.438616246, 0.433093816,
|
||||
0.427555084, 0.422000259, 0.416429549, 0.410843164,
|
||||
0.405241311, 0.399624199, 0.393992037, 0.388345033,
|
||||
0.382683426, 0.377007425, 0.371317208, 0.365612984,
|
||||
0.359895051, 0.354163527, 0.348418683, 0.342660725,
|
||||
0.336889863, 0.331106305, 0.325310290, 0.319502026,
|
||||
0.313681751, 0.307849646, 0.302005947, 0.296150893,
|
||||
0.290284663, 0.284407526, 0.278519690, 0.272621363,
|
||||
0.266712755, 0.260794103, 0.254865646, 0.248927608,
|
||||
0.242980182, 0.237023607, 0.231058106, 0.225083917,
|
||||
0.219101235, 0.213110313, 0.207111374, 0.201104641,
|
||||
0.195090324, 0.189068660, 0.183039889, 0.177004218,
|
||||
0.170961887, 0.164913118, 0.158858150, 0.152797192,
|
||||
0.146730468, 0.140658244, 0.134580702, 0.128498107,
|
||||
0.122410677, 0.116318628, 0.110222206, 0.104121633,
|
||||
0.098017141, 0.091908954, 0.085797310, 0.079682440,
|
||||
0.073564567, 0.067443922, 0.061320737, 0.055195246,
|
||||
0.049067676, 0.042938258, 0.036807224, 0.030674804,
|
||||
0.024541229, 0.018406730, 0.012271538, 0.006135885,
|
||||
0.000000000, -0.006135885, -0.012271538, -0.018406730,
|
||||
-0.024541229, -0.030674804, -0.036807224, -0.042938258,
|
||||
-0.049067676, -0.055195246, -0.061320737, -0.067443922,
|
||||
-0.073564567, -0.079682440, -0.085797310, -0.091908954,
|
||||
-0.098017141, -0.104121633, -0.110222206, -0.116318628,
|
||||
-0.122410677, -0.128498107, -0.134580702, -0.140658244,
|
||||
-0.146730468, -0.152797192, -0.158858150, -0.164913118,
|
||||
-0.170961887, -0.177004218, -0.183039889, -0.189068660,
|
||||
-0.195090324, -0.201104641, -0.207111374, -0.213110313,
|
||||
-0.219101235, -0.225083917, -0.231058106, -0.237023607,
|
||||
-0.242980182, -0.248927608, -0.254865646, -0.260794103,
|
||||
-0.266712755, -0.272621363, -0.278519690, -0.284407526,
|
||||
-0.290284663, -0.296150893, -0.302005947, -0.307849646,
|
||||
-0.313681751, -0.319502026, -0.325310290, -0.331106305,
|
||||
-0.336889863, -0.342660725, -0.348418683, -0.354163527,
|
||||
-0.359895051, -0.365612984, -0.371317208, -0.377007425,
|
||||
-0.382683426, -0.388345033, -0.393992037, -0.399624199,
|
||||
-0.405241311, -0.410843164, -0.416429549, -0.422000259,
|
||||
-0.427555084, -0.433093816, -0.438616246, -0.444122136,
|
||||
-0.449611336, -0.455083579, -0.460538715, -0.465976506,
|
||||
-0.471396744, -0.476799220, -0.482183784, -0.487550169,
|
||||
-0.492898196, -0.498227656, -0.503538370, -0.508830130,
|
||||
-0.514102757, -0.519356012, -0.524589658, -0.529803634,
|
||||
-0.534997642, -0.540171444, -0.545324981, -0.550457954,
|
||||
-0.555570245, -0.560661554, -0.565731823, -0.570780754,
|
||||
-0.575808167, -0.580813944, -0.585797846, -0.590759695,
|
||||
-0.595699310, -0.600616455, -0.605511069, -0.610382795,
|
||||
-0.615231574, -0.620057225, -0.624859512, -0.629638255,
|
||||
-0.634393275, -0.639124453, -0.643831551, -0.648514390,
|
||||
-0.653172851, -0.657806695, -0.662415802, -0.666999936,
|
||||
-0.671558976, -0.676092684, -0.680601001, -0.685083687,
|
||||
-0.689540565, -0.693971455, -0.698376238, -0.702754736,
|
||||
-0.707106769, -0.711432219, -0.715730846, -0.720002532,
|
||||
-0.724247098, -0.728464365, -0.732654274, -0.736816585,
|
||||
-0.740951121, -0.745057762, -0.749136388, -0.753186822,
|
||||
-0.757208824, -0.761202395, -0.765167236, -0.769103348,
|
||||
-0.773010433, -0.776888490, -0.780737221, -0.784556568,
|
||||
-0.788346410, -0.792106569, -0.795836926, -0.799537241,
|
||||
-0.803207517, -0.806847572, -0.810457170, -0.814036310,
|
||||
-0.817584813, -0.821102500, -0.824589312, -0.828045070,
|
||||
-0.831469595, -0.834862888, -0.838224709, -0.841554999,
|
||||
-0.844853580, -0.848120332, -0.851355195, -0.854557991,
|
||||
-0.857728601, -0.860866964, -0.863972843, -0.867046237,
|
||||
-0.870086968, -0.873094976, -0.876070082, -0.879012227,
|
||||
-0.881921291, -0.884797096, -0.887639642, -0.890448749,
|
||||
-0.893224299, -0.895966232, -0.898674488, -0.901348829,
|
||||
-0.903989315, -0.906595707, -0.909168005, -0.911706030,
|
||||
-0.914209783, -0.916679084, -0.919113874, -0.921514034,
|
||||
-0.923879504, -0.926210225, -0.928506076, -0.930766940,
|
||||
-0.932992816, -0.935183525, -0.937339008, -0.939459205,
|
||||
-0.941544056, -0.943593442, -0.945607305, -0.947585583,
|
||||
-0.949528158, -0.951435030, -0.953306019, -0.955141187,
|
||||
-0.956940353, -0.958703458, -0.960430503, -0.962121427,
|
||||
-0.963776052, -0.965394437, -0.966976464, -0.968522072,
|
||||
-0.970031261, -0.971503913, -0.972939968, -0.974339366,
|
||||
-0.975702107, -0.977028131, -0.978317380, -0.979569793,
|
||||
-0.980785251, -0.981963873, -0.983105481, -0.984210074,
|
||||
-0.985277653, -0.986308098, -0.987301409, -0.988257587,
|
||||
-0.989176512, -0.990058184, -0.990902662, -0.991709769,
|
||||
-0.992479563, -0.993211925, -0.993906975, -0.994564593,
|
||||
-0.995184720, -0.995767415, -0.996312618, -0.996820271,
|
||||
-0.997290432, -0.997723043, -0.998118103, -0.998475552,
|
||||
-0.998795450, -0.999077737, -0.999322355, -0.999529421,
|
||||
-0.999698818, -0.999830604, -0.999924719, -0.999981165,
|
||||
-1.000000000, -0.999981165, -0.999924719, -0.999830604,
|
||||
-0.999698818, -0.999529421, -0.999322355, -0.999077737,
|
||||
-0.998795450, -0.998475552, -0.998118103, -0.997723043,
|
||||
-0.997290432, -0.996820271, -0.996312618, -0.995767415,
|
||||
-0.995184720, -0.994564593, -0.993906975, -0.993211925,
|
||||
-0.992479563, -0.991709769, -0.990902662, -0.990058184,
|
||||
-0.989176512, -0.988257587, -0.987301409, -0.986308098,
|
||||
-0.985277653, -0.984210074, -0.983105481, -0.981963873,
|
||||
-0.980785251, -0.979569793, -0.978317380, -0.977028131,
|
||||
-0.975702107, -0.974339366, -0.972939968, -0.971503913,
|
||||
-0.970031261, -0.968522072, -0.966976464, -0.965394437,
|
||||
-0.963776052, -0.962121427, -0.960430503, -0.958703458,
|
||||
-0.956940353, -0.955141187, -0.953306019, -0.951435030,
|
||||
-0.949528158, -0.947585583, -0.945607305, -0.943593442,
|
||||
-0.941544056, -0.939459205, -0.937339008, -0.935183525,
|
||||
-0.932992816, -0.930766940, -0.928506076, -0.926210225,
|
||||
-0.923879504, -0.921514034, -0.919113874, -0.916679084,
|
||||
-0.914209783, -0.911706030, -0.909168005, -0.906595707,
|
||||
-0.903989315, -0.901348829, -0.898674488, -0.895966232,
|
||||
-0.893224299, -0.890448749, -0.887639642, -0.884797096,
|
||||
-0.881921291, -0.879012227, -0.876070082, -0.873094976,
|
||||
-0.870086968, -0.867046237, -0.863972843, -0.860866964,
|
||||
-0.857728601, -0.854557991, -0.851355195, -0.848120332,
|
||||
-0.844853580, -0.841554999, -0.838224709, -0.834862888,
|
||||
-0.831469595, -0.828045070, -0.824589312, -0.821102500,
|
||||
-0.817584813, -0.814036310, -0.810457170, -0.806847572,
|
||||
-0.803207517, -0.799537241, -0.795836926, -0.792106569,
|
||||
-0.788346410, -0.784556568, -0.780737221, -0.776888490,
|
||||
-0.773010433, -0.769103348, -0.765167236, -0.761202395,
|
||||
-0.757208824, -0.753186822, -0.749136388, -0.745057762,
|
||||
-0.740951121, -0.736816585, -0.732654274, -0.728464365,
|
||||
-0.724247098, -0.720002532, -0.715730846, -0.711432219,
|
||||
-0.707106769, -0.702754736, -0.698376238, -0.693971455,
|
||||
-0.689540565, -0.685083687, -0.680601001, -0.676092684,
|
||||
-0.671558976, -0.666999936, -0.662415802, -0.657806695,
|
||||
-0.653172851, -0.648514390, -0.643831551, -0.639124453,
|
||||
-0.634393275, -0.629638255, -0.624859512, -0.620057225,
|
||||
-0.615231574, -0.610382795, -0.605511069, -0.600616455,
|
||||
-0.595699310, -0.590759695, -0.585797846, -0.580813944,
|
||||
-0.575808167, -0.570780754, -0.565731823, -0.560661554,
|
||||
-0.555570245, -0.550457954, -0.545324981, -0.540171444,
|
||||
-0.534997642, -0.529803634, -0.524589658, -0.519356012,
|
||||
-0.514102757, -0.508830130, -0.503538370, -0.498227656,
|
||||
-0.492898196, -0.487550169, -0.482183784, -0.476799220,
|
||||
-0.471396744, -0.465976506, -0.460538715, -0.455083579,
|
||||
-0.449611336, -0.444122136, -0.438616246, -0.433093816,
|
||||
-0.427555084, -0.422000259, -0.416429549, -0.410843164,
|
||||
-0.405241311, -0.399624199, -0.393992037, -0.388345033,
|
||||
-0.382683426, -0.377007425, -0.371317208, -0.365612984,
|
||||
-0.359895051, -0.354163527, -0.348418683, -0.342660725,
|
||||
-0.336889863, -0.331106305, -0.325310290, -0.319502026,
|
||||
-0.313681751, -0.307849646, -0.302005947, -0.296150893,
|
||||
-0.290284663, -0.284407526, -0.278519690, -0.272621363,
|
||||
-0.266712755, -0.260794103, -0.254865646, -0.248927608,
|
||||
-0.242980182, -0.237023607, -0.231058106, -0.225083917,
|
||||
-0.219101235, -0.213110313, -0.207111374, -0.201104641,
|
||||
-0.195090324, -0.189068660, -0.183039889, -0.177004218,
|
||||
-0.170961887, -0.164913118, -0.158858150, -0.152797192,
|
||||
-0.146730468, -0.140658244, -0.134580702, -0.128498107,
|
||||
-0.122410677, -0.116318628, -0.110222206, -0.104121633,
|
||||
-0.098017141, -0.091908954, -0.085797310, -0.079682440,
|
||||
-0.073564567, -0.067443922, -0.061320737, -0.055195246,
|
||||
-0.049067676, -0.042938258, -0.036807224, -0.030674804,
|
||||
-0.024541229, -0.018406730, -0.012271538, -0.006135885,
|
||||
-0.000000000, 0.006135885, 0.012271538, 0.018406730,
|
||||
0.024541229, 0.030674804, 0.036807224, 0.042938258,
|
||||
0.049067676, 0.055195246, 0.061320737, 0.067443922,
|
||||
0.073564567, 0.079682440, 0.085797310, 0.091908954,
|
||||
0.098017141, 0.104121633, 0.110222206, 0.116318628,
|
||||
0.122410677, 0.128498107, 0.134580702, 0.140658244,
|
||||
0.146730468, 0.152797192, 0.158858150, 0.164913118,
|
||||
0.170961887, 0.177004218, 0.183039889, 0.189068660,
|
||||
0.195090324, 0.201104641, 0.207111374, 0.213110313,
|
||||
0.219101235, 0.225083917, 0.231058106, 0.237023607,
|
||||
0.242980182, 0.248927608, 0.254865646, 0.260794103,
|
||||
0.266712755, 0.272621363, 0.278519690, 0.284407526,
|
||||
0.290284663, 0.296150893, 0.302005947, 0.307849646,
|
||||
0.313681751, 0.319502026, 0.325310290, 0.331106305,
|
||||
0.336889863, 0.342660725, 0.348418683, 0.354163527,
|
||||
0.359895051, 0.365612984, 0.371317208, 0.377007425,
|
||||
0.382683426, 0.388345033, 0.393992037, 0.399624199,
|
||||
0.405241311, 0.410843164, 0.416429549, 0.422000259,
|
||||
0.427555084, 0.433093816, 0.438616246, 0.444122136,
|
||||
0.449611336, 0.455083579, 0.460538715, 0.465976506,
|
||||
0.471396744, 0.476799220, 0.482183784, 0.487550169,
|
||||
0.492898196, 0.498227656, 0.503538370, 0.508830130,
|
||||
0.514102757, 0.519356012, 0.524589658, 0.529803634,
|
||||
0.534997642, 0.540171444, 0.545324981, 0.550457954,
|
||||
0.555570245, 0.560661554, 0.565731823, 0.570780754,
|
||||
0.575808167, 0.580813944, 0.585797846, 0.590759695,
|
||||
0.595699310, 0.600616455, 0.605511069, 0.610382795,
|
||||
0.615231574, 0.620057225, 0.624859512, 0.629638255,
|
||||
0.634393275, 0.639124453, 0.643831551, 0.648514390,
|
||||
0.653172851, 0.657806695, 0.662415802, 0.666999936,
|
||||
0.671558976, 0.676092684, 0.680601001, 0.685083687,
|
||||
0.689540565, 0.693971455, 0.698376238, 0.702754736,
|
||||
0.707106769, 0.711432219, 0.715730846, 0.720002532,
|
||||
0.724247098, 0.728464365, 0.732654274, 0.736816585,
|
||||
0.740951121, 0.745057762, 0.749136388, 0.753186822,
|
||||
0.757208824, 0.761202395, 0.765167236, 0.769103348,
|
||||
0.773010433, 0.776888490, 0.780737221, 0.784556568,
|
||||
0.788346410, 0.792106569, 0.795836926, 0.799537241,
|
||||
0.803207517, 0.806847572, 0.810457170, 0.814036310,
|
||||
0.817584813, 0.821102500, 0.824589312, 0.828045070,
|
||||
0.831469595, 0.834862888, 0.838224709, 0.841554999,
|
||||
0.844853580, 0.848120332, 0.851355195, 0.854557991,
|
||||
0.857728601, 0.860866964, 0.863972843, 0.867046237,
|
||||
0.870086968, 0.873094976, 0.876070082, 0.879012227,
|
||||
0.881921291, 0.884797096, 0.887639642, 0.890448749,
|
||||
0.893224299, 0.895966232, 0.898674488, 0.901348829,
|
||||
0.903989315, 0.906595707, 0.909168005, 0.911706030,
|
||||
0.914209783, 0.916679084, 0.919113874, 0.921514034,
|
||||
0.923879504, 0.926210225, 0.928506076, 0.930766940,
|
||||
0.932992816, 0.935183525, 0.937339008, 0.939459205,
|
||||
0.941544056, 0.943593442, 0.945607305, 0.947585583,
|
||||
0.949528158, 0.951435030, 0.953306019, 0.955141187,
|
||||
0.956940353, 0.958703458, 0.960430503, 0.962121427,
|
||||
0.963776052, 0.965394437, 0.966976464, 0.968522072,
|
||||
0.970031261, 0.971503913, 0.972939968, 0.974339366,
|
||||
0.975702107, 0.977028131, 0.978317380, 0.979569793,
|
||||
0.980785251, 0.981963873, 0.983105481, 0.984210074,
|
||||
0.985277653, 0.986308098, 0.987301409, 0.988257587,
|
||||
0.989176512, 0.990058184, 0.990902662, 0.991709769,
|
||||
0.992479563, 0.993211925, 0.993906975, 0.994564593,
|
||||
0.995184720, 0.995767415, 0.996312618, 0.996820271,
|
||||
0.997290432, 0.997723043, 0.998118103, 0.998475552,
|
||||
0.998795450, 0.999077737, 0.999322355, 0.999529421,
|
||||
0.999698818, 0.999830604, 0.999924719, 0.999981165
|
||||
};
|
||||
|
@ -1,79 +1,79 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// agc_impl.h: interface for the CAgc class.
|
||||
//
|
||||
// This class implements an automatic gain function.
|
||||
//
|
||||
// History:
|
||||
// 2010-09-15 Initial creation MSW
|
||||
// 2011-03-27 Initial release
|
||||
// 2011-09-24 Adapted for gqrx
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
#ifndef AGC_IMPL_H
|
||||
#define AGC_IMPL_H
|
||||
|
||||
#include <complex>
|
||||
#include <deque>
|
||||
|
||||
#define MAX_DELAY_BUF 2048
|
||||
|
||||
/*
|
||||
typedef struct _dCplx
|
||||
{
|
||||
double re;
|
||||
double im;
|
||||
} tDComplex;
|
||||
|
||||
#define TYPECPX tDComplex
|
||||
*/
|
||||
|
||||
#define TYPECPX std::complex<float>
|
||||
|
||||
|
||||
class CAgc
|
||||
{
|
||||
public:
|
||||
CAgc();
|
||||
virtual ~CAgc();
|
||||
void SetParameters(bool AgcOn, bool UseHang, int Threshold, int ManualGain, int Slope, int Decay, double SampleRate);
|
||||
void ProcessData(int Length, const TYPECPX * pInData, TYPECPX * pOutData);
|
||||
|
||||
private:
|
||||
bool m_AgcOn;
|
||||
bool m_UseHang;
|
||||
int m_Threshold;
|
||||
int m_ManualGain;
|
||||
int m_Decay;
|
||||
|
||||
float m_SampleRate;
|
||||
|
||||
float m_SlopeFactor;
|
||||
float m_ManualAgcGain;
|
||||
|
||||
float m_DecayAve;
|
||||
float m_AttackAve;
|
||||
|
||||
float m_AttackRiseAlpha;
|
||||
float m_AttackFallAlpha;
|
||||
float m_DecayRiseAlpha;
|
||||
float m_DecayFallAlpha;
|
||||
|
||||
float m_FixedGain;
|
||||
float m_Knee;
|
||||
float m_GainSlope;
|
||||
float m_Peak;
|
||||
|
||||
int m_SigDelayPtr;
|
||||
int m_MagBufPos;
|
||||
int m_DelaySamples;
|
||||
int m_WindowSamples;
|
||||
int m_HangTime;
|
||||
int m_HangTimer;
|
||||
|
||||
TYPECPX m_SigDelayBuf[MAX_DELAY_BUF];
|
||||
float* m_SigDelayBuf_r;
|
||||
|
||||
float m_MagBuf[MAX_DELAY_BUF];
|
||||
std::deque<int> m_MagDeque;
|
||||
};
|
||||
|
||||
#endif // AGC_IMPL_H
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// agc_impl.h: interface for the CAgc class.
|
||||
//
|
||||
// This class implements an automatic gain function.
|
||||
//
|
||||
// History:
|
||||
// 2010-09-15 Initial creation MSW
|
||||
// 2011-03-27 Initial release
|
||||
// 2011-09-24 Adapted for gqrx
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
#ifndef AGC_IMPL_H
|
||||
#define AGC_IMPL_H
|
||||
|
||||
#include <complex>
|
||||
#include <deque>
|
||||
|
||||
#define MAX_DELAY_BUF 2048
|
||||
|
||||
/*
|
||||
typedef struct _dCplx
|
||||
{
|
||||
double re;
|
||||
double im;
|
||||
} tDComplex;
|
||||
|
||||
#define TYPECPX tDComplex
|
||||
*/
|
||||
|
||||
#define TYPECPX std::complex<float>
|
||||
|
||||
|
||||
class CAgc
|
||||
{
|
||||
public:
|
||||
CAgc();
|
||||
virtual ~CAgc();
|
||||
void SetParameters(bool AgcOn, bool UseHang, int Threshold, int ManualGain, int Slope, int Decay, double SampleRate);
|
||||
void ProcessData(int Length, const TYPECPX * pInData, TYPECPX * pOutData);
|
||||
|
||||
private:
|
||||
bool m_AgcOn;
|
||||
bool m_UseHang;
|
||||
int m_Threshold;
|
||||
int m_ManualGain;
|
||||
int m_Decay;
|
||||
|
||||
float m_SampleRate;
|
||||
|
||||
float m_SlopeFactor;
|
||||
float m_ManualAgcGain;
|
||||
|
||||
float m_DecayAve;
|
||||
float m_AttackAve;
|
||||
|
||||
float m_AttackRiseAlpha;
|
||||
float m_AttackFallAlpha;
|
||||
float m_DecayRiseAlpha;
|
||||
float m_DecayFallAlpha;
|
||||
|
||||
float m_FixedGain;
|
||||
float m_Knee;
|
||||
float m_GainSlope;
|
||||
float m_Peak;
|
||||
|
||||
int m_SigDelayPtr;
|
||||
int m_MagBufPos;
|
||||
int m_DelaySamples;
|
||||
int m_WindowSamples;
|
||||
int m_HangTime;
|
||||
int m_HangTimer;
|
||||
|
||||
TYPECPX m_SigDelayBuf[MAX_DELAY_BUF];
|
||||
float* m_SigDelayBuf_r;
|
||||
|
||||
float m_MagBuf[MAX_DELAY_BUF];
|
||||
std::deque<int> m_MagDeque;
|
||||
};
|
||||
|
||||
#endif // AGC_IMPL_H
|
||||
|
@ -118,7 +118,7 @@ rx_xlating_filter_sptr make_rx_xlating_filter(double sample_rate,
|
||||
* required to generate complex band pass filter taps. It provides a simple
|
||||
* interface to set the filter offset and limits and takes care of generating
|
||||
* the appropriate taps according to the limits.
|
||||
*
|
||||
*
|
||||
* The filter limits are relative to the filter offset and thanks to the complex taps
|
||||
* they can be both positive and negative.
|
||||
*
|
||||
|
@ -63,7 +63,7 @@ int portaudio_device_list::populate_device_list()
|
||||
PaError err;
|
||||
|
||||
std::cout << Pa_GetVersionText() << " (version " << Pa_GetVersion() << ")" << std::endl;
|
||||
|
||||
|
||||
num_dev = Pa_GetDeviceCount();
|
||||
if (num_dev < 0)
|
||||
{
|
||||
|
@ -45,13 +45,13 @@ class CAgcOptions;
|
||||
class CAgcOptions : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
explicit CAgcOptions(QWidget *parent = 0);
|
||||
~CAgcOptions();
|
||||
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
||||
|
||||
int gain();
|
||||
void setGain(int value);
|
||||
void enableGain(bool enabled);
|
||||
|
@ -36,7 +36,7 @@ namespace Ui {
|
||||
class CAudioOptions : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
explicit CAudioOptions(QWidget *parent = 0);
|
||||
~CAudioOptions();
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
};
|
||||
|
||||
explicit BookmarksTableModel(QObject *parent = 0);
|
||||
|
||||
|
||||
int rowCount ( const QModelIndex & parent = QModelIndex() ) const;
|
||||
int columnCount ( const QModelIndex & parent = QModelIndex() ) const;
|
||||
QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const;
|
||||
|
@ -87,7 +87,7 @@ public:
|
||||
|
||||
protected:
|
||||
QScopedPointer<ctkFooObjectPrivate> d_ptr;
|
||||
|
||||
|
||||
private:
|
||||
Q_DECLARE_PRIVATE(ctkFooObject);
|
||||
Q_DISABLE_COPY(ctkFooObject);
|
||||
@ -161,7 +161,7 @@ double ctkFooObject::property()const
|
||||
, d_ptr(new PUB##Private) \
|
||||
{ \
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* Define the setter in the public class.
|
||||
*
|
||||
|
@ -34,8 +34,8 @@ class ctkRangeSliderPrivate;
|
||||
///
|
||||
/// A ctkRangeSlider is a slider that lets you input 2 values instead of one
|
||||
/// (see QSlider). These values are typically a lower and upper bound.
|
||||
/// Values are comprised between the range of the slider. See setRange(),
|
||||
/// minimum() and maximum(). The upper bound can't be smaller than the
|
||||
/// Values are comprised between the range of the slider. See setRange(),
|
||||
/// minimum() and maximum(). The upper bound can't be smaller than the
|
||||
/// lower bound and vice-versa.
|
||||
/// When setting new values (setMinimumValue(), setMaximumValue() or
|
||||
/// setValues()), make sure they lie between the range (minimum(), maximum())
|
||||
@ -65,27 +65,27 @@ public:
|
||||
explicit ctkRangeSlider( QWidget* par = 0 );
|
||||
virtual ~ctkRangeSlider();
|
||||
|
||||
///
|
||||
///
|
||||
/// This property holds the slider's current minimum value.
|
||||
/// The slider silently forces minimumValue to be within the legal range:
|
||||
/// The slider silently forces minimumValue to be within the legal range:
|
||||
/// minimum() <= minimumValue() <= maximumValue() <= maximum().
|
||||
/// Changing the minimumValue also changes the minimumPosition.
|
||||
int minimumValue() const;
|
||||
|
||||
///
|
||||
///
|
||||
/// This property holds the slider's current maximum value.
|
||||
/// The slider forces the maximum value to be within the legal range:
|
||||
/// The slider silently forces maximumValue to be within the legal range:
|
||||
/// The slider forces the maximum value to be within the legal range:
|
||||
/// The slider silently forces maximumValue to be within the legal range:
|
||||
/// Changing the maximumValue also changes the maximumPosition.
|
||||
int maximumValue() const;
|
||||
|
||||
///
|
||||
///
|
||||
/// This property holds the current slider minimum position.
|
||||
/// If tracking is enabled (the default), this is identical to minimumValue.
|
||||
int minimumPosition() const;
|
||||
void setMinimumPosition(int min);
|
||||
|
||||
///
|
||||
///
|
||||
/// This property holds the current slider maximum position.
|
||||
/// If tracking is enabled (the default), this is identical to maximumValue.
|
||||
int maximumPosition() const;
|
||||
@ -95,11 +95,11 @@ public:
|
||||
/// Utility function that set the minimum position and
|
||||
/// maximum position at once.
|
||||
void setPositions(int min, int max);
|
||||
|
||||
|
||||
///
|
||||
/// When symmetricMoves is true, moving a handle will move the other handle
|
||||
/// symmetrically, otherwise the handles are independent. False by default
|
||||
bool symmetricMoves()const;
|
||||
bool symmetricMoves()const;
|
||||
void setSymmetricMoves(bool symmetry);
|
||||
|
||||
///
|
||||
@ -119,11 +119,11 @@ public:
|
||||
|
||||
Q_SIGNALS:
|
||||
///
|
||||
/// This signal is emitted when the slider minimum value has changed,
|
||||
/// This signal is emitted when the slider minimum value has changed,
|
||||
/// with the new slider value as argument.
|
||||
void minimumValueChanged(int min);
|
||||
///
|
||||
/// This signal is emitted when the slider maximum value has changed,
|
||||
/// This signal is emitted when the slider maximum value has changed,
|
||||
/// with the new slider value as argument.
|
||||
void maximumValueChanged(int max);
|
||||
///
|
||||
@ -131,36 +131,36 @@ Q_SIGNALS:
|
||||
void valuesChanged(int min, int max);
|
||||
|
||||
///
|
||||
/// This signal is emitted when sliderDown is true and the slider moves.
|
||||
/// This usually happens when the user is dragging the minimum slider.
|
||||
/// This signal is emitted when sliderDown is true and the slider moves.
|
||||
/// This usually happens when the user is dragging the minimum slider.
|
||||
/// The value is the new slider minimum position.
|
||||
/// This signal is emitted even when tracking is turned off.
|
||||
void minimumPositionChanged(int min);
|
||||
|
||||
///
|
||||
/// This signal is emitted when sliderDown is true and the slider moves.
|
||||
/// This usually happens when the user is dragging the maximum slider.
|
||||
/// This signal is emitted when sliderDown is true and the slider moves.
|
||||
/// This usually happens when the user is dragging the maximum slider.
|
||||
/// The value is the new slider maximum position.
|
||||
/// This signal is emitted even when tracking is turned off.
|
||||
void maximumPositionChanged(int max);
|
||||
|
||||
///
|
||||
/// Utility signal that is fired when minimum or maximum positions
|
||||
/// Utility signal that is fired when minimum or maximum positions
|
||||
/// have changed.
|
||||
void positionsChanged(int min, int max);
|
||||
|
||||
public Q_SLOTS:
|
||||
///
|
||||
///
|
||||
/// This property holds the slider's current minimum value.
|
||||
/// The slider silently forces min to be within the legal range:
|
||||
/// The slider silently forces min to be within the legal range:
|
||||
/// minimum() <= min <= maximumValue() <= maximum().
|
||||
/// Note: Changing the minimumValue also changes the minimumPosition.
|
||||
/// \sa stMaximumValue, setValues, setMinimum, setMaximum, setRange
|
||||
void setMinimumValue(int min);
|
||||
|
||||
///
|
||||
///
|
||||
/// This property holds the slider's current maximum value.
|
||||
/// The slider silently forces max to be within the legal range:
|
||||
/// The slider silently forces max to be within the legal range:
|
||||
/// minimum() <= minimumValue() <= max <= maximum().
|
||||
/// Note: Changing the maximumValue also changes the maximumPosition.
|
||||
/// \sa stMinimumValue, setValues, setMinimum, setMaximum, setRange
|
||||
@ -168,9 +168,9 @@ public Q_SLOTS:
|
||||
|
||||
///
|
||||
/// Utility function that set the minimum value and maximum value at once.
|
||||
/// The slider silently forces min and max to be within the legal range:
|
||||
/// The slider silently forces min and max to be within the legal range:
|
||||
/// minimum() <= min <= max <= maximum().
|
||||
/// Note: Changing the minimumValue and maximumValue also changes the
|
||||
/// Note: Changing the minimumValue and maximumValue also changes the
|
||||
/// minimumPosition and maximumPosition.
|
||||
/// \sa setMinimumValue, setMaximumValue, setMinimum, setMaximum, setRange
|
||||
void setValues(int min, int max);
|
||||
@ -207,4 +207,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -269,7 +269,7 @@ void DockFft::saveSettings(QSettings *settings)
|
||||
settings->setValue("bandplan", true);
|
||||
else
|
||||
settings->remove("bandplan");
|
||||
|
||||
|
||||
// Peak
|
||||
if (ui->peakDetectionButton->isChecked())
|
||||
settings->setValue("peak_detect", true);
|
||||
|
@ -33,7 +33,7 @@ class CNbOptions;
|
||||
class CNbOptions : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
explicit CNbOptions(QWidget *parent = 0);
|
||||
~CNbOptions();
|
||||
|
@ -1,17 +1,17 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** This file is part of a Qt Solutions component.
|
||||
**
|
||||
**
|
||||
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
||||
**
|
||||
**
|
||||
** Contact: Qt Software Information (qt-info@nokia.com)
|
||||
**
|
||||
** Commercial Usage
|
||||
**
|
||||
** Commercial Usage
|
||||
** Licensees holding valid Qt Commercial licenses may use this file in
|
||||
** accordance with the Qt Solutions Commercial License Agreement provided
|
||||
** with the Software or, alternatively, in accordance with the terms
|
||||
** contained in a written agreement between you and Nokia.
|
||||
**
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 2.1 as published by the Free Software
|
||||
@ -19,29 +19,29 @@
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
**
|
||||
**
|
||||
** In addition, as a special exception, Nokia gives you certain
|
||||
** additional rights. These rights are described in the Nokia Qt LGPL
|
||||
** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
||||
** package.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3.0 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU General Public License version 3.0 requirements will be
|
||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
||||
**
|
||||
**
|
||||
** Please note Third Party Software included with Qt Solutions may impose
|
||||
** additional restrictions and it is the user's responsibility to ensure
|
||||
** that they have met the licensing requirements of the GPL, LGPL, or Qt
|
||||
** Solutions Commercial license and the relevant license of the Third
|
||||
** Party Software they are using.
|
||||
**
|
||||
**
|
||||
** If you are unsure which license is appropriate for your use, please
|
||||
** contact the sales department at qt-sales@nokia.com.
|
||||
**
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QTCOLORPICKER_H
|
||||
|
Loading…
Reference in New Issue
Block a user