Quisk CW on Softrock Ensemble RXTX with a single Delta 44 sound card

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Quisk CW on Softrock Ensemble RXTX with a single Delta 44 sound card

Nick
This post was updated on .
Quisk is designed to work with 2 sound cards for full RXTX operation; see ./docs.html#SoundCards.

Quisk can be made to work on the Softrock Ensemble RXTX with only one M-Audio Delta 44 sound card.

Could not find a pure alsa solution.  There doesn't appear to be any way to separate out the 4 outputs into two pairs that is recognised by quisk.

Rather than use pulseaudio decided to use jack for lower latency.

In practice the solution described below works fine for CW semi break-in operation.

(But if you want the lowest latency provided by a pure alsa solution use two sound cards!)

Platform is 2.8GHz Core2Duo PC with 4GB RAM running;

- Mint Linux 17.3 64 bit;
- python 2.7.6;
- python-wxgtk2.8;
- quisk 4.1.1;
- jackd 1.9.10;
- qjackctl 0.3.10.

PIC based keyer with hardware sidetone connected to the softrock as specified in ./softrock/README.txt.

Delta 44 connected as follows

- Outputs 1 & 2 to audio amp and speakers;
- Inputs 1 & 2 from softrock RX IQ outputs;
- Outputs 3 & 4 to softrock TX IQ inputs;
- Inputs 3 & 4 not connected.

jackd separates out the 4 inputs and 4 outputs of the Delta 44 into separate channels to support this hardware configuration.

Quisk needs the ALSA JACK PCM plugin to work with jack.  Install libasound2-plugins package and create ~/.asoundrc as described here...

http://jackaudio.org/faq/routing_alsa.html

Start quisk using the default radio called ConfigFileRadio.  Should work on RX, assuming Inputs 1 & 2 and Outputs 1 & 2 are connected as above.

Configure a new radio called Ensemble_RXTX set up to use jack; see attached screenshots.  You do not need a .quisk_conf.py for basic CW operation.



Microphone Input must be configured  to use a real device, even for CW operation.

If you do not, and temporarily switch modes while listening, the I/Q TX Output alsa device
will become inactive which may upset the jack connections.

See ensemble_rxtx/sound tab below.















I have configured Microphone Input to use snd_aloop since I do not possess a microphone.













Under Radios tab initially set 'When Quisk starts, use the radio "Ask Me"'.  Once you get your shell script working properly (see below) you can change this to Ensemble_RXTX.

Exit quisk.

From a bash shell start qjackctl

$ qjackctl -s &

From the Connections screen check that system:capture_1 and 2, and system:playback_1 through 4 are visible.

From a second bash shell start quisk

$ pasuspender -- python quisk.py &

When prompted select the Ensemble_RXTX radio.

Wait for quisk to start up.  Then use qjackctl's connection screen set up jack connections as shown in attached screenshot.



You should now be able to operate semi break-in CW.

All you need then is a shell script to automate the above.

The script needs to

- kill any unwanted existing processes;
- start and configures jack;
- start quisk;
- wait for quisk to create jack connections and settle;  at least 10 seconds!
- remove unwanted connections;
- add wanted connections;
- wait for quisk manual exit;
- stop jack.

Contact me off-list if you need any help with this.

73

Nick
G3VNC
Reply | Threaded
Open this post in threaded view
|

Re: CW operation on the Softrock Ensemble RXTX

kc7noa
Reply | Threaded
Open this post in threaded view
|

Re: CW operation on the Softrock Ensemble RXTX

kc7noa
If you have 4 soundcards ... then would you

pcm.rawjack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
        2 system:playback_3
        3 system:playback_4
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
        2 system:capture_3
        3 system:capture_4
    }
}

pcm.jack {
    type plug
    slave { pcm "rawjack" }
    hint {
  description "JACK Audio Connection Kit"
    }
}
Reply | Threaded
Open this post in threaded view
|

Re: CW operation on the Softrock Ensemble RXTX

kc7noa
http://quisk.973856.n3.nabble.com/file/n4024065/58.png
How did you arrive with so many in the field ....

yours

Reply | Threaded
Open this post in threaded view
|

Re: CW operation on the Softrock Ensemble RXTX

Nick
kc7noa wrote
http://quisk.973856.n3.nabble.com/file/n4024065/58.png
How did you arrive with so many in the field ....

yours
The Delta 44 sound card uses the ice1712 driver.

The driver is configured by /usr/share/alsa/cards/ICE1712.conf, which specifies 12 capture ports and 10 playback ports.

From https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0ahUKEwiW48uQ_YnQAhVLJcAKHfeHDWsQFgg3MAQ&url=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Fpulseaudio%2F%2Bbug%2F178442%2Fcomments%2F52%2F%2Bdownload&usg=AFQjCNEK0RzZJ2NSOG1qjGz9Q2Ggh8_A3A&cad=rja

; Via ICE1712 multi-channel audio chipset
;
; This chipset has up to four stereo pairs of input and four stereo pairs of
; output, named channels 1 to 8. Also available are separate S/PDIF stereo
; channels (input and output), and a separate "system-out" stereo jack that
; supports 6-channel hardware mixing.

The Delta 44 only has 4 input and 4 output connectors so you can't use all of those channels.
Reply | Threaded
Open this post in threaded view
|

Re: CW operation on the Softrock Ensemble RXTX

Nick
In reply to this post by kc7noa
kc7noa wrote
If you have 4 soundcards ... then would you
No.

See

http://www.jackaudio.org/faq/multiple_devices.html