Skip to content

Instantly share code, notes, and snippets.

@bczhc
Last active February 19, 2026 12:34
Show Gist options
  • Select an option

  • Save bczhc/c95a65b6959e3f0fec2326232dfe870e to your computer and use it in GitHub Desktop.

Select an option

Save bczhc/c95a65b6959e3f0fec2326232dfe870e to your computer and use it in GitHub Desktop.
FT-710 USB声卡操作

Pulse设备:

radioout=alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.mono-fallback
radiosink=alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo

把电台接收回放到电脑

arecord --device=pulse:$radioout -f cd | aplay -f cd
# 或 parec --device=$radioout | aplay -f cd

发送音频到电台(如果要发射,需配置USB VOX或使用CAT PRESET(cat /dev/ttyUSB1触发))

input=奢香夫人\ \[rDS1xolXsIQ\].webm; ffmpeg -i $input -ac 1 -ar 44100 -f s16le - | aplay -f cd -c 1 --device=pulse:$radiosink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment