This information is provided for experimenters. No support will be provided by NW Digital Radio. Some underlying software is not well tested and may break in unexpected ways. Not all applications will have access to the virtual sound cards created.
Use at your own risk, backup prior configurations and be prepared to delete any modifications and to restore prior configurations.
Modify Your Configuration
No longer required on current install images.
Edit /boot/config.txt and include the line
Save and reboot
Create or Edit /etc/asound.conf
Obtain the file from github
# for UDRC
curl -L -s https://raw.githubusercontent.com/nwdigitalradio/udrc-tools/master/udrc-setup/asound.conf > asound.conf
# or for the DRAWS
curl -L -s https://raw.githubusercontent.com/nwdigitalradio/udrc-tools/master/udrc-setup/asound-draws.conf > asound.conf
You can put it in ~/.asoundrc for a single user
mv asound.conf .asoundrc
Or make it apply for the whole system by editing /etc/asound.conf or replacing /etc/asound.conf
sudo cp asound.conf /etc/asound.conf
Verify The New Devices
This should return the following information (for DRAWS we substitue left and right for hd15 and din6)
Discard all samples (playback) or generate zero samples (capture)
Default Audio Device
Direct sample mixing device
Direct sample snooping device
Direct hardware device without any conversions
Hardware device with all software conversions
Use in direwolf.conf
For example in direwolf.conf, use logical sound card din6, substitute left or right on draws setup.
PTT GPIO 23