* *

Coding

Welcome, Guest. Please login or register.
Did you miss your activation email?
October 16, 2017, 06:12:25 PM

Login with username, password and session length

Menu

Members
Stats
  • Total Posts: 12170
  • Total Topics: 1736
  • Online Today: 67
  • Online Ever: 195
  • (February 11, 2014, 01:46:08 PM)
Users Online
Users: 0
Guests: 33
Total: 51
Yahoo!
Google (2)
Baidu (15)

Author Topic: Morse/CX Trainer Project  (Read 3517 times)

0 Members and 1 Guest are viewing this topic.

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Morse/CX Trainer Project
« on: October 15, 2011, 02:37:11 PM »
Hey folks,
Graham recent project inspired me to start one of my own last night, so I thought I would share with it you folks. I took a completely different approach to the way Mr. Sutton did his, using a language other than "BASIC".

Instead of generating the tones using code, I generated an audio sample for each target character and embedded them all directly into the executable which makes the application pretty bloated.

Bloated or not, it seems to work on this end. :)



Download: (approx 3.8mb)
http://www.docstoolchest.com/CodeTrainer.zip

Take it for a spin and/or pass it on to someone else if you know anyone interested.

-Doc-
« Last Edit: October 15, 2011, 02:38:11 PM by docmann »
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Morse/CX Trainer Project
« Reply #1 on: October 15, 2011, 04:37:15 PM »
Doc,

Brilliant ..  ;D .. it sounds and looks very nice.

OK, I must ask .. what language did you write it in ? ..  :)

Presumably you recorded lots of little wav files from which to choose the sound for a given character - but how did you include them in the exe ?  :P

Great job .. and so quick ..

all the best, :)

Graham

Tomorrow may be too late ...

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #2 on: October 15, 2011, 05:00:52 PM »
Hi Graham!

...this whole thing is all your fault.  ;)
After seeing your app, I started looking into various HAM resources and that led into one of those "I wonder if I can..." moments.

Anyway, I built it using LiveCode (formerly known as RunRev).

As for the sound files, you are correct sir.... I made a whole slew of small .WAV files for the project. First I went to this site:

http://www.morseresource.com/morse/makemorse.php
...and generated a long list of carefully spaced characters in the format and frequency that I wanted, then downloaded the subsequent MP3 file that was produced. Armed with the MP3 file, I cut it up into individual .WAV files using the really cool Audacity software, found here:
http://audacity.sourceforge.net/

After that, I spent a total of 7 or 8 hours putting all of the pieces together into the final design that you see and then doing some simple (proud to call it inelegant at best) coding. :)

I can share the source code with anyone who wants it, but with the embedded audio files, images and text, it too is fairly large. Happy to answer any questions that may pop it.

-Doc-
« Last Edit: October 15, 2011, 05:02:21 PM by docmann »
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline kryton9

  • Hero Member
  • *****
  • Posts: 971
  • Bananas: 6
  • Gender: Male
Re: Morse/CX Trainer Project
« Reply #3 on: October 15, 2011, 05:08:39 PM »
Wow you guys are on a roll. Another awesome program, Doc.
I can experience now something I only see in movies.


For your next version Doc, You could animate the keyer photo in the top right to match the beeps :)

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #4 on: October 15, 2011, 05:41:16 PM »
Thank you for the nice comments, sir!

For your next version Doc, You could animate the keyer photo in the top right to match the beeps :)

That could happen under the right circumstances. ;)

Actually though, if nothing else, I think I can add a blinking/flashing light, such as might be used in ship to shore communications. To do that though, it would require building a decoder routine for all of the characters, kinda like Graham has done with his neat project. (That's not super difficult to do, but I'm a lazy programmer and not sure I wanna go there). One thing I really want to add (if I can find a place to without totally re-designing the GUI) is a list of the top 50/100 most popular words to be handled in a completely random order. I think that would be a beneficial addition and would be really simple to do.

Guess we'll see what happens. ;)

-Doc-

P.S. - Thank you Graham! I haven't touched much of anything since the surgery earlier in the year, so you've created a spark of interest in both subjects for me again, just by being your usual kind, sharing self.
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Morse/CX Trainer Project
« Reply #5 on: October 16, 2011, 12:37:12 AM »
Thanks Doc - I'm so glad you're returning to good health.

You're very talented .. "LiveCode (formerly known as RunRev)."

.. I'd never come across that - I'll have to investigate ..  ;D ;D

Also, your great links will be very interesting ..

all the best, :)

Graham
Tomorrow may be too late ...

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #6 on: October 16, 2011, 12:58:07 AM »
I ran across a problem that I hadn't noticed previously... it seems that the loop I have setup to play each letter character is eating up all of the time slices.

Unfortunately, it won't allow the lower text box to be used to practice copying the cx code as it's being sounded.  :P

I'll try to get it fixed up in a day or so, but in the meanwhile here's the easy solution:


Anyone here remember how those are used in real life?

-Doc-
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Morse/CX Trainer Project
« Reply #7 on: October 16, 2011, 02:59:43 AM »
 ;D ;D

Graham
Tomorrow may be too late ...

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #8 on: October 16, 2011, 01:43:32 PM »
Well, alrighty then...
I'm pretty sure that I've resolved all of the time slice issues and the little app is more responsive to the user -and- requires a lot less in the way of system resources.

While I was at it, I rearranged and compacted the GUI so that it should now fit into an 800x600 screen resolution (barely). Also added another button so that the user can "stop" or abandon a long text file at any time.

That's it for now! I'd appreciate hearing as to whether the time-slice issues are no longer a factor or not. Same download link as the original above.

-Doc-
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Morse/CX Trainer Project
« Reply #9 on: October 16, 2011, 02:35:45 PM »
Phew Doc .. it's going pretty fast now ..  :o

I think you've changed something when it starts up.

Clicking on the individual letters now goes so fast you can hardly see them display at the top.

If you enter a small piece of text and run it - that works fine - and afterwards, the individual letters are back to normal speed.

Maybe you sliced a bit too much time out of the start-up ..  ;D ;D

best wishes, :)

Graham
« Last Edit: October 16, 2011, 02:36:07 PM by GWS »
Tomorrow may be too late ...

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #10 on: October 16, 2011, 02:43:48 PM »
Yepper, I noticed that also....
When first opened up, you can click one of the Q Codes and it works perfectly from there on out. Guess I'll have another look to see what I obviously missed.

(Fix one thing, break something else)

Thanks for the report!
-Doc-
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #11 on: October 16, 2011, 03:05:42 PM »
Okay.... all fixed up!

Everything except for the character buttons were designed to be seeded/initialized with the selected interval speed each and every time they are called.

In the case of the individual character buttons, they work a bit differently so I had to seed/initialize the wait loop just as soon as the program first starts up. Easy fix after I realized what I had broken. :)

Here's a fresh download link: (approx 3.8mb)
http://www.docstoolchest.com/CodeTrainer.zip

Yippee!

-Doc-
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Morse/CX Trainer Project
« Reply #12 on: October 16, 2011, 09:58:46 PM »
Doc,

That's really good now ..  8)

.. and suddenly young Doc .. you know a whole lot more about Morse than you've let on ..  ;D ;D .. I notice you've got it set for Farnsworth character speed. (Fast sending - bigger character gaps)  ::)

I'm sure many coders of the morse kind will find your program a useful bit of kit.

all the best, :)

Graham
Tomorrow may be too late ...

Offline kryton9

  • Hero Member
  • *****
  • Posts: 971
  • Bananas: 6
  • Gender: Male
Re: Morse/CX Trainer Project
« Reply #13 on: October 18, 2011, 12:19:30 PM »
The new version is working fine here too. I read up on what Q Codes are, but I can't find out what cx copy is from googling... the box at the bottom of the program?

Offline docmann

  • Newbie
  • *
  • Posts: 49
  • Bananas: 3
  • Gender: Male
  • Yippeee! (Whew! ...sure glad I got over that)
Re: Morse/CX Trainer Project
« Reply #14 on: October 18, 2011, 04:54:31 PM »
The new version is working fine here too. I read up on what Q Codes are, but I can't find out what cx copy is from googling... the box at the bottom of the program?

Hi kryton9,
It's nothing special... CW just stands for "continuous wave" which is basically just a different description for Morse code.

The text block in the bottom is just a handy spot to allow the user a place to practice typing what they are hearing... turn off the upper display, load and play a text file, copying what you hear into the bottom text control. When finished, turn the display back on and compare to see how well you did. :)

-Doc-
-Doc-

-----------------------------------------------
I'm just about as good as I never was.

Offline kryton9

  • Hero Member
  • *****
  • Posts: 971
  • Bananas: 6
  • Gender: Male
Re: Morse/CX Trainer Project
« Reply #15 on: October 19, 2011, 09:51:40 PM »
Thanks for the help.

Offline kryton9

  • Hero Member
  • *****
  • Posts: 971
  • Bananas: 6
  • Gender: Male
Re: Morse/CX Trainer Project
« Reply #16 on: October 21, 2011, 11:47:15 PM »
I got this in an email tonight... it was in a list of anagrams.


The Morse Code


Here Come Dots

Offline BillBo

  • Newbie
  • *
  • Posts: 20
  • Bananas: 0
Re: Morse/CX Trainer Project
« Reply #17 on: October 22, 2011, 09:00:46 PM »
Hi All,
 
It's a great program, but it sure would be better
with more than five(5) speeds; be able to set it
to the speed you want 5, 7, 10, 15, 20 wpm, etc.
 
Bill
« Last Edit: September 14, 2015, 10:16:59 AM by BillBo »

Offline BillBo

  • Newbie
  • *
  • Posts: 20
  • Bananas: 0
Re: Morse/CX Trainer Project
« Reply #18 on: September 14, 2015, 10:14:10 AM »
docmann,

If you're still around, could you please provide the source code, or change the program as per above?

Bill
« Last Edit: September 14, 2015, 10:16:04 AM by BillBo »

 

To link to us use this code/button on your site

http://www.codingmonkeys.com/images/cm_link.gif

ShoutBox!

Azziesheag

October 13, 2017, 01:47:49 PM
Валериан и город тысячи планет
   
[url=http://file-yandex.ru/videomult115.

Azziesheag

October 13, 2017, 07:48:31 AM
Время первых
   

 
 
 
 
 
 
 
 

lurkalot

September 20, 2017, 01:57:54 PM
Hey that's my job. Didn't choose this username for nothing you know.  :)
 

Larry McCaughn

September 19, 2017, 12:24:13 AM
lurking in the shadows, lurkalot.
 

lurkalot

September 16, 2017, 04:39:43 PM
Good evening all.  Where is everyone?
 

lurkalot

September 12, 2017, 12:57:36 PM
Good to hear, it's nice to see a empty error log. ;)
 

Blue Steel

September 12, 2017, 05:04:25 AM
running sites log files overnight heres the result (I know mainly spiners) "There are currently no error log entries." :)
 

lurkalot

September 12, 2017, 03:19:33 AM
Morning all.  :)
 

Blue Steel

September 12, 2017, 01:12:33 AM
Let it all out ..
these are the things I can't do without  ;)

MikeHart

September 11, 2017, 11:14:22 PM
SHOUT SHOUT  :)
 

GWS

September 11, 2017, 08:16:02 PM
Shouting is Go !  ;D
 

Blue Steel

September 11, 2017, 06:54:02 PM
gradually getting there
 

lurkalot

September 11, 2017, 05:22:46 PM
Yay, you found it.  ;)
 

Larry McCaughn

September 11, 2017, 01:07:13 PM
looks like you're making good progress
 

Blue Steel

September 07, 2017, 10:34:19 PM
yay recent topics are working again in the center of the home page :)
 

Larry McCaughn

July 12, 2017, 05:46:33 PM
Blue Steel is back running the show.  Maybe he'll be able to build some steam in the ole place!
 

Blue Steel

June 26, 2017, 04:58:41 AM
hope i didn't scare too many of you
 

Blue Steel

June 26, 2017, 04:58:12 AM
Boo, i'm still here alive and well , see my post in introductions

MikeHart

July 25, 2016, 01:43:24 AM
That sounds cool. Have to chekc out IWBasic in the next days.
 

Larry McCaughn

July 22, 2016, 11:47:00 PM
I'm hoping to issue a new maintenance release to the IWBasic 3.x IDE in the next few weeks and Larry Sikes has released an update to the Linux version of IWBasic and is currently working on the 64bit version of IWBasic.  Progress should speed up since he has retired and has apparently resolved his m

MikeHart

July 19, 2016, 02:53:02 PM
Anything interesting going on around BASIC?
 

Larry McCaughn

July 18, 2016, 09:14:12 AM
Hello Mike

MikeHart

July 16, 2016, 04:33:25 PM
Hi there all!