Author Topic: Scrubbly Morse Code Translator  (Read 3069 times)

0 Members and 1 Guest are viewing this topic.

Offline Wertzui

  • Newbie
  • Posts: 1
    • View Profile
Scrubbly Morse Code Translator
« on: March 29, 2021, 07:37:06 am »
Hello! I'm a newbie to programming.
I while ago, inspired by the SchoolFreeware QBASIC tutorials on YT, I put together a Morse translator program (and other things, but those are in a much less presentable state.)
It's mostly string manipulations, DATA search, and a fancy UI.
I know the code could be much more streamlined (especially after making a Commodore BASIC port), but it functions well and doesn't strain modern PCs, so I Ieave it at that.
It doesn't use any enhanced QB64 features, just plain DOS QBASIC, so I'm not sure if it belongs here, but I release it.

Features:
-It can translate from text to Morse, or from Morse to text.
-The input can be typed in, or loaded from a file.
-It has different modes of operation, in how it uses the signal marks.
 I have implemented 3 modes based on what I saw in different programs.
 The characters of the signal marks can be specified by the user.
-Sound output can be configured too.
-The character output can be saved to disk.

Download:
https://www.mediafire.com/file/04voj860n9v1x0s/MORSE.BAS/file
(How do I link attachments?)
qb_000.png
* qb_000.png (Filesize: 4.3 KB, Dimensions: 640x400, Views: 244)

FellippeHeitor

  • Guest
Re: Scrubbly Morse Code Translator
« Reply #1 on: March 29, 2021, 07:48:57 am »
Thank you for sharing your work, it looks really good from the screenshot - I'm yet to run it.

Welcome to the community!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Scrubbly Morse Code Translator
« Reply #2 on: April 05, 2021, 08:39:27 pm »
Hi Wertzui
fine this your Morse <--> Alphabetical translator
I have downloaded it and run it.
Fine Qbasic DOS enviroment! Fine old days.
It seems to work good but I cannot give you an expert morse feedback.

just a question: I find cool the cursor changing in the waiting the input of user...but what is that 0 that runs on the bottom of the hepl screens?
Moreover why does that 0 cancel the last line of text of the first helpscreen?

Waiting other programs made by you (you can discover the powerful QB64 keywords starting with _  and the power of OpenGl graphic.)
I want say Welcome in this community.
Programming isn't difficult, only it's  consuming time and coffee

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: Scrubbly Morse Code Translator
« Reply #3 on: April 06, 2021, 07:42:46 pm »
Good retro look and authentic sound. Could make a useful Morse code learning aid. A bit heavy to have to make the choices every time, maybe a user defined default state could be set up.

*==_*_*=**_*=**__=**_===_=*_*_