MIDI KEYED - MORSE CODE SINE WAVE OSCILLATOR - with free software

This is an experiment in using free VST PLUGINS to create a MIDI KEYED morse code sine wave oscillator(software). It is "keyed" by MIDI INPUT. You can also use this midi setup to regenerate morse code audio tones from another source. FLdigi is used in the video for this purpose. Using MIDI to key a software CPO, shows great promise, since the accuracy of midi input keying is far superior to using a SERIAL PORT for this kind of a setup, in regards to accurate timing. Even at extreme QRQ CW (200wpm), the MIDI keying proved to be virtually "perfect" in timing, accurately producing an "exact" replica of the original source of the MIDI input.
NOTE: - MIDI speed has been stated to be capable of 500 notes per second -

Views: 3678

Comment by Chuck aa0hw on January 21, 2014 at 9:37am

Here is a screenshot of the ReaGate settings that were used to perform MIDI KEYING of the sine wave VST PLUGIN - Bipper - ( using the audio output of FLdigi to "key" the midi note on the output of ReaGate - which in turn "keys" the MIDI INPUT of  the sine wave VST PLUGIN - Bipper -)

An extreme qrq cw sending test was used to see how well this setup does at accurately producing perfectly timed, morse code audio tones, from the original MIDI INPUT source.

To test the ability of this system, FLdigi was used to send a continuous stream of the letter "s" at 150 wpm to the MIDI VST's.  The final MIDI-2-AUDIO was recorded.  The midi accuracy is very close to perfect:

Audio to Midi

To further test - AUDIO TO MIDI -  function for regenerating a cw audio waveform, a Logikey K-1 cw keyer was used with paddles.  An audio cable was connected to the Logikey's speaker and a 1k to 8 ohm radio shack audio transformer.  The output (8 ohm) from the transformer was connected to the MICROPHONE INPUT jack with another audio cable. [this transformer provides, GROUND LOOP ISOLATION, COMPUTER MIC JACK VOLTAGE ISOLATION, and lowers the voltage so you don't overdrive the MIC INPUT of the soundcard, helping to prevent damage to the components and distortion of original Logikey audio signal which would effect the ReaGate MIDI OUT performance.   After adjusting the ReaGate's knobs and sliders to "best by ear" settings,  the final regenerated cw was virtual identical to the original.

This picture shows the original LOGIKEY cw audio on top and the regenerated MIDI NOTE on the bottom

The AUDIO TO MIDI function of  ReaGate,  performed extremely well in reproducing the original waveform of Logikey's original cw element length without glitches in timing whatsoever.

Comment by Chuck aa0hw on January 22, 2014 at 11:33am

Audio TO Midi - MIDI KEYING - for a morse code sine wave oscillator

This video demonstrates how to key a software sine wave oscillator using MIDI CONTROL.. AUDIO to MIDI conversion is performed by the ReaGate VST PLUGIN, to convert morse code audio tones input from a laptop MICROPHONE JACK - into MIDI DATA output. This ReaGate output MIDI DATA, then sends [ midi ON - OFF data ] to key a software sine wave VST signal generator to recreate exactly the original morse code audio tones element length. ReaGate can also send any pitch/frequency data to tell the following SINE WAVE SIGNAL GENERATOR what pitch/frequency to use, independent of the original pitch coming into the MIC JACK and then to the input of ReaGate. Using MIDI to key a sine wave oscillator for function as a code practice oscillator or to create near perfect raised cosine morse code audio tones for QSO on HF or OVER THE INTERNET, is very accurate and stable. It has also been more stable, and more precise, in practical use for this purpose, than using a SERIAL PORT to key a software CPO. AUDIO to MIDI conversion bypasses the need for an actual hardware midi interface. A midi interface would still work the same way as shown in the video for the AUDIO to MIDI conversion technique.

NOTE: JACKROUTER is used, see this video tutorial for more info on how to setup JACKROUTER https://www.youtube.com/watch?v=h883l3PUJ50


HERE ARE THE LINKS MENTIONED IN THE VIDEO:
1. REAPLUGS for ReaGate
http://www.reaper.fm/reaplugs/
2. MELDA PLUGS for Mequalizer and Mfreqshifter
http://www.meldaproduction.com/download.php?bundle=MFreeEffectsBundle
3. BIPPPER and GAIN VST PLUGS
http://www.mindthepressure.org/plugz.php
4. SPECTRUM ANALYZER PLUG - SPAN -
http://www.voxengo.com/product/span/
5. C TUNER VST AUDIO PITCH READER VST PLUG
http://www.samplerchan.com/
6. ENGINEERS FILTER VST PLUG
http://www.rs-met.com/freebies.html
7. ASIO BRIDGE from VB-AUDIO
http://vb-audio.pagesperso-orange.fr/Cable/
8. jackrouter CATIA and CARLA connection bays
http://kxstudio.sourceforge.net/Downloads

Comment by Chuck aa0hw on January 23, 2014 at 9:03am

LATENCY OF JACKROUTER for AUDIO to MIDI technique to key a software CPO

This picture shows the inside routing audio delay from a cw sidetone going into the computer sound card MICROPHONE INPUT JACK, then over to the SOUND CARD OUTPUT,  when using JACKROUTER,  measured to be about 17 milliseconds,  this is considered to be - NEAR ZERO LATENCY - 

the first wave is MIC AUDIO from the CW KEYER entering the MIC JACK, the 2nd wave is when that same wave reaches the sound card after going through jackrouter WITHOUT any VST PLUGINS - 17milliseconds

17 milliseconds is just below the human sensory threshold for being able to notice any latency at all

often quoted in the music industry for LIVE PERFORMANCE:

"sounds are perceived as coming from a single source when they occur within 25-35 ms time window"

In this picture, we show the delay between the output of the software CPO - BIPPER - , and the output of the same audio going through all the VST PLUGS, in this example, it only takes another 3 milliseconds to go through 5 VST PLUGINS...to the sound card...the FIRST WAVE on top, is the immediate output of BIPPER, the second waveform on the bottom is the start of the FINAL filtered audio as it outputs from the last VST plugin

When you add these two numbers together, you get a TOTAL OF 20 MILLISECONDS of latency/delay from when the cw keyer sidetone enters the MICROPHONE JACK until it reaches the SOUND CARD OUTPUT.

This is still below the  25 -35 ms human hearing threshold for being able sense any latency at all...

This is outstanding performance from JACKROUTER and ASIO4ALL and the REALTEK HD AUDIO soundcard of this laptop.  Every computer has different soundcards, and drivers, and may have different results than these. Make sure your sound card drivers are up to date for best outcome when using a setup like this for LIVE PERFORMANCE in audio applications.  The jackrouter settings used were 48k sample rate/256 frame buffers.

HERE IS A PICTURE OF the CW PADDLE HANDLE TAP TEST

- testing the time from when you "tap" the paddle handles until you hear the tone.  This measured to be less than 30ms, still considered to me near zero latency. This is very good performance when using ASIO4ALL, and the computer's own soundcard.  

Comment by Chuck aa0hw on January 25, 2014 at 8:02pm

HERE IS ANOTHER VIEW OF THE TWO WAVEFORMS

- K1 CW KEYER AUDIO input on top, and MIDI note 79 from Bipper CPO vst plugins on bottom.  The cw audio pitch/frequency of input and output can be any audio frequency and differ from each other by any range desired.

Comment by Chuck aa0hw on January 30, 2014 at 2:33pm

HERE IS AN ADVANCED SETUP FOR AUDIO to MIDI CW KEYING

Comment by Chuck aa0hw on February 3, 2014 at 9:08am

Here are the results from testing the MIC INPUT JACK to the AUDIO to MIDI converter from k1el keyer sidetone


The k1el sidetone keyer audio output was connected by an audio cable,  to the MIC INPUT of the laptop's soundcard.  The K1el was set to 149wpm, and a dit stream was sent and recorded after the AUDIO to MIDI conversion,  as you see above.  The dit stream produced by the AUDIO to MIDI converter, is very accurate and steady... an extremely precise copy of the original wave length and timing,  of the original  k1el sidetone output.

Comment by Chuck aa0hw on February 9, 2014 at 2:59pm

HERE IS A VERY SHORT VIDEO EXAMPLE OF A MIDI KEYED SOFTWARE MORSE CODE OSCILLATOR

This video demonstrates a software code practice oscillator being "keyed" by a MIDI MESSAGE, from a virtual midi keyboard and a mouse.  The same performance can be expected from an actual hardware midi interface setup, where your IAMBIC PADDLES and CW KEYER would send a normal "keying output signal" to a hardware "MIDI INPUT DEVICE".  MIDI OX is shown that visualizes the midi messages, NOTE ON, and NOTE OFF.  Midi messages are fast and accurate, duplicating the timing of the original input - such as - - an iambic cw keyer's output that would normally key a rig, could be used to key a hardware midi interface and the MIDI OUTPUT would then key this software CPO.

Comment by Chuck aa0hw on February 12, 2014 at 2:54pm

There are many VSTi plugins besides Bipper, that can produce a SINE WAVE.  I have been testing another free one called Satyr.  It produces a sine wave cw audio note that I like better than the previously described Bipper. Here is a picture of Satyr.  The only controls needed to adjust from default settings are marked in RED LINES.  

Satyr creates sine waves with exponential edges on RISE and FALL.  Adjusting ATTACK and RELEASE TIME is all that is needed to "dial in" the desired milliseconds of edge shaping for producing a high quality cw note.

Here is a picture of the SATYR wave shape for a single DIT.

Comment by Chuck aa0hw on March 2, 2014 at 10:54am

HERE IS A COMPARISON PICTURE OF AN ORIGINAL FLdigi WAVESHAPE of the LETTER "R" on TOP and a recreated LETTER "R" via this AUDIO to MIDI technique(SATYR CPO)on the bottom- -also THE SATYR CPO is using the FLdigi RT CHANNEL QSK function to trim off a tiny increment of time via negative compensation - a few milliseconds, the same amount off of both the dit and dah.  At your top copy speed I have found this to be a great feature to help "fine tune" the QRQq cw sending to make for better copy.  The AUDIO to MIDI technique (using SATYR as the CPO) followed by a software BESSEL FILTER effectively "clones" the original FLdigi wave shape.  The AUDIO to MIDI technique for regenerating FLdigi cw tones, also allows one to use the RT CHANNEL FLDIGI QSK function to further dial in some desired characteristics of the QRQq sending.

HERE IS THE LETTER "R" at 125 wpm,  FLdigi by itself on TOP and SATYR's regenerated cw on bottom

HERE ARE THE FLDIGI SETTINGS THAT I LIKED for this experiment using QSK RT CHANNEL only

HERE IS THE JACKROUTER SETUP VST PLUGINS FOR this QSK RT channel QRQq CW copy test

THE SETTINGS WERE MODIFIED ON SATYR to these, all TIME to bottom, all LVL to top

Comment by Chuck aa0hw on March 11, 2014 at 7:17am

HERE IS ANOTHER VST DSP BANDPASS PLUGIN that works well

with less DSP LOAD and less CPU LOAD than the ENGINEERS FILTER VST PLUGIN:

Gband VST PLUGIN

1.  http://www.gvst.co.uk/gband.htm

2.  http://www.gvst.co.uk/gband_manual.htm

HERE ARE THE SETTINGS used for cw audio bandpass in AUDIO to MIDI mode

Here is what the wave shape looks like from a DIT via this Gband bandpass vst plugin

HERE IS THE JACKROUTER SEQUENCE for the VST PLUGins for AUDIO to MIDI for this setup

css555 15khz cw to MICROHPHONE input, converted to any desired cw pitch in excellent wave shaped CW

NEAR ZERO latency from the KEY of the paddles until you hear the tone in the sound card (HD AUDIO) AND you send the same excellent morse code audio tones into the input of the ASIO BRIDGE for sending morse code over the internet on any VOIP like program such as MUMBLE, SKYPE, GOOGLE VOICE, HAMSPHERE, QSO NET, JAMULUS, GOOGLE HANGOUTS, etc...

ASIO BRIDGE  http://vb-audio.pagesperso-orange.fr/Cable/index.htm

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