Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Cmd.Ruler.Tala

Contents

Description

Meters for Carnatic music.

The main data type is Meter.LabeledMeter, produced by make_meter, which can be easily turned into a Ruler.Ruler via ruler if needed.

E.g., 3 avartanams of adi talam chatusra nadai followed by 4 avartanams of tisra nadai: make_meter [Ruler adi_tala 1 3 4 1, Ruler adi_tala 2 4 3 1]

Synopsis

Documentation

standard talams

simple :: Tala.Tala -> Nadai -> Avartanams -> Ruler.Ruler Source #

Create a ruler from just one Tala. Section is hardcoded to 1 since usually there isn't a section structure.

simple_meter :: Tala.Tala -> Nadai -> Sections -> Avartanams -> Meter.LabeledMeter Source #

4 avartanams of the given tala.

adi :: Avartanams -> Ruler.Ruler Source #

n avartanams of everyone's favorite talam.

adi3 :: Avartanams -> Ruler.Ruler Source #

adi but in tisram.

dhruva_tala :: Tala.Tala Source #

Talas with default jati.

matya_tala :: Tala.Tala Source #

Talas with default jati.

rupaka_tala :: Tala.Tala Source #

Talas with default jati.

jhampa_tala :: Tala.Tala Source #

Talas with default jati.

triputa_tala :: Tala.Tala Source #

Talas with default jati.

ata_tala :: Tala.Tala Source #

Talas with default jati.

eka_tala :: Tala.Tala Source #

Talas with default jati.

define talams

data Ruler Source #

Constructors

Ruler 

Instances

type Nadai = Int Source #

make_meter :: [Ruler] -> Meter.LabeledMeter Source #

Concatenate the rulers and make a meter.

dummy_config :: Meter.Config Source #

A config for when I don't need the config_label_components. TODO this is awkward.