kopia lustrzana https://github.com/M17-Project/M17_Implementations
potential fix
rodzic
f6e2f4d618
commit
0c83484dce
|
@ -20,6 +20,6 @@ len_chars=${#str} #get length in characters rather than bytes
|
|||
#echo the message to the encoder
|
||||
str1=${str:0:$((len_chars-1))}
|
||||
str2=${str: -1}
|
||||
echo -en "\x05"$str1\'$str2\'"\x00" | m17-packet-encode -S $2 -D $1 -C $3 -n $len -o $5
|
||||
echo -en "\x05"$str1$str2"\x00" | m17-packet-encode -S $2 -D $1 -C $3 -n $len -o $5
|
||||
sox -t raw -r 48000 -b 16 -c 1 -L -e signed-integer $5 $5".wav"
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue