BPQ32 and Ardopcf

I’ve been running John G8BPQ’s ArdopC for a while now. Peter LaRue AI7YN has made a frok of ArdopC called ArdopCF.

https://github.com/pflarue/ardop

I want to use QtSoundmodem at the same time as ArdopCF. For this I need to create a “.asoundrc” in my home directory.

pcm.dsnooped0 {
    type dsnoop
    ipc_key 50000
    ipc_key_add_uid false   # let multiple users share
    ipc_perm 0666           # IPC permissions for multi-user sharing (octal, default 0600)
    slave {
        pcm "hw:1,0"
        channels 1
    }
}

pcm.dmix0 {
    type dmix
    ipc_key 60000
    ipc_key_add_uid false   # let multiple users share
    ipc_perm 0666           # IPC permissions for multi-user sharing (octal, default 0600)
    slave {
        pcm "hw:1,0"
        rate 48000
    }
}

# Point ARDOP to ARDOP2IN and ARDOP2OUT for rate conversion

pcm.ARDOP2IN {type rate slave {pcm "plug:dsnooped0" rate 48000}}
pcm.ARDOP2OUT {type rate slave {pcm "plug:dmix0" rate 48000}}


# combine the capture and playback
pcm.asymwine {
        type asym
        playback.pcm "ARDOP2OUT"
        capture.pcm "ARDOP2IN"
}

# make a default plug for it
pcm.!default {
        type plug
        slave.pcm "asymwine"
}

# define a plug for /dev/dsp
pcm.dsp {
        type plug
        slave.pcm "asymwine"
}

QtSoundModem config

[Init]
CM108Addr=
DispMode=1
DualChan=1
DualPTT=1
FLRigHost=127.0.0.1
FLRigPort=12345
HamLibHost=44.137.31.70
HamLibPort=4532
MinimizetoTray=0
PTT=HAMLIB
PTTBAUD=19200
PTTMode=17
PTTOffString=
PTTOnString=127.0.0.1
RXSampleRate=12000
SCO=1
SndRXDeviceName=:dsnooped0
SndTXDeviceName=:dmix0
SoundMode=0

ArdopCF

pd9q@linux:~/ardop$ ./ardopcf 8515 ARDOP2IN ARDOP2OUT -A -G 8514
ardopcf Version 1.0.4.1.3 (https://www.github.com/pflarue/ardop)
Copyright (c) 2014-2024 Rick Muething, John Wiseman, Peter LaRue
See https://github.com/pflarue/ardop/blob/master/LICENSE for licence details including
  information about authors of external libraries used and their licenses.
ARDOPC listening on port 8515
Capture Devices

Card 0, ID `PCH', name `HDA Intel PCH'
  Device hw:0,0 ID `ALC3234 Analog', name `ALC3234 Analog', 1 subdevices (0 available)

Playback Devices

Card 0, ID `PCH', name `HDA Intel PCH'
  Device hw:0,0 ID `ALC3234 Analog', name `ALC3234 Analog', 1 subdevices (0 available)

Using Both Channels of soundcard for RX
Using Both Channels of soundcard for TX
Opening Playback Device ardopout Rate 12000
Opening Capture Device ardopin Rate 12000
ardopcf listening on port 8515
Webgui available at port 8514.
Setting ProtocolMode to ARQ.

BPQ32 config

PORT
 PORTNUM=3
 INTERLOCK=1
 HIDE=0
 ID=ARDOP500
 DRIVER=ARDOP
 CONFIG
 ADDR 44.137.31.70 8515 PTT CAT
 ARQBW 500MAX
 LEADER 200
 ENABLEPINGACK
 BUSYDET 5
 CONSOLELOG 3
 LOGLEVEL 3
 CWID TRUE
 MONITOR TRUE
 GRIDSQUARE JO11VN
 RADIO=1
 ****
ENDPORT

Webgui

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.