You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,20 +52,20 @@ To build the program for Windows, you can either use [MSYS2](http://www.msys2.or
52
52
53
53
Install [MSYS2](http://www.msys2.org). Open a terminal using the "MSYS2 MinGW 32-bit" shortcut. (Or use the 64-bit shortcut if you prefer a 64-bit build.)
54
54
55
-
$ pacman -Syu
55
+
pacman -Syu
56
56
57
57
If this is the first time running pacman, you will be told to close the terminal window. After doing so, reopen using the same shortcut as before.
You can test your installation using the included sample file:
65
65
66
-
$ cd ~/nrsc5/support
67
-
$ xz -d sample.xz
68
-
$ nrsc5.exe -r sample 0
66
+
cd ~/nrsc5/support
67
+
xz -d sample.xz
68
+
nrsc5.exe -r sample 0
69
69
70
70
If the sample file does not work, make sure you followed all of the instructions. If it still doesn't work, file an issue with the error message. Please put "[Windows]" in the title of the issue.
71
71
@@ -76,15 +76,15 @@ Once everything is built, you can run nrsc5 independently of MSYS2. Copy the fol
76
76
77
77
### Cross-compiling for Windows from Ubuntu / Debian
78
78
79
-
$ sudo apt install mingw-w64
80
-
$ support/win-cross-compile 32
79
+
sudo apt install mingw-w64
80
+
support/win-cross-compile 32
81
81
82
82
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
83
83
84
84
### Cross-compiling for Windows from macOS
85
85
86
-
$ brew install mingw-w64
87
-
$ support/win-cross-compile 32
86
+
brew install mingw-w64
87
+
support/win-cross-compile 32
88
88
89
89
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
90
90
@@ -125,19 +125,19 @@ Replace `32` with `64` if you want a 64-bit build. Once the build is complete, c
125
125
126
126
Tune to 107.1 MHz and play audio program 0:
127
127
128
-
$ nrsc5 107.1 0
128
+
nrsc5 107.1 0
129
129
130
130
Tune to 107.1 MHz and play audio program 0. Manually set gain to 49.0 dB and save raw IQ samples to a file:
131
131
132
-
$ nrsc5 -g 49.0 -w samples1071 107.1 0
132
+
nrsc5 -g 49.0 -w samples1071 107.1 0
133
133
134
134
Read raw IQ samples from a file and play back audio program 0:
135
135
136
-
$ nrsc5 -r samples1071 0
136
+
nrsc5 -r samples1071 0
137
137
138
138
Tune to 90.5 MHz and convert audio program 0 to WAV format for playback in an external media player:
0 commit comments