Creation of just-intonation scales

The fol­low­ing is the pro­ce­dure for export­ing just-intonation scales from the mur­ccha­na-s of Ma-grama stored in "-to.12_scales".

Read Just into­na­tion: a gen­er­al frame­work for explanation.

The scale model

From left to right: 1st-order descending-third series, "Pythagorean" series and 1st-order ascending-third series (Asselin 2000 p. 61)

As indi­cat­ed on the page Just into­na­tion: a gen­er­al frame­work, just-intonation chro­mat­ic scales can be derived from a basic frame­work made of two cycles of per­fect fifths (fre­quen­cy ratio 3/2).

These pro­duce the 22-shru­ti frame­work of Indian musi­col­o­gists (read Raga into­na­tion) or the series called "Pythagorean" and "1st-order ascending-third" ("LA-1", "MI-1" etc.) in the approach of west­ern musi­col­o­gists (see pic­ture on the side).

We have found that the "1st-order descending-third cycle" ("LAb+1", "MIb+1" etc.), in which all notes are high­er by a syn­ton­ic com­ma may not be nec­es­sary for the cre­ation of just-intonation chords.

These cycles of fifths are rep­re­sent­ed graph­i­cal­ly (scale "2_cycles_of_fifths" in the tonal­i­ty resource "-to.tryTunings"):

There are some dif­fer­ences between this 29-degree divi­sion of the octave and the Indian frame­work, notably the cre­ation of "DO-1" and "FA-1", two posi­tions one syn­ton­ic com­ma low­er than "DO" ("C" = "Sa" in the Indian con­ven­tion) and "FA" ("F" = "Ma"). Interestingly, these posi­tions appear in ancient texts under the names "cyu­ta Sa" and "cyu­ta Ma". Other addi­tion­al posi­tions are "REb-1", "MIb-1", "SOLb-1", "LAb-1" and "SIb-1".

The rule we fol­low when cre­at­ing chro­mat­ic scales from trans­po­si­tions of Ma-grama is that only the posi­tions shown on this graph are con­sid­ered valid. When export­ing a minor or major chro­mat­ic scale from a trans­po­si­tion of Ma-grama, it may hap­pen that a note posi­tion is not part of this frame­work. In all cas­es of this pro­ce­dure, the invalid posi­tion is one syn­ton­ic com­ma too low. Therefore the export­ed scale is "aligned" by rais­ing all its posi­tions by one comma.

The term "Pythagorean series" is con­fus­ing because any cycle of per­fect fifths is Pythagorean by def­i­n­i­tion. Whether a posi­tion in a scale "is" or "is not" Pythagorean depends on the start­ing note of the series that was announced as "Pythagorean". In Asselin's work the start­ing point of the series in the mid­dle col­umn is "FA". In the Indian sys­tem, the basic frame­works (Ma-grama and Sa-grama) start from "Sa" ("C" or "do") and the Pythagorean/harmonic sta­tus of a posi­tion is deter­mined by fac­tors of its fre­quen­cy ratio with respect to "Sa". If a fac­tor "5" is found in the numer­a­tor or the denom­i­na­tor, the posi­tion is har­mon­ic or, con­verse­ly, Pythagorean.

For exam­ple, "DO#" in Asselin's "Pythagorean" series (two per­fect fifths above "SI") is eval­u­at­ed as a har­mon­ic posi­tion (marked in green) on the Bol Processor graph and its ratio is 16/15. In real­i­ty, "DO#" in Asselin's series has a fre­quen­cy ratio of 243/128 * 9/16 = 2187/1024 = 1.068 which is very close to 16/15 = 1.067. "DO#-1" in Asselin's series is two per­fect fifths above "SI-1" which gives a fre­quen­cy ratio of 15/8 * 9/16 = 135/128 = 1.054 which is close to 256/243 = 1.053 and marked "Pythagorean" on the Indian scheme. Thus, "DO#" and "DO#-1" have exchanged their prop­er­ties, each being the super­po­si­tion of two very close posi­tions belong­ing to dif­fer­ent series.

Ignoring schis­ma dif­fer­ences inn order to take the sim­plest ratios cre­ates this con­fu­sion. For this rea­son, we still pre­fer to use com­ma indi­ca­tions — e.g. "FA" and "FA-1" — to iden­ti­fy posi­tions where the first instance belongs to the series called "Pythagorean" in Asselin's work.

Transposition table

This table sum­maris­es a quick pro­ce­dure for cre­at­ing all the mur­ccha­na-s of the Ma-grama chro­mat­ic scale and export­ing minor and major chro­mat­ic scales from them.

Open the scale "Ma_grama" in the "-to.12_scales" tonal­i­ty resource, and select the Murcchana pro­ce­dure. To cre­ate "Ma01", move note "F" to note "C" and click on TRANSPOSITION.

F moved toMurcchanaMinor scaleRaiseMajor scaleIdentical
scale
Adjust
CMa01AminDCmaj=Emin1/1
FMa02DminGFmaj=Amin1/1
BbMa03GminCBbmaj=Dmin1/1
EbMa04CminFEbmaj=Gmin1/1
AbMa05FminBbAbmaj=Cmin1/1
DbMa06BbminEbDbmaj=Fmin1/1
F#Ma07EbminAbF#maj=Bbmin1/1
BMa08AbminDbBmaj=Ebmin1/1
EMa09DbminF#Emaj=Abmin1/1
AMa10F#minBAmaj=Dbmin81/80
R3Ma11BminEDmaj=F#min81/80
G3Ma12EminAGmaj=Bmin81/80

For exam­ple, this is the "Ma04" mur­ccha­na obtained by plac­ing "F" (M1 on the Indian scale mod­el) of the mov­ing wheel on "Eb" (G1 of the out­er crown):

The result­ing "Ma04" scale is:

The "Ma04" scale, which is a trans­po­si­tion of the "Ma-grama" chro­mat­ic scale

Scale adjustment

In the last col­umn of the table, "Adjust" indi­cates the frac­tion by which the note ratios may need to be mul­ti­plied so that no posi­tion is cre­at­ed out­side the Pythagorean and har­mon­ic cycles of fifths accord­ing to the Indian sys­tem. Practically this is the case when the fre­quen­cy ratio con­tains a mul­ti­ple of 25 in either its numer­a­tor or denom­i­na­tor, as this indi­cates that the posi­tion has been con­struct­ed by at least two suc­ces­sive major thirds (up or down).

A warn­ing is dis­played if this is the case, and a sin­gle click on ADJUST SCALE fix­es the positions:

In this exam­ple, the warn­ing sig­nals an out-of-range posi­tion of "B" (50/27) on the "Ma10" scale. Note also that "F#" has a mul­ti­ple of 25 in its numerator.

After click­ing on ADJUST SCALE, the scale "Ma10" is com­plet­ed with "B" in posi­tion 15/8. This has been done by rais­ing all the notes by one syn­ton­ic com­ma (81/80) :

This pro­ce­dure is known in Indian musi­col­o­gy as sadja-sadharana, which means that all the notes of the scale are raised by a shru­ti — here, a syn­ton­ic com­ma (Shringy & Sharma 1978). In this mod­el, it is also invoked for the scales "Ma11" and "Ma12". The result is (as expect­ed) a cir­cu­lar mod­el because "Ma13" is iden­ti­cal to "Ma01" as shown by the scale com­para­tor at the bot­tom of page "-to.12_scales".

This cir­cu­lar­i­ty is a prop­er­ty of the set of mur­ccha­na-s which has no effect on export­ed minor and major scales, since their posi­tions are aligned accord­ing to the basic rule explained in the first section.

Exporting and aligning minor scales

The "Ma04" mur­ccha­na pro­duces "Cmin" by export­ing notes fac­ing the marks on the inner wheel.

The "Cmin" chro­mat­ic scale export­ed from the "Ma04" transposition

As explained on page Just into­na­tion: a gen­er­al frame­work, the ton­ic and dom­i­nant notes of each minor chord should belong to the "minus-1" posi­tion. In this exam­ple, "C" and "G" are one com­ma low­er in a "C minor" chord than in a "C major" chord (cor­re­spond­ing to "DO-1" and "SOL-1" on the "2_cycles_of_fifths" scale), a fact pre­dict­ed and exper­i­men­tal­ly ver­i­fied by Pierre-Yves Asselin (2000 p. 137).

All chro­mat­ic minor scales export­ed from the mur­chana-s of the Ma-grama are cor­rect­ly posi­tioned with respect to the enhar­mon­ic posi­tions of the main notes in just-intonation chords. This can be eas­i­ly checked by com­par­ing the ratios with those asso­ci­at­ed with the west­ern series on "2_cycles_of_fifths" (top of this page). This con­firms that a tun­ing sys­tem using only two series of per­fect fifths is suit­able for the con­struc­tion of a just-intonation framework.

Exporting and aligning major scales

The "Ma04" mur­ccha­na pro­duces "Ebmaj" by export­ing notes fac­ing the marks on the inner wheel and rais­ing "F":

The "Ebmaj" chro­mat­ic scale export­ed from the "Ma04" transposition

According to a rule explained on the page Just into­na­tion: a gen­er­al frame­work, the root of each major chord should be both in the high posi­tion and in the Pythagorean series (blue mark­ings). This is true for the chord "Eb major" tak­en from the chro­mat­ic scale "Ebmaj", but not for the scales "F#maj", "Bmaj" and "Emaj" shown in bold on the table.

For exam­ple, let us look at "Emaj", which was export­ed from "Ma09" with­out any precautions:

Scale "Emaj" export­ed from "Ma09", before its alignment

The note "E" has a fre­quen­cy ratio of 5/4, which is labelled "MI-1" on the scale "2_cycles_of_fifths" (top of this page). Since "MI-1" belongs to a har­mon­ic series, it can­not be tak­en as a the ton­ic of an "E major chord". The Pythagorean "MI" (ratio 81/64) should be used instead.

After its adjust­ment — rais­ing all notes by 1 syn­ton­ic com­ma — the final "Emaj" scale is obtained:

Scale "Emaj" export­ed from "Ma09", after its alignment

This align­ment of export­ed major scales is done auto­mat­i­cal­ly by the Bol Processor when export­ing a major chro­mat­ic scale.

References

Asselin, P.-Y. Musique et tem­péra­ment. Paris, 1985, repub­lished in 2000: Jobert. Soon avail­able in English.

Shringy, R.K.; Sharma, P.L. Sangita Ratnakara of Sarngadeva: text and trans­la­tion, vol. 1, 5: 7-9. Banaras, 1978: Motilal Banarsidass. doi:10.2307/2054840. Source in the Web Archive.

Raga intonation

Tanpura: the drone of Indian musi­cians
— man­u­fac­tured in Miraj (read paper)

This arti­cle demon­strates the the­o­ret­i­cal and prac­ti­cal con­struc­tion of micro­ton­al scales for the into­na­tion of North Indian ragas, using tools avail­able with the Bol Processor (BP3).

It is intend­ed to com­ple­ment the pages Microtonality and Just into­na­tion, a gen­er­al frame­work and The Two-vina exper­i­ment. However, its under­stand­ing does not require a pri­or study of these relat­ed pages.

This raga into­na­tion exer­cise demon­strates BP3's abil­i­ty to han­dle sophis­ti­cat­ed mod­els of micro-intonation and to sup­port the fruit­ful cre­ation of music embody­ing these models.

Theory versus practice

To sum­marise the back­ground, the frame­work for con­struct­ing 'just into­na­tion' scales is a deci­pher­ing of the first six chap­ters of the Nāṭyaśāstra, a Sanskrit trea­tise on music, dance and dra­ma dat­ing from a peri­od between 400 BC and 200 AD. For con­ve­nience, we call it "Bharata's Model", although there is no his­tor­i­cal record of a sin­gle author by that name.

Using exclu­sive infor­ma­tion dri­ven from the text and its descrip­tion of the Two-vina exper­i­ment, an infi­nite num­ber of valid inter­pre­ta­tions of the ancient the­o­ry are pos­si­ble, as shown in A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra (Bel 1988a). Among these, the one advo­cat­ed by many musi­col­o­gists — influ­enced by west­ern acoustics and scale the­o­ries — is that the fre­quen­cy ratio of the har­mon­ic major third would be 5/4. This is equiv­a­lent to set­ting the fre­quen­cy ratio of the syn­ton­ic com­ma at 81/80.

Although this inter­pre­ta­tion pro­vides a con­sis­tent mod­el for just into­na­tion har­mo­ny - see Just into­na­tion, a gen­er­al frame­work — it would be a stretch to claim that the same applies to raga into­na­tion. Accurate assess­ment of raga per­for­mance using our Melodic Movement Analyser (MMA) in the ear­ly 1980s revealed that melod­ic struc­tures derived from sta­tis­tics (using selec­tive tona­grams, see below) often dif­fer sig­nif­i­cant­ly from the scales pre­dict­ed by the "just into­na­tion" inter­pre­ta­tion of Bharata's mod­el. Part of the expla­na­tion may be the strong har­mon­ic attrac­tion of drones (tan­pu­ra) played in the back­ground of raga performances.

Speaking of gra­ma-s (scale frame­works) in the ancient Indian the­o­ry, E.J. Arnold wrote (1982 p. 40):

Strictly speak­ing the gra­mas belong to that aspect of nada (vibra­tion) which is ana­ha­ta ("unstruck"). That means to say that the "gra­ma" can nev­er be heard as a musi­cal scale [as we did on page Just into­na­tion, a gen­er­al frame­work]. What can be heard as a musi­cal scale is not the gra­ma, but any of its mur­ccha­nas.

Once elec­tron­ic devices such as the Shruti Harmonium (1979) and the Melodic Movement Analyser (1981) became avail­able, the chal­lenge for raga into­na­tion research was to rec­on­cile two method­olo­gies: a top-down approach, test­ing hypo­thet­i­cal mod­els against data, and a data-driven bottom-up approach.

The "micro­scop­ic" obser­va­tion of melod­ic lines (now eas­i­ly ren­dered by soft­ware such as Praat) has con­firmed the impor­tance of note treat­ment (orna­men­ta­tion, alankara) and tem­po­ral dimen­sions of raga that are not tak­en into account by scale the­o­ries. For exam­ple, the ren­der­ing of the note 'Ga' in raga Darbari Kanada (Bel & Bor 1984; van der Meer 2019) and the typ­i­cal treat­ment of notes in oth­er ragas (e.g. Rao & Van der Meer 2009; 2010) have been dis­cussed at length. The visu­al tran­scrip­tion of a phrase from raga Asha illus­trates this:

A brief phrase of raga Asha tran­scribed by the MMA and in west­ern con­ven­tion­al notation
Non-selective tona­gram of raga Sindhura sung by Ms. Bhupender Seetal

To extract scale infor­ma­tion from this melod­ic con­tin­u­um, a sta­tis­ti­cal mod­el was imple­ment­ed to show the dis­tri­b­u­tion of pitch over an octave. The image shows the tona­gram of a 2-minute sketch (cha­lana) of raga Sindhura taught by Pandit Dilip Chandra Vedi.

The same record­ing of Sindhura on a selec­tive tonagram

The same melod­ic data was processed again after fil­ter­ing through 3 win­dows that attempt­ed to iso­late 'sta­ble' parts of the line. The first win­dow, typ­i­cal­ly 0.1 sec­onds, would elim­i­nate irreg­u­lar seg­ments, the sec­ond (0.4 sec­onds) would dis­card seg­ments out­side a rec­tan­gle of 80 cents height, and the third was used for aver­ag­ing. The result is a "skele­ton" of the tonal scale, dis­played as a selec­tive tona­gram.

These results would often not match the scale met­rics pre­dict­ed by the 'just into­na­tion' inter­pre­ta­tion of Bharata's mod­el. Continuing with this data-driven approach, we pro­duced the (non-selective) tona­grams of 30 ragas (again, chalana-s) to com­pute a clas­si­fi­ca­tion based on their tonal mate­r­i­al. Dissimilarities between pairs of graphs (com­put­ed using Kuiper's algo­rithm) were approx­i­mat­ed as dis­tances, from which a 3-dimensional clas­si­cal scal­ing was extracted:

A map of 30 North-Indian ragas con­struct­ed by com­par­ing tona­grams of 2-minute sketch­es (cha­lana-s) of sung per­for­mances (Bel 1988b)

This exper­i­ment sug­gests that con­tem­po­rary North-Indian ragas are amenable to mean­ing­ful auto­mat­ic clas­si­fi­ca­tion on the basis of their (time-independent) inter­val­ic con­tent alone. This approach is anal­o­gous to human face recog­ni­tion tech­niques, which are able to iden­ti­fy relat­ed images from a lim­it­ed set of features.

Setup of Bel's Melodic Movement Analyser MMA2 (black front pan­el) on top of the Fundamental Pitch Extractor
at the National Centre for the Performing Arts (Mumbai) in 1983

This impres­sive clas­si­fi­ca­tion has been obtained by sta­tis­ti­cal analy­sis of sta­t­ic rep­re­sen­ta­tions of raga per­for­mance. This means that the same result would be obtained by play­ing the sound file in reverse, or even by slic­ing it into seg­ments reassem­bled in a ran­dom order… Music is a dynam­ic phe­nom­e­non that can­not be reduced to tonal "inter­vals". Therefore, sub­se­quent research into the rep­re­sen­ta­tion of the melod­ic lines of raga — once it could be effi­cient­ly processed by 100% dig­i­tal com­put­ing — led to the con­cept of Music in Motion, i.e. syn­chro­nis­ing graphs with sounds so that the visu­als reflect the music as it is being heard, arguably the only appropriate"notation" for raga (Van der Meer & Rao 2010; Van der Meer 2020).

This graph mod­el is prob­a­bly a great achieve­ment as an edu­ca­tion­al and doc­u­men­tary tool, indeed the envi­ron­ment I dreamed of when design­ing the Melodic Movement Analyser. However, to pro­mote it as a the­o­ret­i­cal mod­el is the con­tin­u­a­tion of a west­ern selec­tive bias. As far as I know, no Indian music mas­ter has ever attempt­ed to describe the intri­ca­cies of raga using hand-drawn mel­o­grams, although they could. The fas­ci­na­tion with tech­nol­o­gy — and west­ern 'sci­ence' in gen­er­al — is no indi­ca­tion of its rel­e­vance to ancient Indian concepts.

Music is judged by ears. Numbers, charts and graphs are mere­ly tools for inter­pret­ing and pre­dict­ing sound phe­nom­e­na. Therefore, a the­o­ry of music should be judged by its abil­i­ty to pro­duce musi­cal sounds via pre­dic­tive model(s). This approach is called analy­sis by syn­the­sis in Daniel Hirst's book on speech prosody. (Hirst, 2022, forth­com­ing, p. 137):

Analysis by syn­the­sis involves try­ing to set up an explic­it pre­dic­tive mod­el to account for the data which we wish to describe. A mod­el, in this sense, is a sys­tem which can be used for analy­sis — that is deriv­ing a (sim­ple) abstract under­ly­ing rep­re­sen­ta­tion from the (com­pli­cat­ed) raw acoustic data. A mod­el which can do this is explic­it but it is not nec­es­sar­i­ly pre­dic­tive and empir­i­cal­ly testable. To meet these addi­tion­al cri­te­ria, the mod­el must also be reversible, that is it must be pos­si­ble to use the mod­el to syn­the­sise observ­able data from the under­ly­ing representation.

This is the rai­son d'être for the fol­low­ing investigation.

Microtonal framework

The "flex­i­ble" mod­el derived from the the­o­ret­i­cal mod­el of Natya Shastra (see The Two-vina exper­i­ment) rejects the claim of a pre­cise fre­quen­cy ratio for the har­mon­ic major third clas­si­fied in ancient lit­er­a­ture as anu­va­di (aso­nant). This amounts to admit­ting that the syn­ton­ic com­ma (pramāņa ṣru­ti in Sanskrit) could take any val­ue between 0 and 56.8 cents.

Let us look at some graph­i­cal rep­re­sen­ta­tions (from the Bol Processor) to illus­trate these points.

The basic frame­work of musi­cal scales, accord­ing to Indian musi­col­o­gy, is a set of 22 tonal posi­tions in the octave called shru­ti-s in ancient texts. Below is the frame­work dis­played by the Bol Processor (micro­ton­al scale "gra­ma") with a 81/80 syn­ton­ic com­ma. The names of the posi­tions "r1_", "r2_", etc. fol­low the con­straints of low­er case ini­tials and the addi­tion of an under­score to dis­tin­guish octave num­bers. Positions "r1" and "r2" are two ways of locat­ing komal Re ("Db" or "re bemol"), while "r3" and "r4" denote shud­dha Re ("D" or "re"), etc.

The "gra­ma" scale, which dis­plays 22 shruti-s accord­ing to the mod­el of Natya Shastra, with an 81/80 syn­ton­ic comma

These 22 shru­ti-s can be heard on the page Just into­na­tion, a gen­er­al frame­work, bear­ing in mind (see above) that this is a frame­work and not a scale. No musi­cian would ever attempt to play or sing these posi­tions as "notes"!

What hap­pens if the val­ue of the syn­ton­ic com­ma is changed? Below is the same frame­work with a com­ma of 0 cent. In this case, any "har­mon­ic posi­tion" — one whose frac­tion con­tains a mul­ti­ple of 5 — moves to its near­est Pythagorean neigh­bour (only mul­ti­ples of 3 and 2). The result is a "Pythagorean tun­ing". At the top of the cir­cle, the remain­ing gap is a Pythagorean com­ma. The posi­tions are slight­ly blurred because of the mis­match­es asso­ci­at­ed with a very small inter­val (the schis­ma).

The "gra­ma scale" of 22 shruti-s with a syn­ton­ic com­ma of 0 cent.

Below is the frame­work with a syn­ton­ic com­ma of 56.8 cents (its upper limit):

The "gra­ma scale" of 22 shruti-s with a syn­ton­ic com­ma of 56.8 cents.

In this rep­re­sen­ta­tion, "har­mon­ic major thirds" of 351 cents would most like­ly sound "out of tune" because the 5/4 ratio yields 384 cents. In fact, "g2" and "g3" are both dis­tant by a quar­ter tone between Pythagorean "g1" (32/27) and Pythagorean "g4" (81/64). Nevertheless, the inter­nal con­sis­ten­cy of this frame­work (count­ing per­fect fifths in blue) makes it suit­able for con­struct­ing musi­cal scales.

Between these lim­its of 0 and 56.8 cents, the graph­ic rep­re­sen­ta­tion of the scales and their inter­nal tonal struc­ture remain unchanged, bear­ing in mind that the size of the major-third inter­vals is deter­mined by the syn­ton­ic comma.

Construction of scale types

Manuscript of the descrip­tion of Zarlino's "nat­ur­al" scale

The mod­el tak­en from Bharata's Natya Shastra is not an obvi­ous ref­er­ence for pre­scrib­ing raga into­na­tion, as this musi­cal genre came into exis­tence a few cen­turies later.

Most of the back­ground knowl­edge required for the fol­low­ing pre­sen­ta­tion is bor­rowed from Bose (1960) and my late col­league E. James Arnold who pub­lished A Mathematical mod­el of the Shruti-Swara-Grama-Murcchana-Jati System (Journal of the Sangit Natak Akademi, New Delhi 1982). Arnold stud­ied Indian music in Banaras and Delhi in the 1970s and the ear­ly 1980s.

Bose was con­vinced (1960 p. 211) that the scale called Kaishika Madhyama was equiv­a­lent to a "just-intonation" seven-degree scale of west­ern musi­col­o­gy. In oth­er words, he took it for grant­ed that the 5/4 fre­quen­cy ratio (har­mon­ic major third) should be equiv­a­lent to the 7-shru­ti inter­val, but this state­ment had no influ­ence on the rest of his analysis.

Arnold (right) and Bel (left) demon­strat­ing shruti-s at the inter­na­tion­al East-West music con­fer­ence, Bombay 1983

Arnold (1982 p. 17) imme­di­ate­ly used inte­ger ratios to con­struct inter­vals with the fixed syn­ton­ic com­ma (81/80), but, as sug­gest­ed above, this does not affect his mod­el in terms of its struc­tur­al descrip­tion. He insist­ed on set­ting up a "geo­met­ric mod­el" rather than a spec­u­la­tive descrip­tion based on num­bers, as many authors (e.g. Alain Daniélou) had attempt­ed. The most inno­v­a­tive aspect of Arnold's study was the use of a cir­cu­lar slid­ing mod­el to illus­trate the match­ing of inter­vals in trans­po­si­tion process­es (murcchana-s) - see page The Two-vina exper­i­ment.

In real­i­ty, it would be more con­ve­nient to con­tin­ue to express all inter­vals in num­bers of shruti-s, in accor­dance with the ancient Indian the­o­ry, but a machine needs met­ric data to draw graph­ics of scales. For this rea­son, we show graphs with a syn­ton­ic com­ma of 81/80, keep­ing in mind the pos­si­bil­i­ty of chang­ing this val­ue at will.

Sa-grama and Ma-grama accord­ing to Natya Shastra. Red and green seg­ments indi­cate perfect-fifth con­so­nance. Underlined note names indi­cate 'flat' positions.

The 22-shru­ti frame­work offers the pos­si­bil­i­ty of con­struct­ing 211 = 2048 chro­mat­ic scales, of which only 12 are "opti­mal­ly con­so­nant", i.e. con­tain only one wolf fifth (small­er by 1 syn­ton­ic com­ma = 22 cents).

The build­ing blocks of the tonal sys­tem accord­ing to tra­di­tion­al Indian musi­col­o­gy are two seven-degree scales called Ma-grama and Sa-grama. Bose (1960 p. 13) writes: the Shadja Grāma devel­oped from the ancient tetra­chord in which the hymns of the Sāma Veda were chant­ed. Later on anoth­er scale, called the Madhyama Grāma, was added to the sec­u­lar musi­cal sys­tem. The two scales (Dorian modes, in west­ern ter­mi­nol­o­gy) dif­fer in the posi­tion of Pa ("G" or "sol") which may dif­fer by a syn­ton­ic com­ma (pramāņa ṣru­ti). In the Sa-grama, the inter­val Sa-Pa is a per­fect fifth (13 shru­ti-s) where­as in the Ma-grama it is a wolf fifth (12 shru­ti-s). Conversely, the inter­val Pa-Re is a per­fect fifth in Ma-grama and a wolf fifth in Sa-grama.

Bharata used the Sa-grama to expose his thought exper­i­ment (The Two vinas) aimed at deter­min­ing the sizes of shru­ti-s. He then intro­duced two addi­tion­al notes: kakali Nishada (komal Ni or "Bflat") and antara Gandhara (shud­dh Ga or "E") to obtain a nine-degree scale from which "opti­mal­ly con­so­nant" chro­mat­ic scales could be derived from modal trans­po­si­tions (mur­ccha­na). The process of con­struct­ing these 12 chro­mat­ic scales, which we named "Ma01", "Ma02"… "Sa01", "Sa20", etc., is explained on the page Just into­na­tion, a gen­er­al frame­work.

The selec­tion of notes in each chro­mat­ic scale pro­duces 5 to 7 note melod­ic types. In the Natya Shastra these melod­ic types are called jāti. These can be seen as the ances­tors of ragas, although their lin­eages and struc­tures are only spec­u­la­tive (read on). The term thāṭ (pro­nounced 'taat') — trans­lat­ed as 'mode' or 'par­ent scale' — was lat­er adopt­ed, each thāṭ being called by the name of a raga (see Wikipedia). Details of the process, ter­mi­nol­o­gy and sur­veys of sub­se­quent musi­co­log­i­cal lit­er­a­ture can be found in pub­li­ca­tions by Bose and oth­er scholars.

The con­struc­tion of the basic scale types is explained by Arnold (1982 p. 37-38). The start­ing point is the chro­mat­ic Ma-grama in its basic posi­tion — name­ly "Sa_murcchana" in the "-to.12_scales" tonal­i­ty resource file. This scale can be visu­alised, using Arnold's slid­ing mod­el, by plac­ing the S note of the inner wheel on the S of the out­er crown :

The Ma-grama chro­mat­ic scale in its basic posi­tion named "Sa_murcchana'

This yields the fol­low­ing intervals:

The Ma-grama chro­mat­ic scale in its basic posi­tion and with notes labeled in English

"Optimal con­so­nance" is illus­trat­ed by two fea­tures: (1) there is only one wolf fifth (red line) in the scale — between D and G —, and (2) each note is con­nect­ed to anoth­er note by a per­fect fifth (blue line). This con­so­nance is of para­mount impor­tance to Indian musi­cians. Consonant inter­vals are casu­al­ly placed in melod­ic phras­es to enhance the "flavour" of their notes, and there should be no wolf fifth in the scale.

Note that the Ma-grama chro­mat­ic scale has all its notes in their low­er enhar­mon­ic positions.

The Ma-grama chro­mat­ic scale has been renamed "Sa_murcchana" here, because 'S' of the mov­ing wheel is oppo­site the 'S' of the fixed crown. The note names have been con­vert­ed (with a sin­gle click) to the Indian con­ven­tion. Note that the key num­bers have also been (auto­mat­i­cal­ly) fixed to match only the labelled notes. In this way, the upper "sa" is assigned key 72 instead of 83 in the "Ma01" scale shown on the Just into­na­tion, a gen­er­al frame­work page. The tonal con­tent of this "Sa_murchana" is shown in this table:

Tonal con­tent of "Sa_murcchana" (see full image)
Scale type named "kaphi1"

Selecting only "unal­tered" notes in "Sa_murcchana" — sa, re, gak, ma, pa, dha, nik — results in the "kaphi1" scale type named after the raga Kaphi (pro­nounced 'kafi'). This can be asso­ci­at­ed with a D-mode (Dorian) in west­ern musicology.

This scale type is saved under the name "kaphi1" because there will be anoth­er ver­sion of the Kaphi scale type.

In the "Sa_murcchana" the selec­tion of notes can be done in two dif­fer­ent ways:

  • Select antara Gandhara (name­ly "ga") in place of the scale's Gandhara (name­ly "gak"), there­by rais­ing it by 2 shru­ti-s. This will result in a vikrit (mod­i­fied) scale type, name­ly "khamaj1", asso­ci­at­ed with raga Khamaj.
  • Select both antara Gandhara and kakali Nishada (name­ly "ni" in place of "nik" raised by 2 shru­ti-s) which cre­ates the "bilaval1" scale type asso­ci­at­ed with raga Bilaval.
A scale type named "bilaval3" match­ing Zarlino's "nat­ur­al" scale

This "bilaval1" scale type is one of three ver­sions of the Bilaval cre­at­ed by the mur­ccha­na process. Although it cor­re­sponds to the scale of the white keys on a key­board instru­ment, it is not the usu­al "just into­na­tion" dia­ton­ic scale, because of a wolf fifth between "sa" and "pa".

An alter­na­tive Bilaval scale type called "bilaval3" (extract­ed from the "Ni1_murcchana", see below) cor­re­sponds to Giozeffo Zarlino's "nat­ur­al" scale — see Just into­na­tion: a gen­er­al frame­work. This is not to be con­fused with Zarlino's mean­tone tem­pera­ment dis­cussed on the Microtonality page.

An incom­plete­ly con­so­nant scale type

A fourth option: rais­ing "nik" to "ni" and keep­ing "gak", would pro­duce a scale type in which "ni" has no con­so­nant rela­tion­ship with any oth­er note in the scale. This option is there­fore dis­card­ed from the model.

Each mur­ccha­na of the Ma-grama chro­mat­ic scale pro­duces at least three types of scale by select­ing unal­tered notes, antara Gandhara or both antara Gandhara and kakali Nishada.

For exam­ple, to cre­ate the "Ni1_murcchana", open the "Sa_murcchana" page and enter "nik" (i.e. N3) as the note to be placed on "sa".

Raga scale types are stored in the "-to.raga" tonal­i­ty resource file. Images are avail­able with a sin­gle click and scale struc­tures are com­pared on the main page.

The entire process is sum­ma­rized in the fol­low­ing table (Arnold 1982 p. 38):

StepMa-grama chro­mat­ic
mur­ccha­na start­ing from
Shuddha gra­maVikrit gra­ma (antara)Vikrit gra­ma
(antara + kakali)
1Sakaphi1khamaj1bilaval1
2Ma1khamaj2bilaval2kalyan1
3Ni1bilaval3kalyan2marva1
4Ga1kalyan3marva2purvi1
5Dha1marva3purvi2todi1
6Re1purvi3todi2
7Ma3todi3lalit1
bhairao1
8Ni3lalit2
bhairao2
bhairavi1
9Ga3todi4
bhairavi2
10Dha3bhairavi3asavari1
11Re3bhairavi4asavari2kaphi2
12Pa3asavari3kaphi3khamaj3
Scale types of the extend­ed grama-murcchana series (Arnold 1982)

The use of this table deserves a graph­i­cal demon­stra­tion. For exam­ple, let us cre­ate a scale type "kalyan1" based on the "Ma1_murcchana". The table says that both "antara and kakali" should be select­ed. This means "antara Gandhara" which is "ga" in place of "gak" in the Ma-grama scale, and "kakali Nishada" which is "ni" in place of "nik" in the Ma-grama scale. This process is clear in the mov­ing wheel model:

Selecting notes to cre­ate the scale type "kalyan1" from the "Ma1_murcchana" of the chro­mat­ic Ma-grama. "M1" is set to "S". Then take the stan­dard inter­vals from the Ma-grama mov­ing wheel, replac­ing G1 with G3 and N1 with N3 as shown in the table.

To make this selec­tion and export the "kalyan1" scale type, fill in the form on the "Ma1_murcchana" page as shown in the image.

Below is the result­ing scale type.

The "kalyan1" scale type

Remember that note posi­tions expressed as whole-number fre­quen­cy ratios are only a mat­ter of con­ve­nience for read­ers famil­iar with west­ern musi­col­o­gy. It would be more appro­pri­ate to fol­low the Indian con­ven­tion of count­ing inter­vals in num­bers of shruti-s. In this exam­ple, the inter­val between 'sa' and 'ma' is increased from 9 shruti-s (per­fect fourth) to 11 shruti-s (tri­tone).

Arnold's mod­el is an exten­sion of the mur­ccha­na sys­tem described in Natya Shastra because it accepts mur­ccha­na-s start­ing from notes that do not belong to the orig­i­nal (7-degree) Ma-grama, tak­en from its "chro­mat­ic ver­sion": Dha1, Re1, Ma3, Ni3, Ga3. This exten­sion is nec­es­sary to cre­ate scale types for Todi, Lalit and Bhairao that include aug­ment­ed sec­onds.

In his 1982 paper (p. 39-41) Arnold linked his clas­si­fi­ca­tion of scale types to the tra­di­tion­al list of jāti-s, the "ances­tors of ragas" described in Sangita Ratnakara of Śārṅgadeva (Shringy & Sharma, 1978). Seven jāti-s are cit­ed (p. 41), each of them being derived from a mur­ccha­na of the Ma-grama on one of its shud­dha swara-s (basic notes).

Every jāti is asso­ci­at­ed with a note of relax­ation (nyasa swara). In con­tem­po­rary ragas, the nyasa swara is often found at the end of a phrase or a set of phras­es. In Arnold's inter­pre­ta­tion, the same should define the mur­ccha­na from which the melod­ic type (jāti) is born. Since the names of the shud­dha jatis are in fact tied to their nyasa swaras, this also sug­gests that they should be tied to the mur­ccha­nas belong­ing to those nyasa swaras (Arnold 1982 p. 40).

Performance times asso­ci­at­ed with murcchana-s of the Ma-grama, accord­ing to Arnold (1985)

In oth­er pub­li­ca­tions (notably Arnold & Bel 1985), Arnold used the cycle of 12 chro­mat­ic scales to sug­gest that the enhar­mon­ic posi­tions of the notes could express states of ten­sion or release linked to the chang­ing ambi­ence of the cir­ca­di­an cycle, there­by pro­vid­ing an expla­na­tion for the per­for­mance times assigned to tra­di­tion­al ragas. Low enhar­mon­ic posi­tions would be asso­ci­at­ed with dark­ness and high­er ones with day­light. Thus, ragas con­struct­ed using the Sa mur­ccha­na of the Ma-grama chro­mat­ic scale (all low posi­tions, step 1) could be inter­pret­ed as being near mid­night, while those that mix low and high posi­tions (step 7) would car­ry the ten­sions of sun­rise and sun­set. Their sequence is a cycle because in the table above it is pos­si­ble to jump from step 12 to step 1 by low­er­ing all note posi­tions by one shru­ti. This cir­cu­lar­i­ty is implied by the process called sadja-sadharana in musi­co­log­i­cal lit­er­a­ture (Shringy & Sharma 1978).

A list of 85 ragas with per­for­mance times pre­dict­ed by the mod­el can be found in Arnold & Bel (1985). This hypoth­e­sis is indeed inter­est­ing — and it does hold for many well-known ragas — but we have nev­er found the time to under­take a sur­vey of musi­cians' state­ments about per­for­mance times which might have assessed its validity.

Practice

Given scale types stored in the "-to.raga" tonal­i­ty resource file, the Bol Processor can be used to check the valid­i­ty of scales by play­ing melodies of ragas they are sup­posed to embody. It is also inter­est­ing to use these scales in musi­cal gen­res unre­lat­ed with North Indian raga and "dis­tort" them in every con­ceiv­able direction…

Choice of a raga

Todi Ragini, Ragamala, Bundi, Rajasthan, 1591
Public domain

We will take up the chal­lenge of match­ing one of the four "todi" scales with two real per­for­mances of raga Todi.

Miyan ki todi is present­ly the most impor­tant raga of the Todi fam­i­ly and there­fore often sim­ply referred to as Todi […], or some­times Shuddh Todi. Like Miyan ki mal­har it is sup­posed to be a cre­ation of Miyan Tansen (d. 1589). This is very unlike­ly, how­ev­er, since the scale of Todi at the time of Tansen was that of mod­ern Bhairavi (S R G M P D N), and the name Miyan ki todi first appears in 19th cen­tu­ry lit­er­a­ture on music.

Joep Bor (1999)

This choice is chal­leng­ing for a num­ber of rea­sons. Firstly, the four vari­ants of "todi" scales are derived from a (ques­tion­able) exten­sion of the grama-murcchana sys­tem. Then, the notes "ni" and "rek", "ma#" and "dhak" are close to the ton­ic "sa" and the dom­i­nant "pa" and could be "attract­ed" by the ton­ic and dom­i­nant, thus dis­rupt­ing the "geom­e­try" of the the­o­ret­i­cal scales in the pres­ence of a drone.

Finally, and most impor­tant­ly, the performer's style and per­son­al choic­es are expect­ed to be at odds with this the­o­ret­i­cal mod­el. As sug­gest­ed by Rao and van der Meer (2010, p. 693):

[…] it has been observed that musi­cians have their own views on into­na­tion, which are hand­ed down with­in the tra­di­tion. Most of them are not con­scious­ly aware of aca­d­e­m­ic tra­di­tions and hence are not in a posi­tion to express their ideas in terms of the­o­ret­i­cal for­mu­la­tions. However, their ideas are implic­it in musi­cal prac­tice as musi­cians visu­al­ize tones, per­haps not as fixed points to be ren­dered accu­rate­ly every time, but rather as tonal regions or pitch move­ments defined by the gram­mar of a spe­cif­ic raga and its melod­ic con­text. They also attach para­mount impor­tance to cer­tain raga-specific notes with­in phras­es to be intoned in a char­ac­ter­is­tic way.

We had already tak­en up the Todi chal­lenge with an analy­sis of eight occur­rences using the Melodic Movement Analyser (Bel 1988b). The analyser had pro­duced streams of accu­rate pitch mea­sure­ments which, after being fil­tered as selec­tive tona­grams, were sub­ject­ed to sta­tis­ti­cal analy­sis (Bel 1984; Bel & Bor 1984). The events includ­ed 6 per­for­mances of raga Todi and 2 exper­i­ments in tun­ing the Shruti Harmonium.

The four "best" tun­ing schemes for raga Todi (Bel 1988b p. 16)
The sec­ond col­umn is the stan­dard devi­a­tion on inter­vals, and the third col­umn is the stan­dard devi­a­tion on posi­tions rel­a­tive to the tonic

The MMA analy­sis revealed a rel­a­tive­ly high con­sis­ten­cy of note posi­tions, with stan­dard devi­a­tions bet­ter than 6 cents for all notes except "ma#", for which the devi­a­tion rose to 10 cents, still an excel­lent sta­bil­i­ty. Comparison of these results with the 'flex­i­ble' grama-murcchana mod­el showed less than 4 cent stan­dard devi­a­tion of inter­vals for 4 dif­fer­ent scales in which the syn­ton­ic com­ma (pramāņa ṣru­ti) would be set at 6, 18, 5 and 5 cents respec­tive­ly. In dis­cussing tun­ing schemes, Wim van der Meer even sug­gest­ed that musi­cians could "solve the prob­lem" of a "ni-ma#" wolf fifth by tem­per­ing fifths over the "ni-ma#-rek-dhak" cycle (Bel 1988b p. 17).

Our con­clu­sion was that no par­tic­u­lar "tun­ing scheme" could be tak­en for grant­ed on the basis of "raw" data. It would be more real­is­tic to study a par­tic­u­lar per­for­mance by a par­tic­u­lar musician.

Choice of a musician

Kishori Amonkar per­form­ing raga Lalit
Credit সায়ন্তন ভট্টাচার্য্য - Own work, CC BY-SA 4.0

Working with the Shruti Harmonium nat­u­ral­ly led us to meet Kishori Amonkar (1932-2017) in 1981. She was a lead­ing expo­nent of Hindustani music, hav­ing devel­oped a per­son­al style that claimed to tran­scend clas­si­cal schools (gha­ranas).

Most inter­est­ing­ly, she per­formed accom­pa­nied by a swara man­dal (see pic­ture), a zither that she tuned for each raga. Unfortunately we were not equipped to mea­sure these tun­ings with suf­fi­cient accu­ra­cy. So we used the Shruti Harmonium to pro­gramme the inter­vals accord­ing to her instructions.

This exper­i­ment did not go well for two rea­sons. A tech­ni­cal one: on that day, a fre­quen­cy divider (LSI cir­cuit) on the har­mo­ni­um was defec­tive; until it was replaced, some pro­grammed inter­vals were inac­ces­si­ble. A musi­cal one: the exper­i­ment showed that this pre­cise har­mo­ni­um was not suit­able for tun­ing exper­i­ments with Indian musi­cians. The fre­quen­cy ratios had to be entered on a small key­board, a use too far removed from the prac­tice of string tun­ing. This was a major incen­tive to design and build our "micro­scope for Indian music", the Melodic Movement Analyser (MMA) (Bel & Bor 1984).

In the fol­low­ing years (1981-1984) MMA exper­i­ments took up all our time and revealed the vari­abil­i­ty (but not the ran­dom­ness) of raga into­na­tion. For this rea­son we could not return to tun­ing exper­i­ments. Today, a sim­i­lar approach would be much eas­i­er with the help of the Bol Processor BP3… if only the expert musi­cians of that time were still alive!

Choice of a scale type

We need to decide between the four "todi" scale types pro­duced by the mur­ccha­na-s of the Ma-grama chro­mat­ic scale. For this we can use the mea­sure­ments of the Melodic Movement Analyser (Bel 1988b p. 15). Let us take aver­age mea­sure­ments and those of a per­for­mance by Kishori Amonkar. These are note posi­tions (in cents) against the ton­ic "sa".

NoteAverageStandard devi­a­tionKishori Amonkar
rek95496
gak2944288
ma#60610594
pa7021702
dhak7923792
(dhak)8063810
ni110761110
The "dhak" between brack­ets is a mea­sure­ment in the low octave

For the moment we will ignore "dhak" in the low­er octave as it will be dealt with sep­a­rate­ly. Let us com­pare Kishori Amonkar's results with the four scale types:

NoteKishori Amonkartodi1todi2todi3todi4
rek96898989112
gak288294294294294
ma#594590590610610
pa702702702700702
dhak792792792792814
ni11101088110911091109
Scale type "todi2", the best match to a per­for­mance of Kishori Amonkar

There are sev­er­al ways of find­ing the best match for musi­cal scales: either by com­par­ing scale inter­vals or by com­par­ing note posi­tions in rela­tion to the base note (ton­ic). Because of the impor­tance of the drone, we will use the sec­ond method. The choice is sim­ple here. Version "todi1" can be dis­card­ed because of "ni", the same with "todi3" and "todi4" because of "ma#". We are left with "todi2" which has a very good match, even with the mea­sure­ments of per­for­mances by oth­er musicians.

Adjustment of the scale

The largest devi­a­tions are on "rek" which was sung 7 cents high­er than the pre­dict­ed val­ue and "gak" which was sung 6 cents low­er. Even a 10-cent devi­a­tion is prac­ti­cal­ly impos­si­ble to mea­sure on a sin­gle note sung by a human, includ­ing a high-profile singer like Kishori Amonkar; the best res­o­lu­tion used in speech prosody is greater than 12 cents.

Any "mea­sure­ment" of the MMA is an aver­age of val­ues along the rare sta­ble melod­ic steps. It may not be rep­re­sen­ta­tive of the "real" note due to its depen­dence on note treat­ment: if the note's approach is in a range on the lower/higher side, the aver­age will be lower/higher than the tar­get pitch.

Therefore, it would be accept­able to declare that the scale type "todi2" cor­re­sponds to the per­for­mance. However, let us show how the mod­el can be mod­i­fied to reflect the mea­sure­ments more accurately.

First we dupli­cate "todi2" to cre­ate "todi-ka" (see pic­ture). Note posi­tions are iden­ti­cal in both versions.

Looking at the pic­ture of the scale (or the num­bers on its table), we can see that all the note posi­tions except "ma#" are Pythagorean. The series to which a note belongs is indi­cat­ed by the colour of its point­er: blue for Pythagorean and green for harmonic.

Modified "todi2" scale match­es the mea­sured "ma#"

This means that chang­ing the size of the syn­ton­ic com­ma — in strict accor­dance with the grama-murcchana mod­el — will only adjust "ma#". To change the posi­tion of "ma#" from 590 to 594 cents (admit­ted­ly a ridicu­lous adjust­ment) we need to reduce the size of the syn­ton­ic com­ma by the same amount. This can be done at the bot­tom right of the "todi-ka" page, chang­ing the syn­ton­ic com­ma to 17.5 cents, a change con­firmed by the new image.

A table on the "todi-ka" page shows that the "rek-ma#" inter­val is still con­sid­ered a "per­fect" fifth, even though it is small­er by 6 cents.

It may not be obvi­ous whether the syn­ton­ic com­ma needs to be increased or decreased to fix the posi­tion of "ma#", but it is easy to try the oth­er way in case the direc­tion was wrong.

Final ver­sion of "todi2" adjust­ed to Kishori Amonkar's per­for­mance in the medi­um octave (4)

Other adjust­ments devi­ate from the "pure" mod­el. These result in chang­ing fre­quen­cy ratios in the table on the "todi-ka" page. An increase in "rek" from 89 to 96 cents requires an increase of 7 cents, cor­re­spond­ing to a ratio of 2(7/1200) = 1.00405. This changes the posi­tion of "rek" from 1.053 to 1.057.

In the same way, a reduc­tion in "gak" from 294 to 288 cents requires a reduc­tion of 6 cents, giv­ing a ratio of 2(-6/1200) = 0.9965. This brings the posi­tion of "gak" from 1.185 to 1.181.

Fortunately, these cal­cu­la­tions are done by the machine: use the "MODIFY NOTE" but­ton on the scale page.

The pic­ture shows that the infor­ma­tion of "rek" and "gak" belong­ing to Pythagorean series (blue line) is pre­served. The rea­son for this is that when­ev­er a fre­quen­cy ratio is mod­i­fied by its floating-point val­ue, the machine checks whether the new val­ue is close to an inte­ger ratio of the same series. For exam­ple, chang­ing "rek" back to 1.053 would restore its ratio to 256/243. Accuracy bet­ter than 1‰ is required for this adjustment.

A tun­ing scheme for this scale type is sug­gest­ed by the machine. The graph­i­cal rep­re­sen­ta­tion shows that "ni" is not con­so­nant with "ma#" as their inter­val is 684 cents, close to a wolf fifth of 680 cents. Other notes are arranged on two cycles of per­fect fifths. Interestingly, rais­ing "rek" by 7 cents brought the "rek-ma#" fifth back to its per­fect size (702 cents).

Again, these are mean­ing­less adjust­ments for a vocal per­for­mance. We are just show­ing what to do when necessary.

The "todi2" scale type with "dhak" adjust­ed for the low octave (3)

The remain­ing adjust­ment will be that of the "dhak" in the low­er octave. To do this, we will dupli­cate the pre­vi­ous scale, renam­ing it "todi_ka_4" to indi­cate that it is designed for the 4th octave. In the new scale, called "todi_ka_3", we raise "dhak3" by 810 -792 = 18 cents.

This rais­es its posi­tion from 1.58 to 1.597. Note that this puts it exact­ly in a posi­tion in the har­mon­ic series since the syn­ton­ic com­ma is 17.5 cents.

In addi­tion, "dhak-sa" is now a har­mon­ic major third — with a size of 390 cents to match the 17.5 cents com­ma. This is cer­tain­ly sig­nif­i­cant in the melod­ic con­text of this raga, which is one rea­son why all the musi­cians made the same size adjust­ment in their tun­ing experiments.

This case is a sim­ple illus­tra­tion of raga into­na­tion as a trade-off between har­monic­i­ty with respect to the drone and the need for con­so­nant melod­ic inter­vals. It also shows that the Shruti Harmonium could not fol­low the prac­tice of the musi­cians because its scale ratios were repli­cat­ed in all octaves.

Choice of a recording

We don't have the record­ing on which the MMA analy­sis was made. One prob­lem with old tape record­ings is the unre­li­a­bil­i­ty of the speed of tape trans­port. Also, on a long record­ing, the fre­quen­cy of the ton­ic can change slight­ly due to vari­a­tions in room tem­per­a­ture, which affects the instru­ments — includ­ing the dila­tion of the tape…

In order to try to com­pare scales a with real per­for­mances, and to exam­ine extreme­ly small "devi­a­tions" (which have lit­tle musi­cal sig­nif­i­cance, in any case), it is there­fore safer to work with dig­i­tal record­ings. This was the case with Kishori Amonkar's Todi, record­ed in London in ear­ly 2000 for the Passage to India col­lec­tion, and avail­able free of copy­right (link on Youtube). The fol­low­ing is based on this recording.

Setting up the diapason

Let us cre­ate the fol­low­ing "-gr.tryRagas" gram­mar:

-se.tryRagas
-to.raga

S --> _scale(todi_ka_4,0) sa4

Adjusting note con­ven­tion in "-se.tryRagas"

In "-se.tryRagas" the note con­ven­tion should be set to "Indian" so that "sa4" etc. is accept­ed even when no scale is specified.

The gram­mar calls "-to.raga", which con­tains the def­i­n­i­tions of all the scale types cre­at­ed by the pro­ce­dure described above. Unsurprisingly, it does not play the note "sa" at the fre­quen­cy of the record­ing. We there­fore need to mea­sure the ton­ic in order to adjust the fre­quen­cy of "A4" (dia­pa­son) in "-se.tryRagas" accord­ing­ly. There are sev­er­al ways to do this with increas­ing accuracy.

A semi­tone approx­i­ma­tion can be obtained by com­par­ing the record­ing with notes played on a piano or any elec­tron­ic instru­ment tuned with A4 = 440 Hz. Once we have found the key that is clos­est to "sa" we cal­cu­late its fre­quen­cy ratio to A4. If the key is F#4, which is 3 semi­tones low­er than A4, the ratio is r = 2(-3/12) = 0.840. To get this fre­quen­cy on "sa4" we would there­fore have to adjust the fre­quen­cy of the dia­pa­son (in "-se.tryRagas") to:

440 x r x 2(9/12) = 440 x 2((9-3)/12) = 311 Hz

A much bet­ter approx­i­ma­tion is obtained by extract­ing a short occur­rence of "sa4" at the very begin­ning of the performance:

A short occur­rence of "sa4" in the begin­ning of Kishori Amonkar's raga Todi

Then select a seem­ing­ly sta­ble seg­ment and extend the time scale to get a vis­i­ble signal:

Expansion of a very brief "sta­ble" occur­rence of "sa4"

This sam­ple con­tains 9 cycles for a dura­tion of 38.5 ms. The fun­da­men­tal fre­quen­cy is there­fore 9 x 1000 / 38.5 = 233.7 Hz. Consequently, adjust the dia­pa­son in "-se.tryRagas" to 233.7 x 2(9/12) = 393 Hz.

The last step is a fine tun­ing by com­par­ing the pro­duc­tion of the notes in the gram­mar by ear with the record­ing of "sa4" played in a loop. To do this, we pro­duce the fol­low­ing sequence:

S --> _pitchrange(500) _tempo(0.2) Scale _pitchbend(-15) sa4 _pitchbend(-10) sa4 _pitchbend(-5) sa4 _pitchbend(-0) sa4 _pitchbend(+5) sa4 _pitchbend(+10) sa4 _pitchbend(+15) sa4 _pitchbend(+20) sa4

These are eight occur­rences of "sa4" played at slight­ly increas­ing pitch­es adjust­ed by the pitch­bend. First make sure that the pitch­bend is mea­sured in cents: this is spec­i­fied in the instru­ment "Vina" called by "-.raga" and the Csound orches­tra file "new-vina.orc".

Listening to the sequence may not reveal any pitch dif­fer­ences, but these will be appar­ent to a trained ear when super­im­posed on the recording:

Recording on "sa4" over­laid with a sequence of "sa4" at slight­ly ris­ing pitch­es. Which is in tune?
➡ This is a stereo record­ing. Use head­phones to hear the song and the sequence of plucked notes on sep­a­rate channels

One of the four occur­rences sounds best in tune. Let us assume that the best match is on _pitchbend(+10). This means that the dia­pa­son should be raised by 10 cents. Its new fre­quen­cy would there­fore be 393 x 2(10/1200) = 395.27 Hz.

In fact the best fre­quen­cy is 393.22 Hz, which means that the sec­ond eval­u­a­tion (which gave 393 Hz) was fair — and the singers' voic­es very reli­able! Now we can check the fre­quen­cy of "sa4" on the Csound score:

; Csound score
f1 0 256 10 1 ; This table may be changed
t 0.000 60.000
i1 0.000 5.000 233.814 90.000 90.000 0.000 -15.000 -15.000 0.000 ; sa4
i1 5.000 5.000 233.814 90.000 90.000 0.000 -10.000 -10.000 0.000 ; sa4
i1 10.000 5.000 233.814 90.000 90.000 0.000 -5.000 -5.000 0.000 ; sa4
i1 15.000 5.000 233.814 90.000 90.000 0.000 0.000 0.000 0.000 ; sa4
i1 20.000 5.000 233.814 90.000 90.000 0.000 5.000 5.000 0.000 ; sa4
i1 25.000 5.000 233.814 90.000 90.000 0.000 10.000 10.000 0.000 ; sa4
i1 30.000 5.000 233.814 90.000 90.000 0.000 15.000 15.000 0.000 ; sa4
i1 35.000 5.000 233.814 90.000 90.000 0.000 20.000 20.000 0.000 ; sa4
s

These meth­ods could actu­al­ly be sum­marised by the third: use the gram­mar to pro­duce a sequence of notes in a wide range to deter­mine an approx­i­mate pitch of "sa4" until the small range for the pitch­bend (± 200 cents) is reached. Then play sequences with pitch­bend val­ues in increas­ing accu­ra­cy until no dis­crim­i­na­tion is possible.

In a real exer­cise it would be safe to check the mea­sure­ment of "sa4" against occur­rences in sev­er­al parts of the recording.

This approach is too demand­ing in terms of accu­ra­cy for the analy­sis of a vocal per­for­mance, but it will be notice­able when work­ing with a long-stringed instru­ment such as the rudra veena. We will demon­strate this with Asad Ali Kan's per­for­mance.

Matching phrases of the performance

We are now ready to check whether note sequences pro­duced by the mod­el would match sim­i­lar sequences in the recording.

👉  The fol­low­ing demo uses the BP3's inter­face to Csound, which until recent­ly was the only way to cre­ate micro­ton­al inter­vals. The same can now be done using MIDI micro­tonal­i­ty, both in real time and with MIDI files. It is pos­si­ble to cap­ture MIDI mes­sages from a key­board and send them to a MIDI device with cor­rec­tions made by a micro­ton­al scale. In this way, there is no need for the cre­ation of gram­mars for these tests.

First we try a sequence with the empha­sis on "rek". The fol­low­ing sequence of notes is pro­duced by the grammar:

S --> KishoriAmonkar1
KishoriAmonkar1 --> Scale _ {2, dhak3 sa4 ni3 sa4} {7, rek4} _ {2, dhak3 sa4 ni3 dhak3} {2, dhak3 _ ni3 sa4} {5, rek4}
Scale --> _scale(todi_ka_3,0)

Below is the phrase sung by the musi­cians (posi­tion 0'50") then repeat­ed in super­posed form with the sequence pro­duced by the grammar:

A phrase with empha­sis on "rek" sung by Kishori Amonkar, then repro­duced in super­posed form with the sequence of notes pro­duced by the gram­mar using scale "todi_ka_3"
➡ This is a stereo record­ing. Use head­phones to hear the song and sequence of plucked notes on sep­a­rate channels

In this exam­ple, the scale "todi_ka_3" has been used because of the occur­rence of short instances of "dhak3". The posi­tion of "rek" is iden­ti­cal in the 3d and 4th octaves. The blend­ing of the voice with the plucked instru­ment is notable in the last held note.

In the next sequence (loca­tion 1'36") the posi­tion of "gak4" is esti­mat­ed. The gram­mar is as follows:

S --> KishoriAmonkar2
KishoriAmonkar2 --> Scale {137/100, sa4 rek4 gak4 rek4} {31/10, rek4} {18/10, gak4} {75/100,rek4} {44/10, sa4}
Scale --> _scale(todi_ka_4,0)

A phrase tar­get­ing "gak" repeat­ed in super­im­po­si­tion with the sequence of notes pro­duced by the gram­mar using the scale "todi_ka_4"

This time, the scale "todi_ka_4" was cho­sen, even though it had no effect on the into­na­tion since "dhak" is missing.

A word about build­ing the gram­mar: we looked at the sig­nal of the record­ed phrase and mea­sured the (approx­i­mate) dura­tion of the notes: 1.37s, 3.1s, 1.8s, 7.5s, 4.4s. We then con­vert­ed these dura­tions into inte­ger ratios — frac­tions of the basic tem­po whose peri­od is exact­ly 1 sec­ond, as spec­i­fied in "-se.tryRagas": 137/100, 31/10 etc.

Signal of the pre­vi­ous record­ed phrase

Below is a pianoroll of the sequence pro­duced by the grammar:

Pianoroll of the note sequence pro­duced by the grammar

No we try a phrase with a long pause on "dhak3" (loca­tion 3'34"), which proves that the scale "todi_ka_3" per­fect­ly match­es this occur­rence of "dhak":

S --> KishoriAmonkar3
KishoriAmonkar3 --> scale(todi_ka_3,0) 11/10 {19/20, ma#3 pa3} {66/10,dhak3} {24/10, ni3 dhak3 pa3 }{27/10,dhak3} 12/10 {48/100,dhak3}{17/10,ni3}{49/10,dhak3}

A phrase rest­ing on "dhak3" repeat­ed in super­po­si­tion with the sequence of notes pro­duced by the gram­mar using the scale "todi_ka_3"
Pianoroll of the note sequence pro­duced by the gram­mar with a rest on "dhak3"

Early occur­rence of "ma#4" (loca­tion 11'38"):

S --> KishoriAmonkar4
KishoriAmonkar4 --> _scale(todi_ka_4,0) 4/10 {17/10, ni3}{26/100,sa4}{75/100,rek4}{22/100,gak4}{17/10,ma#4}{16/100,gak4}{34/100,rek4}{56/100,sa4}{12/100,rek4}{84/100,gak4}{27/100,rek4}{12/10,sa4}

Early occur­rence of "ma#4"

Reaching "dhak4" (loca­tion 19'46"):

S --> KishoriAmonkar5
KishoriAmonkar5 --> _scale(todi_ka_4,0) 13/10 {16/10,ma#4}{13/10,gak4}{41/100,ma#4}{72/100,ma#4 dhak4 ma#4 gak4 ma#4}{18/10,dhak4}{63/100,sa4}{90/100,rek4}{30/100,gak4}{60/100,rek4}{25/100,sa4}{3/2,rek4}

Hitting "dhak4"…

With a light touch of "pa4" (loca­tion 23'11"):

S --> KishoriAmonkar6
KishoriAmonkar6 --> _scale(todi_ka_4,0) 28/100 {29/100,ma#4}{40/100,dhak4}{63/100,ni4 sa5 ni4}{122/100,dhak4}{64/100,pa4}{83/100,ma#4}{44/100,pa4}{79/100,dhak4}

A light touch of "pa"

Pitch accu­ra­cy is no sur­prise in Kishori Amonkar's per­for­mances. With a keen aware­ness of "shru­ti-s", she would sit on the stage and pluck her swara man­dal, care­ful­ly tuned for each raga.

A test with the rudra veena

Asad Ali Khan play­ing the rudra veena

Asad Ali Khan (1937-2011) was one of the last per­form­ers of the rudra veena at the end of the 20th cen­tu­ry and a very sup­port­ive par­tic­i­pant in our sci­en­tif­ic research on raga intonation.

An out­stand­ing pre­sen­ta­tion of Asad Ali Khan and his idea of music is avail­able in a film by Renuka George.

Pitch accu­ra­cy on this instru­ment is such that we have been able to iden­ti­fy tiny vari­a­tions that are con­trolled and sig­nif­i­cant in the con­text of the raga. Read for exam­ple Playing with Intonation (Arnold 1985). To mea­sure vibra­tions below the audi­ble range, we occa­sion­al­ly placed a mag­net­ic pick­up near the last string.

Below are the sta­tis­tics of the Melodic Movement Analyser mea­sure­ments of the raga Miyan ki Todi inter­pret­ed by Asad Ali Khan in 1981. The sec­ond col­umn con­tains mea­sure­ments of his tun­ing of the Shruti Harmonium dur­ing an exper­i­ment. The columns on the right show the pre­dict­ed note posi­tions accord­ing to the grama-murchana mod­el with a syn­ton­ic com­ma of ratio 81/80. As shown in Kishori Amonkar's per­for­mance above, "dhak" can take dif­fer­ent val­ues depend­ing on the octave.

NoteAsad Ali Khan
per­form­ing
Asad Ali Khan
tun­ing
todi1todi2todi3todi4
rek99100898989112
gak290294294294294294
ma#593606590590610610
pa702702702702700702
dhak3795794792792792814
dhak2802
ni110511081088110911091109

Again, the best match would be the "todi2" scale with a syn­ton­ic com­ma of 17.5 cents. We cre­at­ed two scales, "todi_aak_2" and "todi_aak_3" for the 2nd and 3rd octaves.

Adjustments of the "todi2" scale for Asad Ali Kan's per­for­mance on the rudra veena. Low octave on the left and mid­dle octave on the right.

The scale con­struct­ed dur­ing the Shruti Harmonium exper­i­ment is less rel­e­vant because of the influ­ence of the exper­i­menter play­ing the scale inter­vals with a low-attracting drone (pro­duced by the machine). In his attempt to resolve the dis­so­nance in the scale — which always con­tained a wolf fifth and sev­er­al Pythagorean major thirds — Khan saheb end­ed up with a tun­ing iden­ti­cal to the ini­tial one, but one com­ma low­er. This was not a musi­cal­ly sig­nif­i­cant situation!

Tuning scheme for "todi_aak_2"

The scale "todi_aak_2" (in the low octave) con­tains inter­est­ing inter­vals (har­mon­ic major thirds) which allows us to antic­i­pate effec­tive melod­ic move­ments. The tun­ing scheme sum­maris­es these relationships.

We now take frag­ments of Asad Ali Khan's per­for­mance of Todi (2005) avail­able on Youtube (fol­low this link).

The per­for­mance begins in the low­er octave, so with the scale "todi_aak_2". The fre­quen­cy of Sa was mea­sured at 564.5 Hz using the method described above.

Let us start with a sim­ple melod­ic phrase repeat­ed twice, the sec­ond time super­im­posed on the note sequence pro­duced by the grammar.

A phrase from the raga Todi by Asad Ali Khan repeat­ed twice, the sec­ond time super­im­posed on the sequence of notes pro­duced by the gram­mar.
➡ This is a stereo record­ing. Use head­phones to hear the song and the sequence of plucked notes on sep­a­rate channels

S --> AsadAliKhan1
AsadAliKhan1 --> _scale(todi_aak_2,0) 45/100 {69/10,sa3} {256/100,dhak2} {78/10,dhak2} {12/10,sa3 ni2 rek3&} {48/10,&rek3} {98/100,sa3 ni2 sa3&} {27/10,&sa3}

This gram­mar con­tains an unusu­al char­ac­ter '&', which is used to con­cate­nate sound objects (or notes) across the bound­aries of poly­met­ric expres­sions (between curly brack­ets). This makes it pos­si­ble to play the final "rek3" and "sa3" as con­tin­u­ous notes. This con­ti­nu­ity can be seen in the graph below:

The end of the phrase, show­ing "rek3" and "sa3" as con­tin­u­ous notes

It is time to make sure that fine tun­ing and adjust­ing scales are more than just an intel­lec­tu­al exer­cise… After all, the main dif­fer­ence between scales "todi_aak_2" and "todi_aak_3" is that "dhak" is 7 cents high­er in "todi_aak_2", which means a third of a com­ma! To check the effect of the fine-tuning, lis­ten to the over­lay twice, once with "todi_aak_3" and the sec­ond time with "todi_aak_2":

The same "dhak2" with a note made with "todi_aak_3" and the sec­ond time with "todi_aak_2"

To check the dif­fer­ence between these two ver­sions of "dhak2", we can play them one after the oth­er and then super­im­pose them:

S --> _tempo(1/2) _scale(todi_aak_3,0) dhak2 _scale(todi_aak_2,0) dhak2 {_scale(todi_aak_3,0) dhak2, _scale(todi_aak_2,0) dhak2}

The two ver­sions of "dhak2" in sequence then superimposed

With fun­da­men­tal fre­quen­cies of 132.837 Hz and 133.341 Hz, the beat fre­quen­cy (of the sine waves) would be 133.341 - 132.837 = 0.5 Hz. The per­ceived beat fre­quen­cy is high­er because of the inter­fer­ence between the high­er par­tials. This sug­gests that a dif­fer­ence of 7 cents is not irrel­e­vant in the con­text of notes played by a long-stringed instru­ment (Arnold 1985).

More in the low­er octave:

S --> AsadAliKhan2
AsadAliKhan2 --> scale(todi_aak_2,0) _volume(64) _pitchrange(500) _pitchcont 93/100 {81/10,pa2}{38/10,pa2 gak2 pa2 dhak2 pa2 }{19/10,gak2}{43/10, _pitchbend(0) rek2 _pitchbend(-100) rek2&} _volumecont _volume(64) {2, _pitchbend(-100) &rek2} _volume(0) _volume(64) {23/10,ni2__ dhak2}{103/100,sa3&}{4,&sa3} 15/10 _volume(64) {38/10,sa3} _volume(0)

As "sa2" is out­side the range of the Csound instru­ment "Vina", it is played here as "rek2" with a pitch­bend cor­rec­tion of one semitone.

Low octave phrase repeat­ed with attempt­ed super­im­po­si­tion of a note sequence

The ren­der­ing of phras­es in the low­er octave is very approx­i­mate because of the pre­dom­i­nance of meend (pulling the string). Some effects can be bet­ter imi­tat­ed using per­for­mance con­trols — see Sarasvati Vina, for exam­ple — but this requires a mas­tery of the real instru­ment in order to design pat­terns of musi­cal "ges­tures" rather than sequences of sound events… Imitating the melod­ic intri­ca­cy of a raga is not the sub­ject of this page; we are mere­ly check­ing the rel­e­vance of scale mod­els to the "tonal skele­ton" of ragas.

Accidental notes

Raga scales extract­ed from mur­chana-s of the Ma-grama chro­mat­ic scale (see above) con­tain only notes that are pre­sumed to belong to the raga. They can­not accom­mo­date acci­den­tal notes or the scales used in the com­mon prac­tice of mix­ing ragas.

Let us take, for exam­ple, a frag­ment of the pre­vi­ous exam­ple, which was poor­ly rep­re­sent­ed by the sequence of notes pro­duced by the gram­mar. (We learn from our mis­takes!) We might be tempt­ed to replace the expres­sion {38/10, pa2 gak2 pa2 dhak2 _ pa2 _} with {38/10, pa2 ga2 pa2 dhak2 _ pa2 _}, using "ga2" which does not belong to the scale "todi_aak_2". Unfortunately, this results in an error message:

ERROR Pitch class ‘4’ does not exist in _scale(todi_aak_2). No Csound score produced.

This amounts to say­ing that scale "todi2" con­tains no map­ping of key #64 to "ga" — nor key # 65 to "ma", see figure.

To solve this prob­lem we can recall that the scale "todi2" was extract­ed from "Re1_murcchana". The lat­ter con­tains all the notes of a chro­mat­ic scale in addi­tion to those extract­ed. Therefore it is suf­fi­cient to replace "_scale(todi_aak_2,0)" with "_scale(Re1_murcchana,0)" in this section:

_scale(Re1_murcchana,0) {38/10, pa2 ga2 pa2 dhak2 _ pa2 _} _scale(todi_aak_2,0) etc.

The scale edi­tor takes care of assign­ing a key num­ber to each note based on the chro­mat­ic scale if a stan­dard English, Italian/French or Indian note con­ven­tion is used. In oth­er cas­es this map­ping should be done by hand. Designers of micro­ton­al scales should be aware of key map­pings when using cus­tom names for "notes".

Another prob­lem is that in "todi_aak_2" note "dhak" has been raised from 792 to 810 cents, which is not its val­ue in "Re1_murcchana". This can be fixed by cre­at­ing anoth­er vari­ant of the scale with this cor­rec­tion, or sim­ply using the pitch­bend to mod­i­fy "dhak2" — in which case the same pitch­bend could have been used to raise "gak2" in the first place.

Finally, the best way to avoid this prob­lem would be to use the source chro­mat­ic scale "Re1_murcchana", a mur­ccha­na of Ma-grama, to con­struct raga scales even though some notes will nev­er be used.

To conclude…

This whole dis­cus­sion has been tech­ni­cal. There is no musi­cal rel­e­vance in try­ing to asso­ciate plucked notes with very sub­tly orna­ment­ed melod­ic move­ments. The last excerpt (2 rep­e­ti­tions) will prove — if it is need­ed at all — that the into­na­tion of Indian ragas is much more than a sequence of notes in a scale, what­ev­er its accuracy:

S --> AsadAliKhan3
AsadAliKhan3 --> scale(todi_aak_3,0) 94/100 {26/10,sa3}{23/10,sa3 rek3 gak3}{195/100,ma#3}{111/100,rek3}{24/10,rek3 sa3}{33/10,sa3 sa3}{71/100,rek3}{76/100,gak3}{71/100,dhak3 ma#3}{176/100,dhak3}{75/100,sa4}{27/10,dhak3__ sa4}{620/100,sa4 dhak3 ma#3 dhak3 ma#3 gak3 _ ma#3 dhak3 dhak3&}{266/100,&dhak3}{672/100,pa3____ pa3_ pa3 pa3 pa3__}{210/100,pa3 ma#3 pa3 dhak3}{222/100,dhak3}{163/100,gak3 ma#3}{426/100,gak3_ rek3____}{346/100,sa3}

This melod­ic phrase is repeat­ed 2 times to check its super­po­si­tion with the sequence of notes pro­duced by the gram­mar
➡ This is a stereo record­ing. Use head­phones to hear the song and the sequence of plucked notes on sep­a­rate channels

Listen to Asad Ali Khan's actu­al per­for­mance of raga Todi to appre­ci­ate its expres­sive power!

For a more con­vinc­ing demo, instead of Csound, I rec­om­mend using MIDI micro­tonal­i­ty in real time to cap­ture notes played on a key­board and send them to a MIDI device with cor­rec­tions made by the micro­ton­al scale.

Attempting to fol­low the intri­ca­cies of alankara (note treat­ment) with a sim­plis­tic nota­tion of melod­ic phras­es demon­strates the dis­con­nec­tion between 'model-based' exper­i­men­tal musi­col­o­gy and the real­i­ty of musi­cal prac­tice. This explains why we have relied on descrip­tive mod­els (e.g. auto­mat­ic nota­tion) cap­tured by the Melodic Movement Analyser or com­put­er tools such as Praat, rather than attempt­ing to recon­struct melod­ic phras­es from the­o­ret­i­cal mod­els. Experiments with scales deal with the "skele­tal" nature of into­na­tion, which is a nec­es­sary but not suf­fi­cient para­me­ter for describ­ing melod­ic types.

All exam­ples shown on this page are avail­able in the bp3-ctests-main.zip sam­ple set shared on GitHub. Follow the instruc­tions on Bol Processor ‘BP3’ and its PHP inter­face to install BP3 and learn its basic operation.

Bernard Bel — Dec. 2020


References

Arnold, E.J.; Bel, B. L’intonation juste dans la théorie anci­enne de l’Inde : ses appli­ca­tions aux musiques modale et har­monique. Revue de musi­colo­gie, JSTOR, 1985, 71e (1-2), p.11-38.

Arnold, E.J. A Mathematical mod­el of the Shruti-Swara-Grama-Murcchana-Jati System. Journal of the Sangit Natak Akademi, New Delhi 1982.

Arnold, E.J.; Bel, B. A Scientific Study of North Indian Music. NCPA Quarterly Journal, vol. XII Nos. 2 3, Bombay 1983.

Arnold, W.J. Playing with Intonation. ISTAR Newsletter Nr. 3-4, June 1985 p. 60-62.

Bel, B. Musical Acoustics: Beyond Levy's "Intonation of Indian Music". ISTAR Newsletter Nr 2, April 1984.

Bel, B. A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra. Note interne, Groupe Représentation et Traitement des Connaissances (CNRS), March 1988a.

Bel, B. Raga : approches con­ceptuelles et expéri­men­tales. Actes du col­loque "Structures Musicales et Assistance Informatique", Marseille 1988b.

Bel, B.; Bor, J. Intonation of North Indian Classical Music: work­ing with the MMA. National Center for the Performing Arts. Video on Dailymotion, Mumbai 1984.

Bharata. Natya Shastra. There is no cur­rent­ly avail­able English trans­la­tion of the first six chap­ters of Bharata’s Natya Shastra. However, most of the infor­ma­tion required for this inter­pre­ta­tion has been repro­duced and com­ment­ed by Śārṅgadeva in his Sangita Ratnakara (13th cen­tu­ry AD).

Bor, J.; Rao, S.; van der Meer, W.; Harvey, J. The Raga Guide. Nimbus Records & Rotterdam Conservatory of Music, 1999. (Book and CDs)

Bose, N.D. Melodic Types of Hindustan. Bombay, 1960: Jaico.

Hirst, D. Speech Prosody - Chapter 8. Modelling Speech Melody. Preprint, 2022.

Rao, S.; Van der Meer, W. The Construction, Reconstruction, and Deconstruction of Shruti. Hindustani music: thir­teenth to twen­ti­eth cen­turies (J. Bor). New Delhi, 2010: Manohar.

Shringy, R.K.; Sharma, P.L. Sangita Ratnakara of Sarngadeva: text and trans­la­tion, vol. 1, 5: 7-9. Banaras, 1978: Motilal Banarsidass. Source in the Web Archive.

Van der Meer, W.; Rao, S. Microtonality in Indian Music: Myth or Reality. Gwalior, 2009: FRSM.

Van der Meer, W. Gandhara in Darbari Kanada, The Mother of All Shrutis. Pre-print, 2019.

Van der Meer, W.; Rao, S. MUSIC IN MOTION. The Automated Transcription for Indian Music (AUTRIM) Project by NCPA and UvA, 2010.

Van der Meer, W. The AUTRIM Project, Music in Motion, 2020.

Initial feedback

This project began in 1980 with the found­ing of the International Society for Traditional Arts Research (ISTAR) in New Delhi, India. We had pro­duced joint arti­cles and pro­pos­als which enabled us (Arnold and Bel) to receive a grant from the International Fund for the Promotion of Culture (UNESCO). A book­let of ISTAR projects was then print­ed in Delhi, and a larg­er team received sup­port from the Sangeet Research Academy (SRA, Calcutta/Kolkata), the Ford Foundation (USA) and lat­er the National Centre for the Performing Arts (NCPA, Bombay/Mumbai).

The fol­low­ing are extracts from let­ters of sup­port received dur­ing this ini­tial peri­od — after the con­struc­tion of the Shruti Harmonium and dur­ing the design of the Melodic Movement Analyser. (ISTAR book­let, 1981 pages 20-22)

In fact, the full poten­tial of this approach can only be realised now, tak­ing advan­tage of the (vir­tu­al­ly unlim­it­ed) dig­i­tal devices that are replac­ing the hard­ware we cre­at­ed for this pur­pose 40 years ago!


The work of Mr. Arnold and Mr. Bel, as much from the the­o­ret­i­cal point of view as from the point of view of the prac­ti­cal real­iza­tion, appears to be one of the best of these last years, as con­cerns the musi­cal analy­sis of the clas­si­cal music of India…
Iégor REZNIKOFF, Director, UER of Philosophy, History of Art and Archeology, Mathematics, University of Paris X - Nanterre.

I con­sid­er that this work presents the great­est inter­est and is capa­ble of con­sid­er­ably advanc­ing the under­stand­ing of the prob­lem of the use of micro-intervals in the music of India, and more gen­er­al­ly, that of the inter­vals found in dif­fer­ent modal musics.
Gilbert ROUGET, Director of Research at CNRS, in charge of the Department of Ethnomusicology at the Musée de l'Homme, Paris.

The ideas and con­cep­tions of Mr. Arnold and Mr. Bel seem tome to have the utmost inter­est musi­cal­ly because they rest not just on pure the­o­ries; but on a pro­found under­stand­ing of melod­ic and modal music, etc. The project which Mr. Bel pre­sent­ed to me could bring about a real­iza­tion much more inter­est­ing and effec­tive than that of the var­i­ous "mel­o­graphs" which have been pro­posed…
Émile LEIPP, Director of Research at the CNRS, Director of Laboratoire d'Acoustique, University of Paris VI.

The project enti­tled "A Scientific study of the modal music of North India" under­tak­en by E. James Arnold and Bernard Bel is very inter­est­ing and full of rich poten­tials. This col­lab­o­ra­tion of math­e­mat­ics and phys­i­cal sci­ences as well as engi­neer­ing sci­ences on the one hand, and Indology and Indian lan­guages, musi­col­o­gy, as well as applied music on the oth­er hand can be rea­son­ably expect­ed to yield fas­ci­nat­ing results.
— Dr. Prem Lata SHARMA, Head of the Department of Musicology and Dean of the Faculty of Performing Arts, Banaras Hindu University.

Mr. Arnold's work on the log­ic of the grama-murcchana sys­tem and its 'appli­ca­tions' to cur­rent Indian music is a most stim­u­lat­ing and orig­i­nal piece of inves­ti­ga­tion. Mr. Arnold's research and he and his part­ner (Mr. Bel)'s work have immense impli­ca­tions for music the­o­ry and great val­ue for the­o­ret­i­cal study of Indian music.
Bonnie C. WADE, Associate Professor of Music, University of California

Looking for­ward into the future, it (the Shruti har­mo­ni­um) opens up a new field to com­posers who wish to escape from the tra­di­tion­al frame­work in which they are trapped, by virtue of the mul­ti­plic­i­ty of its pos­si­bil­i­ties for var­i­ous scales, giv­ing hence a new mate­r­i­al.
Ginette KELLER, Grand Prize of Rome, Professor of Musical Analysis and Musical Aesthetics, ENMP and CNSM, Paris.

I was aston­ished to lis­ten to the "shrutis" (micro­tones) pro­duced by this har­mo­ni­um which they played accord­ing to my sug­ges­tion, and I found the 'gand­hars', 'dhai­vats', 'rikhabs' and 'nikhads' (3rds, 6ths, 2nds and 7ths) of ragas Darbari Kanada, Todi, Ramkali and Shankara to be very cor­rect­ly pro­duced exact­ly as they could be pro­duced on my vio­lin.
Prof. V.G. JOG, Violinist, recip­i­ent of the Sangeet Natak Akademi Award.

Once again, bra­vo for your work. When you have a pre­cise idea about the cost of your ana­lyz­er, please let me know. I shall be able to pro­pose it to research insti­tu­tions in Asian coun­tries, and our own research insti­tu­tion, pro­vid­ed that it can afford it, might also acquire such an ana­lyz­er for our own work.
Dr. Tran Van KHE, Director of Research, CNRS, Paris.

The equip­ment which Mr. E.J. Arnold and B. Bel pro­pose to con­struct in the sec­ond stage of the research which they have explained to me seems to be of very great inter­est for the elu­ci­da­tion of the prob­lems con­cern­ing scales, and into­na­tion, as much from the point of view of their artis­tic and musi­co­log­i­cal use, as from the the­o­ry of acoustics.
— Iannis XENAKIS, Composer, Paris.

Musicology

Microtonality
On elec­tron­ic instru­ments such as the Bol Processor, micro­tonal­i­ty is the mat­ter of "micro­ton­al tun­ing", here mean­ing the con­struc­tion of musi­cal scales out­side the con­ven­tion­al one(s) …
Just intonation: a general framework
A frame­work for con­struct­ing scales (tun­ing sys­tems) refer­ring to just into­na­tion in both clas­si­cal Indian and Western approach­es …
The two-vina experiment
A com­pre­hen­sive inter­pre­ta­tion of the exper­i­ment of the two vinas described in Chapter XXVIII.24 of the Natya Shastra …
Melodic types of Hindustan
A scan of Bose, N.D. Melodic Types of Hindustan. Jaico, Bombay 1960 …
A Mathematical Model of the Shruti-Swara-Grama-Murcchana-Jati System
A scan of Arnold, E.J. A Mathematical mod­el of the Shruti-Swara-Grama-Murcchana-Jati System …
A Mathematical Discussion of the Ancient Theory of Scales according to Natyashastra
Bernard Bel Note interne, Groupe Représentation et Traitement des Connaissances (CNRS), Marseille 1988. Download this paper
Raga intonation
This arti­cle demon­strates the the­o­ret­i­cal and prac­ti­cal con­struc­tion of micro­ton­al scales for the into­na­tion of North Indian ragas …
Creation of just-intonation scales
The pro­ce­dure for export­ing just-intonation scales from murcchana-s of Ma-grama …
A multicultural model of consonance
A frame­work for tun­ing just-intonation scales via two series of fifths
Image cre­at­ed by Bol Processor based on a mod­el by …
Comparing temperaments
Images of tem­pered scales cre­at­ed by the Bol Processor The fol­low­ing are Bol Processor + Csound inter­pre­ta­tions of J.-S. Bach's …
Polymetric structures
Polymetric expres­sions are the basic rep­re­sen­ta­tion mod­el for the tim­ing of musi­cal data in the Bol Processor …
Rationalizing musical time: syntactic and symbolic-numeric approaches
Symbolic-numerical approach­es lead to effi­cient and ele­gant solu­tions of con­straint sat­is­fac­tion prob­lems with respect to sym­bol­ic and phys­i­cal dura­tions, …
At the heart of Indian rhythms and their evolution
An inter­view with James Kippen by Antoine Bourgeau …
Au cœur des rythmes indiens
Entretien avec James Kippen, par Antoine Bourgeau …
Bach well-tempered tonal analysis
Tonal analy­sis of the com­plete set of pre­ludes and fugues by J.S. Bach in "The Well-tempered Clavier" …
The Well-tempered Clavier
The com­plete set of pre­ludes and fugues by J.S. Bach known as The Well-tempered Clavier, books II and II, inter­pret­ed with pre­sum­ably "opti­mal" tun­ing schemes …
Time-setting of sound-objects
This paper deals with the sched­ul­ing of “sound-objects”, here­by mean­ing pre­de­fined sequences of ele­men­tary tasks in a sound proces­sor, with each task mapped to a time-point …
Pattern grammars
Bol Processor gram­mars are char­ac­ter­i­sa­tions of sequen­tial events in terms of sub­string rep­e­ti­tions, homo­mor­phisms, etc. Parsing tech­niques, sto­chas­tic pro­duc­tion and recent devel­op­ments of BP gram­mars are briefly described …
Modelling music with grammars
A lin­guis­tic mod­el of tabla impro­vi­sa­tion and eval­u­a­tion derived from pat­tern lan­guages and for­mal gram­mars has been imple­ment­ed in the Bol Processor, a soft­ware sys­tem used in inter­ac­tive field­work with expert musi­cians …

The two-vina experiment

    

The first six chap­ters of Natya Shastra, a Sanskrit trea­tise on music, dance and dra­ma dat­ing from between 400 BCE and 200 CE, con­tain the premis­es of a scale the­o­ry that has long attract­ed the atten­tion of schol­ars in India and the West. Early inter­pre­ta­tions by Western musi­col­o­gists fol­lowed the "dis­cov­ery" of the text in 1794 by the philol­o­gist William Jones. Hermann Helmholtz’s the­o­ry of "nat­ur­al con­so­nance" gave way to many com­par­a­tive spec­u­la­tions based on phe­nom­e­na that Indian authors had ear­li­er observed as inher­ent in the "self-production" (svayamb­hū) of musi­cal notes (Iyengar 2017 p. 8).

Suvarnalata Rao and Wim van der Meer (2009) pub­lished a detailed account of attempts to elu­ci­date the ancient the­o­ry of musi­cal scales in the musi­co­log­i­cal lit­er­a­ture, return­ing to the notions of ṣru­ti and swara which have changed over time up to present-day musi­cal practice.

Accurate set­tings of Bel's Shruti Harmonium (1980)

In the sec­ond half of the 20th cen­tu­ry, exper­i­men­tal work with fre­quen­cy meters led to con­tra­dic­to­ry con­clu­sions from the analy­sis of small sam­ples of musi­cal per­for­mances. It was only after 1981 that sys­tem­at­ic exper­i­ments were car­ried out in India by the ISTAR team (E.J. Arnold, B. Bel, J. Bor and W. van der Meer) with an elec­tron­i­cal­ly pro­gram­ma­ble har­mo­ni­um (the Shruti Harmonium) and lat­er with a "micro­scope" for melod­ic music, the Melodic Movement Analyser (MMA) (Arnold & Bel 1983, Bel & Bor I985), which fed pre­cise pitch data into a com­put­er to process hours of music select­ed from his­tor­i­cal recordings.

After sev­er­al years of exper­i­men­tal work, it had become clear that although the into­na­tion of Indian clas­si­cal music is far from being a ran­dom process, it would be dan­ger­ous to judge an inter­pre­ta­tion of the ancient scale the­o­ry on the basis of today's musi­cal data. There are at least three rea­sons for this:

  1. There are an infi­nite num­ber of valid inter­pre­ta­tions of the ancient the­o­ry, as we will show.
  2. The con­cept of raga, the basic prin­ci­ple of Indian clas­si­cal music, first appeared in lit­er­a­ture around 900 CE in Matanga's Brihaddeshi and under­went grad­ual devel­op­ment until the 13th cen­tu­ry, when Sharangadeva list­ed 264 ragas in his Sangitratnakara.
  3. Drones were (prob­a­bly) not in use at the time of Natya Shastra; the influ­ence of the drone on into­na­tion is con­sid­er­able, if not dom­i­nant, in con­tem­po­rary music performance.

The ancient Indian the­o­ry of scales remains use­ful for its insight into ear­ly melod­ic clas­si­fi­ca­tion (the jāti sys­tem), which may lat­er have giv­en rise to the raga sys­tem. It is there­fore best thought of as a topo­log­i­cal descrip­tion of tonal struc­tures. Read Raga Intonation for a more detailed account of the­o­ret­i­cal and prac­ti­cal issues.

The sub­ject of this page is an inter­pre­ta­tion of the exper­i­ment of the two vinas described in Chapter XXVIII.24 of the Natya Shastra. An analy­sis of the under­ly­ing mod­el has been pub­lished in A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra (Bel 1988) which the fol­low­ing pre­sen­ta­tion will make more comprehensive.

The historical context

Bharata Muni, the author(s) of the Natya Shastra, may have heard of the the­o­ries of musi­cal scales attrib­uted to the "ancient Greeks". At any rate, Indian schol­ars were able to bor­row these mod­els and extend them con­sid­er­ably because of their real knowl­edge of arithmetic.

Readers of C.K. Raju — espe­cial­ly his excel­lent Cultural Foundations of Mathematics (2007) — know that Indian mathematicians/philosophers are not only famous for invent­ing posi­tion­al nota­tion which took six cen­turies to be adopt­ed in Europe… They also laid out the foun­da­tions of cal­cu­lus and infin­i­tes­i­mals, which were lat­er export­ed to Europe by Jesuit priests from Kerala and borrowed/appropriated by European schol­ars (Raju 2007 pages 321-373).

The cal­cu­lus first devel­oped in India as a sophis­ti­cat­ed tech­nique to cal­cu­late pre­cise trigono­met­ric val­ues need­ed for astro­nom­i­cal mod­els. These val­ues were pre­cise to the 9th place after the dec­i­mal point; this pre­ci­sion was need­ed for the cal­en­dar, crit­i­cal to monsoon-driven Indian agri­cul­ture […]. This cal­cu­la­tion involved infi­nite series which were summed using a sophis­ti­cat­ed phi­los­o­phy of ratios of inex­pressed num­bers [today called ratio­nal functions…].

Europeans, how­ev­er, were prim­i­tive and back­ward in arith­meti­cal cal­cu­la­tions […] and bare­ly able to do finite sums. The dec­i­mal sys­tem had been intro­duced in Europe by Simon Stevin only at the end of the 16th c., while it was in use in India since Vedic times, thou­sands of years earlier.

C. K. Raju (2013 p. 161- 162)

This may be cit­ed in con­trast with the state­ments of west­ern his­to­ri­ans, among which:

The his­to­ry of math­e­mat­ics can­not with cer­tain­ty be traced back to any school or peri­od before that of the Greeks […] though all ear­ly races knew some­thing of numer­a­tion […] and though the major­i­ty were also acquaint­ed with the ele­ments of land-surveying, yet the rules which they pos­sessed […] were nei­ther deduced from nor did they form part of any science.

W. W. Rouse Ball, A Short Account of the History of Mathematics. Dover, New York, 1960, p. 1–2.

So, it may seem para­dox­i­cal, giv­en such an intel­lec­tu­al bag­gage, to write an entire chap­ter on musi­cal scales with­out a sin­gle num­ber! In A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra I showed a min­i­mal rea­son: Bharata's descrip­tion leads to an infi­nite set of solu­tions that should be for­malised with alge­bra rather than a set of numbers.

The experiment

The author(s) of Natya Shastra invite(s) the read­er to take two vina-s (plucked stringed instru­ments) and tune them on the same scale.

A word of cau­tion to clar­i­fy the con­text: this chap­ter of Natya Shastra can be read as a thought exper­i­ment rather than a process involv­ing phys­i­cal objects. There is no cer­tain­ty that these two vina-s ever exist­ed — and even that "Bharata Muni", the author/experimenter, was a unique per­son. His/their approach is one of val­i­da­tion (pramāņa) by empir­i­cal evi­dence, in oth­er words dri­ven by the phys­i­cal­ly man­i­fest (pratyakşa) rather than inferred from "axioms" con­sti­tu­tive of a the­o­ret­i­cal mod­el. This can be summed up as a "pref­er­ence for physics over metaphysics".

Constructing and manip­u­lat­ing vina-s in the man­ner indi­cat­ed by the exper­i­menter appears to be an insur­mount­able tech­no­log­i­cal chal­lenge. This has been dis­cussed by a num­ber of authors — see Iyengar (2017 pages 7-sq.) Leaving aside the pos­si­bil­i­ty of prac­ti­cal real­i­sa­tion is not a denial of phys­i­cal real­i­ty, as for­mal math­e­mat­ics would sys­tem­at­i­cal­ly dic­tate. Calling it a "thought exper­i­ment" is a way of assert­ing the con­nec­tion with the phys­i­cal mod­el. Similarly, the use of cir­cu­lar graphs to rep­re­sent tun­ing schemes and alge­bra to describe rela­tion­ships between inter­vals are aids to under­stand­ing that do not reduce the mod­el to spe­cif­ic, ide­al­is­tic inter­pre­ta­tions sim­i­lar to the spec­u­la­tions about inte­gers cher­ished by Western sci­en­tists. These graphs are intend­ed to facil­i­tate the com­pu­ta­tion­al design of instru­ments that mod­el these imag­ined instru­ments — see Raga into­na­tion and Just into­na­tion, a gen­er­al frame­work.

Let us fol­low Bharata's instruc­tions and tune both instru­ments to a scale called "Sa-grama" about which the author explains:

The sev­en notes [svaras] are: Şaḍja [Sa], Ṛşbha [Ri], Gāndhāra [Ga], Madhyama [Ma], Pañcama [Pa], Dhaivata [Dha], and Nişāda [Ni].

It is tempt­ing to iden­ti­fy this scale as the con­ven­tion­al west­ern seven-degree scale do, re, mi, fa, sol, la, si ("C", "D", "E", "F", "A", "B"), which some schol­ars have done despite the erro­neous inter­pre­ta­tion of the intervals.

Intervals are notat­ed in shru­ti-s, which can be thought of as an order­ing device rather than a unit of mea­sure­ment. Experiment will con­firm that a four-shru­ti inter­val is greater than a three-shru­ti, a three-shru­ti greater than a two-shru­ti and the lat­ter greater than a sin­gle shru­ti. In dif­fer­ent con­texts, the word "shru­ti" refers to note posi­tions rather than inter­vals between notes. This ambi­gu­i­ty is also a source of confusion.

The author writes:

Śrutis in the Şaḍja Grāma are shown as fol­lows: three [in Ri], two [in Ga], four [in Ma], four [in Pa], three [in Dha], two [in Ni], and four [in Sa].

Bharata uses 9-shru­ti (con­so­nant) inter­vals: "Sa-Pa", "Sa-Ma", "Ma-Ni", "Ni-Ga" and "Re-Dha". He also defines anoth­er scale called "Ma-grama" in which "Pa" is one shru­ti low­er than "Pa" in the Sa-grama, so that "Sa-Pa" is no longer con­so­nant where­as "Re-Pa" is con­so­nant because it is made up of 9 shru­ti-s.

Intervals of 9 or 13 shru­ti-s are declared "con­so­nant" (sam­va­di). Ignoring the octave, the best con­so­nance in a musi­cal scale is the per­fect fifth with a fre­quen­cy ratio close to 3/2. When tun­ing stringed instru­ments, a ratio oth­er than 3/2 will pro­duce beats indi­cat­ing that a string is out of tune.

Sa-grama and Ma-grama accord­ing to Natya Shastra. Red and green seg­ments indi­cate the two chains of per­fect fifths. Underlined note names denote 'flat' positions.

If the fre­quen­cy ratios are expressed log­a­rith­mi­cal­ly with 1200 cents rep­re­sent­ing an octave, and fur­ther con­vert­ed to angles with a full octave on a cir­cle, the descrip­tion of the Sa-grama and Ma-grama scales can be sum­marised on a cir­cu­lar dia­gram (see figure).

Two cycles of fifths are high­light­ed in red and green col­ors. Note that both the "Sa-Ma" and "Ma-Ni" inter­vals are per­fect fifths, which dis­cards the asso­ci­a­tion of Sa-grama with the con­ven­tion­al west­ern scale: the "Ni" should be mapped to "B flat", not to "B". Furthermore, the per­fect fifth "Ni-Ga" implies that "Ga" is also "E flat" rather than "E". The Sa-grama and Ma-grama scales are there­fore "D modes". This is why "Ga" and "Ni" are under­lined in the diagrams.

Authors eager to iden­ti­fy Sa-grama and Ma-grama as a west­ern scale have claimed that when the text says that there are "3 shruti-s in Re" it should be under­stood as between Re and Ga. However, this inter­pre­ta­tion is incon­sis­tent with the sec­ond low­er­ing of the mov­able vina (see below).

We must avoid jump­ing to con­clu­sions about the inter­vals in these scales. The two cycles of fifths are unre­lat­ed, except that the "dis­tance" between the "Pa" of Ma-grama and that of Sa-grama is "one shru­ti":

The dif­fer­ence which occurs in Pañcama when it is raised or low­ered by a Śruti and when con­se­quen­tial slack­ness or tense­ness [of strings] occurs, will indi­cate a typ­i­cal (pramāņa) Śruti. (XXVIII, 24)

In oth­er words, the size of this pramāņa ṣru­ti is not spec­i­fied. It would there­fore be mis­lead­ing to pos­tu­late its equiv­a­lence to the syn­ton­ic com­ma (fre­quen­cy ratio 81/80). To do so reduces Bharata's mod­el to "just into­na­tion", indeed with inter­est­ing prop­er­ties in its appli­ca­tion to west­ern har­mo­ny (see page), but with a ques­tion­able rel­e­vance to the prac­tice of Indian music. As stat­ed by Arnold (1983 p. 39):

The real phe­nom­e­non of into­na­tion in Hindustani Classical Music as prac­tised is much more amor­phous and untidy than any geom­e­try of course, as recent empir­i­cal stud­ies by Levy (1982), and Arnold and Bel (1983) show.

The des­ig­na­tion of the small­est inter­val as "pramāņa ṣru­ti" is of great epis­temic impor­tance and deserves a brief expla­na­tion. The seman­tics of "slack­ness or ten­sion" clear­ly belong to "pratyakṣa pramāṇa", the means of acquir­ing knowl­edge through per­cep­tu­al expe­ri­ence. More pre­cise­ly, "pramāṇa" (प्रमाण) refers to "valid per­cep­tion, mea­sure and struc­ture" (Wisdom Library), a notion of evi­dence shared by all tra­di­tion­al Indian schools of phi­los­o­phy (Raju 2007 page 63). We will return to this notion in the conclusion.

An equiv­a­lent way of con­nect­ing the two cycles of fifths would be to define a 7-shru­ti inter­val, for exam­ple "Ni-Re". If the pramāņa ṣru­ti were a syn­ton­ic com­ma then this inter­val would be a har­mon­ic major third with a ratioof 5/4. As men­tioned in Just into­na­tion, a gen­er­al frame­work, the inven­tion of the major third as a con­so­nant inter­val dates back to the ear­ly 16th cen­tu­ry in Europe. In Natya Shastra this 7-shru­ti inter­val was clas­si­fied as "asso­nant" (anu­va­di).

In all writ­ings refer­ring to the ancient Indian the­o­ry of scales, I have occa­sion­al­ly used "pramāņa ṣru­ti" and "syn­ton­ic com­ma" as equiv­a­lent terms. This is accept­able if one accepts that the syn­ton­ic com­ma can take val­ues oth­er than 81/80. Consequently, the "har­mon­ic major third" should not auto­mat­i­cal­ly be assigned a fre­quen­cy ratio of 5/4.

The pic­ture above shows the two vina-s tuned iden­ti­cal­ly on Sa-grama. Matching notes are marked with yel­low dots. The inner part of the blue cir­cle will be the mov­ing vina in the fol­low­ing trans­po­si­tions, and the out­er part the fixed vina.

First lowering

Bharata writes:

The two Vīņās with beams (danḍa) and strings of sim­i­lar mea­sure, and with sim­i­lar adjust­ment of the lat­ter in the Şaḍja Grāma should be made [ready]. [Then] one of these should be tuned in the Madhyama Grāma by low­er­ing Pañcama [by one Śruti]. The same (Vīņā) by adding one Śruti (lit. due to the adding of one Śruti) to Pañcama will be tuned in the Şaḍja Grāma.

In short, this is a pro­ce­dure for low­er­ing all the notes of the mov­able vina by one pramāņa ṣru­ti. First low­er its "Pa" — e.g. make it con­so­nant with the "Re" of the fixed vina — to obtain Ma-grama on the mov­able vina. Then read­just its entire scale to obtain Sa-grama. Note that low­er­ing "Re" and "Dha" means revalu­ing the size of a pramāņa ṣru­ti while main­tain­ing the 'Re-Dha' con­so­nant inter­val. The result is as follows:

The two vinas after a low­er­ing of pramāņa ṣru­ti

The pic­ture illus­trates the fact that there is no longer a match between the two vina-s.

Interpreting shruti-s as vari­ables in some metrics

This sit­u­a­tion can be trans­lat­ed into alge­bra. Let "a", "b", "c" … "v" be the unknown sizes of the shru­ti-s in the scale (see pic­ture on the side). A met­ric that "trans­lates" Bharata's mod­el will be nec­es­sary to test it on sound struc­tures pro­duced by an elec­tron­ic instru­ment — the com­put­er. The scope of this trans­la­tion remains valid as long as no addi­tion­al asser­tion is made that is not root­ed in the orig­i­nal model.

Using the sym­bol "#>" to indi­cate that two notes do not match, this first low­er­ing can be sum­marised by the fol­low­ing set of inequalities:

s + t + u + v > m 
a + b + c > m 
d + e > m 
f + g + h + i > m 
n + o + p > m 
q + r > m 
Sa #> Ni
Re #> Sa
Ga #> Re
Ma #> Ga
Dha #> Pa
Ni #> Dha

Second lowering

The next step is anoth­er low­er­ing by one shru­ti using a dif­fer­ent procedure.

Again due to the decrease of a Śruti in anoth­er [Vīņā], Gāndhāra and Nişāda will merge with Dhaivata and Ṛşbha respec­tive­ly, when there is an inter­val of two Śrutis between them.

Note that it is no longer pos­si­ble to rely on a low­ered "Pa" to eval­u­ate a pramāņa ṣru­ti for the low­er­ing. The instruc­tion is to low­er the tun­ing of the mov­able vina until either "Re" and "Ga" or "Dha" and "Ni" merge, which is claimed to be the same because of the final low­er­ing of two shru­ti-s (from the ini­tial state):

The two vina-s after the sec­ond low­er­ing (2 shru­ti-s)

Now we have an equa­tion which tells us that the two-shru­ti inter­vals are equal in size:

q + r = d + e

and five more inequa­tions indi­cat­ing the non-matching of oth­er notes:

f + g + h + i > d + e
a + b + c > d + e
s + t + u + v > d + e
n + o + p > d + e
j + k + l + m > d + e
Ma #> Ga
Re #> Sa
Sa #> Ni
Dha #> Pa
Pa #> Ma

We should bear in mind that the author is describ­ing a phys­i­cal process, not an abstract "move­ment" by which the mov­ing wheel (or vina) would "jump" in space from its ini­tial to final posi­tion. Therefore, we pay atten­tion to what hap­pens and what does not hap­pen dur­ing the tun­ing of the vina or the rota­tion of the wheel by look­ing at the tra­jec­to­ries of the dots rep­re­sent­ing the note posi­tions (along the blue cir­cle). Things that do not hap­pen (mis­matched notes) give rise to inequa­tions that are nec­es­sary to make sense of the alge­bra­ic model.

This step of the exper­i­ment con­firms that it is wrong to place Sa in the posi­tion of Ni in order to iden­ti­fy Sa-grama with the Western scale. In this case the cor­re­spond­ing notes would not be Re-Ga and Dha-Ni, but Ga-Ma and Ni-Sa.

Third lowering

Bharata writes:

Again due to the decrease of a Śruti in anoth­er [Vīņā], Ṛşbha and Dhaivata will merge with Şaḍja and Pañcama respec­tive­ly, when there is an inter­val of three Śrutis between them.

The two vinas after the third low­er­ing (3 shruti-s)

This leads to equation

n + o + p = a + b + c

and inequa­tions:

s + t + u + v > a + b + c
f + g + h + i > a + b + c
j + k + l + m > a + b + c
Sa #> Ni
Ma #> Ga
Pa #> Ma

Fourth lowering

The pro­ce­dure:

Similarly the same [one] Śruti being again decreased, Pañcama, Madhyama and Şaḍja will merge with Madhyama, Gāndhāra and Nişāda respec­tive­ly when there is an inter­val of four Śrutis between them.

The two vinas after the fourth low­er­ing (4 shruti-s)

This yields 2 equations:

j + k + l + m = f + g + h + i
s + t + u + v = f + g + h + i

Algebraic interpretation

After elim­i­nat­ing redun­dant equa­tions and inequa­tions, the con­straints are sum­marised as follows:

(S1) d + e > m
(S2) a + b + c > d + e
(S3) f + g + h + i > a + b + c
(S4) j + k + l + m = f + g + h + i
(S5) s + t + u + v = f + g + h + i
(S6) n + o + p = a + b + c
(S7) q + r = d + e

The three inequa­tions illus­trate the fact that the num­bers of shru­ti-s denote an order­ing of the sizes of the inter­vals between notes.

We still have 22 vari­ables and only 4 equa­tions. These vari­ables can be "packed" into a set of 8 vari­ables rep­re­sent­ing the "macro-intervals", i.e. the steps of the gra­ma-s. In this approach the shru­ti-s are a kind of "sub­atom­ic" par­ti­cles of which these "macro-intervals" are made… Now we need only 4 aux­il­iary equa­tions to deter­mine the scale. These can be pro­vid­ed by acoustic infor­ma­tion where the inter­vals are count­ed in cents. First we express that the sum of the vari­ables, the octave, is equal to 1200 cents. (A larg­er val­ue, e.g. 1204, could be used to devise extend­ed octaves).

(S8) (a + b + c) + (d + e) + (f + g + h + i) + (j + k + l) + m + (n + o + p) + (q + r) + (s + t + u + v) = 1200

Then we inter­pret all sam­va­di ratios as per­fect fifths (ratio 3/2 = 701.9 cents):

(S9) (a + b + c) + (d + e) + (f + g + h + i) + (j + k + l) + m = 701.9 (Sa-Pa)
(S10) (j + k + l) + m + (n + o + p) + (q + r) + (s + t + u + v) = 701.9 (Ma-Sa)
(S11) (d + e) + (f + g + h + i) + (j + k + l) + m + (n + o + p) = 701.9 (Re-Dha)
(S12) (f + g + h + i) + (j + k + l) + m + (n + o + p) + (q + r) = 701.9 (Ga-Ni)

includ­ing the "Re-Pa" per­fect fifth in Ma-grama:

(S13) m + (n + o + p) + (q + r) + (s + t + u + v) + (a + b + c) = 701.9

S10, S11 and S12 can all be derived from S9. So these equa­tions can be dis­card­ed. We still need one more equa­tion to solve the sys­tem. At this stage there are many options in terms of tun­ing pro­ce­dures. As sug­gest­ed above, set­ting the har­mon­ic major third to the ratio 5/4 (386.3 cents) would pro­vide the miss­ing equa­tion. This is equiv­a­lent to set­ting the vari­able "m" to 21.4 cents (syn­ton­ic com­ma). However, this major third can be any size up to the Pythagorean third (81/64 = 407.8 cents), for which we would get m = 0.

Beyond this range, the two-vina exper­i­ment is no longer valid, but it leaves a large num­ber of pos­si­bil­i­ties, includ­ing the tem­pera­ment of some inter­vals, which musi­cians might spon­ta­neous­ly achieve in par­al­lel melod­ic move­ments. A num­ber of solu­tions are pre­sent­ed in A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra, and some of these have been tried on the Bol Processor to check musi­cal exam­ples for which they might pro­vide ade­quate scales — see Raga into­na­tion.

Extensions of the model

To com­plete his sys­tem of scales, Bharata need­ed to add two new notes to the basic gra­ma-s: antara Gandhara and kakali Nishada. The new "Ga" is defined as "G" raised by 2 shru­ti-s. Similarly, kakali Ni is "N" raised by 2 shru­ti-s.

In order to posi­tion "Ni" and "Ga" cor­rect­ly we must study the behav­iour of the new scale in all trans­po­si­tions (mur­ccha­na-s), includ­ing those begin­ning with "Ga" and "Ni", and derive equa­tions cor­re­spond­ing to an opti­mal con­so­nance of the scale. We end up with 11 equa­tions for only 10 vari­ables, which means that this per­fec­tion can­not be achieved. One con­straint must be released.

One option is to release the con­straints on major thirds, fifths or octaves, result­ing in a form of tem­pera­ment. For exam­ple, stretch­ing the octave by 3.7 cents pro­duces per­fect fifths (701.9 cents) and har­mon­ic major thirds close to equal tem­pera­ment (401 cents) with a com­ma of 0 cents. This tun­ing tech­nique was advo­cat­ed by Serge Cordier (Asselin 2000 p. 23; Wikipedia).

An equal-tempered scale with octave stretched at 1204 cents. (Image cre­at­ed by Bol Processor BP3)

Another option is to get as close as pos­si­ble to "just into­na­tion" with­out chang­ing per­fect fifths and octaves. This is pos­si­ble by allow­ing the com­ma (vari­able "m") to take any val­ue between 0 and 56.8 cents. Limits are imposed by the inequa­tions derived from the two-vina experiment.

These "just sys­tems" are cal­cu­lat­ed as follows:

a + b + c = j + k + l = n + o + p = Maj - C
d + e = h + i = q + r = u + v = L + C
f + g = s + t = Maj - L - C
m = C

where L = 90.25 cents (lim­ma = 256/243), Maj = 203.9 cents (major who­le­tone = 9/8)
and 0 < C < 56.8 (pramāņa ṣru­ti or syn­ton­ic comma)

This leads to the 53-degree scale called "grama" which we use as a frame­work for con­so­nant chro­mat­ic scales suit­able for pure into­na­tion in west­ern har­mo­ny when the syn­ton­ic com­ma is sized 81/80. Read Just into­na­tion, a gen­er­al frame­work:

The "gra­ma" scale used for just into­na­tion, with a syn­ton­ic com­ma of 81/80. Pythagorean cycle of fifths in red, har­mon­ic cycle of fifths in green.

In BP3, the just-intonation frame­work has been extend­ed so that any val­ue of the syn­ton­ic com­ma (or the har­mon­ic major third) can be set on a giv­en scale struc­ture. This fea­ture is demon­strat­ed on the Raga into­na­tion page.

The relevance of circular representations


Circular rep­re­sen­ta­tion of tāl Pañjābi, catuśra­jāti
[16 counts] from a Gujarati text in Devanagari script
(J. Kippen, pers. communication)

It is safe to clas­si­fy the two-vina exper­i­ment as a thought exper­i­ment, since it is unlike­ly that it could be car­ried out with mechan­i­cal instru­ments. Representing it on a cir­cu­lar graph (a mov­able wheel inside a fixed crown) achieves the same goal with­out resort­ing to imag­i­nary devices.

Circular rep­re­sen­ta­tions belong to Indian tra­di­tions of var­i­ous schools, includ­ing the descrip­tion of rhyth­mic cycles (tāl-s) used by drum­mers. These dia­grams are meant to out­line the rich inter­nal struc­ture of musi­cal con­struc­tions that can­not be reduced to "beat count­ing" (Kippen 2020).

For exam­ple, the image on the side was used to describe the ţhekkā (cycle of quasi-onomatopoeic syl­la­bles rep­re­sent­ing the beats of the drum) of tāl Pañjābi which reads as follows:

Unfortunately, ear­ly print­ing tech­nol­o­gy may have made the pub­li­ca­tion and trans­mis­sion of these learn­ing aids difficult.

If Bharata's con­tem­po­raries ever used sim­i­lar cir­cu­lar rep­re­sen­ta­tions to reflect on musi­cal scales, we sus­pect that archae­o­log­i­cal traces might not be prop­er­ly iden­ti­fied, as their draw­ings might be mis­tak­en for yantra-s, astro­log­i­cal charts and the like!

Return to epistemology

Bharata's exper­i­ment is a typ­i­cal exam­ple of the pref­er­ence for facts derived from empir­i­cal obser­va­tion over a pro­claimed uni­ver­sal log­ic aimed at estab­lish­ing "irrefutable proofs".

Empirical proofs are uni­ver­sal, not meta­phys­i­cal proofs; elim­i­nat­ing empir­i­cal proofs is con­trary to all sys­tems of Indian phi­los­o­phy. Thus ele­vat­ing meta­phys­i­cal proofs above empir­i­cal proofs, as for­mal math­e­mat­ics does, is a demand to reject all Indian phi­los­o­phy as infe­ri­or. Curiously, like Indian phi­los­o­phy, present-day sci­ence too uses empir­i­cal means of proof, so this is also a demand to reject sci­ence as infe­ri­or (to Christian metaphysics).

Logic is not uni­ver­sal either as Western philoso­phers have fool­ish­ly main­tained: Buddhist [qua­si truth-functional] and Jain [three-valued] log­ics are dif­fer­ent from those cur­rent­ly used in for­mal math­e­mat­i­cal proof. The the­o­rems of math­e­mat­ics would change if those log­ics were used. So, impos­ing a par­tic­u­lar log­ic is a means of cul­tur­al hege­mo­ny. If log­ic is decid­ed empir­i­cal­ly, that would, of course, kill the phi­los­o­phy of meta­phys­i­cal proof. Further, it may result in quan­tum log­ic, sim­i­lar to Buddhist logic […].

C. K. Raju (2013 p. 182-183)
Yuktibhāşā's proof of the "Pythagorean" the­o­rem.
Source: C. K. Raju (2007 p. 67)

The two-vina exper­i­ment can be com­pared to the (more recent) phys­i­cal proof of the "Pythagorean the­o­rem". This the­o­rem (Casey 1885 p. 43) was known in India and Mesopotamia long before the time of its leg­endary author (Buckert 1972 p. 429, 462). In the Indian text Yuktibhāşā (c. 1530 CE), a fig­ure of a right-angled tri­an­gle with squares on either side and its hypothenuse is drawn on a palm leaf. The fig­ure is then cut and rotat­ed to show that the areas are equal.

Obviously, the proof of the "Pythagorean Theorem" is very easy if you are either (a) allowed to take mea­sure­ments or, equiv­a­lent­ly, (b) allowed to move fig­ures around in space.

C. K. Raju (2013 p. 167)

This process takes place in sev­er­al stages of mov­ing fig­ures, sim­i­lar to the mov­ing scales (or fig­ures rep­re­sent­ing scales) in the two-vina exper­i­ment. The 3 single-shru­ti tone inter­vals can be com­pared to the areas of the 3 squares in Yuktibhāşā. The fol­low­ing com­ment would there­fore apply to Bharata's procedure:

The details of this ratio­nale are not our imme­di­ate con­cern beyond observ­ing that draw­ing a fig­ure, car­ry­ing out mea­sure­ments, cut­ting, and rota­tion are all empir­i­cal pro­ce­dures. Hence, such a demon­stra­tion would today be reject­ed as invalid sole­ly on the ground that it involves empir­i­cal pro­ce­dures that ought not to be any part of math­e­mat­i­cal proof.

C. K. Raju (2007 p. 67)

Bernard Bel — Dec. 2020

References

Arnold, E. J. A Mathematical mod­el of the Shruti-Swara-Grama-Murcchana-Jati System. New Delhi, 1982: Journal of the Sangit Natak Akademi.

Arnold, E.J.; Bel, B. A Scientific Study of North Indian Music. Bombay, 1983: NCPA Quarterly Journal, vol. XII Nos. 2 3.

Asselin, P.-Y. Musique et tem­péra­ment. Paris, 1985, repub­lished in 2000: Jobert. Soon avail­able in English.

Bel, B.; Bor, J. Intonation of North Indian Classical Music: work­ing with the MMA. Video on Dailymotion. Bombay, 1984: National Center for the Performing Arts.

Bel, B.; Bor, J. NCPA/ISTAR Research Collaboration. Bombay, 1985: NCPA Quarterly Journal, vol. XIV, No. 1, p. 45-53.

Bel, B. A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra. Note interne. Marseille, 1988a : Groupe Représentation et Traitement des Connaissances (CNRS).

Bel, B. Raga : approches con­ceptuelles et expéri­men­tales. Actes du col­loque "Structures Musicales et Assistance Informatique". Marseille, 1988b.

Bharata. Natya Shastra. There is no cur­rent­ly avail­able English trans­la­tion of the first six chap­ters of Bharata’s Natya Shastra. However, most of the infor­ma­tion required for this inter­pre­ta­tion has been repro­duced and com­ment­ed by Śārṅgadeva in his Sangita Ratnakara (13th cen­tu­ry CE), trans­lat­ed by Dr R. K. Shringy, vol.I. Banaras 1978: Motilal Banarsidass.

Bose, N. D. Melodic Types of Hindustan. Bombay, 1960: Jaico.

Burkert, W. Lore and Science in Ancient Pythagoreanism. Cambridge MA, 1972: Harvard University Press.

Casey, J. The First Six Books of the Elements of Euclid, and Propositions I.-XXI. of Book VI. London, 1885: Longmans. Free e-book, Project Gutenberg.

Iyengar, R. N. Concept of Probability in Sanskrit Texts on Classical Music. Bangalore, 2017. Invited Talk at ICPR Seminar on “Science & Technology in the Indic Tradition: Critical Perspectives and Current Relevance”, I. I. Sc.

Kippen, J. Rhythmic Thought and Practice in the Indian Subcontinent. In R. Hartenberger & R. McClelland (Eds.), The Cambridge Companion to Rhythm (Cambridge Companions to Music, p. 241-260). Cambridge, 2020: Cambridge University Press. doi:10.1017/9781108631730.020

Levy, M. Intonation in North Indian Music. New Delhi, 1982: Biblia Impex.

Raju, C. K. Euclid and Jesus: How and why the church changed math­e­mat­ics and Christianity across two reli­gious wars. Penang (Malaysia), 2013: Multiversity, Citizens International.

Raju, C. K. Cultural foun­da­tions of math­e­mat­ics : the nature of math­e­mat­i­cal proof and the trans­mis­sion of the cal­cu­lus from India to Europe in the 16th c. CE. Delhi, 2007: Pearson Longman – Project of History of Indian Science, Philosophy and Culture: Centre for Studies in Civilizations.

Rao, S.; Van der Meer, W. The Construction, Reconstruction, and Deconstruction of Shruti. Hindustani music: thir­teenth to twen­ti­eth cen­turies (J. Bor). New Delhi, 2010: Manohar.

Shringy, R.K.; Sharma, P.L. Sangita Ratnakara of Sarngadeva: text and trans­la­tion, vol. 1, 5: 7-9. Banaras, 1978: Motilal Banarsidass. Source in the Web Archive.

Just intonation: a general framework

Just into­na­tion (into­na­tion pure in French) is a word used by com­posers, musi­cians and musi­col­o­gists to describe var­i­ous aspects of com­po­si­tion, per­for­mance and instru­ment tun­ing. They all point to the same goal of "playing/singing in tune" — what­ev­er that means. Implementing a gener­ic abstract mod­el of just into­na­tion in the Bol Processor is a chal­lenge beyond our cur­rent com­pe­tence… We approach it prag­mat­i­cal­ly by look­ing at some musi­cal tra­di­tions that pur­sue the same goal with the help of reli­able the­o­ret­i­cal models.

A com­plete and con­sis­tent frame­work for the con­struc­tion of just-intonation scales - or "tun­ing sys­tems" - was the grama-murcchana mod­el elab­o­rat­ed in ancient India. This the­o­ry has been exten­sive­ly com­ment­ed on and (mis)interpreted by Indian and Western schol­ars: for a detailed review see Rao & van der Meer 2010. We will show that an arguably accept­able inter­pre­ta­tion yields a frame­work of chro­mat­ic scales that can be extend­ed to Western clas­si­cal har­mo­ny and eas­i­ly han­dled by the Bol Processor — either pro­duc­ing Csound scores or real-time MIDI micro­tonal­i­ty.

This page is a con­tin­u­a­tion of Microtonality but can be read independently.

All exam­ples shown on this page are avail­able in the sam­ple set bp3-ctests-main.zip shared on GitHub. Follow instruc­tions on Bol Processor ‘BP3’ and its PHP inter­face to install BP3 and learn its basic operation.

Historical background

Methods of tun­ing musi­cal instru­ments have been doc­u­ment­ed in var­i­ous parts of the world for over 2000 years. For prac­ti­cal and per­son­al rea­sons we will con­cen­trate on work in Europe and the Indian subcontinent.

Systems described as "just into­na­tion" are attempts to cre­ate a tun­ing in which all tonal inter­vals are con­so­nant. There is a large body of the­o­ret­i­cal work on just into­na­tion - see Wikipedia for links and abstracts.

Models are amenable to Hermann von Helmholtz's notion of con­so­nance which deals with the per­cep­tion of the pure sinu­soidal com­po­nents of com­plex sounds con­tain­ing mul­ti­ple tones. According to the the­o­ry of con­so­nance, the fre­quen­cies of these upper par­tials are inte­ger mul­ti­ples of the fun­da­men­tal fre­quen­cy of the vibra­tion. In mechan­i­cal musi­cal instru­ments, this is close to real­i­ty when long strings are gen­tly struck or plucked. However, this har­mo­ny is lack­ing in many wind instru­ments, espe­cial­ly reed instru­ments such as the sax­o­phone or the Indian shehnai, and even in per­cus­sion instru­ments or bells which com­bine sev­er­al modes of vibration.

Therefore, if just into­na­tion is invoked to tune a musi­cal instru­ment, it must be anal­o­gous to a zither, a swara man­dal, a harp­si­chord, a piano or a pipe organ, includ­ing elec­tron­ic devices that pro­duce sim­i­lar sounds.

Perhaps because of their late "dis­cov­ery" of cal­cu­lus — actu­al­ly "bor­rowed" from Indian, Persian and Arabic sources — Europeans cul­ti­vat­ed a fas­ci­na­tion with num­bers strong­ly advo­cat­ed by priests as an image of "God's per­fec­tion". We may recall Descarte's claim that the length of a curve is "beyond human under­stand­ing" — because π can­not be writ­ten as an inte­ger ratio…

In real life, musi­cians devel­oped pro­ce­dures for tun­ing their instru­ments by lis­ten­ing to inter­vals and pick­ing out the ones that made sense to their ears — see The two-vina exper­i­ment page. After the devel­op­ment of musi­cal acoustics, attempts were made to inter­pret these pro­ce­dures in terms of fre­quen­cy ratios. This was a risky ven­ture, how­ev­er, because the dream of per­fec­tion led to the sim­plis­tic pro­mo­tion of "per­fect ratios".

Seeking the kind of per­fec­tion embod­ied in num­bers is the best way to pro­duce bland music. Although just into­na­tion — inter­vals with­out beats — is now pos­si­ble on elec­tron­ic instru­ments, it is based on a nar­row con­cept of tonal­i­ty. This can be ver­i­fied by lis­ten­ing to ancient Western music played in dif­fer­ent tem­pera­ments — see page Comparing tem­pera­ments — and even to Indian clas­si­cal music — see page Raga into­na­tion.

The “Greek” approach

Greek women play­ing ancient Harp, Cithara and Lyre musi­cal instru­ments (source)

Models of vibrat­ing strings attrib­uted to the "ancient Greeks" sug­gest that fre­quen­cy ratios of 2/1 (the octave), 3/2 (the major fifth) and 5/4 (the major third) pro­duce con­so­nant inter­vals, while oth­er ratios pro­duce a cer­tain degree of dis­so­nance.

The prac­tice of poly­phon­ic music on fixed-tuned instru­ments has shown that this per­fect con­so­nance is nev­er achieved with 12 notes in an octave — the con­ven­tion­al chro­mat­ic scale. In Western clas­si­cal har­mo­ny, it would require retun­ing the instru­ment accord­ing to the musi­cal genre, the piece of music and the har­mon­ic con­text of each melod­ic phrase or chord.

Imperfect tonal inter­vals pro­duce unwant­ed beats because their fre­quen­cy ratio can­not be reduced to sim­ple 2, 3, 4, 5 frac­tions. A sim­ple thought exper­i­ment, myth­i­cal­ly attrib­uted to Pythagoras of Samos, shows that this is inher­ent in arith­metic and not a defect in instru­ment design. Imagine the tun­ing of ascend­ing fifths (ratio 3/2) by suc­ces­sive steps on a harp with an octave shift to keep the result­ing note with­in the orig­i­nal octave. The fre­quen­cy ratios would be 3/2, 9/4, 27/16, 81/64 and so on. At this stage, the note appears to be a major third although its actu­al ratio (81/64 = 1.265) is high­er than 5/4 (1.25). The 81/64 inter­val is called the Pythagorean major third, which may sound "out of tune" in a con­ven­tion­al har­mon­ic con­text. The fre­quen­cy ratio (81/80 = 1.0125) between the Pythagorean and har­mon­ic major thirds is called the syn­ton­ic com­ma.

Whoever devised the so-called "Pythagorean tun­ing" went fur­ther in their inten­tion to describe all musi­cal notes by cycles of fifths. Going fur­ther up, 243/128, 729/512… etc. effec­tive­ly pro­duces a full chro­mat­ic scale: C - G - D - A - E - B - F♯ - C♯ - G♯… etc. But in addi­tion to the harsh sound of some of the result­ing inter­vals, things get bad if one hopes to end the cycle on the ini­tial note. If the series start­ed on 'C', it will end on 'C' (or 'B#'), but with a ratio of 531441/524288 = 1.01364, slight­ly high­er than 1. This gap is called the Pythagorean com­ma, which is con­cep­tu­al­ly dif­fer­ent from the syn­ton­ic com­ma (1.0125), although their sizes are almost iden­ti­cal. This para­dox is a mat­ter of sim­ple arith­metic: pow­ers of 2 (octave inter­vals) nev­er equal pow­ers of 3.

The attri­bu­tion of this sys­tem to the "ancient Greeks" is, of course, pure fan­ta­sy, since they (unlike the Egyptians) didn't have any use for fractions!

A 19-key per octave (from "A" to "a") key­board designed by Gioseffo Zarlino (1517-1590) (source)

Despite the com­ma prob­lem, tun­ing instru­ments by series of per­fect fifths was com­mon prac­tice in medieval Europe, fol­low­ing the organum which con­sist­ed of singing/playing par­al­lel fifths or fourths to enhance a melody. One of the old­est trea­tis­es on "Pythagorean tun­ing" was pub­lished around 1450 by Henri Arnault de Zwolle (Asselin 2000 p. 139). In this tun­ing, major "Pythagorean" thirds sound­ed harsh, which explains why the major third was con­sid­ered a dis­so­nant inter­val at the time.

Because of these lim­i­ta­tions, Western fixed-pitch instru­ments using chro­mat­ic (12-tone) scales nev­er achieve the pitch accu­ra­cy dic­tat­ed by just into­na­tion. For this rea­son just into­na­tion is described in the lit­er­a­ture as "incom­plete" (Asselin 2000 p. 66). Multiple divi­sions (more than 12 per octave) are required to pro­duce all "pure" ratios. This has been unsuc­cess­ful­ly attempt­ed on key­board instru­ments, although it remains pos­si­ble on a computer.

The Indian approach

Bharata Muni's "Natya Shastra"

The grama-murcchana mod­el was described in the Natya Shastra, a Sanskrit trea­tise on the per­form­ing arts writ­ten in India some twen­ty cen­turies ago. Chapter 28 con­tains a dis­cus­sion of the "har­mon­ic scale", which is based on a divi­sion of the octave into 22 shru­ti-s, while only sev­en swara-s (notes) are used by musi­cians: "Sa", "Re", "Ga", "Ma", "Pa", "Dha", "Ni". These can be mapped onto con­ven­tion­al Western music nota­tion "C", "D", "E", "F", "G", "A", "B" in English, or "do", "re", "mi", "fa", "sol", "la", "si" in Italian/Spanish/French.

This 7-swara scale can be extend­ed to a 12-degree (chro­mat­ic) scale by means of diesis and flat alter­ations, which raise or low­er a note by a semi­tone. Altered notes in the Indian sys­tem are com­mon­ly called "komal Re", "komal Ga", "Ma tivra", "komal Dha" and "komal Ni". The word "komal" can be trans­lat­ed as "flat" and "tivra" as "diesis".

The focus of 20th cen­tu­ry research in Indian musi­col­o­gy has been to 'quan­ti­fy' shruti-s in a sys­tem­at­ic way and to assess the rel­e­vance of this quan­tifi­ca­tion to the per­for­mance of clas­si­cal raga.

A strik­ing point in the ancient Indian the­o­ry of musi­cal scales is that it does not rely on numer­i­cal ratios, be they fre­quen­cies or lengths of vibrat­ing strings. This point was over­looked by 'colo­nial musi­col­o­gists' because of their lack of insight into Indian math­e­mat­ics and their fas­ci­na­tion with a mys­ti­cism of num­bers inher­it­ed from Neopythagoreanism.

As report­ed by Jonathan Barlow (per­son­al com­mu­ni­ca­tion, 3/9/2013, links my own):

The ustads in India from way back con­sid­ered that they fol­lowed Pythagoras, but ear­ly on they made the dis­cov­ery that try­ing to tune by num­bers was a los­ing game, and Ibn Sina (Avicenna) (980-1037 AD), who was their great philoso­pher of aes­thet­ics, said in plain terms that it was wis­er to rely on the ears of the experts. Ahobala tried to do the num­bers thing (and Kamilkhani) but they are rel­e­gat­ed to a foot­note of 17th C musicology.

Bharata Muni, the author(s) of the Natya Shastra, may have heard of "Pythagorean tun­ing", a the­o­ry that Indian sci­en­tists could have expand­ed con­sid­er­ably, giv­en their exper­tise in the use of cal­cu­lus.. Despite this, not a sin­gle num­ber is quot­ed in the entire chap­ter on musi­cal scales. This para­dox is dis­cussed on my page The Two-vina exper­i­ment. In A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra, I showed a min­i­mal rea­son: Bharata's descrip­tion leads to an infi­nite set of solu­tions, which should be for­malised with some alge­bra, rather than a set of inte­ger ratios.

How (and why) should the octave be divid­ed into 22 micro-intervals when most Indo-European musi­cal sys­tems only name 5 to 12 notes? Some naive eth­no­mu­si­col­o­gists have claimed that Bharata's mod­el must be a vari­ant of the Arabic "quar­ter­tone sys­tem", or even a tem­pered scale with 22 inter­vals… If so, why not 24 shruti-s? Or any arbi­trary num­ber? The two-vina exper­i­ment pro­duces shruti-s of unequal sizes. No sum of micro­tones of 54.5 cents in a 22-degree tem­pered scale would pro­duce an inter­val close to 702 cents — the per­fect fifth that gives con­so­nance (sam­va­di) to musi­cal scales.

In the (thought?) exper­i­ment described in Natya Shastra (chap­ter 28), two vina-s — stringed instru­ments sim­i­lar to zithers — are tuned iden­ti­cal­ly. The author sug­gests low­er­ing all the notes of one instru­ment by "one shru­ti" and he gives a list of notes that will match between the two instru­ments. The process is repeat­ed three more times until all the match­es have been made explic­it. This gives a sys­tem of equa­tions (and inequa­tions) for the 22 unknown vari­ables. Additional equa­tions can be derived from a pre­lim­i­nary state­ment that the octave and the major fifth are "con­so­nant" (sam­va­di), thus fix­ing ratios close to 2/1 and 3/2. (Read the detailed pro­ce­dure on my page The Two-vina Experiment and the math­e­mat­ics in A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra.)

However, a new equa­tion is need­ed, which Bharata's mod­el does not pro­vide. Interestingly, in Natya Shastra the major third is clas­si­fied as "asso­nant" (anu­va­di). Setting its fre­quen­cy ratio to 5/4 is there­fore a reduc­tion of this mod­el. In fact, it is a dis­cov­ery of European musi­cians in the ear­ly 16th cen­tu­ry — when fixed-pitch key­board instru­ments had become pop­u­lar (Asselin 2000 p. 139) — that many musi­col­o­gists take for grant­ed in their inter­pre­ta­tion of the Indian mod­el. […] thirds were con­sid­ered inter­est­ing and dynam­ic con­so­nances along with their inverse, sixths, but in medieval times they were con­sid­ered dis­so­nances unus­able in a sta­ble final sonor­i­ty (Wikipedia).

The reduc­tion of Bharata's mod­el does not fit with the flex­i­bil­i­ty of into­na­tion schemes in Indian music — see page Raga into­na­tion. Experimental work on musi­cal prac­tice is not "in tune" with this inter­pre­ta­tion of the the­o­ry. The shru­ti sys­tem should be inter­pret­ed as a "flex­i­ble" frame­work in which the vari­able para­me­ter is the syn­ton­ic com­ma, name­ly the dif­fer­ence between a Pythagorean major third and a har­mon­ic major third. Adherence to the two-vina exper­i­ment only implies that the com­ma takes its val­ue between 0 and 56.8 cents (Bel 1988a).

Building tona­grams on the Apple II from tonal data col­lect­ed by Bel's MMA (1982)

➡ Measurements in "cents" refer to a log­a­rith­mic scale. Given a fre­quen­cy ratio 'r', its cent val­ue is 1200 x log(r) / log(2). The octave (ratio 2/1) is 1200 cents, and each semi­tone is about 100 cents.

The con­struc­tion and eval­u­a­tion of raga scale types based on this flex­i­ble mod­el is explained on my page Raga into­na­tion.

Extending the Indian model to Western harmony

One incen­tive for apply­ing the Indian frame­work to Western clas­si­cal music is that both tra­di­tions have giv­en pri­or­i­ty to the con­so­nance of per­fect fifths asso­ci­at­ed with a 3/2 fre­quen­cy ratio. In addi­tion, let us agree to fix the har­mon­ic major third to the inter­val 5/4 (384 cents), result­ing in a syn­ton­ic com­ma of 81/80 (close to 21.5 cents). The sys­tem of equa­tions derived from the two-vina exper­i­ment is com­plete, and it yields two addi­tion­al sizes of shruti-s: the Pythagorean lim­ma (256/243 = about 90 cents) and the minor semi­tone (25/24 = about 70 cents).

These inter­vals were known to Western musi­col­o­gists who were try­ing to find just into­na­tion scales that could be played on key­board instru­ments (12 degrees per octave). Gioseffo Zarlino (1517-1590) is a well-known con­trib­u­tor to this the­o­ret­i­cal work. His "nat­ur­al scale" was an arrange­ment of the three nat­ur­al inter­vals yield­ing the fol­low­ing chro­mat­ic scale — named "just intonation" in "-to.tryScales":

A "just into­na­tion" chro­mat­ic scale derived from Zarlino's mod­el of "nat­ur­al scale"
(Image cre­at­ed by Bol Processor)

This should not be con­fused with Zarlino's mean­tone tem­pera­ment (image), read pages Microtonality and Comparing tem­pera­ments.

In 1974, E. James Arnold, inspired by the French musi­col­o­gist Jacques Dudon, designed a cir­cu­lar mod­el to illus­trate the trans­po­si­tion of scales (mur­ccha­na) in Bharata's mod­el. Below is the sequence of inter­vals (L, C, M…) over an octave as derived from the two-vina exper­i­ment.

The out­er crown of Arnold's mod­el for his inter­pre­ta­tion of the grama-murcchana sys­tem. The Pythagorean series of per­fect fifths is drawn in red and the har­mon­ic series of per­fect fifths is drawn in green. The dot­ted blue line is a har­mon­ic major third.

Positions R1, R2 etc. are labelled with abbre­vi­a­tions of names Sa, Re, Ga, Ma, Pa, Dha, Ni. For exam­ple, Ga ("E" in English) can have four posi­tions, G1 and G2 being enhar­mon­ic vari­ants of komal Ga ("E flat" = "mi bémol"), while G3 and G4 are the har­mon­ic and Pythagorean posi­tions of shud­dha Ga ("E"= "mi") respectively.

The notes of the chro­mat­ic scale have been labelled using the Italian/Spanish/French con­ven­tion "do", "re", "mi", "fa"… rather than the English con­ven­tion to avoid con­fu­sion: "D" is asso­ci­at­ed with Dha ("A" in English, "la" in Italian/French) and not with the English "D" ("re" in Italian/French).

Frequency ratios are illus­trat­ed by pic­tograms show­ing how each posi­tion can be derived from the base note (Sa). For exam­ple, the pic­togram near N2 ("B flat" = "si bémol") shows 2 ascend­ing per­fect fifths and 1 descend­ing major third.

Cycles of per­fect fifths have been marked with red and green seg­ments. The red series is gen­er­al­ly called "Pythagorean" — con­tain­ing G4 (81/84) — and the green one "har­mon­ic" — con­tain­ing G3 (5/4). The blue arrow shows a har­mon­ic major third going from S ("C" = "do") to G3. Both cycles are iden­ti­cal, with the har­mon­ic and Pythagorean posi­tions dif­fer­ing by 1 syn­ton­ic comma.

Theoretically, the har­mon­ic series could also be con­struct­ed in a "Pythagorean" way, by extend­ing the cycles of per­fect fifths. Thus, after 8 descend­ing fifths, G3 ("E" = "mi") would be 8192/6561 (1.248) instead of 5/4 (1.25). The dif­fer­ence is a schis­ma (ratio 1.001129), an inter­val beyond human per­cep­tion. It is there­fore more con­ve­nient to show sim­ple ratios.

The frame­work imple­ment­ed in Bol Processor deals with inte­ger ratios, which allows for high accu­ra­cy. Nevertheless, it delib­er­ate­ly eras­es schis­ma dif­fer­ences. This is the result of approx­i­mat­ing cer­tain ratios, e.g. replac­ing 2187/2048 with 16/15.

Note that there is no trace of schis­ma in the clas­si­cal Indian the­o­ry of musi­cal scales; there wouldn't be even if Bharata's con­tem­po­raries had con­struct­ed them via series of ratio­nal num­bers, because of their deci­sion to dis­re­gard infin­i­tes­i­mals as "non-representable" enti­ties (cf. Nāgārjuna's śūniyavā­da phi­los­o­phy, Raju 2007 p. 400). If 2187/2048 and oth­er com­plex ratios of the same series were deemed imprac­ti­cal, the Indian mathematician/physicist (fol­low­ing the Āryabhaţīya) would replace them all with "16/15 āsan­na (near val­ue)"… This is an exam­ple of Indian math­e­mat­ics designed for cal­cu­la­tion rather than proof con­struc­tion. In the Western Platonic approach, math­e­mat­ics aimed at "exact val­ues" as a sign of per­fec­tion, which led its pro­po­nents to face seri­ous prob­lems with "irra­tional" num­bers and even with the log­ic under­ly­ing for­mal proof pro­ce­dures (Raju 2007 p. 387-389).

This dia­gram, and the mov­ing gra­ma wheel that will be intro­duced next, could be built with any size of the syn­ton­ic com­ma in the range 0 to 56.8 cents (Bel 1988a). The two-vina exper­i­ment implies that L = M + C. Thus, the syn­ton­ic com­ma is also the dif­fer­ence between a lim­ma and a minor semi­tone. To build a frame­work for the flex­i­ble mod­el, sim­ply allow all har­mon­ic posi­tions to move by the same amount in the direc­tion of their Pythagorean enhar­mon­ic variants.

While major thirds would be 1 com­ma larg­er if a Pythagorean inter­val (e.g. G4, ratio 81/64) were cho­sen instead of a har­mon­ic one (G3, ratio 5/4), major fifths also dif­fer by 1 com­ma, but the Pythagorean fifth (P4, ratio 3/2) is larg­er than the har­mon­ic one (P3, ratio 40/27). The lat­ter has been called the wolf fifth because its use in melod­ic phras­es or chords is said to sound "out of tune", with a negative/evil mag­i­cal connotation.

No posi­tion on this mod­el requires more than 1 ascend­ing or descend­ing major third. This makes sense to instru­ment tuners who know that tun­ing per­fect fifths by ear is an easy task that can be repeat­ed in sev­er­al steps — here a max­i­mum of 5 or 6 up and down. Tuning a har­mon­ic major third, how­ev­er, requires a lit­tle more atten­tion. It would there­fore be unre­al­is­tic to imag­ine a pre­cise tun­ing pro­ce­dure based on a sequence of major thirds —although this can be achieved with the aid of elec­tron­ic devices.

At the top of the pic­ture (posi­tion "fa#") we notice that nei­ther of the two cycles of fifths clos­es on itself due to the pres­ence of a Pythagorean com­ma. The tiny dif­fer­ence (schis­ma, ratio 1.001129) between Pythagorean and syn­ton­ic com­mas is illus­trat­ed by two pairs of posi­tions: P1/M3 and P2/M4.

Another pecu­liar­i­ty at the top of the pic­ture is the appar­ent dis­rup­tion of the sequence L-C-M. However, remem­ber­ing that L = M + C, the reg­u­lar­i­ty is restored by choos­ing between P1/M3 and P2/M4.

Approximations have no effect on the sound of musi­cal inter­vals, since no human ear would appre­ci­ate a schis­ma dif­fer­ence (2 cents). However, oth­er dif­fer­ences must remain explic­it, since inte­ger ratios indi­cate the tun­ing pro­ce­dure by which the scale can be con­struct­ed. Thus the replace­ment inte­ger ratio may be more com­plex than the "schis­mat­ic" one, as in the case of R1, ratio 256/243 instead of 135/128, because the lat­ter is built with a sim­ple major third above D4 instead of belong­ing to the Pythagorean series.

Tuning Western instruments

The prob­lem of tun­ing fixed pitch instru­ments (harp­si­chord, pipe organ, pianoforte…) has been well doc­u­ment­ed by the organ/harpsichord play­er, builder and musi­col­o­gist Pierre-Yves Asselin (Asselin 2000). In his prac­ti­cal approach, just into­na­tion is a back­ground mod­el that can only be approx­i­mat­ed on 12-degree scales by tem­pera­mentcom­pro­mis­ing the pure inter­vals of just into­na­tion to meet oth­er require­ments. Temperament tech­niques applied to the Bol Processor are dis­cussed on the Microtonality and Comparing tem­pera­ments pages.

Source: Pierre-Yves Asselin (2000 p. 61)

The col­umn at the cen­tre of this pic­ture, with notes with­in ellipses, is a series of per­fect fifths which Asselin called "Pythagorean".

Series of fifths are infi­nite. Selecting sev­en of them (in the mid­dle col­umn) cre­ates a scale called the "glob­al dia­ton­ic frame­work" (milieu dia­tonique glob­al, see Asselin 2000 p. 59). In this exam­ple, the frame­works are those of "C" and "G" ("do" and "sol" in French).

Extending series of per­fect fifths beyond the sixth step pro­duces com­pli­cat­ed ratios that can be approx­i­mat­ed (with a schis­ma dif­fer­ence) to those pro­duced by har­mon­ic major thirds (ratio 5/4). Positions on the right (major third up, first order) are one syn­ton­ic com­ma low­er than their equiv­a­lents in the mid­dle series, and posi­tions on the left (major third down, first order) are one syn­ton­ic com­ma higher.

It is pos­si­ble to cre­ate more columns on the right ("DO#-2", "SOL#-2" etc.) for posi­tions cre­at­ed by 2 suc­ces­sive jumps of a har­mon­ic major third, and in the same way on the left ("DOb#+2", "SOLb#+2" etc.), but these second-order series are only used for the con­struc­tion of tem­pera­ments — see page Microtonality.

This mod­el pro­duces 3 to 4 posi­tions for each note, a 41-degree scale, which would require 41 keys (or strings) per octave on a mechan­i­cal instru­ment! This is one rea­son for the tem­per­ing of inter­vals on mechan­i­cal instru­ments, which amounts to select­ing the most appro­pri­ate 12 posi­tions for a giv­en musi­cal repertoire.

This tun­ing scheme is dis­played on scale "3_cycles_of_fifths" in the "-to.tryTunings" tonal­i­ty resource of Bol Processor.

Series of names have been entered, togeth­er with the frac­tion of the start­ing posi­tion, to pro­duce cycles of per­fect fifths in the scale. Following Asselin's nota­tion, the fol­low­ing series have been cre­at­ed (trace gen­er­at­ed by the Bol Processor):

  1. From 4/3 up: FA, DO, SOL, RE, LA, MI, SI, FA#, DO#, SOL#, RE#, LA#
  2. From 4/3 down: FA, SIb, MIb, LAb, REb, SOLb
  3. From 320/243 up: FA-1, DO-1, SOL-1, RE-1, LA-1, MI-1, SI-1, FA#-1, DO#-1, SOL#-1, RE#-1, LA#-1
  4. From 320/243 down: FA-1, SIb-1, MIb-1, LAb-1, REb-1, SOLb-1
  5. From 27/20 up: FA+1, DO+1, SOL+1, RE+1, LA+1, MI+1, SI+1, FA#+1, DO#+1, SOL#+1, RE#+1, LA#+1
  6. From 27/20 down: FA+1, SIb+1, MIb+1, LAb+1, REb+1, SOLb+1

This was more than enough to deter­mine the 3 or 4 posi­tions of each note, since sev­er­al notes can reach the same posi­tion at a schis­ma dis­tance. For exam­ple, "REb" is in the same posi­tion as "DO#-1". The IMAGE link shows this scale with (sim­pli­fied) fre­quen­cy relationships:

The "3_cycles_of_fifths" scale: a graph­i­cal rep­re­sen­ta­tion of three series of per­fect fifths used to per­form Western music in "just into­na­tion" accord­ing to Asselin (2000).
(Image cre­at­ed by Bol Processor)

Compared to the mod­el advo­cat­ed by Arnold (1974, see fig­ure above), this sys­tem accepts har­mon­ic posi­tions on either side of the Pythagorean posi­tions, which means that Sa ("C" or "do"), like all unal­tered notes, can take three dif­fer­ent posi­tions. In Indian music, Sa is unique because it is the fun­da­men­tal note of every clas­si­cal per­for­mance of a raga, fixed by the drone (tan­pu­ra) and tuned to suit the singer or instru­men­tal­ist. However, we will see that trans­po­si­tions (murcchana-s) of the basic Indian scale(s) pro­duce some of these addi­tion­al positions.

A tun­ing scheme based on three (or more) cycles of per­fect fifths is a good grid for con­struct­ing basic chords in just into­na­tion. For exam­ple, a "C major" chord is made up of its ton­ic "DO", its dom­i­nant "SOL" a per­fect fifth high­er, and "MI-1" a major har­mon­ic third above "DO". The first two notes can belong to a Pythagorean series (blue marks on the graph) and the last one to a har­mon­ic series (green marks on the graph). Minor chords are con­struct­ed in a sim­i­lar way, which will be explained later.

This does not com­plete­ly solve the prob­lem of play­ing tonal music with just into­na­tion. Sequences of chords must be cor­rect­ly aligned. For exam­ple, should one use the same "E" in "C major" and in "E major"? The answer is "no", but the rule must be made explicit.

How is it pos­si­ble to choose the right one among the 37 * 45 = 2 239 488 chro­mat­ic scales shown in this graph?

In the approach of Pierre-Yves Asselin (2000) — inspired by the work of Conrad Letendre in Canada — rules were derived from options val­i­dat­ed by lis­ten­ers and musi­cians. Conversely, the gra­ma frame­work exposed below is a "top-down" approach — from a the­o­ret­i­cal mod­el to its eval­u­a­tion by practitioners.

The grama framework

Using Bharata's mod­el — see page The two-vina exper­i­ment — we can con­struct chro­mat­ic (12-degree) scales in which each tonal posi­tion (out of 11) has two options: har­mon­ic or Pythagorean. This is one rea­son to say that the frame­work is based on 22 shru­ti-s. In Indian musi­co­log­i­cal lit­er­a­ture, the term shru­ti is ambigu­ous, as it can mean either a tonal posi­tion or an interval.

In Bol Processor BP3 this "gra­ma" frame­work is edit­ed as fol­lows in "-to.12_scales":

The 22-shruti frame­work as per Bharata's mod­el with a syn­ton­ic com­ma of 22 cents (see full image)

We use lower-case labels for R1, R2 etc. and append a '_' after labels to dis­tin­guish enhar­mon­ic posi­tions from octave num­bers. So, "g3_4" means G3 in the fourth octave.

Two options for each of the 11 notes yields a set of 211 = 2048 chro­mat­ic scales. Of these, only 12 are "opti­mal­ly con­so­nant", i.e. they con­tain only one wolf fifth (small­er by 1 syn­ton­ic com­ma). These 12 scales are the ones used in har­mon­ic or modal music to expe­ri­ence max­i­mum con­so­nance. The author(s) of Naya Shastra had this inten­tion in mind when they described a basic 12-tone "opti­mal" scale called "Ma-grama". This scale is called "Ma_grama" in tonal­i­ty resource "-to.12_scales":

The "Ma-grama" basic chro­mat­ic scale built on the 22-shruti frame­work (see full image)

Click on the IMAGE link on the "Ma_grama" page to obtain a graph­i­cal rep­re­sen­ta­tion of this scale:

The Ma-grama chro­mat­ic scale, Bol Processor graph­ic display

In this pic­ture the per­fect fifths are blue lines and the (unique) wolf fifth between C and G is a red line. Note that posi­tions marked in blue ("Db", "Eb" etc.) are Pythagorean and har­mon­ic posi­tions ("D", "E" etc.) appear in green. Normally, a "Pythagorean" posi­tion on this frame­work is one where nei­ther the numer­a­tor nor the denom­i­na­tor of the frac­tion is a mul­ti­ple of 5. Multiples of 5 indi­cate jumps of har­mon­ic major thirds (ratio 5/4 or 4/5). This sim­ple rule is bro­ken, how­ev­er, when com­plex ratios are replaced by sim­ple equiv­a­lents at a dis­tance of one schis­ma. Therefore, the blue and green mark­ings on the Bol proces­sor images are main­ly used to facil­i­tate the iden­ti­fi­ca­tion of a posi­tion: a note appear­ing near a blue mark­ing could as well belong to the har­mon­ic series with a more com­plex ratio, bring­ing it close to the Pythagorean position.

It will be impor­tant to remem­ber that all the notes of the Ma-grama scale are in their low­est enhar­mon­ic posi­tions. Other scales are cre­at­ed by rais­ing a few notes by a comma.

This Ma-grama is the start­ing point for the gen­er­a­tion of all "opti­mal­ly con­so­nant" chro­mat­ic scales. This is done by trans­pos­ing per­fect fifths (upwards or down­wards). The visu­al­i­sa­tion of trans­po­si­tions becomes clear when the basic scale is drawn on a cir­cu­lar wheel which is allowed to move with­in the out­er crown shown above. The fol­low­ing is Arnold's com­plete mod­el, show­ing the Ma-Grama in the basic posi­tion, pro­duc­ing the "Ma01" scale:

The fixed (out­er) and mov­able (inner) shru­ti wheels in posi­tion for the "M1" trans­po­si­tion of Ma-grama, which pro­duces the "Ma01" scale

This posi­tion­ing of the inner wheel on top of the out­er wheel is called a "trans­po­si­tion" (mur­ccha­na).

Intervals are shown on the graph. For exam­ple, R3 ("D" = "re") is a per­fect fifth to D3 ("A" = "la").

The "Ma01" scale pro­duced by this M1 trans­po­si­tion pro­duces the "A minor" chro­mat­ic scale with the fol­low­ing intervals:

CDb c+m D c+l Eb c+m E c+l F c+m F# c+l GAb c+m A c+l Bb c+m B c+l C

  • m = minor semi­tone = 70 cents
  • l = lim­ma = 90 cents
  • c = com­ma = 22 cents
The "A minor" chro­mat­ic scale pro­duced by the M1 trans­po­si­tion of Ma-grama (i.e. "Ma01")

This con­struc­tion of the "A minor" scale cor­re­sponds to the Western scheme for the pro­duc­tion of just into­nat­ed chords: the fun­da­men­tal "A" (ratio 5/3) is "LA-1" on the "3_cycles_of_fifths" scale, which is in the "major third upwards" series as well as its dom­i­nant "MI-1", while "C" (ratio 1/1) belongs to the "Pythagorean" series.

At first sight, the scale con­struct­ed by this M1 trans­po­si­tion also resem­bles a "C major" scale, but with a dif­fer­ent choice of R3 (har­mon­ic "D" ratio 10/9) instead of R4 (Pythagorean "D" ratio 9/8). To pro­duce the "C major" scale, "D" should be raised to its Pythagorean posi­tion, which amounts to R4 replac­ing R3 on Bharata's mod­el. This is done by using an alter­na­tive root scale called "Sa-Grama" in which P4 replaces P3.

P3 is called "cyu­ta Pa" mean­ing "Pa low­ered by one shru­ti" — here a syn­ton­ic com­ma. The wheel rep­re­sen­ta­tion sug­gests that oth­er low­ered posi­tions may lat­er be high­light­ed by the trans­po­si­tion process, name­ly cyu­ta Ma and cyu­ta Sa.

At the bot­tom of the "Ma01" page on "-to.12_scales", all the inter­vals of the chro­mat­ic scale are list­ed, with the sig­nif­i­cant inter­vals high­light­ed in colour. The wolf fifth is coloured red. Note that when the scale is opti­mal­ly con­so­nant, only one cell is coloured red.

Harmonic struc­ture of the "Ma01" trans­po­si­tion of Ma-grama, as dis­played by the Bol Processor
Ma01 tun­ing scheme, dis­played by the Bol Processor

A tun­ing scheme is sug­gest­ed at the bot­tom of page "Ma01". It is based on the (pure­ly mechan­i­cal) assump­tion that per­fect fifths are tuned first with­in the lim­it of 6 steps. Then har­mon­ic major thirds and minor sixths are high­light­ed, and final­ly Pythagorean thirds and minor sixths can also be tak­en into account.

Exporting a major chro­mat­ic scale with the sen­si­tive note raised by 1 comma

We can use "Ma01" as a 23-degree micro­ton­al scale in Bol Processor pro­duc­tions because all the notes rel­e­vant to the chro­mat­ic scale have been labelled. However it is more prac­ti­cal to extract a 12-degree scale with only labelled notes. This can be done on the "Ma01" page. The image shows the expor­tat of the "Cmaj" scale with 12 degrees and a raised posi­tion of D.

Using "Cmaj" for the name makes it easy to declare this scale in its spe­cif­ic har­mon­ic con­text. In the same way, a 12-degree "Amin" can be export­ed with­out rais­ing the "D".

"D" ("re") is there­fore the sen­si­tive note when switch­ing between the "C major" scale and its rel­a­tive "A minor".

In all 12-degree export­ed scales it is easy to change the note con­ven­tion — English, Italian/Spanish/French, Indian or key num­bers. It is also pos­si­ble to select diesis in replace­ment of flat and vice ver­sa, as the machine recog­nis­es both options.

Producing the 12 chromatic scales

A PowerPoint ver­sion of Arnold's mod­el can be down­loaded here and used to check the trans­po­si­tions pro­duced by the Bol Processor BP3.

Creating "Ma02" as a trans­po­si­tion of "Ma01"

To cre­ate suc­ces­sive "opti­mal­ly con­so­nant" chro­mat­ic scales, the Ma-grama should be trans­posed by descend­ing or ascend­ing per­fect fifths.

For exam­ple, cre­ate "Ma02" by trans­pos­ing "Ma01" from a per­fect fourth "C to F" (see pic­ture). Nothing else needs to be done. All the trans­po­si­tions are stored in tonal­i­ty resource "-to.12_scales". Each of these scales can then be used to export a minor and a major chro­mat­ic scale. This pro­ce­dure is explained in detail on the page Creation of just-intonation scales.

Enharmonic shift of the tonic

An inter­est­ing point raised by James Arnold in our paper L'intonation juste dans la théorie anci­enne de l'Inde : les appli­ca­tions aux musiques modale et har­monique (1985) is the com­par­i­son of minor and major scales of the same ton­ic, for exam­ple mov­ing from "C major" to "C minor".

To get the "C minor" scale, we need to cre­ate "Ma04" by using four suc­ces­sive descend­ing fifths (or ascend­ing fourths). Note that writ­ing "C to F" on the form does not always pro­duce a per­fect fourth trans­po­si­tion because the "F to C" inter­val may be a wolf fifth! This hap­pens when going from "Ma03" to "Ma04". In this case, select, for exam­ple, "D to G".

From "Ma04" we export "Cmin". Here comes a surprise:

(See full image)
The "C minor" scale derived from the "Ma04" trans­po­si­tion of Ma-grama

The inter­vals are those pre­dict­ed (see "A minor" above), but the posi­tions of "G", "F" and "C" have been low­ered by one com­ma. This was expect­ed for "G" because of the replace­ment of P4 by P3. The bizarre sit­u­a­tion is that both 'C' and 'F' are one com­ma low­er than what seemed to be their low­est (or only) posi­tion in the 22-shruti mod­el. The authors of Natya Shastra had antic­i­pat­ed a sim­i­lar process when they invent­ed the terms "cyu­ta Ma" and "cyu­ta Sa"

This shift­ing of the base note can be seen by mov­ing the inner wheel. After 4 trans­po­si­tions, the posi­tion M1 of the inner wheel will cor­re­spond to the posi­tion G1 of the out­er wheel, giv­ing the fol­low­ing configuration:

The "Ma04" trans­po­si­tion of Ma-grama show­ing low­ered C, F and G

This shift of the ton­ic was pre­sent­ed as a chal­leng­ing find­ing in our paper (Arnold & Bel 1985). Jim Arnold had done exper­i­ments with Pierre-Yves Asselin play­ing Bach's music on the Shruti Harmonium and both liked the shift of the ton­ic on minor chords.

Two options for tun­ing a "C minor" chord. Source: Asselin (2000)

Pierre-Yves him­self men­tions a one-comma low­er­ing of "C" and "G" in the "C minor" chord. However, this was one of two options pre­dict­ed by his the­o­ret­i­cal mod­el. He test­ed it by play­ing the Cantor elec­tron­ic organ at the University, and reports that musi­cians found this option to be more pun­gent"déchi­rant" — (Asselin 2000 p. 135-137).

The oth­er option (red on the pic­ture) was that each scale be "aligned" in ref­er­ence to its base note "C" ("DO"). This align­ment (one-comma rais­ing) can be done click­ing but­ton "ALIGN SCALE" on scale pages wher­ev­er the basic note ("C") is not at posi­tion 1/1. Let us lis­ten to the "C major"/ "C minor" / "C major" sequence, first "non-aligned" then "aligned":

"C major"/ "C minor" / "C major" sequence, first non-aligned then aligned

Clearly, the "non-aligned" ver­sion is more pun­gent than the "aligned" one.

This choice is based on per­cep­tu­al expe­ri­ence, or "pratyakṣa pramāṇa" in Indian epis­te­mol­o­gy — see The two-vina exper­i­ment. We take an empir­i­cal approach rather than seek­ing an "axiomat­ic proof". The ques­tion is not which of the two options is true, but which one pro­duces music that sounds right.

Checking the tuning system

Checking a chord sequence

The con­struc­tion of just into­na­tion using the grama-murcchana pro­ce­dure needs to be checked in typ­i­cal chord sequences such as the "I-IV-II-V-I" series dis­cussed by Pierre-Yves Asselin (2000 p. 131-135):

After try­ing out five options sug­gest­ed by his the­o­ret­i­cal mod­el, the author chose the one pre­ferred by all the musi­cians. This is the into­na­tion they spon­ta­neous­ly choose when singing, with­out any spe­cial instruc­tion. This ver­sion also cor­re­sponds to Zarlino's "nat­ur­al scale".

The best option for a just-intonation ren­der­ing of the
"I-IV-II-V-I" har­mon­ic series (Asselin 2000 p. 134)

In the pre­ferred option, the ton­ics "C", "F" and "G" belong to the Pythagorean series of per­fect fifths, except "D" in the "D minor" chord which is one com­ma low­er than in "G major".

In the pic­ture, the tri­an­gles with the top point­ing to the right are major chords, and the one point­ing to the left is the "D minor" chord.

Asselin (2000 p. 137) con­cludes that the minor mode is one syn­ton­ic com­ma low­er than the major mode. Conversely, the major mode should be one syn­ton­ic com­ma high­er than the minor mode.

This is ful­ly con­sis­tent with the mod­el con­struct­ed by grama-murcchana. Since minor chro­mat­ic scales are export­ed from trans­po­si­tions of Ma-grama with all its degrees in the low­est posi­tion, their base notes are also dri­ven to the low­est posi­tions. However this requires a scale "adjust­ment" in the cas­es of "Ma10", "Ma11" and "Ma12" so that no posi­tion is cre­at­ed out­side the basic Pythagorean/harmonic scheme of the Indian sys­tem. Looking at Asselin's draw­ing (above), this means that no posi­tion would be picked up in the 2nd-order series of fifths in the right­most col­umn with two suc­ces­sive ascend­ing major thirds result­ing in a low­er­ing of 2 syn­ton­ic com­mas. This process is explained in more detail on the page Creation of just-intonation scales.

Let us lis­ten to the pro­duc­tion of the "-gr.tryTunings" gram­mar:

S --> Temp - Just
Temp --> Cmaj Fmaj Dmin Gmaj Cmaj
Just --> _scale(Cmaj,0) Cmaj _scale(Fmaj,0) Fmaj _scale(Dmin,0) Dmin _scale(Gmaj,0) Gmaj _scale(Cmaj,0) Cmaj
Cmaj --> {C3,C4,E4,G4}
Fmaj --> {F3,C4,F4,A4}
Dmin --> {D3,D4,F4,A4}
Gmaj --> {G3,B3,D4,G4}

First we hear the sequence of chords in equal tem­pera­ment, then in just intonation.

The "I-IV-II-V-I" har­mon­ic series in equal-tempered and just-intonation

The iden­ti­ty of the last occur­rence with Asselin's favourite choice is marked by fre­quen­cies in the C-sound score: "D4" in the third chord (D minor) is one com­ma low­er than "D4" in the fourth chord (G major), while all oth­er notes (e.g. "F4") have the same fre­quen­cies in the four chords.

; I - Cmaj
i1 6.000 1.000 130.815 90.000 90.000 0.000 0.000 0.000 0.000 ; C3
i1 6.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 6.000 1.000 327.038 90.000 90.000 0.000 0.000 0.000 0.000 ; E4
i1 6.000 1.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; G4

; IV - Fmaj
i1 7.000 1.000 174.420 90.000 90.000 0.000 0.000 0.000 0.000 ; F3
i1 7.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 7.000 1.000 348.840 90.000 90.000 0.000 0.000 0.000 0.000 ; F4
i1 7.000 1.000 436.050 90.000 90.000 0.000 0.000 0.000 0.000 ; A4

; II - Dmin
i1 8.000 1.000 145.350 90.000 90.000 0.000 0.000 0.000 0.000 ; D3
i1 8.000 1.000 290.700 90.000 90.000 0.000 0.000 0.000 0.000 ; D4
i1 8.000 1.000 348.840 90.000 90.000 0.000 0.000 0.000 0.000 ; F4
i1 8.000 1.000 436.050 90.000 90.000 0.000 0.000 0.000 0.000 ; A4

; V - Gmaj
i1 9.000 1.000 196.222 90.000 90.000 0.000 0.000 0.000 0.000 ; G3
i1 9.000 1.000 245.278 90.000 90.000 0.000 0.000 0.000 0.000 ; B3
i1 9.000 1.000 294.334 90.000 90.000 0.000 0.000 0.000 0.000 ; D4
i1 9.000 1.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; G4

; I - Cmaj
i1 10.000 1.000 130.815 90.000 90.000 0.000 0.000 0.000 0.000 ; C3
i1 10.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 10.000 1.000 327.038 90.000 90.000 0.000 0.000 0.000 0.000 ; E4
i1 10.000 1.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; G4
s

To sum­marise, the ton­ic and dom­i­nant of each minor chord belong to the "low­er" har­mon­ic series of per­fect fifths appear­ing in the right-hand col­umn of Asselin's draw­ing repro­duced above. Conversely, the ton­ic and dom­i­nant of each major chord belong to the "Pythagorean" series of per­fect fifths in the mid­dle column.

Checking note sequences

Switches for (pro­gram­ma­ble) enhar­mon­ic adjust­ments on Bel's Shruti Harmonium (1980)

The rules for deter­min­ing the rel­a­tive posi­tions of major and minor modes (see above) deal only with the three notes that define a major or minor chord. Transpositions (murcchana-s) of the Ma-grama pro­duce basic notes in the same posi­tions, but these are also chro­mat­ic (12-degree) scales. Therefore, they also estab­lish the enhar­mon­ic posi­tions of all the notes that would be played in that har­mon­ic context.

Do these com­ply with just into­na­tion? In the­o­ry, yes, because the 12 chro­mat­ic scales obtained by these trans­po­si­tions are "opti­mal­ly con­so­nant": each of them con­tains no more than a wolf fifth.

In 1980, James Arnold con­duct­ed exper­i­ments to ver­i­fy this the­o­ret­i­cal mod­el using my Shruti har­mo­ni­um, which pro­duced pro­grammed inter­vals to an accu­ra­cy of 1 cent. Pierre-Yves Asselin played clas­si­cal pieces while Jim manip­u­lat­ed switch­es on the instru­ment to select enhar­mon­ic variants.

Listen to three ver­sions of an impro­vi­sa­tion based on Mozart's musi­cal dice game. The first one is equal-tempered, the sec­ond one uses Serge Cordier's equal-tempered scale with an extend­ed octave (1204 cents, see Microtonality) and the third uses sev­er­al dif­fer­ent scales to repro­duce a just into­na­tion. To this end, vari­ables point­ing to scales based on the har­mon­ic con­text have been insert­ed in the first gram­mar rules:

S --> _vel(80) Ajust Bjust
Ajust --> Cmaj A1 A2 Gmaj A3 Cmaj A4 Dmaj A5 Cmaj A6 Gmaj A7 A8 Cmaj A1 A2 Gmaj A3 Cmaj A4 Dmaj A5 Cmaj A6 Gmaj A7 A'8
Bjust --> Gmaj B1 Cmaj B2 Dmaj B3 Cmaj B4 Fmaj B5 B6 Gmaj B7 Cmaj B8 Gmaj B1 Cmaj B2 Dmaj B3 Cmaj B4 Fmaj B5 B6 Gmaj B7 Cmaj B8
Cmaj --> _scale(Cmaj,0)
Dmaj --> _scale(Dmaj,0)
Fmaj --> _scale(Fmaj,0)
Gmaj --> _scale(Gmaj,0)
… etc.

An exam­ple of Mozart's musi­cal dice game, equal-tempered
The same exam­ple, equal-tempered scale with octave stretched at 1204 cents
The same exam­ple in just intonation

Scale comparison

At the bot­tom of the pages "-to.12_scales" and "-to.Mozart", all scales are com­pared for their inter­val­ic con­tent. The com­par­i­son is based on frac­tions where these have been declared, or on floating-point fre­quen­cy ratios otherwise.

The com­par­i­son con­firms that the "Amin" chro­mat­ic scale is iden­ti­cal to "Fmaj".

By rais­ing "D" in "Ma01" we have cre­at­ed "Sa01", the first trans­po­si­tion of the Sa-grama scale. From "Sa01" we can make "Sa02" etc. by suc­ces­sive trans­po­si­tions (one fourth upwards). But the com­para­tor shows that "Sa02" is iden­ti­cal to "Ma01".

Similarly, the trans­po­si­tions "Ma13", "Ma14" etc. are iden­ti­cal to "Ma01", "Ma02" etc. The series of chro­mat­ic scales is (as expect­ed) cir­cu­lar, since "Ma13" returns to "Ma01".

Comparison of scales stored in "-to.12_scales"

For more details on fre­quen­cies, block keys, etc., see the Microtonality page.

Is this perfect?

This entire page is devot­ed to tonal sys­tems defined in terms of whole-numbered ratios (i.e. ratio­nal num­bers) mea­sur­ing tonal inter­vals. There were at least two strong incen­tives for the idea that any "pure" tonal inter­val should be treat­ed as a ratio of two whole num­bers, such as 2/1 for the octave, 3/2 for a "per­fect" fifth, 5/4 for a "har­mon­ic" major third, etc.

The his­to­ry of music (in the West) goes back to ideas attrib­uted to the Greek philoso­pher "Pythagoras" (see above) , who believed that all things were made of [ratio­nal] num­bers. This approach stum­bled upon the impos­si­bil­i­ty of mak­ing the octave cor­re­spond to a series of "per­fect fifths"…

As we found out — read above and The Two-vina exper­i­ment — this approach was not fol­lowed in India despite the fact that Indian sci­en­tists were sig­nif­i­cant­ly more advanced than the Greeks in the field of cal­cu­lus (Raju C.K., 2007).

Another incen­tive to the use of ratio­nal num­bers was Hermann von Helmholtz's notion of con­so­nance (1877) which became pop­u­lar after the peri­od of Baroque music in Europe, fol­low­ing the ini­tial claim of a "nat­ur­al tonal sys­tem" by Jean-Philippe Rameau in his Traité de l'harmonie réduite à ses principes naturels (1722). The devel­op­ment of key­board stringed instru­ments such as the pipe organ and the pianoforte had made it nec­es­sary to devel­op a tun­ing sys­tem that met the require­ments of (approx­i­mate­ly) tune­ful har­mo­ny and trans­po­si­tion to sup­port oth­er instru­ments and the human voice. It was there­fore log­i­cal to aban­don a wide vari­ety of tun­ing sys­tems, espe­cial­ly those based on tem­pera­ment, and to adopt equal tem­pera­ment as the stan­dard. By this time, com­posers were no longer explor­ing the sub­tleties of melodic/harmonic inter­vals; har­mo­ny involv­ing groups of singers and/or orches­tra paved the way for musi­cal innovation.

Looking back to the Baroque peri­od, many musi­col­o­gists tend to believe that the tun­ing sys­tem advo­cat­ed by J.S. Bach in The Well-tempered Clavier must have been equal tem­pera­ment… This belief can be dis­proved by a sys­tem­at­ic analy­sis of this cor­pus of pre­ludes and fugues on an instru­ment using all the tun­ing sys­tems en vogue dur­ing the Baroque peri­od — read the page The Well-tempered Clavier.

Composers and instru­ment mak­ers did not tune "by num­bers", as tun­ing pro­ce­dures were not doc­u­ment­ed (see Asselin P-Y., 2000). Rather, they tuned "by ear" in order to achieve a per­ceived reg­u­lar­i­ty of sets of inter­vals: the tem­pera­ment in gen­er­al. This was indeed a break with the "Pythagorean" mys­tique, because these tem­pera­ments can­not be reduced to fre­quen­cy inter­vals based on inte­ger ratios.

For instance, Zarlino’s mean­tone tem­pera­ment — read this page — is made of 12 fifths start­ing from “E♭” (“mi♭”) up to “G#” (“sol#”) dimin­ished by 2/7 of a syn­ton­ic com­ma (ratio 81/80). The fre­quen­cy ratio of each fifth is therefore

\[\ \frac{3}{2}\left(\frac{80}{81}\right)^{\frac{2}{7}}=\ 1.5\ x\ 0.99645\dots\ =\ 1.4946\dots\ \left(or\ 695.81\dots\ cents\right)\]

which can­not be reduced to an inte­ger ratio. In the same way, the twelve inter­vals of the equal tem­pera­ment scale are expressed in terms of irra­tional fre­quen­cy ratios.

Overture

The goal of just into­na­tion is to pro­duce "opti­mal­ly con­so­nant" chords and sequences of notes, a legit­i­mate approach when con­so­nance is the touch­stone of the high­est achieve­ment in art music. This was indeed the case in sacred music, which aimed for a "divine per­fec­tion" guar­an­teed by the absence of "wolf tones" and oth­er odd­i­ties. In a broad­er sense, how­ev­er, music is also the field of expec­ta­tion and sur­prise. In an artis­tic process, this can mean depart­ing from "rules" — just as poet­ry requires break­ing the seman­tic and syn­tac­tic rules of a language…

Even when chords are per­fect­ly con­so­nant and con­form to the rules of har­mo­ny (as per­ceived by the com­pos­er), note sequences may devi­ate from their the­o­ret­i­cal posi­tions in order to cre­ate a cer­tain degree of ten­sion or to make a bet­ter tran­si­tion to the next chord.

When the Greek-French com­pos­er Iannis Xenakis - known for his for­malised approach to tonal­i­ty - heard Bach's First Prelude for Well-Tempered Clavier played on the Shruti Harmonium in just into­na­tion, he declared his pref­er­ence for the equal-tempered ver­sion! This made sense for a com­pos­er whose music had been praised by Tom Service for its "deep, pri­mal root­ed­ness in rich­er and old­er phe­nom­e­na even than musi­cal his­to­ry: the physics and pat­tern­ing of the nat­ur­al world, of the stars, of gas mol­e­cules, and the pro­lif­er­at­ing pos­si­bil­i­ties of math­e­mat­i­cal prin­ci­ples" (Service T, 2013).

Bernard Bel — Dec. 2020 / Jan. 2021

References

Arnold, E.J.; Bel, B. L’intonation juste dans la théorie anci­enne de l’Inde : ses appli­ca­tions aux musiques modale et har­monique. Revue de musi­colo­gie, JSTOR, 1985, 71e (1-2), p.11-38.

Asselin, P.-Y. Musique et tem­péra­ment. Paris, 1985, repub­lished in 2000: Jobert. Soon avail­able in English.

Bel, B. A Mathematical Discussion of the Ancient Theory of Scales accord­ing to Natyashastra. Note interne, Groupe Représentation et Traitement des Connaissances (CNRS), March 1988a.

Bel, B. Raga : approches con­ceptuelles et expéri­men­tales. Actes du col­loque "Structures Musicales et Assistance Informatique", Marseille 1988b.

Rao, S.; Van der Meer, W. The Construction, Reconstruction, and Deconstruction of Shruti. Hindustani music: thir­teenth to twen­ti­eth cen­turies (J. Bor). New Delhi, 2010: Manohar.

Raju, C. K. Cultural foun­da­tions of math­e­mat­ics : the nature of math­e­mat­i­cal proof and the trans­mis­sion of the cal­cu­lus from India to Europe in the 16th c. CE. Delhi, 2007: Pearson Longman: Project of History of Indian Science, Philosophy and Culture : Centre for Studies in Civilizations.

Service, T. A guide to Iannis Xenakis's music. The Guardian, 23 April 2013.

Microtonality

A just-intonation tun­ing scheme (pre­sum­ably) used in west­ern har­mo­ny
(Image cre­at­ed by Bol Processor)

Microtonality is a top­ic addressed by many musi­cal sys­tems that deal with tonal inter­vals: the use of micro­tones — inter­vals small­er than a semi­tone, also called "microin­t­er­vals". It can also be extend­ed to include any music that uses inter­vals not found in the com­mon Western tun­ing of twelve equal inter­vals per octave. In oth­er words, a micro­tone can be thought of as a note that falls between the keys of a piano tuned to equal tem­pera­ment (Wikipedia).

All exam­ples shown on this page are avail­able in the sam­ple set bp3-ctests-main.zip, which is shared via GitHub. Follow the instruc­tions on page Bol Processor ‘BP3’ and its PHP inter­face to install BP3 and learn its basic operation.

👉  From ver­sion 3.0.6 (August 2024) BP3 is able to han­dle micro­tonal­i­ty in real-time MIDI as well as in Csound. — read the Check MIDI micro­tonal­i­ty page for prac­ti­cal details.

A brief presentation

On elec­tron­ic instru­ments such as the Bol Processor, micro­tonal­i­ty is a mat­ter of "micro­ton­al tun­ing", here mean­ing the con­struc­tion of musi­cal scales alien to the con­ven­tion­al one(s).

Equal tem­pera­ment is an intu­itive mod­el that divides the octave (fre­quen­cy ratio 2/1) into 12 "equal" inter­vals called semi­tones. Each semi­tone has a fre­quen­cy ratio of 2 1/12 = 1.059. Tonal inter­vals are gen­er­al­ly expressed on a log­a­rith­mic scale, which gives the ratio 2/1 a val­ue of 1200 cents. Each semi­tone is there­fore worth 100 cents in a con­ven­tion­al scale system.

An equal tem­pered scale is use­ful for mak­ing a piece of music sound the same when trans­posed to anoth­er key. However, its inter­vals do not cor­re­spond to the (pre­sum­ably) "nat­ur­al" inter­vals con­struct­ed from whole-number fre­quen­cy ratios using the num­bers 3, 4, 5. These sim­ple ratios give the impres­sion of con­so­nance because the fre­quen­cies of the upper par­tials (har­mon­ics) can coin­cide: if two strings vibrate at a fre­quen­cy ratio of 3/2 (a "per­fect fifth"), the 3rd har­mon­ic of the low­est vibra­tion is at the same fre­quen­cy as the 2nd har­mon­ic of the high­er vibration.

In an equal tem­pered scale, the har­mon­ic major third (C-E) of 400 cents has a ratio of 1.26 instead of 1.25 (5/4). The major fifth (C - G) also sounds slight­ly "out of tune" with a ratio of 1.498 instead of 1.5 (3/2). These mis­match­es can pro­duce beats that are con­sid­ered unpleas­ant in har­mon­ic contexts.

When tun­ing stringed instru­ments (such as the piano), octaves can be stretched a lit­tle to com­pen­sate for a slight inhar­monic­i­ty of the upper par­tials pro­duced by vibrat­ing strings (in high­er octaves), as advo­cat­ed by Serge Cordier. A val­ue of 1204 cents sounds fair, with the added advan­tage of mak­ing fifths sound "per­fect" in a 3/2 ratio. With this set­ting, the fre­quen­cy ratio of the stretched octaves is 2(1204/1200) = 2.0046. This effect can be repro­duced in elec­tron­ic instru­ments such as dig­i­tal pianos that imi­tate mechan­i­cal ones. We will see how it can be imple­ment­ed in the Bol Processor BP3.

Musicologists agree that equal tem­pera­ment was nev­er exact­ly achieved on clas­si­cal instru­ments such as pipe organs and harp­si­chords. Rather, instru­ment tuners have devel­oped rules for repro­duc­ing the most pleas­ing inter­vals in par­tic­u­lar musi­cal con­texts. In oth­er words, a mechan­i­cal instru­ment should be tuned accord­ing to a style and reper­toire of music. Pierre-Yves Asselin (2000) has pub­lished a detailed com­pi­la­tion of tun­ing tech­niques used by European musi­cians and instru­ment mak­ers over the past cen­turies — lis­ten to exam­ples on the page Comparing tem­pera­ments. The same flex­i­bil­i­ty can be achieved with sounds pro­duced by "algo­rithms".

Outside of west­ern clas­si­cal music, a wide vari­ety of tonal sys­tems delib­er­ate­ly reject 12-tone-in-one-octave tonal­i­ty. Arabic-Andalusian music is often described as a "quar­ter­tone" sys­tem, which divides the octave into 24 inter­vals. Equal tem­pered scales of 7 degrees have been iden­ti­fied on var­i­ous tra­di­tion­al African instru­ments. The grama-murcchana the­o­ret­i­cal mod­el of tonal music in India claims the use of 22 shru­ti-s, pre­sum­ably microin­t­er­vals of unequal size (see below).

Many uncon­ven­tion­al sys­tems have been invent­ed and applied to con­tem­po­rary music, often depart­ing from octave-repeating scales. See for, exam­ple, the Bohlen-Pierce scale, which is based on a 3/1 inter­val (a "tri­tave") divid­ed into 13 grades/notes — see the MIDI micro­tonal­i­ty page. All these scales can be imple­ment­ed in the Bol Processor.

The scale() operator in Bol Processor BP3

We'll be dis­cussing the use of scales in the con­text of Csound, although the same is pos­si­ble in the real-time MIDI and MIDI file envi­ron­ment — read this page. When using MIDI, the machine recog­nis­es that MIDI micro­tonal­i­ty mode is required as soon as it sees a "scale()" oper­a­tor. If a tonal resource (a "-to" file) is spec­i­fied in the gram­mar or data, all scales list­ed in the resource will be accessible.

For geeks: Csound scores are flex­i­ble in the way they rep­re­sent tonal posi­tions. A com­mon con­ven­tion is the octave point pitch class. For exam­ple, the note "A4" would be assigned the tonal posi­tion "8.09", mean­ing that it is the 9th note in the 8th octave (in the English con­ven­tion). This val­ue pro­duces a note at the dia­pa­son fre­quen­cy (usu­al­ly 440 Hz) on a Csound instru­ment.
It is also pos­si­ble to spec­i­fy the note posi­tion by its fre­quen­cy in cycles per sec­ond (cps mode). This allows a high lev­el of accu­ra­cy as fre­quen­cies are expressed in float­ing point for­mat. For exam­ple, "A4" is equiv­a­lent to "440.0". Accuracy bet­ter than 1‰ is not notice­able.
As explained on page Csound tun­ing in BP3, it is pos­si­ble to send notes in both the octave point pitch class and cps for­mats to the same Csound instru­ment. In fact, micro­ton­al scores will only use cps. The cps mode is also used by BP3 when­ev­er the dia­pa­son fre­quen­cy is not exact­ly 440 Hz. To make all fre­quen­cies vis­i­ble on Csound scores, for exam­ple, set the dia­pa­son to "400.01"…

Let us take a sim­ple exam­ple to demon­strate the use of mul­ti­ple scales. The gram­mar is:

-se.tryScales
-cs.tryScales
-to.tryScales
ORD
S --> _scale(0,0) C4 E4 A4 {8,{C4,E4,G4,C5}} {8,{C4,Eb4,G4,C5}} - _scale(piano,C4) C4 E4 A4 {8,{C4,E4,G4,C5}}{8,{C4,Eb4,G4,C5}} - _scale(just into­na­tion,C4) C4 E4 A4 {8,{C4,E4,G4,C5}} {8,{C4,Eb4,G4,C5}}

In this gram­mar, the same sequence is repeat­ed three times in dif­fer­ent tunings:

  • _scale(0,0) is the default tun­ing = 12-degree equal-tempered
  • _scale(piano, C4) refers to the "piano" scale
  • _scale(just intonation, C4) refers to a (so-called) "just-intonation" scale

Note "C4" appear­ing in these oper­a­tors is the block key, here mean­ing the key that must cor­re­spond to its equal tem­pera­ment val­ue in the tun­ing set by the scale.

It may be nec­es­sary to lis­ten sev­er­al times to notice sub­tle differences:

A musi­cal sequence repeat­ed 3 times in equal-tempered, stretched octave ("piano") and "just intonation"

The sound is pro­duced by the Csound instru­ment "new-vina.orc" designed by Srikumar Karaikudi Subramanian to imi­tate the Sarasvati vina, a long-stringed instru­ment played in South India — lis­ten to his demo: Sarasvati vina. This type of instru­ment is capa­ble of high­light­ing the finest tonal subtleties.

Beats are audi­ble in the equal-tempered ver­sion, but slight­ly less so in the piano ver­sion, and almost absent in the just-intonation ren­der­ing. Looking at the Csound score makes it easy to check the­o­ret­i­cal models:

f1 0 256 1 "vina-wave-table.aiff" 0 4 0

t 0.000 60.000
i1 0.000 1.000 8.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 1.000 1.000 8.04 90.000 90.000 0.000 0.000 0.000 0.000 ; E4
i1 2.000 1.000 8.09 90.000 90.000 0.000 0.000 0.000 0.000 ; A4
i1 3.000 8.000 8.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 3.000 8.000 8.04 90.000 90.000 0.000 0.000 0.000 0.000 ; E4
i1 3.000 8.000 8.07 90.000 90.000 0.000 0.000 0.000 0.000 ; G4
i1 3.000 8.000 9.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C5
i1 11.000 8.000 8.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 11.000 8.000 8.03 90.000 90.000 0.000 0.000 0.000 0.000 ; Eb4
i1 11.000 8.000 8.07 90.000 90.000 0.000 0.000 0.000 0.000 ; G4
i1 11.000 8.000 9.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C5

i1 20.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; dop3
i1 21.000 1.000 329.915 90.000 90.000 0.000 0.000 0.000 0.000 ; mip3
i1 22.000 1.000 440.585 90.000 90.000 0.000 0.000 0.000 0.000 ; lap3
i1 23.000 8.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; dop3
i1 23.000 8.000 329.915 90.000 90.000 0.000 0.000 0.000 0.000 ; mip3
i1 23.000 8.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; solp3
i1 23.000 8.000 524.463 90.000 90.000 0.000 0.000 0.000 0.000 ; dop4
i1 31.000 8.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; dop3
i1 31.000 8.000 311.340 90.000 90.000 0.000 0.000 0.000 0.000 ; mibp3
i1 31.000 8.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; solp3
i1 31.000 8.000 524.463 90.000 90.000 0.000 0.000 0.000 0.000 ; dop4

i1 40.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 41.000 1.000 327.038 90.000 90.000 0.000 0.000 0.000 0.000 ; Ej4
i1 42.000 1.000 436.137 90.000 90.000 0.000 0.000 0.000 0.000 ; Aj4
i1 43.000 8.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 43.000 8.000 327.038 90.000 90.000 0.000 0.000 0.000 0.000 ; Ej4
i1 43.000 8.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; Gj4
i1 43.000 8.000 523.260 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj5
i1 51.000 8.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 51.000 8.000 313.956 90.000 90.000 0.000 0.000 0.000 0.000 ; Dj#4
i1 51.000 8.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; Gj4
i1 51.000 8.000 523.260 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj5
s

In the Csound score, note names have been auto­mat­i­cal­ly replaced with their trans­la­tions in the def­i­n­i­tions of scales piano and just into­na­tion (see below). For exam­ple, in the piano scale of this exam­ple, 'C4', 'D4', 'E4'… have been replaced by 'do3', 're3', 'mi3' with an addi­tion­al 'p' mark­er: 'dop3', 'rep3', 'mip3'… In the same way, just into­na­tion notes are labelled 'Cj4', 'Dj4', 'Ej4' etc. This renam­ing is option­al since all these scales are made up of 12 degrees with iden­ti­cal key posi­tions, but it is used here to make the Csound score more explicit.

The use of "C4" as a block key means that it is always played at a fre­quen­cy of 261.630 Hz. Consequently, "A4" is at 440 Hz in the first occur­rence and a lit­tle high­er in the piano ver­sion due to the octave stretch­ing with a ratio of 524.463 / 261.630 = 2.0046, which is 1204 cents.

Finally, we notice that, as pre­dict­ed by the mod­el, the per­fect major fifth (C - G) pro­duces the same posi­tions (392.445 Hz) in the piano and just into­na­tion scales.

In real­i­ty, the "just into­na­tion" frag­ment in this exam­ple would be out of tune if we fol­low the frame­work of tonal­i­ty pro­posed by Asselin (2000) and con­firmed by an exten­sion of the ancient grama-murcchana sys­tem in India. In the last "C minor" chord {C4, Eb4, G4, C5}, the notes "C4", "C5" and "G4" should be low­ered by a syn­ton­ic com­ma. This means that play­ing "just into­na­tion" in west­ern har­mo­ny requires more than a sin­gle just-intonation scale: each har­mon­ic con­text requires its own spe­cif­ic tun­ing, which indeed can­not be achieved on key­board instru­ments. A method for con­struct­ing just-intonation scales and using them in Bol Processor music is giv­en on the Just into­na­tion: a gen­er­al frame­work page.

Looking at two scales

From the gram­mar page "-gr.tryScales" we can fol­low the tonal resource file "-to.tryScales" which con­tains scale def­i­n­i­tions. Csound instru­ment def­i­n­i­tions are con­tained in "-cs.tryScales", along with the instruction

f1 0 256 1 "vina-wave-table.aiff" 0 4 0

telling the Csound instru­ment to use the "vina" wave­form. From August 2024, tonal resources and Csound instru­ments are stored in sep­a­rate files, as micro­tonal­i­ty is no longer reserved for Csound.

The fol­low­ing is a rep­re­sen­ta­tion of the piano scale (Cordier's equal temperament):

The "piano" scale: 12-tone equal-tempered with an octave stretch­ing of 4 cents (see full image).
Note but­tons for export/import of SCALA and KBM files.

All the inter­vals were set in a sin­gle click, after enter­ing "1204" as the size of the octave in cents, which set the last ratio to 2.004 (approx­i­mate­ly 501/250). The "INTERPOLATE" but­ton was then clicked to cal­cu­late the inter­me­di­ate ratios.

The scale is dis­played as a cir­cu­lar graph by click­ing on the "IMAGE" link:

The "piano" scale pro­posed by Serge Cordier. Note that the size of the whole cir­cle is 1204 cents, not 1200!

The dis­play con­firms that the posi­tion of "G" ("solp") is in the ratio 3/2 or 702 cents. However, the tonal dis­tance between "G" ("solp") and "D" ("rep") is slight­ly small­er (699 cents), which means that this scale is not a pure cycle of fifths, as the lat­ter would have end­ed after 12 steps with an octave extend­ed by a Pythagorean com­ma (scale "twelve_fifths" in "-to.tryScales"):

Cycle of 12 per­fect fifths end­ing with the "last C" one Pythagorean com­ma high­er (approx­i­mate­ly 81/80 = 22 cents)

The basekey is the key used to pro­duce base­freq. Here base­freq is set to 261.630 Hz for key #60 which is usu­al­ly the "mid­dle C" on a piano key­board. The base­freq para­me­ter has an effect on the pitch which is fur­ther adjust­ed by the val­ue of the dia­pa­son entered in "-se.tryScales". If the dia­pa­son is set to 430 Hz, the fre­quen­cy of "C4" would be 261.630 x 430 / 440 = 255.68 Hz.

The baseoc­tave para­me­ter is not stored in the Csound func­tion table, but it is required by the Bol Processor to name notes cor­rect­ly. This scale uses the Italian/French note con­ven­tion, where key #60 is called "do3" instead of "C4". Therefore baseoc­tave = 3.

Temperament

At the bot­tom of the "Scale" page is a form for con­struct­ing scales in musi­cal tem­pera­ment. The scope of this pro­ce­dure is wider than usu­al because the inter­face per­mits the mod­i­fi­ca­tion of any series of inter­vals, not just fifths and fourths.

Bol Processor pro­ce­dures for the pro­duc­tion of tem­pered scales (and all scales in gen­er­al) can be used both to visualise/hear inter­vals and chords derived from a the­o­ret­i­cal descrip­tion of the scale, and to check that a pro­ce­dure for tun­ing a mechan­i­cal instru­ment con­forms to its the­o­ret­i­cal descrip­tion. Below is an exam­ple of both approach­es applied to Zarlino's mean­tone tem­pera­ment (tem­péra­ment méso­tonique).

The long his­to­ry of the tem­pera­ment in European music is cov­ered in Pierre-Yves Asselin's dis­ser­ta­tion and pub­li­ca­tion (2000, p. 139-150). During the 16th and 17th cen­turies, European musi­cians tend­ed to pre­fer "pure" major thirds (fre­quen­cy ratio 5/4) at the cost of com­pro­mis­ing the size of the fifths. This was called the "pure third mean­tone tem­pera­ment" (tem­péra­ment méso­tonique à tierces majeures pures) which was gen­er­al­ly achieved by reduc­ing the size of cer­tain fifths by a frac­tion of the syn­ton­ic com­ma (Asselin 2000 p. 76). After this peri­od, there was anoth­er fash­ion of using per­fect fifths (fre­quen­cy ratio 3/2) and com­pro­mis­ing the size of major thirds in the same way. Both meth­ods — and many more — are imple­ment­ed in the Bol Processor inter­face. Algorithmic tun­ing is indeed eas­i­er to achieve than tun­ing a mechan­i­cal instrument!

Zarlino, theory

Let us try Zarlino's mean­tone tem­pera­ment (Asselin 2000 p. 85-87) which was pop­u­lar in the 16th and 17th cen­turies. It con­sists of 12 fifths start­ing from "E♭" ("mi♭") up to "G#" ("sol#") dimin­ished by 2/7 of a syn­ton­ic com­ma — that is 6 cents.

This should not be con­fused with Zarlino's "nat­ur­al scale" which is an instance of just into­na­tion.

Theoretically, this takes two steps from the pre­vi­ous­ly known posi­tion "C".

First we enter the start­ing note "do" and the sequence of fifths "do, sol, re…, sol#", spec­i­fy­ing ratios equal to 3/2 with a mod­i­fi­ca­tion of -2/7 com­ma (see picture).

Then we do the same with fourths (descend­ing fifths) start­ing from "do" ("C") down to "mi♭" ("E♭").

The result is dis­played by click­ing on the IMAGE link:

Zarlino's mean­tone tem­pera­ment (source Asselin 2000 p. 85)

In this tem­pera­ment, the har­mon­ic major thirds (green con­nec­tions on the graph) are equal and slight­ly small­er (384 cents) than the "pure" ones (ratio 5/4 or 386 cents). Semitones between unal­tered and altered notes are equal (71 cents). All major tones are equal (192 cents) except "do#-mi♭" and "sol#-sib" (242 cents).

Noticeable dis­so­nances are found in the "sol#-mi♭" fifth (746 cents, i.e. an extra 2 + 1/7 com­mas = 44 cents) and major thirds such as "sol#-do", "do#-fa", "fa#-sib" and "si-mi♭" which are larg­er (433 cents) than Pythagorean major thirds (408 cents). Obviously, these inter­vals are not intend­ed to be used in the musi­cal reper­toire to which this tun­ing is applied…

Zarlino mean­tone tem­pera­ment, table of inter­vals (in cents)

Comparison

A layper­son might won­der whether small tonal adjust­ments — often less than a quar­ter of a semi­tone (i.e. 25 cents) — have any notice­able effect on musi­cal works using these tun­ing sys­tems. Comparative exper­i­ments are easy with the Bol Processor.

For exam­ple, let us play one (of a bil­lion vari­a­tions) of Mozart's musi­cal dice game, with tun­ing options select­ed by acti­vat­ing a first rule in "-gr.Mozart":

// gram#1[1] S --> _vel(80)_tempo(3/4) _scale(0,0) A B // Equal tem­pera­ment
// gram#1[2] S --> _vel(80) _tempo(3/4) _scale(piano,0) A B // Equal tem­pera­ment (Cordier)
// gram#1[3] S --> _vel(80) _tempo(3/4) _scale(Zarlino_temp,0) A B // Zarlino's tem­pera­ment
// gram#1[4] S --> _vel(80) _tempo(3/4) Ajust Bjust // Just intonation

Musical pro­duc­tions are list­ed below. The ran­dom seed has been set to 998 (in "-se.Mozart") as this vari­a­tion con­tains a greater num­ber of chords, and the per­for­mance has been slowed down by "_tempo(3/4)".

It is impor­tant to remem­ber that of these options, only the first three ones (tem­pera­ments) are acces­si­ble on fixed-pitch instru­ments with 12-degree key­boards. The last one (just into­na­tion) requires a "retun­ing" of each har­mon­ic con­tent — see page Just into­na­tion: a gen­er­al frame­work.

The first option (equal tem­pera­ment) is the default tun­ing of most elec­tron­ic instruments:

Equal tem­pera­ment on Mozart's dice game

The sec­ond option is an equal tem­pera­ment with octaves stretched by 4 cents, as advo­cat­ed by Serge Cordier (see above):

Equal tem­pera­ment with stretched octaves (Cordier)

The third option is Zarlino's temperament:

Zarlino's tem­pera­ment

The last option is "just intonation":

Just into­na­tion

Zarlino: a simulation of physical tuning

The tun­ing of mechan­i­cal instru­ments (such as a harp­si­chords) requires dif­fer­ent pro­ce­dures from the pro­gram­ming of "tem­pered" scales on the Bol proces­sor. However, by using the com­put­er, it is pos­si­ble to quick­ly ver­i­fy that the mechan­i­cal pro­ce­dure would pro­duce the expect­ed result. Let us demon­strate this using Zarlino's temperament.

On the com­put­er we had pro­grammed a series of 7 ascend­ing fifths dimin­ished by a 2/7 com­ma from "do" to "do#". This is impos­si­ble to achieve "by ear" on a mechan­i­cal instru­ment. Pierre-Yves Asselin (2000 p. 86) revealed the method shown below.

First step

From "do", tune two suc­ces­sive major thirds. This results in a "sol#" which is posi­tioned at a fre­quen­cy ratio of 25/16 (773 cents) above "do".

This "sol#" is actu­al­ly "SOL#+2" of the 2nd order har­mon­ic fifths down series in Asselin's tun­ing frame­work (2000 p. 62) — see page Just into­na­tion: a gen­er­al frame­work. It is not exact­ly the one expect­ed on Zarlino's mean­tone tem­pera­ment, although it is close. It is labelled "sol2#".

Second step

From "sol2#" tune down a per­fect fifth, result­ing in "do#".

Be care­ful to pro­gram a per­fect fifth, which is spec­i­fied on the form as "add 0/1 com­ma". There is also a form for cre­at­ing series of per­fect fifths which can be used for this step.

The result­ing "do#" (ratio 1.04166) is exact­ly 52/3/23, as expect­ed in Zarlino's mean­tone tem­pera­ment (Asselin 2000 p. 194).

Third step

Tune 7 equal fifths between "do" and "do#". Equalising fifths is a typ­i­cal pro­ce­dure for tun­ing mechan­i­cal instru­ments. The Bol Processor has a gen­er­al pro­ce­dure for equal­is­ing inter­vals over a series of notes. Here we spec­i­fy that these inter­vals should be close to the frac­tion 3/2, even though we know that they will end up as fifths dimin­ished by a 2/7 comma.

The miss­ing notes "sol, re ,la, si, fa#" are cre­at­ed. For the exist­ing note "mi", the machine checks that its cur­rent posi­tion is close to the one pre­dict­ed by the approx­i­mate fraction.

The graph shows that the cal­cu­lat­ed posi­tion of "mi" (ratio 1.248) is slight­ly dif­fer­ent from its pre­vi­ous posi­tion (1.25), but this dif­fer­ence is neg­li­gi­ble. We keep both posi­tions on the graph, know­ing that only one will occur in a phys­i­cal tuning.

Fourth step

Now tune down 3 fifths from "do" to "mi♭", dimin­ished by a 2/7 com­ma. This can be done by repro­duc­ing "by ear" inter­vals cre­at­ed in the pre­vi­ous step. Another method is to tune "mi♭" a har­mon­ic major third below "sol" as shown on the form.

Fifth step

Once "mi♭" has been tuned we can tune three equal fifths (in fact dimin­ished by 2/7 com­ma) between "mi♭" and "do". Again we use the "equal­ize inter­vals" pro­ce­dure. At this stage, the posi­tions of "si♭" and "fa" are created.

The result is shown in the graph below:

Zarlino's mean­tone tem­pera­ment designed as a sim­u­la­tion of phys­i­cal tuning

On this graph, the ratio 1.563 for "sol#" is close (with­in 7 cents) to 1.557 of Zarlino's tem­pera­ment. On a mechan­i­cal instru­ment, since "mi" tuned by equal­is­ing fifths (3d step) was at posi­tion 1.248, adjust­ing the "mi-sol#" major third to a 5/4 ratio would set "sol#" at a bet­ter ratio (1.56).

More temperaments

All the tem­pera­ments list­ed in Asselin's the­sis can be eas­i­ly pro­grammed on the Bol Processor. Take, for exam­ple, a clas­si­cal mean­tone tun­ing (Asselin 2000 p. 76), pop­u­lar in the 16th and 17th cen­turies, also known as Chaumont (Asselin 2000 p. 109) . Its aim is to pro­duce "pure thirds" (ratio 5/4). It con­sists of a series of fifths from "mi♭" ("E♭") to "sol#" ("G#") dimin­ished by a 1/4 com­ma. The prob­lem is that the tun­ing scheme — unlike Zarlino's mean­tone — does not start from "do" ("C"). There are two solutions.

The first solu­tion is to divide the series of fifths into two parts: first cre­ate the series "do, sol, re, la, mi, si, fa#, do#, sol#" of ascend­ing fifths, then the series "do, fa, si♭, mi♭" of descend­ing fifths.

In the sec­ond solu­tion, we direct­ly cre­ate the series "mi♭, si♭, fa, do, sol, re, la, mi, si, fa#, do#, sol#" of ascend­ing fifths, giv­ing the graph shown below.

Classical / Chaumont mean­tone tun­ing posi­tioned on mi♭

This tun­ing is cor­rect but it can­not be used by the Bol Processor con­sole because of the shift of the ref­er­ence. Complicated pro­ce­dures would be required to set the dia­pa­son (A4 fre­quen­cy) to the desired stan­dard and to assign the cor­rect key num­bers to the notes of the scale.

Fortunately, this prob­lem is solved in a sin­gle click by reset­ting the base of the scale to note "do", which amounts to a rota­tion of the graph.

We take this oppor­tu­ni­ty to replace the Italian/French note con­ven­tion with the English note convention.

The result is the clas­sic mean­tone scale tun­ing which is notable for its large num­ber of har­mon­ic major thirds (cir­ca 5/4, green lines):

The same meth­ods can be used to imple­ment anoth­er mean­tone tem­pera­ment pop­u­lar at the same time (16th-17th cen­tu­ry) which aims to enhance pure minor thirds (Asselin 2000 p. 83). It can also be described as a series of ascend­ing fifths from "mi♭" to "sol#" with a dif­fer­ent adjust­ment: the fifths are dimin­ished by 1/3 comma.

In this tun­ing, the minor thirds are sized 316 cents (har­mon­ic minor third, fre­quen­cy ratio 6/5) with the excep­tion of "A#-C#", "D#-F#" and "F-G#" which are all 352 cents:

Pure minor-third mean­tone temperament
Source: Asselin (2000 p. 101)

The BACH tem­pera­ment designed by Johann Peter Kellner for the music of the 18th cen­tu­ry (Asselin 2000 p. 101-103) con­tains two vari­eties of fifths (see tun­ing scheme). It is there­fore not a "mean­tone" temperament.

It can be pro­grammed in 3 steps:

  1. A series of descend­ing fifths from "do-sol-re-la-mi", dimin­ished by 1/5 comma;
  2. A series of ascend­ing per­fect fifths from "do" to "sol♭";
  3. An ascend­ing per­fect fifth from "mi" to "si".

The last inter­val is a remain­ing fifth "si-sol♭" ("B-G♭") dimin­ished by exact­ly 1/5 com­ma (i.e. 697 cents).

The result is close to Werkmeister III (1691) (Asselin 2000 p. 94), with all posi­tions close to the Pythagorean/harmonic series used for just into­na­tion.

BACH tem­pera­ment designed by Johann Peter Kellner (18th century)
Werckmeister IV tem­pera­ment
Source: Asselin (2000 p. 96)

The pro­ce­dures for tun­ing tem­pera­ments with the Bol Processor some­times dif­fer from those used for phys­i­cal instru­ments. Examples are Werckmeister IV (Asselin 2000 p. 96) and Werckmeister V (p. 99). To tune Werckmeister IV on an instru­ment (see pic­ture), we start by tun­ing the sequence G C F Bb Eb Ab Db Gb B E as per­fect descend­ing fifths. Then inter­po­late three fifths (dimin­ished by 1/3 com­ma) between G and E. Then retune G so that G D becomes a per­fect fifth, which reduces C G by 1/3 com­ma. The same is done on E so that A E becomes a per­fect fifth and E B is dimin­ished by 1/3 com­ma. Similar adjust­ments are made to retune Bb, and final­ly Ab and Db to obtain the inter­vals shown on the picture.

On the Bol Processor the same pro­ce­dure can be fol­lowed if the 1/3 com­ma cor­rec­tion is replaced by 7 cents. Another pro­ce­dure is to "add" inter­vals, which is accept­able on a dig­i­tal mod­el because of the accu­ra­cy. This pro­ce­dure is auto­mat­i­cal­ly sum­marised at the bot­tom of the "scale" page:

Werckmeister IV tem­pera­ment (Asselin 2000 p. 96)
Added fifths down: “do,fa” start­ing frac­tion 1/1
Created mean­tone down­ward notes “fa,sib” frac­tion 3/2 adjust­ed -1/3 com­ma
Created mean­tone down­ward notes “sib,mib,sol#” frac­tion 3/2 adjust­ed 1/3 com­ma
Created mean­tone down­ward notes “sol#,do#” frac­tion 3/2
Created mean­tone down­ward notes “do#,fa#” frac­tion 3/2 adjust­ed -1/3 com­ma
Created mean­tone down­ward notes “fa#,si” frac­tion 3/2
Created mean­tone down­ward notes “si,mi” frac­tion 3/2 adjust­ed -1/3 com­ma
Created mean­tone down­ward notes “mi,la” frac­tion 3/2
Created mean­tone upward notes “do,sol” frac­tion 3/2 adjust­ed -1/3 com­ma
Created mean­tone upward notes “sol,re” frac­tion 3/2

Werckmeister IV temperament

Let us com­pare some tem­pera­ments on ascend­ing unal­tered and descend­ing altered scales…

Equal-tempered tun­ing, 20th century
Classical (Chaumont) mean­tone tem­pera­ment, 16th-17th century
Meantone tem­pera­ment, pure minor thirds, 16th-17th century
BACH tem­pera­ment (Kellner) 18th century

Eighteen tem­pera­ments described by Pierre-Yves Asselin (2000) have been pro­grammed in the "-to.trTunings" tonal resource. These can be checked against var­i­ous musi­cal works, see the pages Comparing tem­pera­ments and Tonal analy­sis of musi­cal works.

As Schlick's tem­pera­ment is not ful­ly doc­u­ment­ed, we have set "do-la♭" as a pure major third and "mi-sol#" as a major third aug­ment­ed by a 2/3 com­ma. As a result, "sol#" and "la♭" remain distinct.

Tartini-Vallotti tem­pera­ment (Asselin 2000 p. 104)

Implementations of tem­pera­ments in the Bol Processor can­not be used as a ref­er­ence because (1) errors may have occurred and (2) it is impor­tant to know the musi­cal reper­toire for which each tem­pera­ment was designed. See also chap­ter VIII of Musique et tem­péra­ments (Asselin 2000 p. 139-180) for the his­to­ry of tem­pera­ments and musi­cal exam­ples dis­cussed in terms of instru­ment tuning.

Tartini-Vallotti tem­pera­ment: the inter­val list

Circular graphs show notice­able inter­vals - per­fect fifths, wolf fifths, har­mon­ic and Pythagorean major thirds - in a wide range of uncer­tain­ty. For exam­ple, in the Tartini-Vallotti tem­pera­ment shown above, "C-E" is list­ed as a har­mon­ic major third (green seg­ment), although it is slight­ly larg­er (+7 cents) than a "pure" major third (ratio 5/4). The safe way to check that this tem­pera­ment match­es its descrip­tion is to read the devi­a­tions in the inter­val list (see picture).

D'Alembert-Rousseau tem­pera­ment with series of slight­ly larger/smaller fifths

In a few tem­pera­ments the sizes of the fifths are not giv­en explic­it­ly, as the tuner is instruct­ed to tune slight­ly larg­er (than per­fect) or slight­ly small­er fifths. This is the case in the D'Alembert-Rousseau tem­pera­ment (Asselin 2000 p. 119), where the series "do, fa, sib, mi♭, sol#" is expect­ed to be slight­ly larg­er and "sol#, do#, fa#, si, mi" slight­ly small­er… In addi­tion, the frame should be "com­plete", which implies the absence of a remain­ing com­ma frac­tion when clos­ing the cycle of fifths.

In this exam­ple, the con­di­tions were met by increas­ing the slight­ly larg­er fifths "do, fa, sib, mi♭, sol#" by 1/12 com­ma (+2 cents). To com­plete the cycle, the last series "sol#, do#, fa#, si, mi" was declared as equalised inter­vals. This result­ed in the slight­ly small­er fifths being reduced by 2 cents to reflect the slight­ly larg­er ones. Incidentally, this -1/12 com­ma adjust­ment is also the one required to con­struct an equal-tempered scale.

The whole process of cre­at­ing a scale is auto­mat­i­cal­ly record­ed in the Comments sec­tion of the "scale" page, for exam­ple "d_alembert_rousseau":

D'Alembert-Rousseau tem­pera­ment (Asselin 2000 p. 119)
Created mean­tone upward notes “do,sol,re,la,mi” frac­tion 3/2 adjust­ed -1/4 com­ma
Created mean­tone down­ward notes “do,fa,sib,mib,sol#” frac­tion 3/2 adjust­ed 1/12 com­ma
Equalized inter­vals over series “sol#,do#,fa#,si,mi” approx frac­tion 2/3 adjust­ed 2.2 cents to ratio = 0.668

It took us about 8 min­utes to under­stand the pro­ce­dure and anoth­er 8 min­utes to tune the scale accord­ing to D'Alembert-Rousseau…

For a com­par­i­son of tem­pera­ments applied to sev­er­al pieces of Baroque music, see the page Comparing tem­pera­ments.

The full set of tun­ing schemes cur­rent­ly imple­ment­ed on the Bol Processor is pre­sent­ed on this page : https://bolprocessor.org/misc/figs/list-scales.php

More than 12 degrees

We will use a mod­el from ancient Indian musi­col­o­gy to demon­strate divi­sions of more than 12 degrees per octave. This mod­el is an inter­pre­ta­tion of the descrip­tion of the basic scales (gra­ma) and their trans­po­si­tions (mur­ccha­na) in Bharata Muni's Natya Shastra, a trea­tise dat­ing from a peri­od between 400 BCE and 200 CE — read the page The two-vina exper­i­ment.

The inner wheel of Arnold's mod­el, anal­o­gous to the "Ma-grama" of Natya Shastra

The grama-murcchana mod­el and its appli­ca­tion to west­ern har­mo­ny is described on the page Just into­na­tion: a gen­er­al frame­work. Its appli­ca­tion to Hindustani music is pre­sent­ed on the page Raga into­na­tion.

E.J. Arnold (1982) had designed a device to demon­strate the trans­po­si­tion of scales in Bharata's mod­el. The actu­al divi­sion of the octave is 23 steps, but this amounts to hav­ing 22 option­al posi­tions (shru­ti-s) since the base note has only one option.

The result can be described as 11 pairs of note posi­tions giv­ing 211 = 2048 pos­si­ble chro­mat­ic scales. Of these, only 12 are "opti­mal­ly con­so­nant", i.e. with only one "wrong" major fifth, short by 1 syn­ton­ic com­ma (pramāņa ṣru­ti), which here, for sim­plic­i­ty, is 21 cents.. These 12 chro­mat­ic scales are the ones that can be used in har­mon­ic or modal music to expe­ri­ence the best consonance.

Below is a pic­ture of the "gra­ma" scale as dis­played by the BP3 editor:

A frame­work for just-intonation chro­mat­ic scales based on the grama-murcchana mod­el in ancient Indian musi­col­o­gy (see full image). The syn­ton­ic com­ma (pramāņa ṣru­ti) has been set at 21 cents. The note "m4" is not marked.

In this scale we use the con­ven­tion­al Indian sargam nota­tion: sa, re, ga, ma , pa, dha, ni, trans­lat­ed as "C", "D", "E", "F", "G", "A", "B". Note that "re" ("D"), for exam­ple, can be found in four posi­tions: r1 and r2 are the two pos­si­bil­i­ties for "D♭", the first one (256/243) being called "Pythagorean" (derived from five descend­ing fifths) and the sec­ond one (16/15) "har­mon­ic" (derived from one descend­ing fifth and one descend­ing major third). Positions r2 and r3 are "D♮" (nat­ur­al) with r3 being har­mon­ic (10/9) and r4 being Pythagorean (9/8).

Tanpura: the drone of Indian musi­cians
(man­u­fac­tured in Miraj)

There are spe­cial cas­es (vis­i­ble on the wheel mod­el) where m3 is almost super­im­posed on p1 and m4 with p2, their dif­fer­ence being an inaudi­ble schis­ma (32805 / 32768 = 1.00112 = 1.9 cents). We use m3p1 and m4p2 to denote these merged positions.

The inter­vals giv­en in cents are those iden­ti­fied by Western musi­col­o­gists: the Pythagorean lim­ma (256/243 = 90 cents), the syn­ton­ic com­ma (81/80 = 22 cents) and the minor semi­tone (25/24 = 70 cents). This shows that a shru­ti, as described by Bharata, can be of 3 dif­fer­ent sizes. However, in its appli­ca­tion to Indian music, this mod­el should be ren­dered "flex­i­ble" with a size of the syn­ton­ic com­ma (pramāņa ṣru­ti) between 0 and 56.8 cents — see page The two-vina exper­i­ment.

Clicking on the IMAGE link dis­plays a cir­cu­lar graph­ic rep­re­sen­ta­tion of the "gra­ma" scale:

The "gra­ma" scale, an inter­pre­ta­tion of the ancient Indian the­o­ry of musi­cal scales

Let us play a dia­ton­ic scale accord­ing to the grama-murcchana mod­el, an occur­rence of west­ern just-intonation scales, and the piano stretched-octave tun­ing, again with "C4" (or "sa_4") as the block key. The gram­mar is called "-gr.tryShruti":

S --> _tempo(2) _scale(grama, sa_4) sa_4 r4_4 g3_4 m1_4 p4_4 d3_4 n3_4 sa_5 _scale(just into­na­tion, C4) C4 D4 E4 F4 G4 A4 B4 C5 _scale(piano, C4) do4 re4 mi4 fa4 sol4 la4 si4 do5

Diatonic scales in the grama-murcchana, just-intonation and tem­pered stretched-octave tunings

The dif­fer­ences are bare­ly per­cep­ti­ble for a sim­ple rea­son: the first two are iden­ti­cal, since this just into­na­tion scale is a spe­cial case of grama-murcchana, while the piano scale is a fair approx­i­ma­tion of the for­mer. This can be seen in the fol­low­ing Csound score:

f1 0 256 1 "vina-wave-table.aiff" 0 4 0

t 0.000 60.000
i1 0.000 0.500 261.630 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 0.500 0.500 294.334 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r4_4
i1 1.000 0.500 327.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g3_4
i1 1.500 0.500 348.753 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m1_4
i1 2.000 0.500 392.445 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_4
i1 2.500 0.500 436.137 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d3_4
i1 3.000 0.500 490.556 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n3_4
i1 3.500 0.500 523.260 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_5

i1 4.000 0.500 261.630 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Cj4
i1 4.500 0.500 294.334 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Dj4
i1 5.000 0.500 327.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Ej4
i1 5.500 0.500 348.753 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Fj4
i1 6.000 0.500 392.445 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Gj4
i1 6.500 0.500 436.137 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Aj4
i1 7.000 0.500 490.556 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Bj4
i1 7.500 0.500 523.260 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; Cj5

i1 8.000 0.500 261.630 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; do4
i1 8.500 0.500 293.811 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; re4
i1 9.000 0.500 329.916 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; mi4
i1 9.500 0.500 349.538 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; fa4
i1 10.000 0.500 392.445 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sol4
i1 10.500 0.500 440.585 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; la4
i1 11.000 0.500 494.742 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; si4
i1 11.500 0.500 524.464 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; do5
s

Let us now lis­ten to the 22 shru­tis against a drone ("C" and "G" trans­lat­ed as sa and p4):

S --> scale(grama,sa_4) {9 Full_scale _ _ _ , Drone} - - tempo(3/4) {_retro Full_scale} _ _ _
Full_scale --> sa_4 r1_4 r2_4 r3_4 r4_4 g1_4 g2_4 g3_4 g4_4 m1_4 m2_4 m3p1_4 m4p2_4 p3_4 p4_4 d1_4 d2_4 d3_4 d4_4 n1_4 n2_4 n3_4 n4_4 sa_5
Drone --> _volume(30) Droneseq Droneseq Droneseq Droneseq Droneseq Droneseq Droneseq Droneseq
Droneseq --> {_legato(300) p4_3 sa_4 sa_4 sa_3}

Time struc­ture of the drone sequence (played 2 times)

Note the use of the _retro per­for­mance tool to reverse the order of the Full_scale sequence. The _legato(300) com­mand extends the dura­tion of notes up to three times their cur­rent dura­tion. This pro­duces a Droneseq sound struc­ture sim­i­lar to that of the Indian tan­pu­ra.

In the sound ren­der­ing of this exam­ple, a 279 Hz sam­ple wave­form of a Miraj tan­pu­ra was used to feed the Karplus-Strong algo­rithm.

The 23 posi­tions of Bharata's grama-murcchana mod­el inter­pret­ed as "just intonation"

f1 0 0 1 "tanpura_waveform.aiff" 0 4 0

t 0.000 60.000
i1 1.125 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 0.000 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 2.250 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 5.625 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 3.375 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 4.500 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 9.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 6.750 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 10.000 1.000 275.496 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r1_4
i1 10.125 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 11.000 1.000 279.159 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r2_4
i1 7.875 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 12.000 1.000 290.671 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r3_4
i1 9.000 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 13.000 1.000 294.334 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r4_4
i1 11.250 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 14.000 1.000 310.032 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g1_4
i1 14.625 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 15.000 1.000 313.956 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g2_4
i1 12.375 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 16.000 1.000 327.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g3_4
i1 17.000 1.000 331.224 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g4_4
i1 13.500 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 18.000 1.000 348.753 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m1_4
i1 15.750 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 19.000 1.000 353.201 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m2_4
i1 19.125 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 20.000 1.000 367.852 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m3p1_4
i1 16.875 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 21.000 1.000 372.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m4p2_4
i1 18.000 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 22.000 1.000 387.474 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p3_4
i1 20.250 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 23.000 1.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_4
i1 23.625 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 24.000 1.000 413.375 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d1_4
i1 21.375 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 25.000 1.000 418.608 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d2_4
i1 26.000 1.000 436.137 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d3_4
i1 22.500 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 27.000 1.000 441.632 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d4_4
i1 24.750 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 28.000 1.000 465.178 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n1_4
i1 28.125 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 29.000 1.000 470.934 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n2_4
i1 25.875 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 30.000 1.000 490.556 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n3_4
i1 27.000 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 31.000 1.000 496.574 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n4_4
i1 29.250 3.375 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 32.625 1.125 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 30.375 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 32.000 4.000 523.260 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_5
i1 31.500 4.500 196.223 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_3
i1 33.750 4.500 261.630 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
i1 38.000 1.333 523.260 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_5
i1 34.875 4.500 130.815 30.000 30.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_3
i1 39.333 1.333 496.574 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n4_4
i1 40.666 1.334 490.556 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n3_4
i1 42.000 1.333 470.934 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n2_4
i1 43.333 1.333 465.178 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; n1_4
i1 44.666 1.334 441.632 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d4_4
i1 46.000 1.333 436.137 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d3_4
i1 47.333 1.333 418.608 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d2_4
i1 48.666 1.334 413.375 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; d1_4
i1 50.000 1.333 392.445 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p4_4
i1 51.333 1.333 387.474 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; p3_4
i1 52.666 1.334 372.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m4p2_4
i1 54.000 1.333 367.852 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m3p1_4
i1 55.333 1.333 353.201 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m2_4
i1 56.666 1.334 348.753 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; m1_4
i1 58.000 1.333 331.224 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g4_4
i1 59.333 1.333 327.038 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g3_4
i1 60.666 1.334 313.956 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g2_4
i1 62.000 1.333 310.032 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; g1_4
i1 63.333 1.333 294.334 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r4_4
i1 64.666 1.334 290.671 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r3_4
i1 66.000 1.333 279.159 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r2_4
i1 67.333 1.333 275.496 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; r1_4
i1 68.666 5.334 261.630 90.000 90.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ; sa_4
s

Listening to this sequence makes it clear that treat­ing a sequence of shruti-s as a "scale" is icon­o­clas­tic for the aes­thet­ics of Hindustani music: most of these notes sound out of tune when played in rela­tion to a drone (the tan­pu­ra). As dis­cussed on page The two-vina exper­i­ment, the pres­ence of a drone makes it unlike­ly that mutu­al con­so­nance in melod­ic inter­vals will always pre­vail over con­so­nance with the drone's upper par­tials. If the grama-murcchana sys­tem has any rel­e­vance to the per­for­mance of clas­si­cal ragas — see page Raga into­na­tion — then at the very least the mod­el should be made flex­i­ble enough to accom­mo­date the cor­rect into­na­tion in melod­ic movements.

Comparing scales

A scale com­par­i­son tool is avail­able on the tonal resource page. Click on COMPARE TONAL SCALES and select the ones that need to be analysed.

Scales are com­pared 2 by 2, so that a set of n scales gives n2/2 results, which are dis­played in tables. The fol­low­ing is a com­par­i­son of scales called Amin, Cmaj and equal_tempered. The first two ones are described on the page Just into­na­tion: a gen­er­al frame­work.

Comparison of three tonal scales

All com­par­isons are made on a 12-degree (chro­mat­ic) scale, mea­sur­ing the sizes of per­fect fifths — some of which may be wolf''s fifths as explained on the just into­na­tion page. The aver­age dif­fer­ence of fifths is cal­cu­lat­ed by sum­ming the squares of the dif­fer­ences between the sizes of fifths of iden­ti­cal degrees (count­ed in cents):

D=\ \sqrt{\frac{\sum_{^{i=1}}^{12}\left(fa_i\ -\ fb_i\right)^2}{12}}

The dis­tance between Amin and Cmaj is 8.9 cents and the dis­tance between each of these scales and the equal-tempered one is almost 6 cents.

The sec­ond table is the result of a search for the small­est dis­tance when trans­pos­ing one of the scales by 1 to 11 semi­tones. Here we see that Amin (see pic­ture) and Cmaj (see pic­ture) are prac­ti­cal­ly equiv­a­lent — they are har­mon­i­cal­ly relat­ed — since the dif­fer­ence goes down to 1.2 cents. The best match­ing ver­sion of Cmaj is con­struct­ed by trans­pos­ing Amin up a fifth (7 semi­tones), thus mov­ing 'C' to 'G'. For details of this pro­ce­dure, see the sec­tion on Creation of just-intonation scales.

This device can be fur­ther devel­oped to pro­duce a clas­si­fi­ca­tion of select­ed tonal scales high­light­ing similar/identical tun­ing schemes.

Another approach to tonal scale com­par­i­son is to assess the con­cor­dance between a musi­cal work and the full set of doc­u­ment­ed tun­ing pro­ce­dures: read the page Tonal analy­sis of musi­cal works.

The syntactic model

Settings in "-se.tryOneScale"

The fol­low­ing are guide­lines for a cor­rect and use­ful imple­men­ta­tion of micro­ton­al scales in BP3. We fol­low sim­ple sequences list­ed in "-gr.tryOneScale". This gram­mar is linked to "-to.tryOneScale" which con­tains a unique just into­na­tion scale with its notes labelled "Cj", "Cj#", "Dj" etc. In "-se.tryOneScale", the Note con­ven­tion has been set to 0 (English), the 'C4' key num­ber to 60 and the Default block key to 60. All these para­me­ters are impor­tant to repro­duce the same effects. Read the Check MIDI micro­tonal­i­ty page for prac­ti­cal details.

Rule #1: If only 1 micro­ton­al scale is loaded with the gram­mar, it will be used by default in all productions.

Example: Let us play:

S --> C4 A4 G4

It pro­duces the fol­low­ing Csound score:

i1 0.000 1.000 261.630 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 1.000 1.000 436.137 90.000 90.000 0.000 0.000 0.000 0.000 ; Aj4
i1 2.000 1.000 392.445 90.000 90.000 0.000 0.000 0.000 0.000 ; Gj4

The dis­play of "Cj4" etc. makes it clear that just into­na­tion has been used. This is also con­firmed by ratio 436.137/261.630 = 1.666 = 5/3.

Why not use the note labels "Cj4", "Aj"' and "Gj4" in the gram­mar? This only works if, for exam­ple, the scale is specified:

S --> _scale(just into­na­tion, Cj4) Cj4 Aj4 Gj4

This will give the same Csound score because the block key "Cj4" is set to 261.630 Hz in the scale def­i­n­i­tion. Using "Aj4" as the block key would give:

S --> _scale(just into­na­tion, Aj4) Cj4 Aj4 Gj4

and a sight­ly dif­fer­ent Csound score:

i1 0.000 1.000 263.952 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 1.000 1.000 440.007 90.000 90.000 0.000 0.000 0.000 0.000 ; Aj4
i1 2.000 1.000 395.928 90.000 90.000 0.000 0.000 0.000 0.000 ; Gj4

Here, "Aj4" has been set to 440 Hz which is the dia­pa­son fre­quen­cy in "-se.tryOneScale". The ratios are unchanged, e.g. 440.007/263.952 = 5/3.

How can we play equal-tempered inter­vals with this gram­mar? This is achieved by spec­i­fy­ing the default scale: _scale(0,0):

S --> _scale(0,0) C4 A4 G4

yield­ing the fol­low­ing Csound score:

i1 0.000 1.000 8.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 1.000 1.000 8.09 90.000 90.000 0.000 0.000 0.000 0.000 ; A4
i1 2.000 1.000 8.07 90.000 90.000 0.000 0.000 0.000 0.000 ; G4

The fre­quen­cies are not explic­it because the default Csound score for­mat uses the octave point pitch-class rep­re­sen­ta­tion, for exam­ple "A4" is the 9th pitch-class or the 8th octave (on a stan­dard MIDI instru­ment). To make them explic­it, just set the dia­pa­son in "-se.tryOneScale" to a slight­ly dif­fer­ent val­ue, for exam­ple 440.0001 Hz. This will produce:

i1 0.000 1.000 261.626 90.000 90.000 0.000 0.000 0.000 0.000 ; C4
i1 1.000 1.000 440.000 90.000 90.000 0.000 0.000 0.000 0.000 ; A4
i1 2.000 1.000 391.996 90.000 90.000 0.000 0.000 0.000 0.000 ; G4

We could expect the fre­quen­cy of "C4" to be 261.630 Hz, but the val­ue of 261.626 Hz dif­fers due to round­ing. The ratio of the dif­fer­ence is 261.630/261.626 = 1.000015 = 0.026 cents!

Rule #2: When pars­ing a sequence of notes, if a micro­ton­al scale has been spec­i­fied, the pars­er will first attempt to match the note against labels in the cur­rent micro­ton­al scale. If there is no match, it will try to inter­pret the note accord­ing to the Note con­ven­tion spec­i­fied in settings.

For instance:

S --> _scale(just into­na­tion, Cj4) Cj4 Aj4 Gj4 D4 F4 E4

The notes in the sequence "D4 F4 E4" are trans­lat­ed to the cor­re­spond­ing posi­tions in the into­na­tion scale. The result is vis­i­ble in both the Csound score and the graphic.

This prac­tice is only rel­e­vant to 12-degree tonal scales where posi­tions are equiv­a­lent — albeit with slight­ly dif­fer­ent fre­quen­cy ratios. For exam­ple, since the match­ing is based on key num­bers, feed­ing the "gra­ma" (23-degree) micro­ton­al scale (see above) with "C4 D4 E4" would pro­duce "sa_4 r2_4 r4_4", where r2_4 is close to "C#4" and r4_4 is close to "D4". This makes sense because the key sequence is 60-62-64. There is cur­rent­ly no gener­ic way of map­ping note posi­tions in scales with dif­fer­ent divi­sions. An addi­tion­al dif­fi­cul­ty would be scales with an inter­val oth­er than 2/1.

We will show lat­er that rule #2 pro­vides a flex­i­bil­i­ty that makes it very easy to insert enhar­mon­ic cor­rec­tions in a musi­cal score by select­ing one of 12 just-intonation chro­mat­ic scales — see the page Just into­na­tion: a gen­er­al frame­work.

Rule #3: If the pars­er can­not iden­ti­fy a note in the cur­rent micro­ton­al scale and against the note con­ven­tion, it will try oth­er micro­ton­al scales pre­vi­ous­ly loaded in the sequence.

Top of the "-gr.tryScales" grammar

This can be demon­strat­ed with "-gr.tryScales". At the top of the gram­mar are list­ed the scales that will be sent to the con­sole along with the gram­mar and instruc­tions. Each scale becomes "active" in the gram­mar once a _scale() oper­a­tor has declared it.

Let us try to produce:

S --> _scale(piano,dop4) fap3 _scale(just intonation,69) C4 rep4

Active scales are piano, then just into­na­tion. There are no prob­lems with note "fap3", which belongs to the piano scale, nor with "C4" which is known in the English note con­ven­tion. As pre­dict­ed by rule #2, the note "C4" is trans­lat­ed to its equiv­a­lent "Cj4" and played in just intonation.

Since the baseoc­tave of the scale piano is 3 (see the image above), the pitch of "fap3" will be close to that of "F4".

What hap­pens to note "rep4"? If the piano scale had not been acti­vat­ed, this note would be reject­ed as a syn­tax error. However, fol­low­ing rule #3, the pars­er finds it in the piano scale. This results in the key num­ber 74 since baseoc­tave = 3.

The note is inter­pret­ed as key #74 in the just into­na­tion scale, dis­played as "Dj5". This can be seen in the Csound score below and in the graphic.

i1 0.000 1.000 349.538 90.000 90.000 0.000 0.000 0.000 0.000 ; fap3
i1 1.000 1.000 263.952 90.000 90.000 0.000 0.000 0.000 0.000 ; Cj4
i1 2.000 1.000 593.891 90.000 90.000 0.000 0.000 0.000 0.000 ; Dj5

As a result, notes found in a sequence are always inter­pret­ed as belong­ing to the scale declared imme­di­ate­ly to the left, even if their label belongs to a dif­fer­ent scale or note convention.

Therefore, it is not a good idea to mix notes belong­ing to dif­fer­ent scales with­out declar­ing the scale before they occur. A "_scale()" dec­la­ra­tion is best placed at the begin­ning of each sequence, espe­cial­ly at the begin­ning of the right argu­ment of a rule.

References

Arnold, E.J. A Mathematical mod­el of the Shruti-Swara-Grama-Murcchana-Jati System. Journal of the Sangit Natak Akademi, New Delhi 1982.

Asselin, P.-Y. Musique et tem­péra­ment. Paris, 1985, repub­lished in 2000: Jobert. Soon avail­able in English.

Continuous parameters in Csound scores

The fol­low­ing are sim­ple exam­ples explain­ing the design of Csound scores con­tain­ing instruc­tions to con­trol para­me­ters that can vary con­tin­u­ous­ly. We will use sim­ple notes (no sound-object) and no Csound instru­ment file, so that all scores can eas­i­ly con­vert­ed into sound files using the "default.orc" orches­tra file sup­plied with BP3.

Consider the fol­low­ing gram­mar with the metronome set to 60 beats per minute:

S --> _pitchcont _pitchrange(200) C5 _pitchbend(0) D5 _ _pitchbend(120) _ _pitchbend(-150) _ _ _pitchbend(0) E5

The graph­ic dis­play does not show pitch­bend controls:

Pianoroll and object dis­play of "C5 D5 E5"

The _pitchcont instruc­tion at the begin­ning instructs the inter­preter to inter­po­late pitch­bend val­ues through­out whole sequence. This process can be inter­rupt­ed with _pitchstep.

The _pitchrange(200) instruc­tion indi­cates that the pitch may vary between -200 and +200 units, which are mapped to the MIDI stan­dard val­ues 0 and +16383 (both log­a­rith­mic). This is the range required by "default.orc", which counts inter­vals in cents. There are 1200 cents in an octave. So, _pitchbend(100) would raise the fol­low­ing note by one semitone.

Note: No pitch­bend val­ue is assigned to 'C5'. The default val­ue is '0'. Notes 'D5' and 'E5' are pre­ced­ed by _pitchbend(0), which assigns a '0' val­ue. All pitch­bend vari­a­tions are assigned dur­ing the pro­lon­ga­tion of 'D5'. How is this done?

The MIDI out­put is decep­tive. Pitchbend assign­ments are not tak­en into account in this format:

"C5 D5 E5" in the MIDI output

However, the Csound out­put has tak­en all para­me­ters into account:

"C5 D5 E5" (with pitch­bend assign­ments) in the Csound output

How does Csound process this phrase? Let us look at the Csound score:

t 0.000 60.000
i1 0.000 1.000 9.00 90.000 90.000 0.000 0.000 0.000 0.000 ; C5
f101 1.000 256 -7 0.000 102 120.000 51 -150.000 103 0.000
i1 1.000 5.000 9.02 90.000 90.000 0.000 0.000 0.000 101.000 ; D5
i1 6.000 1.000 9.04 90.000 90.000 0.000 0.000 0.000 0.000 ; E5
s
e

A table (Function Table Statement, see doc­u­men­ta­tion) labelled f101 has been cre­at­ed by Bol Processor and insert­ed above 'D5' to spec­i­fy vari­a­tions of the pitch­bend para­me­ter. This table is called by the 10th argu­ment of line 'D5'. Arguments 8 and 9 con­tain the start and end val­ues of pitch­bend accord­ing to "default.orc". These are 0 for all three notes.

The sec­ond argu­ment of the table is the dura­tion of its valid­i­ty, here 1.000 sec­onds. The third argu­ment (256) is its size — always a pow­er of 2. The fourth argu­ment "-7" spec­i­fies the GEN rou­tine that Csound will use for its inter­po­la­tion (see doc­u­men­ta­tion). By default, GEN07 (lin­ear inter­po­la­tion) is used.

Numbers high­light­ed in red indi­cate the val­ues of pitch­bend dur­ing the vari­a­tion: 0, 120, -150, 0. Numbers in black indi­cate the time inter­vals between two val­ues. Note that 102 + 51 + 103 = 256.

All con­tin­u­ous para­me­ters are han­dled in the same way by the Bol Processor when cre­at­ing Csound scores. This includes stan­dard MIDI con­trols (vol­ume, pres­sure, mod­u­la­tion, panoram­ic, pitch­bend) and any addi­tion­al para­me­ters defined in the Csound instru­ment file. See for exam­ple the page Sarasvati Vina.

Note

There is a workaround for play­ing the same piece with the cor­rect pitch­bend changes in MIDI. Change the rule to:

S --> _pitchcont _pitchrange(200) {C5 D5 _ _ _ _ E5, - _pitchbend(0) - _ _pitchbend(120) - _pitchbend(-150) - _ _pitchbend(0) -}

This is the same piece in a poly­met­ric struc­ture, with a line of silences '-' placed in the right places to receive pitch­bend mod­i­fi­ca­tions. As pitch­bend mod­i­fies all sounds on the cur­rent MIDI chan­nel it will also mod­i­fy 'D5' dur­ing its pro­lon­ga­tion. The fol­low­ing is a MIDI ren­der­ing on PianoTeq — at a high­er speed, so that 'D5' remains audible:

C5 D5 E5 in the MIDI for­mat with pitch­bend effects on D5