Application for Adding Gamakam to plain notation

Carnatic Music notation available in books or manuscripts is skeletal and lacks 'Gamakams' without which the melody will not be correctly heard. Such notations if typed into any software program to play notes will, in most cases generate a unacceptable music. Gaayaka of the Windows program Rasika as well as its html versions gka83.htm or gkatal8.htm can reproduce only what is entered. The nuances (Gamakam) require detailed depiction of the frequecies and durations, the total duration corresponding to the original notes' durations. The AddGamakam program running in Windows OS attempts to generate notation with gamakams from bare notation based on the Raagam. The issues involved in automatic generation of code with nuances are discussed in https://carnatic2000.tripod.com/AutoGamakam.pdf The AddGamakam4.htm tries to provide a html version of the Windows AddGamakam program. Instructions are given below for using it.

Open the AddGamakam4.htm in browser (Chrome, Firefox or Microsoft Edge) from the web site and remain online. There are 2 Windows, a tool bar and other buttons. You can type plain notation in the top window. Simple s-r-g-m.. notation is used. The notation is case sensitive, upper case notes having double duration for conversion, but converted notation will have all lower case with duration adjustment so that it plays properly both in gka83.htm (which is case insensitive) and gkatal8.htm (which is case sensitive).

Type notation or use tool bar. For upper Octave and Lower octave notes, up ↑ or down ↓ arrows are added to the note symbol and can be got by clicking on the tool bar. Use "-" to separate phrases, which is important to get proper melody of the lyric. "-" can come at every point corresponding to a consonant in the lyric. If you already have a .hgk file with bare notation you can open using 'File Open' in which case the duration will be automatically filled. If typed set the note duration. It may be convenient to have the notation in separate lines without a single phrase flowing over to the next line. In either case select the raagam name from the drop down list. Gamakam can be added only for these raagams. More raagams as in the Windows version will be added in due coarse.

It is better to avoid lyrics or comments. If used they should be in separate lines enclosed in square brackets '[]'. Also avoid double hyphens like "--" and slashes at the beginning or end of the phrases (phrases are separated by "-").

After completion of typing or opening a file, select raagam and click 'convert'. The Gamakam added notation will come in the bottom window.

Clicking "Open Output" button between the 2 windows will open gka83.htm with the converted notation loaded and melam and duration set. If you prefer you can copy and paste the output in gkatal8.htm notation player, set the Melam and note duration and play it. (The Melam numbers are also given in bracket after the raagam names in the dropdown list.) You can also save it as a .hgk file by selecting File .. SaveOutput. The note duration and Melam number will be saved and automatically retrieved when the file is opened in gka*.htm or gkatal8.htm.

The converted notation may contain some notation enclosed in a pair of "#" symbols followed by notation enclosed between "[" and "]" ex "@((r//m(,)/r(,)))@[( r /((m>>)// r< (,)))]". These are possible alternatives. When played only the notation between pairs of "@" will play. To get the alternative change the first "@" to "[" and the next "@" to "]" and change original "[" "]" to "@" "@". The notation given above will become "[((r//m(,)/r(,)))]@( r /((m>>)// r< (,)))@". This will play the second alternative I will add routine for this in next version of gka*.htm player.

For conversion Raagam name is essential while for playing notation only Melam number is required. Different Janya Raagams under the same Melam may have different gamakams for the same note. The data for conversion for each raagam is in the .js file (gmkdata*.js)