Skip to content

celso/inkmorse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ink Morse Component

This is an Ink based javascript module that plays Morse Code using WebAudio.

Usage:

Ink.requireModules(['Ink.Ext.Morse_1'],function( MorseObject ){
    var Morse=new MorseObject;

    // optional configuration
    Morse.wpm = 20;
    Morse.freq = 1300;
    Morse.volume = 1;
    Morse.sample_rate = 44100;

    // use .prepare() before .play() if you change the config
    Morse.prepare();
    Morse.play("HELLO WORLD");
}

Here's a demo

Here's a very good decoder for iOS too, if you need one.

Want to create your own Ink module? Try this

This is module is known to work with modern browsers with WebAudio support, tested with Safari, Firefox and Chrome.

About

Ink Morse Component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published