kopia lustrzana https://github.com/F5OEO/rpitx
Adding the ability to work with new arguments
rodzic
91a6aa6933
commit
fd710a24cb
|
@ -2,6 +2,6 @@
|
|||
|
||||
#TODO using the AM mode from librpitx
|
||||
echo Need to implement
|
||||
(while true; do cat sampleaudio.wav; done) | csdr convert_i16_f \
|
||||
(while true; do "$2"; done) | csdr convert_i16_f \
|
||||
| csdr gain_ff 4.0 | csdr dsb_fc \
|
||||
| sudo ./rpitx -i - -m IQFLOAT -f "$1" -s 48000
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo ./pifmrds -freq "$1" -audio src/pifmrds/stereo_44100.wav
|
||||
sudo ./pifmrds -freq "$1" -audio "$2"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo ./freedv src/freedv/VCO800XA.rf "$1" 400
|
||||
sudo ./freedv "$2" "$1" 400
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Need to use a direct FM modulation with librpitx and not using IQ : TODO
|
||||
echo "If you need to test broadcast FM, use PiFMRDS"
|
||||
#(while true; do cat sampleaudio.wav; done) | csdr convert_i16_f | csdr gain_ff 2500 | sudo ./sendiq -i /dev/stdin -s 24000 -f 434e6 -t float 1
|
||||
(while true; do cat sampleaudio.wav; done) | csdr convert_i16_f \
|
||||
(while true; do cat "$2"; done) | csdr convert_i16_f \
|
||||
| csdr gain_ff 7000 | csdr convert_f_samplerf 20833 \
|
||||
| sudo ./rpitx -i- -m RF -f "$1"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo ./piopera F5OEO 0.5 "$1"
|
||||
sudo ./piopera "$2" 0.5 "$1"
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
printf "1:YOURCALL\n2: Hello world" | sudo ./pocsag -f "$1"
|
||||
printf "$2" | sudo ./pocsag -f "$1"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
sudo ./pirtty "$1" 1000 "the quick brown fox jumps over the lazy dog"
|
||||
sudo ./pirtty "$1" 1000 "$2"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
convert BBC.jpg -flip -quantize YUV -dither FloydSteinberg -colors 4 \
|
||||
convert "$2" -flip -quantize YUV -dither FloydSteinberg -colors 4 \
|
||||
-interlace partition picture.yuv
|
||||
sudo ./spectrumpaint picture.Y "$1" 100000
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
(while true; do cat sampleaudio.wav; done) | csdr convert_i16_f \
|
||||
(while true; do cat "$2"; done) | csdr convert_i16_f \
|
||||
| csdr fir_interpolate_cc 2 | csdr dsb_fc \
|
||||
| csdr bandpass_fir_fft_cc 0.002 0.06 0.01 | csdr fastagc_ff \
|
||||
| sudo ./sendiq -i /dev/stdin -s 96000 -f "$1" -t float
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
convert -depth 8 BBC.jpg picture.rgb
|
||||
convert -depth 8 "$2" picture.rgb
|
||||
sudo ./pisstv picture.rgb "$1"
|
||||
|
|
Ładowanie…
Reference in New Issue