Uploaded December 2025 | Updated December 2026, 1 day ago
FROM remote LAPTOP to PI2B rig interface in another ROOM, i can key straight key or paddles at another room in my home, and still hear my own CW sidetone at near zero latency coming from the RIG's own CW TX MONITOR audio output...travelling over IP from its PI2B interface, using ZITA-NJBRIDGE... this setup is using 2 pieces of DiY ai generated SOFTWARE, a C++ UDP Sender APP and a C pi2b UDP receiver APP...the UDP SOCKETs OVER ip, is much faster than sending audio over ip and allows me to hear my own cw sidetone in 20ms or less...from the RIG itself, and waiting only 20 millisconds, it still feels just like keying with your sidetone output from your keyer right next to hyou... NOTE: anything under 25 ms, is considered to be at NEAR ZERO LATENCY by the professional MUSICIAN's NETWORK MUSIC PERFORMANCE standards...
the RIG's audio that you hear, is from its own internal USB soundcard that the PI2B is using as its own soundcard via JACK AUDIO CONNECTION KIT, the audio from the RIG is connected in the pi2b jack connection bay to an ultra low latency audio streaming APP called, ZITA-NJbridge, by these commands, zita-j2n --chan 1, 192.168.1.123 5001 (ip address of the laptop and the port) and on the laptop to receive the zita stream, zita-n2j --chan 1 --buff 5 192.168.1.123 5001 receives the RIG's audio with only a 5ms jitter buffer setting, and note, i am operating this setup on a very average network / router/ switches... and still getting less than 25 ms round trip from keying my paddles and st key at the laptop location, going over ip(wired) to the pi2b/rig interface setup and then hearing the RIG's own TX cw sidetone on my headphones THIS udp SENDER app is using the same GATE CODE from the previous videos demo'N the iambic cw keyer and straight key c++ code
youtu.be/fuBKpCUOlgk
youtu.be/WWPe9xr1TiU
This is the first time i have been able to operate my paddles and keys at this low of a round trip latency, and this, thanks to the AI 's work on the C++ UDP SENDER /receiver code linked below...
NOTE here is a short video test i ran, to see how well this CW over IP using UDP SOCKETS would work perform and sound when sending QRQ CW, using a CW KEYBOARD with the same setup, sending UDP SOCKET messages over ip from the LAPTOP to the PI2B / rig interface....keying the CW JACK of the K3S exactly the same as the ST KEY and IAMIBIC PADDLES DID.. toggling GPIO PIN 17 on the pi2b
youtu.be/ZlbJFi6o5EI
HERE IS BOTH THE UDP SENDER and UDP RECEIVER code in one text file:
https://u.pcloud.link/publink/show?code=XZmmiC5ZzNeRy7PbLr8dkMN3uQt1WRxye5pV
FROM remote LAPTOP to PI2B rig interface in another ROOM, i can key straight key or paddles at another room in my home, and still hear my own CW sidetone at near zero latency coming from the RIG's own CW TX MONITOR audio output...travelling over IP from its PI2B interface, using ZITA-NJBRIDGE... this setup is using 2 pieces of DiY ai generated SOFTWARE, a C++ UDP Sender APP and a C pi2b UDP receiver APP...the UDP SOCKETs OVER ip, is much faster than sending audio over ip and allows me to hear my own cw sidetone in 20ms or less...from the RIG itself, and waiting only 20 millisconds, it still feels just like keying with your sidetone output from your keyer right next to hyou... NOTE: anything under 25 ms, is considered to be at NEAR ZERO LATENCY by the professional MUSICIAN's NETWORK MUSIC PERFORMANCE standards...
the RIG's audio that you hear, is from its own internal USB soundcard that the PI2B is using as its own soundcard via JACK AUDIO CONNECTION KIT, the audio from the RIG is connected in the pi2b jack connection bay to an ultra low latency audio streaming APP called, ZITA-NJbridge, by these commands, zita-j2n --chan 1, 192.168.1.123 5001 (ip address of the laptop and the port) and on the laptop to receive the zita stream, zita-n2j --chan 1 --buff 5 192.168.1.123 5001 receives the RIG's audio with only a 5ms jitter buffer setting, and note, i am operating this setup on a very average network / router/ switches... and still getting less than 25 ms round trip from keying my paddles and st key at the laptop location, going over ip(wired) to the pi2b/rig interface setup and then hearing the RIG's own TX cw sidetone on my headphones THIS udp SENDER app is using the same GATE CODE from the previous videos demo'N the iambic cw keyer and straight key c++ code
youtu.be/fuBKpCUOlgk
youtu.be/WWPe9xr1TiU
This is the first time i have been able to operate my paddles and keys at this low of a round trip latency, and this, thanks to the AI 's work on the C++ UDP SENDER /receiver code linked below...
NOTE here is a short video test i ran, to see how well this CW over IP using UDP SOCKETS would work perform and sound when sending QRQ CW, using a CW KEYBOARD with the same setup, sending UDP SOCKET messages over ip from the LAPTOP to the PI2B / rig interface....keying the CW JACK of the K3S exactly the same as the ST KEY and IAMIBIC PADDLES DID.. toggling GPIO PIN 17 on the pi2b
youtu.be/ZlbJFi6o5EI
HERE IS BOTH THE UDP SENDER and UDP RECEIVER code in one text file:
https://u.pcloud.link/publink/show?code=XZmmiC5ZzNeRy7PbLr8dkMN3uQt1WRxye5pV



![New QRQ CW Keyboard written in C++ using advanced DPSS PSWF wave functions to shape CW
this is a new type of QRQ CW Keyboard written in C++ using a specialized ramp function to shape the CW edges by using DPSS Discrete prolate spheroidal sequences a subset from Prolate spheroidal wave functions ( PSWF ) The implementation of custom Slepian/DPSS window computation from scratch is mathematically complex and rare in Morse code software. This approach generates ramp envelopes with maximal energy concentration in the frequency domain, greatly reducing spectral leakage and audio artifacts in tone generation compared to simple windowing (e.g., linear or cosine ramps). High-performance Eigenvalue Computation via Spectra + MKL: The code leverages the Spectra library’s SymEigsSolver in conjunction with Intel’s Math Kernel Library (MKL), enabling extremely efficient and robust eigenvalue/eigenvector decomposition for large symmetric matrices. The conditional use of MKL (#ifdef EIGEN_USE_MKL_ALL) allows the Eigen library (upon which Spectra depends) to be transparently accelerated when built with Intel’s BLAS/LAPACK backend, thereby vastly improving computational speed and stability for numerical routines—critical when generating Slepian (DPSS) windows and other digital signal processing tasks at high resolution.
software written & organized by 3 different A I z over a few weeks of effort, with many hours of them making mistakes and me helping them, reporting their errors back to them, but running out of tokens, and having to wait until the next day, trying to help them correct all their mistakes... frustrating... but finally getting a working version to test [ Gemini, chatGPT, GROK ]
what is unique about this version of this DPSS CW KB, is its SPEED of its internal calcs/ops... it is able to calculate and create DPSS shape CW edges at near zero latency ... send a file and on the fly, you can adjust any CW setting in the Controls gui...and try and find the best settings for all CW timings that you prefer, when you change any CW value you will hear that change immediately in the audio output from the CW keyboard, and be able to hear the differences as you adjust back and forth between any/all settings... This QRQ speed of operation of the internal coding operation of the C++ software APP is achieved by using the intel MKL software that the C++ file and its qmake.pro complier uses to divert its massive calculation loads over to the INTEL MKL software, and the SPECTRA library, to create this advanced CW EDGE wave shaping formula, it also uses the SPCTRA library from GITHUB, which is used to assist operations as well... Here is the contents of the MorseApp.pro Qmake file... download or view the contents of the video version demos main.cpp here:
https://u.pcloud.link/publink/show?code=XZ7hls5ZD23n2249nchttPdy1qqWdV8BOv0V
UPDATE 9-4-25: new improved version of main.cpp plus PDF on why its better:
https://u.pcloud.link/publink/show?code=XZqaID5ZLgTeQH91QdSQ4TzUVKXbB56hhzVV
https://u.pcloud.link/publink/show?code=XZaaID5Zqew9hCQ5OiV491963ebtFHt84yLy
here is the MorseApp.pro compiler file contents:
*******************************************************
# MorseApp.pro
# This file is used by qmake to build the project.
TEMPLATE = app
CONFIG += console c++17
QT += widgets
TARGET = MorseApp
# The source file for our application.
SOURCES += main.cpp
# Include the Qt Widgets module and the Eigen headers.
INCLUDEPATH += /usr/include/eigen3
INCLUDEPATH += /home/chaseology/cppintelcwkb/spectra-master/include
# Intel MKL and other library linkages
# Define preprocessor macro for Eigen to use MKL.
DEFINES += EIGEN_USE_MKL_ALL
# Link to the MKL run-time library and the JACK library.
LIBS += -ljack
LIBS += -L/opt/intel/oneapi/mkl/latest/lib/intel64 -lmkl_rt
# Embed the MKL library path into the executable to avoid runtime errors.
QMAKE_LFLAGS += -Wl,-rpath,/opt/intel/oneapi/mkl/latest/lib/intel64
*************************************************************************
DPSS (PSWF) are a set of continuous, doubly orthogonal functions that serve as an optimal basis for producing band-limited signals.
Key Property: A DPSS (PSWF) is both time-limited to a specific interval and has its energy maximally concentrated within a given frequency band.
DPSSs are the discrete, or sampled, counterpart of PSWFs. They are also known as Slepian sequences, after the mathematician who developed them.
DPSSs vvare a set of orthonormal, time-limited sequences whose Discrete-Time Fourier Transform (DTFT) has maximal energy concentration in a frequency band.
Key Property: Like PSWFs, DPSSs are doubly concentrated. This means that for a given time duration and frequency band, they capture the most energy possible.
Optimal Waveforms: The energy concentration property makes them ideal for applications like shaping the edges of Morse Code Audio tones, They can be used to optimized waveforms like CW audio tones for communication systems. New QRQ CW Keyboard written in C++ using advanced DPSS PSWF wave functions to shape CW](https://i.ytimg.com/vi/zDhE-Bhpbtc/mqdefault.jpg)


