kopia lustrzana https://github.com/ha7ilm/rpitx-app-note
Update README.md
rodzic
4e23519d4f
commit
eae601a04d
14
README.md
14
README.md
|
@ -15,14 +15,16 @@ Note that it should be already done, if you installed *qtcsdr*.
|
|||
|
||||
### Modulate from raw audio file
|
||||
|
||||
Generate AM modulation:
|
||||
|
||||
cat testsound48000.raw | csdr convert_i16_f | csdr gain_ff 1.0 | csdr dsb_fc | csdr add_dcoffset_cc | sudo rpitx -i- -m IQFLOAT -f 28400
|
||||
|
||||
* It will read the raw audio file `testsound48000.raw`, which is present in this repo. You can get this file by:
|
||||
These examples will use the raw audio file `testsound48000.raw`, which is present in this repo. You can get this file by:
|
||||
|
||||
git clone https://github.com/ha7ilm/rpitx-app-note
|
||||
cd rpitx-app-note; ls #There is your file.
|
||||
cd rpitx-app-note; ls #There is your file.
|
||||
|
||||
A raw audio file differs from a .wav file because it doesn't have any headers to store its parameters, just the samples after each other.
|
||||
|
||||
**Generate AM modulation:**
|
||||
|
||||
cat testsound48000.raw | csdr convert_i16_f | csdr gain_ff 1.0 | csdr dsb_fc | csdr add_dcoffset_cc | sudo rpitx -i- -m IQFLOAT -f 28400
|
||||
|
||||
* The part `csdr gain_ff 1.0` can be changed to increase/decrease modulation.
|
||||
* The `-f 28400` at the end gives the transmit frequency in kHz.
|
||||
|
|
Ładowanie…
Reference in New Issue