carnatic music synthesis

39
Carnatic Music Synthesis in Clojure @SrihariSriraman @nilenso

Upload: srihari-sriraman

Post on 16-Apr-2017

554 views

Category:

Software


8 download

TRANSCRIPT

Page 1: Carnatic Music Synthesis

Carnatic Music Synthesisin Clojure

@SrihariSriraman @nilenso

Page 2: Carnatic Music Synthesis

What this talk is about

Modeling Carnatic Music in code

Making a machine sing Carnatic Music

Synthesis, not generation

Page 3: Carnatic Music Synthesis

Should we listen to some right now?

if not, we’ll keep the suspense for later

Page 4: Carnatic Music Synthesis

What is Carnatic Music?South Indian Classical Music

Gamakams

Mostly a vocal tradition

Rich in compositions; revolves around it

Extempore / Manodharma

Page 5: Carnatic Music Synthesis

Why I do this

I sing, I do computers

Something that is still being researched

Dreamy ambitions

Potentially large set of applications

Weekend hobby

Page 6: Carnatic Music Synthesis

What I’ll coverShruthi, Swarams and, Ragams

in music, and in Clojure

A demo of the basics

play some prescriptive notation in a given raga in the REPL

Gamakams – modeling, and rendering

with a demo of course

The way of the future

as I see it

Page 7: Carnatic Music Synthesis

Shruthi, Swarams, & Ragams

in Music, and in Clojure

Page 8: Carnatic Music Synthesis
Page 9: Carnatic Music Synthesis

Ragam

Page 10: Carnatic Music Synthesis
Page 11: Carnatic Music Synthesis

Laya concepts

Page 12: Carnatic Music Synthesis

A Demo of the basics–> to the REPL

Page 13: Carnatic Music Synthesis

A Demo of the basics

Page 14: Carnatic Music Synthesis

Tools and libraries

SuperCollider synthesis server

Overtone instrument

Leipzig melodies

Postgres fuzzy search

Page 15: Carnatic Music Synthesis

So far…

Play the scale of a raga

Fuzzy find a Raga

Play a phrase

Play a phrase in a given raga

Play some prescriptive notation

Page 16: Carnatic Music Synthesis

But..

..that doesn’t sound like Carnatic Music, does it?

Page 17: Carnatic Music Synthesis

Enter pitch graphsMe

Machine

Page 18: Carnatic Music Synthesis

another phraseMe

Machine

Page 19: Carnatic Music Synthesis

Prescriptive vs Descriptive

Note uttered vs Note sung

Page 20: Carnatic Music Synthesis

GamakamsModeling, Rendering

Page 21: Carnatic Music Synthesis

Gamakams

Microtones, Continuous pitch movements

Vocal Tradition

Sangīta Sampradāya Pradarśini [Diskshitar 1904]

Page 22: Carnatic Music Synthesis

Gamakams

orikai

jãru sphuritam

kampitam

Emphasis on the second noteUpwards or downwards slide

Downward slide with a twist Oscillations between two freqs

Page 23: Carnatic Music Synthesis

Gamakams in SSP

Page 24: Carnatic Music Synthesis

Gamakams in SSP

Page 25: Carnatic Music Synthesis

Previous workGaayaka [Subramanian, 2009]

database of phrases

“automatic gamakam” feature – guided

PASR, DPASR transcriptions [Srikumar 2013]

Pitch, Attack, Sustain, Release

Phrases are split into ‘Stage’, and ‘Dance’ parts

Page 26: Carnatic Music Synthesis

Gaayaka

| S, N D | N S R G |

((P S,,)) , ((S , S>>> S)) -((D. S. D)) ((S , S>> S))- S R ((G<< G , ,))

‘<‘ and ‘>’ increase and decrease pitch ‘(‘ and ‘)’ are speed factors; deeper is faster

Page 27: Carnatic Music Synthesis

Overtone Gamakams

Page 28: Carnatic Music Synthesis

Overtone Gamakams

Page 29: Carnatic Music Synthesis

back to this...

Me

Machine

Page 30: Carnatic Music Synthesis

Overtone Gamakams

Page 31: Carnatic Music Synthesis

PASR

durations, and pitch class in one part Vector specifies the PASR vars for each prescriptive note

P, M, | G, GM | R, GR | S,,,

Page 32: Carnatic Music Synthesis

DPASR

Page 33: Carnatic Music Synthesis

Rendering PASRMe

Machine

Page 34: Carnatic Music Synthesis

Rendering PASR

Page 35: Carnatic Music Synthesis

The ways of the futureAs I see it

Page 36: Carnatic Music Synthesis

The path I seeHave the basic abstractions, fair models to render

Understanding the abstractions in melody

Model rules in the ragams, generate music weighted by probabilities given by these rules

Deep learning, Recurrent Neural Networks

Improved transcription of Carnatic Music

Open Carnatic Music Database

(-> OCMD auto-transcription ML machine-created-music)

Page 37: Carnatic Music Synthesis

Is that music though?Maybe?

Page 38: Carnatic Music Synthesis

ReferencesMy work so far

https://github.com/ssrihari/ragavardhini SSP - 1905 - Sangita Sampradaya Pradarshini

http://ibiblio.org/guruguha/ssp_cakram1-4.pdf SPS - 2013 - Modeling Gamakas of Carnatic Music as a Synthesizer for Sparse Prescriptive Notation

http://sriku.org/thesis/srikumar-phd-thesis-cnm-modeling-gamakas-6aug2013.pdf http://sitardivin.globat.com/seminar2013/047SrikumarS.pdf

TMK - 2012 - Svara, Gamaka, Phraseology and Raga identity http://compmusic.upf.edu/system/files/static_files/03-T-M-Krishna-2nd-CompMusic-Workshop-2012_0.pdf

Gayaka - the software. Runs on windows, written in javascript by SPS. http://carnatic2000.tripod.com/gaayaka6.htm

SPS A Composition Based Method for Modeling Carnatic Music Rāgas and Style http://sitardivin.globat.com/seminar2013/047SrikumarS.pdf

Recent work on digitizing some carnatic music notation http://devagitam.in

Page 39: Carnatic Music Synthesis

Carnatic Music Synthesisin Clojure

@SrihariSriraman @nilenso