#!/usr/bin/env bash # # Hacky script to set up a test environment using Direwolf. # Unfortunately direwolf doesn't bridge between AGW and KISS, # so we have to set up a virtual audio cable between them. # Set up virtual audio cable by running: # sudo modprobe snd-aloop # And then in pavucontrol, in the Configuration tab, turn # "Built-in audio" or whatever it's called "off". set -ueo pipefail DW_AGW=8010 DW_KISS=8011 pkill direwolf || true sleep 0.1 direwolf -t 0 -c <(cat <