clean up the audio output of your Morse Code Practice Oscillator with this DIY audio BandPass Filter

Near Zero Latency passthrough... using this Gstreamer Script to create a custom CW AUDIO bandpass filter: (CW PITCH of CPO = @700 hertz)

gst-launch-1.0 -v jackaudiosrc ! audiowsincband mode=band-pass lower-frequency=580 upper-frequency=820 length=384 window=3 low-latency=true ! jackaudiosink sync=false async=false

adjust your own LOW/HIGH points according to the CW Pitch you will be using from your CPO

GSTREAMER has downloads for all OSes and can use all OS audio drivers...

https://gstreamer.freedesktop.org/download/

Views: 68

Comment by Chuck aa0hw on July 29, 2022 at 4:25pm

here is another example of cleaning up the TWIN-T CPO;  this example adds a TEE ELEMENT to take that same filtered CPO CW AUDIO and send it to a CW OP over ip,  using the OPUS CODEC

this is a follow up video from the first one here: https://youtu.be/Q8n33uQJqiI

this video is using the same part of the Gstreamer script to clean up the sidetone captured by the line input of the PI's USB sound card, and then send it to the usb lineoutput/&/or headphone jack, filtered, at near zero latency... but this script also creates a TEE ELEMENT where you can take that same filtered SIDETONE and send it over ip using the OPUS CODEC with RTP encoding... to another CW OP

NOTE: the previous video was using JACK AUDIO CONNECTION KIT this video is using only the ALSA usb sound card, a Behringer UCA222

THIS IS THE GSTREAMER SCRIPT used on a pi4 / alsa only sound card *************************************************************************

gst-launch-1.0 -v alsasrc device=hw:3 ! audio/x-raw, rate=48000 ! tee name=t t. ! audioconvert ! audiowsincband mode=band-pass lower-frequency=580 upper-frequency=820 length=384 window=3 low-latency=true ! audioconvert ! alsasink device=hw:3 sync=false async=false buffer-time=5000 t. ! audioconvert ! audiowsincband mode=band-pass lower-frequency=580 upper-frequency=820 length=384 window=3 low-latency=true ! audioconvert ! opusenc ! rtpopuspay ! udpsink host=(ip address of the CW OP's PC) port=4444 sync=false

this is the RECEIVE GSTREAMER SCRIPT that you hear on the RIGHT channel audio of this video:

gst-launch-1.0 -v udpsrc port=4444 ! "application/x-rtp, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)1, payload=(int)96, encoding-params=(string)2" ! rtpjitterbuffer latency=15000 ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink buffer-time=15000 sync=false async=false

Comment

You need to be a member of QRQcw to add comments!

Join QRQcw

© 2024   Created by Chuck aa0hw.   Powered by

Badges  |  Report an Issue  |  Terms of Service