morse-player-waa.js: MorsePlayerWAA class, to play sounds in a web browser using the Web Audio API.morse-player-xas.js: MorsePlayerXAS class, to play sounds in older web browsers (e.g.morse-pro-cw-wave.js: MorseCWWave class, to create sine-wave samples of standard CW Morse.Understands speed and Farnsworth speed concepts. morse-pro-cw.js: MorseCW class, to create the on/off timings needed by e.g.morse-pro-message.js: MorseMessage class, for conveniently translating to and from Morse code and dealing with errors.Includes mapping of characters and prosigns to dots and dashes. morse-pro.js: Basic functions to translate Morse code.Documentationĭocumentation on how to use the library is embedded in the source code and can be found at the ESDoc site. If you would like to access this software under a different licence then please get in touch and ask. Summary of the similar EUPL v1.1 from TL DR Legal.If you modify the library and use it in some software that you provide to others, even if the library is not distributed to the users, then you must provide your modifications to the library back to the community so that everyone can benefit. So basically, if you use the library as-is in some piece of software then that's just fine (though an acknowledgement would be nice) and you can even keep the software closed-source should you wish to. Of course, if you want to open source software that links to this library then you are free to do so. My intention is also that this library can be used as a library by other pieces of software but that the EUPL v1.2 licence does not have to be applied to the software that links to it (this is similar to the LGPL licence). In contrast to many open source licences, the EUPL v1.2 licence makes it clear that modifications must be made available even in the case of the library being used as part of a web service and not distributed to the user, covering the 'Application Service Provider loophole' (in this case it is similar to the AGPL licence). My intention in using EUPL v1.2 is primarily to ensure that any modifications to this library are made available to the community as source code. The EUPL is an 'open source' licence: one of many options and one in the 'weak-copyleft' category. Comments below do not constitute the licence, they are just my comments on the licence. The full text of the licence can be found in the LICENSE file in this folder. Please note, this is different to the Expat (MIT) licence often found in Javascript projects and places restrictions and obligations on the user of the software. The others are:Ĭopyright: Stephen C Phillips, 2013-2017 Licensed under the EUPL v1.2, with extension of article 5 (compatibility clause) to any licence for distributing derivative works that have been produced by the normal use of the Work as a library. Two files ( morse-pro-util-riffwave.js and morse-pro-util-datauri.js) are Public Domain. It has been written using ES6 (ECMA Script 6). Decode from listening to the microphone or an audio file, adapting to the most prominent frequency.Adaptively decode to text, adjusting to the most likely speed and Farnsworth speed.Decode to text given 'on' and 'off' timings and a fixed speed.Take Morse code input from a web-based keyer or iambic keyer.Generate in-browser sounds using the Web Audio API and falling back to other methods such as Flash for older browsers.Make use of the "Farnsworth speed" concept of extending the gaps between characters and words.Generate downloadable RIFF WAVE ('.wav') files of Morse code at given frequency and speed.Translate to and from text and Morse code (in the form of '.It is the library used in the tools on Stephen C Phillips's Morse code website. This Javascript (ES6) library is for manipulating Morse code text and sound. You can install it in your Symfony project with composer opening a terminal, switching to the directory of your project and then running the following command: composer require rexxars/morseĪlternatively, you can modify manually your composer.This project has moved to Gitlab: Introduction The Morse Code library is an useful class that allows you to convert text to Morse Code and Morse Code to text easily. In this article, although it may look useless(and probably it is indeed because you are most likely to never need this), you will learn how to convert text to morse code and viceversa with PHP in your Symfony 3 project. Although you may think that this code is only used in films, Morse code is still popular among amateur radio enthusiasts, that means that it's still being used. Morse code is a method of sending text messages by keying in a series of electronic pulses, represented by a short pulse (called a "dot".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |