Till now, we just used NoteSequence to generate Carnatic Raga Notes.
#Carnatic music youtube code
This this code generates notes for one such basic composition called Pillari Geetam. NoteSequence has provided this feature with start_time and end_time parameters. Many times, notes/swaras need to played at variable lengths. Generating variable-length note sequences Here is a code snippet for one such beautiful pattern called sarali swaram.Īny ragam with the same ascending order and descending order notes can be played with the above pattern Punching the main keynotes on piano will generate Sankarabharam Ragam, which appears to be a platykurtic gaussian normal distribution.Ī new student is taught to sing/play some notes/ swaras patterns. You can observe the symmetry of notes in the graph, which may be the reason, new students are started with this Mayamalavagowla Ragam. The above code generates the graph and note sequence as MIDI file for 3 ragas. Run this code in Step 1 of the Hello Magenta Colab window given above. The following python script plays this ragam notes. The ascending order ( Aarohana) and descending order ( Avarohana) have all the same 7 swaras, which is a common property for all Melakarta Ragams. The beginners of Carnatic Music are first taught with Mayamalavagowla Ragam, the 15th Melakarta (see the chart above).
#Carnatic music youtube series
This is a fantastic abstract representation of a series of notes, each with different pitches or srutis, instruments and strike velocities, much like MIDI.
#Carnatic music youtube download
Here, you can generate music, download it as MIDI and also see the graphical music patterns with Bokeh library.Įverything in Magenta is centered around NoteSequences. This is the easiest way to get started with Magenta.
Let’s see how Indian Classical music (Carnatic Music) notes map to Electronic Piano notes to understand the similarities and possibilities for Carnatic Music generation.Įnough of theory, now let’s jump into Carnatic Music generation using Google Magenta.Ĭlick this link to run the below examples yourself. Raga is continuous and captures human emotion along with mood, expression, and energy.ĭespite many differences, fortunately, both are based on 12 keynotes or swaras which can help in generating Indian classical music from a broader perspective, ignoring the microtonal perfections. Western music generated with notes is discrete by design. Western music has scales and notes generated by the keys with Major and Minor scales, whereas Indian Classical music has Ragam or Raga which is more than a set of notes or swaras. My attempt to generate Carnatic music with this tool is presented here.īasics of Carnatic Music vis– à– vis Western Music It has a simple yet powerful way to generate Note sequence music. In the pursuit of a good tool to generate music, I came across the Google Magenta project. Indian film music is more popular nowadays, which often takes inspiration from both these classical forms of music. Hindustani Music is popular in North India. Having learned the basics of Carnatic Music in my childhood, I always had the fascination to automate generating this ancient form of South Indian classical music. Generate random Carnatic Music Raga notes with simple python scripts.Generate Carnatic Music Raga notes using machine learning techniques.Play and visualize Carnatic Music Ragas using Google Magenta library.In this article, I focused on the following topics:
At the end of a long hard-working day, listening to your favorite music composition can give a much-needed solace and fresh energy to look forward to dealing with life with a smile. It has the ability to effortlessly transcend the opaque body, subtle mind, and invisible soul. This article was published as a part of the Data Science Blogathon.