Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #2: Add a decoder for morse code #3

Merged
merged 1 commit into from Oct 23, 2020

Conversation

slaterslater
Copy link
Contributor

Added argparse to handle command line arguments:

  • -w or --wav to create a wav file
  • -r or --read to read a wav file
  • -p or --play to play a wav file

Added new functions:

  • encoder_to_wav() writes string of dots & dashes as a wav file
  • wav_to_encoder() converts wav file into string of dots & dashes
  • decoder() translates string of dots & dashes as text

@nimit2801 nimit2801 merged commit d486a74 into nimit2801:main Oct 23, 2020
@nimit2801
Copy link
Owner

nimit2801 commented Oct 23, 2020

hey @slaterslater can you add the how to use decoder in comments or readme.md so that people can you it in the correct manner? :) And btw great work! 👍

@slaterslater
Copy link
Contributor Author

Ok I’ll send another PR shortly. And thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants