Popular Python recipes tagged "morse_code"http://code.activestate.com/recipes/langs/python/tags/morse_code/2013-01-08T18:13:33-08:00ActiveState Code RecipesA Complete Morse Code Generator in Python with Sound (Python)
2013-01-08T18:13:33-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578411-a-complete-morse-code-generator-in-python-with-sou/
<p style="color: grey">
Python
recipe 578411
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/pygame/">pygame</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>This is a complete Morse Code Generator with sound. You can <a href="http://temp3.net/thelivingpearl_downloads/morse_sound_files.zip">download the sound files (ogg) for Morse Code</a>. For more information checkout the article <a href="http://thelivingpearl.com/2013/01/08/morse-code-and-dictionaries-in-python-with-sound/">Morse Code and Dictionaries in Python</a></p>
Simple Morse Code Translator in Python (Python)
2013-01-08T18:02:46-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578407-simple-morse-code-translator-in-python/
<p style="color: grey">
Python
recipe 578407
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>This is a basic Morse Code Generator in python. I wrote it for an article I put together <a href="http://thelivingpearl.com/2013/01/08/morse-code-and-dictionaries-in-python-with-sound/">Morse Code and Dictionaries in Python</a></p>
Morse Code Generator in Python (Python)
2013-01-08T18:04:34-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578408-morse-code-generator-in-python/
<p style="color: grey">
Python
recipe 578408
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>This is a slightly better version. It has the ability to translate sentences into Morse Code. I wrote this code for an article <a href="http://thelivingpearl.com/2013/01/08/morse-code-and-dictionaries-in-python-with-sound/">Morse Code and Dictionaries in Python</a></p>
Slightly Diffrent Morse Code Translator (Python)
2013-01-08T18:06:27-08:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578409-slightly-diffrent-morse-code-translator/
<p style="color: grey">
Python
recipe 578409
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>This Morse Code Generator will generate a word on each line. It was written for <a href="http://thelivingpearl.com/2013/01/08/morse-code-and-dictionaries-in-python-with-sound/">Morse Code and Dictionaries in Python</a></p>
Samuel F. B. Morse's Code (Python)
2012-12-06T04:20:31-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578364-samuel-f-b-morses-code/
<p style="color: grey">
Python
recipe 578364
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/morse_practice_oscillator/">morse_practice_oscillator</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>Many people have heard of Morse['s] Code, and it still is a helpful skill to have in certain context, as advanced as technology has become. The following recipe shows two sample ways that it can be implemented and shows some diversity in how problems can be solved in Python or many other languages for that matter.</p>
Morse Code (Python)
2012-01-12T23:45:12-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578012-morse-code/
<p style="color: grey">
Python
recipe 578012
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/example/">example</a>, <a href="/recipes/tags/experiment/">experiment</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/program/">program</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 3.
</p>
<p>After seeing another recipe recently that helps people with Morse Code, I was inspired to clean up the following code just a bit to make it worthy for the rest of the world. After being executed, it waits for lines of text to be entered, compiles each one in turn into timing codes, and plays them back with a simple execution</p>
Simple Morse Code Practice Oscillator. (Python)
2012-01-09T22:49:05-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578010-simple-morse-code-practice-oscillator/
<p style="color: grey">
Python
recipe 578010
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/morse_practice_oscillator/">morse_practice_oscillator</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 2.
</p>
<p>This is not for the big guns, but for the Amateur coder AND radio enthusiast.</p>
<p>It is a DEMO Morse Code Practice Oscillator that will allow the user to practice
sending Morse code using the "o" and "p" keys as a PSEUDO-paddle key. It is set to
around 8 WPM, (Words Per Minute). The code allows "O" and "P" to be used at around
12 WPM, when "Caps Lock" is turned on. Read the code for more informtion.</p>
<p>It is for at least standard text mode Python 2.5.2 to 2.7.2 using PCLinuxOS 2009 and
Debian 6.0.0. It may well work at a much earlier version. I do have a version for
Python 3.x.x but that will be uploaded elsewhere.</p>
<p>It is written in such a way that youngsters can understand what is going on.</p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
Simple Morse Code Generator And Tutor. (Python)
2012-01-09T22:51:12-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578009-simple-morse-code-generator-and-tutor/
<p style="color: grey">
Python
recipe 578009
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/code/">code</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/morse/">morse</a>, <a href="/recipes/tags/morse_code/">morse_code</a>, <a href="/recipes/tags/sound/">sound</a>).
Revision 2.
</p>
<p>This is not for the big guns, but for the Amateur coder AND radio enthusiast.</p>
<p>It is a DEMO Morse Code Generator and tutor that will generate the tones required for
the original standard letters A to Z and numbers 0 to 9. Puctuation is NOT included but
hey it is SOOOO simple to modify the code that I will let you, (the ones interested),
do that for yourselves... ;o)
Read the code for more informaton.</p>
<p>It is for at least standard text mode Python 2.5.2 to 2.7.2 using PCLinuxOS 2009 and
Debian 6.0.0. It may well work at a much earlier version. I do have a version for
Python 3.x.x but that will be uploaded elsewhere.</p>
<p>As it stands it _sends_ at around 8 WPM, (Words Per Minute).</p>
<p>It is written in such a way that youngsters can understand what is going on.</p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>