Skip to content

Instantly share code, notes, and snippets.

@jh4xsy
Created October 29, 2021 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jh4xsy/eb3b3c8bbcf8462ea4affa802e552dcd to your computer and use it in GitHub Desktop.
Save jh4xsy/eb3b3c8bbcf8462ea4affa802e552dcd to your computer and use it in GitHub Desktop.
binarの録音からデコード
sox satnogs_4887719_2021-10-22T08-30-10.ogg -esigned-integer -b 16 -r 48000 foo.wav
direwolf -c sdr.conf -b 16 -n 1 -t 0 -d p -qd -g -B 1200 -r 48000 -D 1 - < foo.wav
#
# Sample configuration for SDR read-only IGate.
#
# We might not have an audio output device so set to null.
# We will override the input half on the command line.
ADEVICE null null
CHANNEL 0
MYCALL JH4XSY
# First you need to specify the name of a Tier 2 server.
# The current preferred way is to use one of these regional rotate addresses:
# noam.aprs2.net - for North America
# soam.aprs2.net - for South America
# euro.aprs2.net - for Europe and Africa
# asia.aprs2.net - for Asia
# aunz.aprs2.net - for Oceania
#IGSERVER noam.aprs2.net
# You also need to specify your login name and passcode.
# Contact the author if you can't figure out how to generate the passcode.
#IGLOGIN xxx 123456
# That's all you need for a receive only IGate which relays
# messages from the local radio channel to the global servers.
FIX_BITS 1
Dire Wolf version 1.6
Includes optional support for: hamlib cm108-ptt
Reading config file sdr.conf
Audio input device for receive: stdin (channel 0)
Audio out device for transmit: null (channel 0)
Channel 0: 1200 baud, K9NG/G3RUH, +, 48000 sample rate x 1.
The ratio of audio samples per sec (48000) to data rate in baud (1200) is 40.0
Sample rate is more than adequate. You might lower it if CPU load is a concern.
Note: PTT not configured for channel 0. (Ignore this if using VOX.)
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
VK6BUS audio level = 199(+396/-398) [NONE] __||||:::
Audio input level is too high. Reduce so most stations are around 50.
[0.5] VK6BUS>CQ:Hello, world!
------
U frame UI: p/f=0, No layer 3 protocol implemented., length = 29
dest CQ 0 c/r=1 res=3 last=0
source VK6BUS 0 c/r=1 res=3 last=1
000: 86 a2 40 40 40 40 e0 ac 96 6c 84 aa a6 e1 03 f0 ..@@@@...l......
010: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 Hello, world!
------
VK6BUS audio level = 199(+396/-396) [SINGLE] ::::_____
Audio input level is too high. Reduce so most stations are around 50.
[0.1] VK6BUS>CQ:Hello, world!
------
U frame UI: p/f=0, No layer 3 protocol implemented., length = 29
dest CQ 0 c/r=1 res=3 last=0
source VK6BUS 0 c/r=1 res=3 last=1
000: 86 a2 40 40 40 40 e0 ac 96 6c 84 aa a6 e1 03 f0 ..@@@@...l......
010: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 Hello, world!
------
VK6BUS audio level = 199(+396/-396) [NONE] :|||||::_
Audio input level is too high. Reduce so most stations are around 50.
[0.3] VK6BUS>CQ:Hello, world!
------
U frame UI: p/f=0, No layer 3 protocol implemented., length = 29
dest CQ 0 c/r=1 res=3 last=0
source VK6BUS 0 c/r=1 res=3 last=1
000: 86 a2 40 40 40 40 e0 ac 96 6c 84 aa a6 e1 03 f0 ..@@@@...l......
010: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 Hello, world!
------
VK6BUS audio level = 199(+396/-397) [NONE] ||||:::::
Audio input level is too high. Reduce so most stations are around 50.
[0.3] VK6BUS>CQ:Hello, world!
------
U frame UI: p/f=0, No layer 3 protocol implemented., length = 29
dest CQ 0 c/r=1 res=3 last=0
source VK6BUS 0 c/r=1 res=3 last=1
000: 86 a2 40 40 40 40 e0 ac 96 6c 84 aa a6 e1 03 f0 ..@@@@...l......
010: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 Hello, world!
------
VK6BUS audio level = 199(+396/-395) [NONE] _|||||:::
Audio input level is too high. Reduce so most stations are around 50.
[0.4] VK6BUS>CQ:Hello, world!
------
U frame UI: p/f=0, No layer 3 protocol implemented., length = 29
dest CQ 0 c/r=1 res=3 last=0
source VK6BUS 0 c/r=1 res=3 last=1
000: 86 a2 40 40 40 40 e0 ac 96 6c 84 aa a6 e1 03 f0 ..@@@@...l......
010: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 Hello, world!
------
End of file on stdin. Exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment