Uploaded December 2025 | Updated December 2026, 1 day ago
system uses remote keying from a LAPTOP that is sending UDP SOCKETS over IP to activate a Pi2b/RIG interface's GPIO PIN 17 to 1st activate the RIG's PTT TX system... getting the RIG into LSB TRANSMIT MODE 1st, then with a very slight delay(1ms), and again from the LAPTOP, using AOIP, a pristine CW SHAPED audio NOTE is sent to the PI2B/rig's internal USB SOUND CARD to be used for transmit on LSB(afcw mode) into the RIG's TX AUDIO LINE INPUT via its internal USB sound card...
other APPs come into the MIX... cw keyboard 1 sends its audio output to a GATE APP, which is needed to hold back a 6Khz tone that once the CW keyboard triggers it, the GATE, will allow the 6KHZ tone to pass through and activate the UDP SOCKETS/ip sender APP's input gate, while maintaing the TONE for another 17 ms(GATE HOLD SETTING), keeping the PTT on for that additional amount of time, this UDP SOCKETS sender MESSAGE, goes out over IP/wired lan to the pi2sb udp sockets receiver, at ultra low latency, turning on the pi's GPIO PIN 17, which turns on a FET-OPTO. which keys the rig's PTT jack...
the same 1st CW KEYBOARD, at the same time it key's the GATE app, it also key's a DELAY APP, which puts a 1ms delay on the audio from the 1st keyboard, the delay app's output sends the 1st cw keyboard's(the one that user is typing on) exact element length via audio into the 2nd ''keyer' an AUDIO input GATE to SHAPED CW OUTPUT app, known as a STRAIGHT KEYER C++ APP, that takes audio input and converts it into the exact cw element lengths and also shapes the rise and fall time, this is the CW that is going to be transmitted, it is using KAISER WAVE FUNCTIONS, to shape the edges.... from TYPING on the keyboard to hearing the RIG's own TX AUDIO INPUT MONITOR only takes 30ms.... you can type and hear your own sidetone QRQ'ly ... feels immediate... etc...
here is the udp sender and receiver code used in this demo:
https://u.pcloud.link/publink/show?code=XZmmiC5ZzNeRy7PbLr8dkMN3uQt1WRxye5pV
Here is the straight key APP's c++ code
https://u.pcloud.link/publink/show?code=XZp3hx5ZMBqWaTJnM9FBJx7EdkrQdy96u6fX
there are already many delay apps to choose from, the one used in the video is a C CODE 1st version... works, but needs optimizing...
system uses remote keying from a LAPTOP that is sending UDP SOCKETS over IP to activate a Pi2b/RIG interface's GPIO PIN 17 to 1st activate the RIG's PTT TX system... getting the RIG into LSB TRANSMIT MODE 1st, then with a very slight delay(1ms), and again from the LAPTOP, using AOIP, a pristine CW SHAPED audio NOTE is sent to the PI2B/rig's internal USB SOUND CARD to be used for transmit on LSB(afcw mode) into the RIG's TX AUDIO LINE INPUT via its internal USB sound card...
other APPs come into the MIX... cw keyboard 1 sends its audio output to a GATE APP, which is needed to hold back a 6Khz tone that once the CW keyboard triggers it, the GATE, will allow the 6KHZ tone to pass through and activate the UDP SOCKETS/ip sender APP's input gate, while maintaing the TONE for another 17 ms(GATE HOLD SETTING), keeping the PTT on for that additional amount of time, this UDP SOCKETS sender MESSAGE, goes out over IP/wired lan to the pi2sb udp sockets receiver, at ultra low latency, turning on the pi's GPIO PIN 17, which turns on a FET-OPTO. which keys the rig's PTT jack...
the same 1st CW KEYBOARD, at the same time it key's the GATE app, it also key's a DELAY APP, which puts a 1ms delay on the audio from the 1st keyboard, the delay app's output sends the 1st cw keyboard's(the one that user is typing on) exact element length via audio into the 2nd ''keyer' an AUDIO input GATE to SHAPED CW OUTPUT app, known as a STRAIGHT KEYER C++ APP, that takes audio input and converts it into the exact cw element lengths and also shapes the rise and fall time, this is the CW that is going to be transmitted, it is using KAISER WAVE FUNCTIONS, to shape the edges.... from TYPING on the keyboard to hearing the RIG's own TX AUDIO INPUT MONITOR only takes 30ms.... you can type and hear your own sidetone QRQ'ly ... feels immediate... etc...
here is the udp sender and receiver code used in this demo:
https://u.pcloud.link/publink/show?code=XZmmiC5ZzNeRy7PbLr8dkMN3uQt1WRxye5pV
Here is the straight key APP's c++ code
https://u.pcloud.link/publink/show?code=XZp3hx5ZMBqWaTJnM9FBJx7EdkrQdy96u6fX
there are already many delay apps to choose from, the one used in the video is a C CODE 1st version... works, but needs optimizing...
![Advanced High Performance QRQ CW Keyboard written in the RUST language by Gemini A.i. - LiVE DEMO
Advanced High Performance QRQ CW software CW Keyboard written in the RUST language by the A.I. Gemini , has many optimum features and functions that are demoD in this video show & tell
the 1st working version as demod in this video, RUST main.rs file is here:
https://u.pcloud.link/publink/show?code=XZjHVB5Zk32BR3jX3oHmkRW9b57gLFVjiknk
its Cargo.toml file contents are below:
# Cargo.toml
[package]
name = Rust_CW_Keyboard_Filtered
version = 0.1.0
edition = 2024
[dependencies]
jack = 0.13.3
gtk4 = { version = 0.9.7, package = gtk4 }
glib = 0.20.12
num-complex = 0.4
uuid = { version = 1.10.0, features = [v4] } # For unique JACK client and GTK app IDs
similar = 2.7.0
crossbeam = 0.8.4
pango = 0.20
crossbeam-channel = 0.5.15
lazy_static = 1.5.0
serde = { version = 1.0, features = [derive] } # Added for serialization
serde_json = 1.0 # Added for JSON handling
log = 0.4 # Added for logging facade
# Dependencies from the Bandpass Filter
realfft = 3.4
statrs = 0.16 # Used for Bessel I0 in the filter, though a custom one is provided. Keeping for completeness.
UPDATE: JULY 19, 2025
here is an improved version of this RUST CW KEYBOARDs main.rs here
https://u.pcloud.link/publink/show?code=XZgUwB5Z8yIbaU8FL18ygGVxqP4KnH8mGaQX
CLAUDE SONNET 3.5 says these are the improvements:
Key Improvements in mainrs18.txt:
Better error handling using thiserror
More efficient memory management
Better thread safety with proper mutex handling
More comprehensive documentation
Better separation of concerns
Follows Rusts official style guide
The changes are verifiable in the code and supported by official Rust documentation.
mainrs18.txt represents the most mature and production-ready version of the codebase.
here is the CARGO TOML FILE CONTENTS to go along with the improved mainrs18.txt(main.rs)
# Cargo.toml
[package]
name = Rust_CW_Keyboard_Filtered
version = 0.1.0
edition = 2024
[dependencies]
jack = 0.13.3
gtk4 = { version = 0.9.7, package = gtk4 }
glib = 0.20.12
num-complex = 0.4
uuid = { version = 1.10.0, features = [v4] } # For unique JACK client and GTK app IDs
similar = 2.7.0
crossbeam = 0.8.4
pango = 0.20
crossbeam-channel = 0.5.15
lazy_static = 1.5.0
serde = { version = 1.0, features = [derive] } # Added for serialization
serde_json = 1.0 # Added for JSON handling
log = 0.4 # Added for logging facade
# Dependencies from the Bandpass Filter
realfft = 3.4
statrs = 0.16 # Used for Bessel I0 in the filter, though a custom one is provided. Keeping for completeness.
thiserror = 1.0.69
for more info on QRQ CW, please see our website here:
https://qrqcwnet.ning.com/ Advanced High Performance QRQ CW Keyboard written in the RUST language by Gemini A.i. - LiVE DEMO](https://i.ytimg.com/vi/n9yra2jVWtc/mqdefault.jpg)









