Test Results for Firmware #33
Replies: 6 comments 5 replies
-
|
Yes, I would like to see the firmware more compatible too. I think we are using 99, 98, 6 and 38 for NRPN. Where do you see a problem? 73, Steve |
Beta Was this translation helpful? Give feedback.
-
|
I thought hasak was using different numbers but that might be my error. I will retest. |
Beta Was this translation helpful? Give feedback.
-
|
I retested and got the following: Firmware: hasak I am not sure of the value in the above. I used byte_6<<7 | byte_38. Are these values signed? I don't know how to interpret them. Firmware TeensyWinkeyEmulator Jim, N2ADR |
Beta Was this translation helpful? Give feedback.
-
|
The points of NRPN messages are:
1) To have more controls than will fit into the 120 midi control change
messages.
2) To have parameters which use more than 7 bit values, and more of them
than would fit into the optional 14 bit control change messages.
3) To have parameters which require more than 14 bit values.
4) To have a consistent interface rather than one that hops willy nilly
between 7 bit and 14 bit and control change and NRPN.
5) To not have a MIDI controller which tries to pun itself into the defined
MIDI control change set.
6) To have a large enough parameter set to not have to fiddle with the
design and implementation issues of packing and unpacking bit fields.
Consistency between implementations would be good. The plan for hasak has
always been to emulate the CWKeyerShield/TeensyWinkeyEmulator control set,
but it wasn't possible until after the last release of hasak was built.
The beginNrpn method in the teensy usb_midi.h source agrees with wikipedia
on the order of control changes 99 and 98, I'll be using that now that I've
found it.
But it really doesn't matter to hasak, it just uses the current values of
6, 38, 98, and 99 when it receives 38. As far as hasak is concerned, MIDI
is a protocol for setting and reporting the values of a note array, a
control array, and a nrpn array. This is not strictly MIDI compliant, but
it's very easy to understand and implement.
…On Wed, Feb 16, 2022 at 4:33 PM jimahlstrom ***@***.***> wrote:
I loaded firmware into the SofterHardware CWKeyer and got these results on
Linux on Feb 16, 2022:
Firmware: ***@***.***
Sound Card Name: hasak USB Audio
MIDI Device Name: hasak MIDI 1
Straight Key: 0x9000, 0 or 127
PTT In: No message
Paddle: Same as straight key
Master Volume, Sidetone Vol, Sidetone Freq: 0xB0 and 63, 62, 6, 26;
apparently NRPN
Speed: 0xB026, 5 to 54
Firmware: TeensyWinkeyEmulator.ino.TEENSY40.hex
Sound Card Name: KeyerShield USB Audio
MIDI Device Name: KeyerShield MIDI 1
Straight Key: 0x9912,127; pause, 0x9911, 0 or 127; 0x9912, 0
PTT In: 0x9912, 0 or 127, tip and ring the same
Paddle: Same as straight key
Master Volume: 0xB907 0 to 127
Sidetone Volume: 0xB90C, 0 to 127
Sidetone Frequency: 0xB90D, 40 to 103
Speed: 0xB94A, 5 to 52
It would be nice if the keyer firmwares were more compatible. In
particular, the sound and MIDI names should be the same. The pause for
Winkey is still there. I know I can set it to zero with a MIDI message, but
Quisk lacks the ability to send MIDI messages. And I don't see the point of
NRPM messages because 14-bit values are not required. Also, I believe the
standard for NRPN is 99, 98, 6, 38. See https://en.wikipedia.org/wiki/NRPN
<http://url>.
Jim, N2ADR
—
Reply to this email directly, view it on GitHub
<#33>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACVNDMLMQ32LGRZ3URMAHDU3QJ3ZANCNFSM5OS2VFRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I added NRPN to my software and it seems to be working. I am writing a standalone program to control the keyer so that it can be used by hams with analog radios and not just HL2 users. In the mean time it is useful for testing. |
Beta Was this translation helpful? Give feedback.
-
|
If you're talking to hasak, then you can use https://cwkeyer.elf.org as a
second readout of the NRPN settings. It will do a roll call of parameters
when it first connects to the keyer, to get in sync, but thereafter it
should just watch and reflect changes as they happen, though you can use it
to change settings, too. It runs in Chrome and Opera on linux for me.
Unfortunately it doesn't display the NRPN numbers, so you'd have to consult
the hasak/hasak.JSON file in github. The title and label strings in there
get used in cwkeyer.elf.org, along with the units, ranges, and defined
option values with their labels and titles.
If you have a JSON or other portable object format description of the
CWKeyerShield command set, that would be very helpful.
Let me know if you have comments on the information encoded into
hasak.JSON, or suggestions about information that should be there, or
questions.
…On Sun, Feb 20, 2022 at 5:14 PM jimahlstrom ***@***.***> wrote:
I added NRPN to my software and it seems to be working. I am writing a
standalone program to control the keyer so that it can be used by hams with
analog radios and not just HL2 users. In the mean time it is useful for
testing.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACVNDNQIYBVXC32HGEL7P3U4FRT3ANCNFSM5OS2VFRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I loaded firmware into the SofterHardware CWKeyer and got these results on Linux on Feb 16, 2022:
Firmware: hasak/hasak.TEENSY40@600.hex
Sound Card Name: hasak USB Audio
MIDI Device Name: hasak MIDI 1
Straight Key: 0x9000, 0 or 127
PTT In: No message
Paddle: Same as straight key
Master Volume, Sidetone Vol, Sidetone Freq: 0xB0 and 63, 62, 6, 26; apparently NRPN
Speed: 0xB026, 5 to 54
Firmware: TeensyWinkeyEmulator.ino.TEENSY40.hex
Sound Card Name: KeyerShield USB Audio
MIDI Device Name: KeyerShield MIDI 1
Straight Key: 0x9912,127; pause, 0x9911, 0 or 127; 0x9912, 0
PTT In: 0x9912, 0 or 127, tip and ring the same
Paddle: Same as straight key
Master Volume: 0xB907 0 to 127
Sidetone Volume: 0xB90C, 0 to 127
Sidetone Frequency: 0xB90D, 40 to 103
Speed: 0xB94A, 5 to 52
It would be nice if the keyer firmwares were more compatible. In particular, the sound and MIDI names should be the same. The pause for Winkey is still there. I know I can set it to zero with a MIDI message, but Quisk lacks the ability to send MIDI messages. And I don't see the point of NRPM messages because 14-bit values are not required. Also, I believe the standard for NRPN is 99, 98, 6, 38. See https://en.wikipedia.org/wiki/NRPN.
Jim, N2ADR
Beta Was this translation helpful? Give feedback.
All reactions