High Performance Raspberry Pi4 CW CPO/CW Keyer(CW RE-generator) using KXstudio CARLA APP - LIVE demo

92 views
Skip to first unread message

Chuck Vaughn

unread,
Oct 15, 2022, 9:39:14 AM10/15/22
to iCW - internet CW

CARLA on this raspberry pi 4 is using the ALSA AUDIO ENGINE, with a USB SOUND CARD(Behringer UCA222) 48Khz sample rate, 3 periods of 64 buffer frames - for lowest possible latency for this operation https://kx.studio/Applications:Carla CARLA is using 1 lv2 plugin TRIGGER MIDI MONO to capture the incoming TLC555's 'keyed' audio output and RE-CONVERTs it to a CW midi output signal that keys an adjustable software CW KEYER from RECRI KEYER https://lsp-plug.in/?page=manuals&section=trigger_midi_mono https://github.com/recri/keyer SETUP: TRIGGER MIDI MONO clones the CW NOTE length that is at its input from the externally keyed TLC555 that connects the 555 cw audio output to the pi usb sound card input TRIGGER MIDI MONO converts this AUDIO to MIDI NOTE on/off data & sends this CW MiDi output( CW keying data) to the CW MiDi input of the software CW CPO from RECRI KEYER(keyer-tone) which can be adjusted for many cw parameters - rise/fall time/raised cosine window etc/// the CW CPO output is at 10Khz, which then goes to a RECRI CW bandpass FILTER that adjusts how HARD or SOFT you want the keying to be...then the output of the FILTER goes to the input of the LO MIXER which adjusts the final CW FREQUENCY/pitch NOTE - the MIXER and FILTER track together ...the PITCH SELECTION on the MIXER is always centered perfectly with the bandwidth/"Q"(length) settings on the FILTER CARLA - has an ADD JACK APPLICATION function where all 3 of the RECRI APPs are added to the connection bay.... then you can save not only the settings on TRIGGER MIDI MONO(lv2 plugin) but also save all the settings on all 3 RECRI APPs KEYER-TONE, FILTER and MIXER and bring them all back up just the way they were when you save them... then next time you want to use this setup....etc...

aa0hw

unread,
Oct 15, 2022, 10:36:44 AM10/15/22
to iCW - internet CW
High Performance Raspberry Pi4 CW CPO/CW Keyer(CW RE-generator) using KXstudio CATIA APP - LIVE demo
this is the same setup as the previous video except for using JACK instead of ALSA this time and using CATIA instead of CARLA

Chuck Vaughn

unread,
Oct 15, 2022, 11:03:54 AM10/15/22
to i_...@googlegroups.com
this CW REGENERATION only takes 4 milliseconds from start to finish
here is a picture showing the TLC555(red) keying the SOFTWARE CW REGEN KEYER(green)
(ON SCOPE each vertical division=5ms)
4msCWRegenPi4.png

--

---
You received this message because you are subscribed to the Google Groups "iCW - internet CW" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i_cw+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/i_cw/5c99a0a6-38fc-4dd6-8cc2-f80f8cebfee4n%40googlegroups.com.

Chuck Vaughn

unread,
Oct 16, 2022, 7:08:13 AM10/16/22
to i_...@googlegroups.com
just realized i got the colors reversed,  

TLC555=GREEN,  regenCW=RED

S. Steltzer

unread,
Oct 16, 2022, 6:09:05 PM10/16/22
to Chuck Vaughn, 'joe living' via iCW - internet CW
Amazing work Chuck.

Andrew Moore

unread,
Oct 16, 2022, 7:37:43 PM10/16/22
to i_...@googlegroups.com, Chuck Vaughn
Chuck is always experimenting and building, always learning, always sharing knowledge. I can't even keep up! This is what ham radio is all about.

Many thanks Chuck.



On Sun, Oct 16, 2022 at 6:09 PM S. Steltzer <wf...@fastmail.com> wrote:
Amazing work Chuck.

--

---
You received this message because you are subscribed to the Google Groups "iCW - internet CW" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i_cw+uns...@googlegroups.com.

Chuck Vaughn

unread,
Oct 17, 2022, 6:54:37 AM10/17/22
to i_...@googlegroups.com
tHANKs ! 
image.png
image.png
image.png
image.png

aa0hw

unread,
Oct 27, 2022, 10:07:43 AM10/27/22
to iCW - internet CW
Here are more video examples of using a TLC555 as a REGEN SOURCE
for Raspberry pi 4 CW KEYER by CW REGENERATION on  a Pi4
AND
a the last 2 are using a simple python script, GPIO created square wave(instead of an external TCL555) from the pi's own gpio pins 
as the REGEN square wave SOURCE... that is keyed by an H11FET optoisolator and fed to the REGEN system's
usb sound card's LINE INPUT for processing and recreating a new CW NOTE(s) to pi4's usb sound card output





Chuck Vaughn

unread,
Oct 27, 2022, 11:56:02 AM10/27/22
to i_...@googlegroups.com
another test using the python square wave on gpio pin 7 for TRANSMIT to mumble input/sidetone monitor output
and
adding a 2nd regen path for the mumble output...

Mumble input & output CW Regeneration setup running on a Raspberry pi4 for QSO'n CW on iCW LIVE demo

Chuck Vaughn

unread,
Oct 28, 2022, 9:59:14 AM10/28/22
to i_...@googlegroups.com
here is the same setup being used at NEAR ZERO LATENCY 
for iambic paddles & straight key operations

Chuck Vaughn

unread,
Nov 5, 2022, 7:55:19 AM11/5/22
to i_...@googlegroups.com
another setup using the pi4's own bcm2835 sound card as a sine/square/triangle wave generator(instead of a TLC555)
SETUP: uses an H11F1 FET optoisolator which gets KEYED on its diode side... on the 'N' side of this FET OPTO, a continuous sine wave generated by a Gstreamer Script,
is outputted to the pi4 bcm2835 headhpone jack, which is the source of the CW AUDIO NOTE input for a PI4 CW REGENERATION software chain...
the keyed FET OPTO allows the sine wave from the bcm2835's headphone jack output to pass through the FET OPTO
to another pi sound card Line input, a usb sound card, the Behringer UCA222...the LINE INPUT of
the UCA222 connects to the input of an AUDIO to MIDI app called TRIGGER MIDI MONO(TMM) https://lsp-plug.in/?page=manuals&section=trigger_midi_mono TMM analyzes the start/stop of each CW AUDIO element from the bcm2835 sine wave output(keyed by the FET opto) and outputs a MIDI NOTE(note 0/zero)
and sends it to a midi CW KEYER's midi input port...the output of the CW KEYER is a new AUDIO CW Note
with adjustable rise/fall/pitch/raised cosine/volume the output of the CW KEYER goes to a CW AUDIO BANDPASS FITER
then to a CW LO-MIXER module where the CW PITCH setting of the MIXER tracks perfectly with the CW AUDIO BANDPass settings the CW keyer, filter and mixer are all modules from RECRI KEYER: https://github.com/recri/keyer
Reply all
Reply to author
Forward
0 new messages