A composition in Carnatic musical style by Srikumar K. Subramanian, June 1995. Name: "-gr.trial.mohanam".
This is a non-stop improvisation of variations in a style similar to Carnatic music. The compositional approach here is to decide that each variation should contain 32 notes and can use up to 20 "ideas". To do this, a flag called Ideas is set to 20 at the beginning, and it is decreased by 1 unit in certain rules (such as GRAM#2[2]) or 2 units in others (such as GRAM#2[3]). See the Flags in grammars for more details.
Rules in subgrammar #3 can only be candidates if there are few ideas left, but they do not reduce ideas.
Rules in subgrammar #6 use wildcards to create patterns.
Rules in subgrammar #9 create "effects" by changing velocities.
ORD GRAM#1[1] S --> _transpose(-5) I /Ideas=20/ /Notes=32/ /NumR=1/
RND GRAM#2[1] <0> I --> I /NumR+1/ [This rule is only fired on a _goto()] GRAM#2[2] <20> /Ideas-1/ I --> R1 A R2 GRAM#2[3] <50> /Ideas-2/ I --> A B GRAM#2[4] <20> /Ideas-1/ I --> R1 B R2 GRAM#2[5] <50> /Ideas-2/ I --> B A
RND GRAM#3[1] <100> /Ideas/ /NumR-1/ A --> I GRAM#3[2] <100> /Ideas/ /NumR-1/ B --> I GRAM#3[3] <1> /Ideas/ I --> I _goto(2,1)
SUB1 GRAM#4[1] I --> lambda
RND GRAM#5[1] <50-12> /Notes-4/ A --> P4 GRAM#5[2] <50-9> /Notes-3/ A --> P3 GRAM#5[3] <50-10> /Notes-2/ A --> P2 GRAM#5[4] <50-12> /Notes-4/ B --> Q4 GRAM#5[5] <50-9> /Notes-3/ B --> Q3 GRAM#5[6] <50-10> /Notes-2/ B --> Q2
In the ‘Improvize’ mode, the values of flags and rule weights can be carried over from one variation to the next. This allows them to be used to trigger/inhibit events at any distance from those that created/modified them.
The following output was recorded on a Roland D-50 synthesiser.