BubbleFish�

The Bubblefish� translates text to Bubblish (ready to copy) and Bubblish to text (not!).

You can use ordinary letters and numbers, and these 8 characters:

! ? * : ; - ) (

Other special characters will be ignored or could even cause some troubles.
Please remember stops when writing Bubblish.
(Ex. B = Oooo. or .Oooo.)
Notice that the Bubblefish� uses a 0 for an O, and that it will put a space between each character when translating Bubblish to text.


Bubblefish� - Result Window







Hosted by www.Geocities.ws

"); // -- Close document (otherwise it will continue loading!) -- Bubbles.document.close(); } // End of Function // End hiding -->
Translate text to bubbles.




Bubblefish� - Result Window


"); // -- Store all letters as UPPERCASE in array "PHRASE": -- for (INT=0; INTTEXT: //******************************************************* STATUS="OK"; if ( INPUT=="o" ) { INPUT="o"; } // Do not mix "o" and "o"... if ( INPUT=="O" ) { INPUT="O"; } // Do not mix "O" and "O"... if ( SIGNAL!=null ) { SIGNAL=SIGNAL+INPUT; //A morse code for one letter contains several characters! } if ( SIGNAL==null ) { SIGNAL=INPUT; } } if ( (INPUT==" "||INPUT=="."||INPUT=="|"||INPUT=="/"||INT==LENGTH||INT==TEST)&&STATUS=="OK" ) //Adjustment { //************************************************************* //IF: we find separator (/ or |)... //OR IF: user only typed one morseletter, i.e. INT==LENGTH... // + STATUS is OK (i.e. we are decoding morse signals)... //...then we have succesfully decoded a letter: //************************************************************* if (SIGNAL == " "||SIGNAL == "."||SIGNAL == "|"||SIGNAL == "http://www.geocities.com/") { SIGNAL="�"; } if (SIGNAL == "oO.") { SIGNAL="A"; } if (SIGNAL == "Oooo.") { SIGNAL="B"; } if (SIGNAL == "OoOo.") { SIGNAL="C"; } if (SIGNAL == "Ooo.") { SIGNAL="D"; } if (SIGNAL == "o.") { SIGNAL="E"; } if (SIGNAL == "ooOo.") { SIGNAL="F"; } if (SIGNAL == "OOo.") { SIGNAL="G"; } if (SIGNAL == "oooo.") { SIGNAL="H"; } if (SIGNAL == "oo.") { SIGNAL="I"; } if (SIGNAL == "oOOO.") { SIGNAL="J"; } if (SIGNAL == "OoO.") { SIGNAL="K"; } if (SIGNAL == "oOoo.") { SIGNAL="L"; } if (SIGNAL == "OO.") { SIGNAL="M"; } if (SIGNAL == "Oo.") { SIGNAL="N"; } if (SIGNAL == "OOO.") { SIGNAL="0"; } if (SIGNAL == "oOOo.") { SIGNAL="P"; } if (SIGNAL == "OOoO.") { SIGNAL="Q"; } if (SIGNAL == "oOo.") { SIGNAL="R"; } if (SIGNAL == "ooo.") { SIGNAL="S"; } if (SIGNAL == "O.") { SIGNAL="T"; } if (SIGNAL == "ooO.") { SIGNAL="U"; } if (SIGNAL == "oooO.") { SIGNAL="V"; } if (SIGNAL == "oOO.") { SIGNAL="W"; } if (SIGNAL == "OooO.") { SIGNAL="X"; } if (SIGNAL == "OoOO.") { SIGNAL="Y"; } if (SIGNAL == "OOoo.") { SIGNAL="Z"; } if (SIGNAL == "oOOoO.") { SIGNAL="�"; } if (SIGNAL == "oOoO.") { SIGNAL="�"; } if (SIGNAL == "OOOo.") { SIGNAL="�"; } if (SIGNAL == "oOOOO.") { SIGNAL="1"; } if (SIGNAL == "ooOOO.") { SIGNAL="2"; } if (SIGNAL == "oooOO.") { SIGNAL="3"; } if (SIGNAL == "ooooO.") { SIGNAL="4"; } if (SIGNAL == "ooooo.") { SIGNAL="5"; } if (SIGNAL == "Ooooo.") { SIGNAL="6"; } if (SIGNAL == "OOooo.") { SIGNAL="7"; } if (SIGNAL == "OOOoo.") { SIGNAL="8"; } if (SIGNAL == "OOOOo.") { SIGNAL="9"; } if (SIGNAL == "OOOOO.") { SIGNAL="0"; } if (SIGNAL == "!.") { SIGNAL="!"; } if (SIGNAL == "?.") { SIGNAL="?"; } if (SIGNAL == "*.") { SIGNAL="*"; } if (SIGNAL == ":.") { SIGNAL=":"; } if (SIGNAL == ";.") { SIGNAL=";"; } if (SIGNAL == "-.") { SIGNAL="-"; } if (SIGNAL == ").") { SIGNAL=")"; } if (SIGNAL == "(.") { SIGNAL="("; } if (SIGNAL == "*.") { SIGNAL="*"; } Babbles.document.writeln(SIGNAL); //Show result for user! SIGNAL=null; //Reset signal, new letter to decode! } } // End of For-loop // -- Some layout: -- Babbles.document.writeln("




Hosted by www.Geocities.ws

"); // -- Close document (otherwise it will continue loading!) -- Babbles.document.close(); } // End of Function // End hiding -->
Translate bubbles to text.





The Bubblefish� is based on Mikael Persson's Morse Signals Translator.
Hosted by www.Geocities.ws

1