To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/bb83f578-1fa1-4e7a-9674-9afe89748e13n%40googlegroups.com.
Alan,
There may be more than one client.
The GUI could send a string vis CW Keyer, the console must get the MIDI commands so it can generate the CW for Pluto & Lime.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/24746033-7f25-4237-8f45-5f63938d724dn%40googlegroups.com.
Hi,I fully agree that stage 1 has to be to keep it simple and get the basics working with common sdr software. The basics do appear work with published versions of spark as is so excuse me for getting ahead of myself. I do need to spend a little time with the scope attached and just check the key/ptt interactions are working as expected.
I also understand that many established operators will use serial keyer software and the sdr program has little to do. This is great.
There are other operators that would probably prefer a simpler setup eg plug in the keyer and fire up the sdr software. For this to work nicely some things do need to be adjustable by the sdr program and midi is the obvious way to do it.
There are a number of members at my club that I keep trying to tempt into the sdr world. If I were to show the cw operators (who simply have a key plugged into an analog radio ) a setup with keyer sw, sdr sw virtual serial cables etc I think my chances of a conversion would be low :) Answering the question 'how do I switch from mode a to mode b'' with 'download this other bit of software, find the com port and do xxx' is also not ideal.
Reid, I guess your comment about 4 midi messages is to do with nrpn messages, if so I fully agree they should not be used for the main real time events, I think they do make sense for other settings though.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/f431dd7e-ab85-4dcc-9516-bdae906c321bn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAGayqouOYF8gAu%2BJs0iZxB4ADAxgO3Q2AprccG%2ByRCPqdyD8hw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/610a830f-2c52-d5a7-fec2-b9ed4ab051b1%40gmail.com.
You should be able to configure your SDR end to not know about the keyer sent PTT commands, effectively ignoring them.
Mike
K7MDL EL87sm & CN88sf
From: herme...@googlegroups.com <herme...@googlegroups.com>
On Behalf Of Reid Campbell
Sent: Thursday, February 10, 2022 17:27
To: Roger Critchlow <r...@elf.org>
Cc: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Software Support for New CW Keyer
Hi Roger,
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/82d36728-65b5-1ca4-f17a-a81f78ed8ae2%40gmail.com.
Here is one for you.
I built a very minimal one of these and embedded it into a piHPSDR controller case replacing a standard USB sound dongle. I use a standard ham radio mic with PTT button into it (added the mic audio flow and debounce) and of course a CW keyer (straight and paddles).
A fullup piHPSDR controller (or a PC) lack extra IO pins so the keyer module does the PTT with proper debounce and also handles mic and speaker audio. I use the MIDI messages for PTT and keyer events. Works today with SparkSDr, PiHPSDR and Thetis. I plan to extend this version after it hits production to include several encoders and buttons, one a VFO knob.
PTT timing is configurable with lead in and tail times.
Mike
K7MDL EL87sm & CN88sf





Hi Alan --hasak echoes everything that gets set when it gets set. This includes setting the built-in defaults or saved settings from eeprom at startup, or when hasak is told to reset to defaults or to eeprom settings, or when an enabled pot changes a setting, or when a controller sets a value, or when hasak is told to perform a roll call. This is done so the controller can know what the settings are and display the current settings to the user. It also confirms to the controller that its commands are being performed and only its commands are being performed. There are also some commands which are purely informational, the value they echo back is the only way you find out what the value is. Finally, and unintentionally, the echoing also provides feedback to the controller about how fast it is demanding changes to the keyer parameters.Changing sidetone frequency or level only takes effect between buffers, and buffers are 32 samples long, and at 48000 samples/second, that's 2/3 of a millisecond per buffer. If you change frequency or level faster than that, all you're doing is overwriting the previous change before it took effect, and generating echo messages to yourself. Similarly, you can't change the keyer speed faster than the current dot clock time, 60ms at 20WPM, all the extra messages just overwrite the previous setting before the keyer had a chance to use it, and generate an echo. And you'd need to back off from those rates to give the operator enough samples or dits to hear the change.Thanks for bringing this up, I was thinking in terms of throttling the rate of control changes by some general one size fits all scheme, but now I see that the different controls have natural minimum update rates. I'll have to roll that back into the pot sampling rates, too.And I haven't been following the last set wins discussion closely enough. Is there general agreement about how it's going to work?
-- 73 -- rec -- ad5dz --
On Tue, Feb 8, 2022 at 12:25 PM 'Alan Hopper' via Hermes-Lite <herme...@googlegroups.com> wrote:
Hi All,I have two way 'last wins' working nicely for things like sidetone frequency. I notice midi message for things like this are sent straight back from the keyer, this involves a little work to prevent endless loops of messages happening, this is not a problem but does increase cpu usage. Could the keyer only send these messages if the change is caused by something other than midi or is there a good reason for the echoes that I've not thought of?73 Alan M0NNB
> Subject: Re: Software Support for New CW Keyer
>
>>
>>
>>> Am 07.02.2022 um 13:25 schrieb 'Alan Hopper' via Hermes-Lite <herme...@googlegroups.com>:
>>>
>>> Hi keyer producers,
>>> in the case of the spark keyboard cw wpm being tied to the keyer wpm this ideally wants to be two way, ie. you can adjust it on screen or from a knob on the keyer. This has some issues with the use of pots on the keyer as they cannot move to represent the value set onscreen, if they were encoders this would not be an issue. The value set could simply be the last change detected i.e an onscreen change would be reverted to the absolute value of the pot it the pot were changed,
>>
>> exactly, "last one wins". This is not new: if you have a "MIDI DJ controller" with knobs, and assign one knob to the AF volume, then the following happens:
>>
>> - turn the knob ==> AF volume changes AND slider in the GUI of the SDR console moves
>> - move the slider in the GUI ==> AF volume changes but MIDI knob stays, AF volume is not in sync with the knob
>> - turn the knob again ==> AF volume changes AND slider moves
>>
>> If this is not a problem for (normal) MIDI consoles, it is also not a problem for MIDI keyers.
>> I should say "last one wins" and "ignore the problem".
>>
>> Yours,
>>
>> Christoph DL1YCF
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/EDAB50A2-0B04-4DDB-AAA3-D0FDBC68AD39%40darc.de.
>
>
> --
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/bb83f578-1fa1-4e7a-9674-9afe89748e13n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/09a1b7a5-eeed-48d0-9144-834b1726e807n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/cec8eac4-c95e-4a2a-b41e-d651d8c4c4een%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAGayqov4%2BCoxBLj-KQOV32%3D17j4fP7Bi0KQ4jYyhq%3DROBAfAZA%40mail.gmail.com.
Roger,
Just FWIW I’m liking this hasak hex, I can now start development with a good working firmware.
What I’ve never tried to do and what I can’t do is query the current settings. Is there a specific command which instructs the keyer to return the state of all controls?
Simon Brown, G4ELI
From: herme...@googlegroups.com <herme...@googlegroups.com> On Behalf Of Roger Critchlow
Sent: 10 February 2022 22:01
To: Reid Campbell <scumballc...@gmail.com>
Cc: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Software Support for New CW Keyer
Thanks, Reid --
That was my error, set the mask correctly, tested the mask correctly, but forgot to ensure that the mask was copied to its correct location.
It should be fixed by the current contents of https://github.com/softerhardware/CWKeyer/tree/main/firmware/hasak.
-- 73 -- rec -- ad5dz --
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/d9c2b583-c45c-437a-a070-bf16ac2328d6n%40googlegroups.com.
Roger,
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAGayqotOe6zTKotDjcFy4_NtsV71Bq-Jigs%3D4sEAGT8gtQD6Rw%40mail.gmail.com.
Roger,
I assume you splitting the 14-bit value into to two 7-bit values, sending these in the MSB and LSB?
For Master Volume & Sidetone Volume the range I see is 16065 to 16383, For Sidetone Frequency 2560 to 12730 (256.0 to 127.3 Hz?). Speed is good – 5 to 54.
So for volume I have a range of 319, is this correct?
Sorry,
Re: Volume, I expect you’re sending 0 to -31.8 dB?
Re: Frequency 256.0 Hz to 1,273.0 Hz?
Sent: 12 February 2022 16:18
To: 'Roger Critchlow' <r...@elf.org>
Cc: 'Reid Campbell' <scumballc...@gmail.com>; 'Hermes-Lite' <herme...@googlegroups.com>
Subject: RE: [Question] Software Support for New CW Keyer
Roger,
I assume you splitting the 14-bit value into to two 7-bit values, sending these in the MSB and LSB?
For Master Volume & Sidetone Volume the range I see is 16065 to 16383, For Sidetone Frequency 2560 to 12730 (256.0 to 127.3 Hz?). Speed is good – 5 to 54.
So for volume I have a range of 319, is this correct?
Sent: 12 February 2022 15:31
Roger,
Just thinking aloud – at a later stage when users are downloading .hex files, an accompanying XML or other file with NRPN values and ranges could ensure no changes needed to the GUI.
Having the MIDI notification for Key Out is excellent, with this I can generate MCW for Pluto, Lime etc.
Simon Brown, G4ELI
From: Roger Critchlow <r...@elf.org>
Sent: 12 February 2022 16:47
To: Simon Brown <si...@sdr-radio.com>
Subject: Re: [Question] Software Support for New CW Keyer
Simon --
Right, those are the ranges that the pots map into, and you can check that by opening https://cwkeyer.elf.org, opening the Basics folder, and watching the values as you twiddle the pots.
-- rec --
I agree, but it’s really not that hard to check for a defined sequence of four MIDI messages.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/028801d82047%245961d420%240c257c60%24%40sdr-radio.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/9782f390-4157-7874-181b-97596bb21db3%40gmail.com.
Hi,
0 to 127 for volume and frequency, 0 to 54 for speed.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/CAGayqouO-GeL9UOeJOTET2z5Sp0HrzFxoxJ5vaDVqzh8Te2j7g%40mail.gmail.com.
Sorry,
5 to 54 for speed, too early, need glasses ☹ .
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/005d01d820a1%24ebe18ac0%24c3a4a040%24%40sdr-radio.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/006601d820a2%24677b6340%24367229c0%24%40sdr-radio.com.