Ok, so here's what happens in this patch.
This patch was based on a load of research I did on Indian music. While the sources for the raga and tala that the piece is based on might not be totally legit (kksongs.org), its existence gave me a building block to start from.
The
raga provides three major things to this piece. firstly, it provides the notes to be used. It also provides the probabilities for the markov chain to determine which note to choose. Thirdly, I treat the Swarupa as the gat, a recurring composed section, occuring at 80 seconds, 100 seconds, 120 seconds, 200 seconds, and 340 seconds.
The
tala provided an initial basis for structure, but later only the length resembled the tala - 17*2*10sec=340, the length of the piece. However, the tala provides to the piece the probabilities for bol (stroke) choice.
The final piece, the overall structure, came from a book which went in great detail into Hindustani rhythm and structure.
pd structure controls the patch. it uses a 10-second (10,000 ms) timer to act as a general metronome for the piece, ending at the 35th tick. At the same time, a 3000ms metronome acts as the true tempo marking for the piece. This later become 750ms and 428ms. pd structure controls most parts of the patch, such as envelope, gate threshold, and tala speed.
The rhythm of the "melody" is derived from a hard gate with a changing envelope on a pink noise signal, which changes to give the illusion of speeding up. The gate bangs (triggers) a complex sine wave using info from
this thread to simulate a pizz violin, a Bb clarinet, an alto flute with vibrato, and a martele stroke on a contrabass simultaneously and with timbre changes at various points of frequency.
Both the pink noise and the complex tone go through a quick reverb and EQ. The EQ page has a real-time effect over each step, cuz it looks cool.
Going on at all times is a drone of the tonic and perfect fifth of the scale, as well as a drone of both a M3 and a m3, since I found the inclusion of both highly unusual about the raga.
Starting at the first tempo change (to a 750ms pulse), the drums kick in and continue relatively constantly throughout.
The frontend is still being worked on, and will be a visualizer of sorts.
I don't think it is clear from the output, neither do I think it is important, but the website claimed that the raga I used is meant to signify joy entering into night.
The sound file is in mono, but the actual patch is in stereo. Space starts and stops, 1/2 starts and stops the drone.
I think that's it.
LINK!
http://www.zshare.net/audio/17683562aae4e07b/