mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-24 18:08:27 +01:00
easier build
This commit is contained in:
parent
e497122c06
commit
c1052b1b28
@ -146,7 +146,7 @@ void SigPath::setDemodulator(int demId, float bandWidth) {
|
|||||||
ssbDemod.start();
|
ssbDemod.start();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
spdlog::error("UNIMPLEMENTED DEMODULATOR IN SigPath::setDemodulator (start)");
|
spdlog::error("UNIMPLEMENTED DEMODULATOR IN SigPath::setDemodulator (start): {0}", demId);
|
||||||
}
|
}
|
||||||
|
|
||||||
deemp.setBlockSize(audioResamp.getOutputBlockSize());
|
deemp.setBlockSize(audioResamp.getOutputBlockSize());
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
echo OFF
|
echo OFF
|
||||||
|
copy /b/v/y build\Release\* root\
|
||||||
copy /b/v/y build\modules\radio\Release\radio.dll root\modules\radio.dll
|
copy /b/v/y build\modules\radio\Release\radio.dll root\modules\radio.dll
|
||||||
copy /b/v/y build\modules\recorder\Release\recorder.dll root\modules\recorder.dll
|
copy /b/v/y build\modules\recorder\Release\recorder.dll root\modules\recorder.dll
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
cp modules/radio/build/radio.so root/modules/radio.so
|
cp build/modules/radio/radio.so root/modules/radio.so
|
||||||
cp modules/recorder/build/recorder.so root/modules/recorder.so
|
cp build/modules/recorder/recorder.so root/modules/recorder.so
|
19
readme.md
19
readme.md
@ -65,20 +65,25 @@ comming soon :)
|
|||||||
comming soon as well :)
|
comming soon as well :)
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Feel free to issue pull request and report bugs via the github issues.
|
Feel free to issue pull request and report bugs via the github issues.
|
||||||
I will soon publish a contributing.md listing the code style to use.
|
I will soon publish a contributing.md listing the code style to use.
|
||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
## Libaries used
|
|
||||||
* [SoapySDR (PothosWare)](https://github.com/pothosware/SoapySDR)
|
## Patrons
|
||||||
* [Dear ImGui (ocornut)](https://github.com/ocornut/imgui)
|
* [SignalsEverywhere](https://signalseverywhere.com/)
|
||||||
* [spdlog (gabime)](https://github.com/gabime/spdlog)
|
|
||||||
* [json (nlohmann)](https://github.com/nlohmann/json)
|
|
||||||
* [portaudio (PortAudio community)](http://www.portaudio.com/)
|
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
* [aosync](https://github.com/aosync)
|
* [aosync](https://github.com/aosync)
|
||||||
* [Benjamin Kyd](https://github.com/benkyd)
|
* [Benjamin Kyd](https://github.com/benkyd)
|
||||||
* [Tobias Mädel](https://github.com/Manawyrm)
|
* [Tobias Mädel](https://github.com/Manawyrm)
|
||||||
* [Raov](https://twitter.com/raov_birbtog)
|
* [Raov](https://twitter.com/raov_birbtog)
|
||||||
* [SignalsEverywhere](https://signalseverywhere.com/)
|
* [Howard0su](https://github.com/howard0su)
|
||||||
|
|
||||||
|
## Libaries used
|
||||||
|
* [SoapySDR (PothosWare)](https://github.com/pothosware/SoapySDR)
|
||||||
|
* [Dear ImGui (ocornut)](https://github.com/ocornut/imgui)
|
||||||
|
* [spdlog (gabime)](https://github.com/gabime/spdlog)
|
||||||
|
* [json (nlohmann)](https://github.com/nlohmann/json)
|
||||||
|
* [portaudio (PortAudio community)](http://www.portaudio.com/)
|
@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"audio": {},
|
"audio": {
|
||||||
|
"Radio": {
|
||||||
|
"device": "Speakers (Realtek High Definiti",
|
||||||
|
"sampleRate": 48000.0,
|
||||||
|
"volume": 0.32258063554763794
|
||||||
|
}
|
||||||
|
},
|
||||||
"bandPlan": "General",
|
"bandPlan": "General",
|
||||||
"bandPlanEnabled": true,
|
"bandPlanEnabled": true,
|
||||||
"fftHeight": 300,
|
"fftHeight": 300,
|
||||||
@ -7,10 +13,19 @@
|
|||||||
"max": 0.0,
|
"max": 0.0,
|
||||||
"maximized": false,
|
"maximized": false,
|
||||||
"menuWidth": 300,
|
"menuWidth": 300,
|
||||||
"min": -70.0,
|
"min": -52.20588302612305,
|
||||||
"showWaterfall": true,
|
"showWaterfall": true,
|
||||||
"source": "",
|
"source": "HackRF One #0 901868dc282c8f8b",
|
||||||
"sourceSettings": {},
|
"sourceSettings": {
|
||||||
|
"HackRF One #0 901868dc282c8f8b": {
|
||||||
|
"gains": {
|
||||||
|
"AMP": 0.0,
|
||||||
|
"LNA": 24.503000259399414,
|
||||||
|
"VGA": 16.229999542236328
|
||||||
|
},
|
||||||
|
"sampleRate": 8000000
|
||||||
|
}
|
||||||
|
},
|
||||||
"windowSize": {
|
"windowSize": {
|
||||||
"h": 720,
|
"h": 720,
|
||||||
"w": 1280
|
"w": 1280
|
||||||
|
BIN
root/res/icons/stop.png
Normal file
BIN
root/res/icons/stop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
root/sdrpp.zip
BIN
root/sdrpp.zip
Binary file not shown.
7
root_dev/band_colors.json
Normal file
7
root_dev/band_colors.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"broadcast": "#0000FFFF",
|
||||||
|
"amateur": "#FF0000FF",
|
||||||
|
"aviation": "#00FF00FF",
|
||||||
|
"marine": "#00FFFFFF",
|
||||||
|
"military": "#FFFF00FF"
|
||||||
|
}
|
267
root_dev/bandplans/general.json
Normal file
267
root_dev/bandplans/general.json
Normal file
@ -0,0 +1,267 @@
|
|||||||
|
{
|
||||||
|
"name": "General",
|
||||||
|
"country_name": "Worldwide",
|
||||||
|
"country_code": "--",
|
||||||
|
"author_name": "Ryzerth",
|
||||||
|
"author_url": "https://github.com/AlexandreRouma",
|
||||||
|
"bands": [
|
||||||
|
{
|
||||||
|
"name": "Long Wave",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 148500,
|
||||||
|
"end": 283500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Medium Wave",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 526500,
|
||||||
|
"end": 1606500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 2300000,
|
||||||
|
"end": 2468000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 3200000,
|
||||||
|
"end": 3400000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 3950000,
|
||||||
|
"end": 4000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 4750000,
|
||||||
|
"end": 4995000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 5005000,
|
||||||
|
"end": 5060000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 5900000,
|
||||||
|
"end": 6200000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 7200000,
|
||||||
|
"end": 7450000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 9400000,
|
||||||
|
"end": 9900000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 11600000,
|
||||||
|
"end": 12100000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 13570000,
|
||||||
|
"end": 13870000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 15100000,
|
||||||
|
"end": 15800000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 17480000,
|
||||||
|
"end": 17900000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 18900000,
|
||||||
|
"end": 19020000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 21450000,
|
||||||
|
"end": 21850000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shortwave Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 25670000,
|
||||||
|
"end": 26100000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FM Broadcast",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 87500000,
|
||||||
|
"end": 108000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Air Band VOR/ILS",
|
||||||
|
"type": "aviation",
|
||||||
|
"start": 108000000,
|
||||||
|
"end": 118000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Air Band Voice",
|
||||||
|
"type": "aviation",
|
||||||
|
"start": 118000000,
|
||||||
|
"end": 137000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "160m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1800000,
|
||||||
|
"end": 2000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3500000,
|
||||||
|
"end": 3950000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "60m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 5351500,
|
||||||
|
"end": 5366500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7000000,
|
||||||
|
"end": 7200000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "30m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 10100000,
|
||||||
|
"end": 10150000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "20m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 14000000,
|
||||||
|
"end": 14350000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "17m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 18068000,
|
||||||
|
"end": 18168000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "15m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 21000000,
|
||||||
|
"end": 21450000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "12m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 24890000,
|
||||||
|
"end": 24990000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CB",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 26960000,
|
||||||
|
"end": 27410000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "10m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 28000000,
|
||||||
|
"end": 29750000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "6m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 50000000,
|
||||||
|
"end": 54000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "2m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 144000000,
|
||||||
|
"end": 148000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Marine",
|
||||||
|
"type": "marine",
|
||||||
|
"start": 156000000,
|
||||||
|
"end": 162025000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "1.25m Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 222000000,
|
||||||
|
"end": 225000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Military Air",
|
||||||
|
"type": "military",
|
||||||
|
"start": 225000000,
|
||||||
|
"end": 380000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Military Sat",
|
||||||
|
"type": "military",
|
||||||
|
"start": 240000000,
|
||||||
|
"end": 270000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "70cm Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 420000000,
|
||||||
|
"end": 450000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PMR446",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 446000000,
|
||||||
|
"end": 446200000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "33cm Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 902000000,
|
||||||
|
"end": 928000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "23cm Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1240000000,
|
||||||
|
"end": 1300000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "13cm Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 2300000000,
|
||||||
|
"end": 2310000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "13cm Ham Band",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 2390000000,
|
||||||
|
"end": 2450000000
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
141
root_dev/bandplans/germany.json
Normal file
141
root_dev/bandplans/germany.json
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
{
|
||||||
|
"name": "Germany",
|
||||||
|
"country_name": "Germany",
|
||||||
|
"country_code": "DE",
|
||||||
|
"author_name": "Tobias Mädel",
|
||||||
|
"author_url": "https://tbspace.de",
|
||||||
|
"bands": [
|
||||||
|
{
|
||||||
|
"name": "LW",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 135700,
|
||||||
|
"end": 137800
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "630m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 472000,
|
||||||
|
"end": 479000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "160m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1810000,
|
||||||
|
"end": 2000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3500000,
|
||||||
|
"end": 3800000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "60m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 5351500,
|
||||||
|
"end": 5366500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7000000,
|
||||||
|
"end": 7200000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "30m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 10100000,
|
||||||
|
"end": 10150000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "20m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 14000000,
|
||||||
|
"end": 14350000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "17m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 18068000,
|
||||||
|
"end": 18168000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "15m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 21000000,
|
||||||
|
"end": 21450000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "12m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 24890000,
|
||||||
|
"end": 24990000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CB",
|
||||||
|
"type": "other",
|
||||||
|
"start": 26565000,
|
||||||
|
"end": 27405000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "10m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 28000000,
|
||||||
|
"end": 29700000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "6m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 50030000,
|
||||||
|
"end": 51000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "4m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 70150000,
|
||||||
|
"end": 70200000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FM",
|
||||||
|
"type": "broadcast",
|
||||||
|
"start": 87500000,
|
||||||
|
"end": 108000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "2m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 144000000,
|
||||||
|
"end": 146000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Freenet",
|
||||||
|
"type": "other",
|
||||||
|
"start": 149025000,
|
||||||
|
"end": 149115625
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "70cm",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 430000000,
|
||||||
|
"end": 440000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PMR446",
|
||||||
|
"type": "other",
|
||||||
|
"start": 446006250,
|
||||||
|
"end": 446196875
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "23cm",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1240000000,
|
||||||
|
"end": 1300000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "13cm",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 2320000000,
|
||||||
|
"end": 2450000000
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
135
root_dev/bandplans/russia.json
Normal file
135
root_dev/bandplans/russia.json
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
{
|
||||||
|
"name": "Russia",
|
||||||
|
"country_name": "Russia",
|
||||||
|
"country_code": "RU",
|
||||||
|
"author_name": "Raov",
|
||||||
|
"author_url": "https://twitter.com/raov_birbtog",
|
||||||
|
"bands": [
|
||||||
|
{
|
||||||
|
"name": "160m CW",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1810000,
|
||||||
|
"end": 1838000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "160m NB",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1838000,
|
||||||
|
"end": 1840000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "160m + Digi",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1840000,
|
||||||
|
"end": 1843000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "160m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 1843000,
|
||||||
|
"end": 2000000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m CW",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3500000,
|
||||||
|
"end": 3510000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m CW Contest",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3510000,
|
||||||
|
"end": 3560000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m CW",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3560000,
|
||||||
|
"end": 3570000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m NB, Digi 200Hz",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3570000,
|
||||||
|
"end": 3580000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m NB, Digi 500Hz",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3580000,
|
||||||
|
"end": 3600000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m SSB Contest",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3600000,
|
||||||
|
"end": 3650000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3650000,
|
||||||
|
"end": 3700000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "80m SSB Contest",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 3700000,
|
||||||
|
"end": 3800000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "60m CW 200Hz",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 5351500,
|
||||||
|
"end": 5354000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "60m USB",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 5354000,
|
||||||
|
"end": 5366000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "60m CW 20Hz",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 5356000,
|
||||||
|
"end": 5366500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m CW",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7000000,
|
||||||
|
"end": 7040000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m NB, Digi 500Hz",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7040000,
|
||||||
|
"end": 7050000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7050000,
|
||||||
|
"end": 7060000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m SSB Contest",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7060000,
|
||||||
|
"end": 7100000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7100000,
|
||||||
|
"end": 7130000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "40m SSB Contest",
|
||||||
|
"type": "amateur",
|
||||||
|
"start": 7130000,
|
||||||
|
"end": 7200000
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
33
root_dev/config.json
Normal file
33
root_dev/config.json
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"audio": {
|
||||||
|
"Radio": {
|
||||||
|
"device": "Speakers (Realtek High Definiti",
|
||||||
|
"sampleRate": 48000.0,
|
||||||
|
"volume": 0.2956989109516144
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bandPlan": "General",
|
||||||
|
"bandPlanEnabled": true,
|
||||||
|
"fftHeight": 300,
|
||||||
|
"frequency": 103184112,
|
||||||
|
"max": 0.0,
|
||||||
|
"maximized": false,
|
||||||
|
"menuWidth": 300,
|
||||||
|
"min": -52.20588302612305,
|
||||||
|
"showWaterfall": true,
|
||||||
|
"source": "HackRF One #0 901868dc282c8f8b",
|
||||||
|
"sourceSettings": {
|
||||||
|
"HackRF One #0 901868dc282c8f8b": {
|
||||||
|
"gains": {
|
||||||
|
"AMP": 0.0,
|
||||||
|
"LNA": 24.503000259399414,
|
||||||
|
"VGA": 16.229999542236328
|
||||||
|
},
|
||||||
|
"sampleRate": 8000000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"windowSize": {
|
||||||
|
"h": 720,
|
||||||
|
"w": 1280
|
||||||
|
}
|
||||||
|
}
|
4
root_dev/module_list.json
Normal file
4
root_dev/module_list.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"Radio": "./modules/radio.dll",
|
||||||
|
"Recorder": "./modules/recorder.dll"
|
||||||
|
}
|
0
root_dev/modules/.gitkeep
Normal file
0
root_dev/modules/.gitkeep
Normal file
0
root_dev/recordings/.gitkeep
Normal file
0
root_dev/recordings/.gitkeep
Normal file
BIN
root_dev/res/fonts/Roboto-Medium.ttf
Normal file
BIN
root_dev/res/fonts/Roboto-Medium.ttf
Normal file
Binary file not shown.
BIN
root_dev/res/icons/menu.png
Normal file
BIN
root_dev/res/icons/menu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
root_dev/res/icons/play.png
Normal file
BIN
root_dev/res/icons/play.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
root_dev/res/icons/sdrpp.ico
Normal file
BIN
root_dev/res/icons/sdrpp.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
root_dev/res/icons/sdrpp.png
Normal file
BIN
root_dev/res/icons/sdrpp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
root_dev/res/icons/stop.png
Normal file
BIN
root_dev/res/icons/stop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -9,7 +9,7 @@ FrequencySelect::FrequencySelect() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FrequencySelect::init() {
|
void FrequencySelect::init() {
|
||||||
font = ImGui::GetIO().Fonts->AddFontFromFileTTF("res/fonts/Roboto-Medium.ttf", 42.0f);
|
font = ImGui::GetIO().Fonts->AddFontFromFileTTF((config::getRootDirectory() + "/res/fonts/Roboto-Medium.ttf").c_str(), 42.0f);
|
||||||
for (int i = 0; i < 12; i++) {
|
for (int i = 0; i < 12; i++) {
|
||||||
digits[i] = 0;
|
digits[i] = 0;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <imgui_internal.h>
|
#include <imgui_internal.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
class FrequencySelect {
|
class FrequencySelect {
|
||||||
public:
|
public:
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Comment to build a normal release
|
||||||
|
// #define DEV_BUILD
|
||||||
|
|
||||||
bool maximized = false;
|
bool maximized = false;
|
||||||
bool fullScreen = false;
|
bool fullScreen = false;
|
||||||
|
|
||||||
@ -44,7 +47,9 @@ int main() {
|
|||||||
|
|
||||||
spdlog::info("SDR++ v" VERSION_STR);
|
spdlog::info("SDR++ v" VERSION_STR);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef DEV_BUILD
|
||||||
|
config::setRootDirectory("../root");
|
||||||
|
#elif _WIN32
|
||||||
config::setRootDirectory(".");
|
config::setRootDirectory(".");
|
||||||
#else
|
#else
|
||||||
config::setRootDirectory("/etc/sdrpp");
|
config::setRootDirectory("/etc/sdrpp");
|
||||||
|
@ -841,6 +841,7 @@ void drawWindow() {
|
|||||||
ImGui::BulletText("Benjamin Kyd");
|
ImGui::BulletText("Benjamin Kyd");
|
||||||
ImGui::BulletText("Tobias Mädel");
|
ImGui::BulletText("Tobias Mädel");
|
||||||
ImGui::BulletText("Raov");
|
ImGui::BulletText("Raov");
|
||||||
|
ImGui::BulletText("Howard0su");
|
||||||
|
|
||||||
// Libraries
|
// Libraries
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
@ -9,7 +9,7 @@ namespace style {
|
|||||||
ImGui::GetStyle().PopupRounding = 0.0f;
|
ImGui::GetStyle().PopupRounding = 0.0f;
|
||||||
ImGui::GetStyle().ScrollbarRounding = 0.0f;
|
ImGui::GetStyle().ScrollbarRounding = 0.0f;
|
||||||
|
|
||||||
ImGui::GetIO().Fonts->AddFontFromFileTTF("res/fonts/Roboto-Medium.ttf", 16.0f);
|
ImGui::GetIO().Fonts->AddFontFromFileTTF((config::getRootDirectory() + "/res/fonts/Roboto-Medium.ttf").c_str(), 16.0f);
|
||||||
|
|
||||||
ImGui::StyleColorsDark();
|
ImGui::StyleColorsDark();
|
||||||
//ImGui::StyleColorsLight();
|
//ImGui::StyleColorsLight();
|
||||||
@ -23,7 +23,7 @@ namespace style {
|
|||||||
ImGui::GetStyle().PopupRounding = 0.0f;
|
ImGui::GetStyle().PopupRounding = 0.0f;
|
||||||
ImGui::GetStyle().ScrollbarRounding = 0.0f;
|
ImGui::GetStyle().ScrollbarRounding = 0.0f;
|
||||||
|
|
||||||
ImGui::GetIO().Fonts->AddFontFromFileTTF("res/fonts/Roboto-Medium.ttf", 16.0f);
|
ImGui::GetIO().Fonts->AddFontFromFileTTF((config::getRootDirectory() + "/res/fonts/Roboto-Medium.ttf").c_str(), 16.0f);
|
||||||
|
|
||||||
ImGui::StyleColorsDark();
|
ImGui::StyleColorsDark();
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <imgui_internal.h>
|
#include <imgui_internal.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
namespace style {
|
namespace style {
|
||||||
void setDefaultStyle();
|
void setDefaultStyle();
|
||||||
|
Loading…
Reference in New Issue
Block a user