Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Cmd.Instrument.KendangBali

Description

Instrument definitions for kendang Bali, shared between instruments.

Synopsis

code

tunggal

pasang

data Pasang Source #

Instances

Instances details
Show Pasang # 
Instance details

Defined in Cmd.Instrument.KendangBali

balinese_pasang_calls :: [(Char, Expr.Symbol, PasangStroke)] Source #

Unicode has some kendang notation, but it's harder to type and I'm not sure if I'll wind up using it.

realize_kendang :: Pasang -> Stream.Stream Score.Event -> Stream.Stream Score.Event Source #

Given a composite part with lanang and wadon, fill in the secondary strokes.

The realization is not correct because I don't yet fully understand how it works.

c kPtTtT+o+oo-+
l .P.TPTP+^++.^
w P.TPTP+.+.^-+
c kPktT t T T t T .kP.tT.tTØØØ
l .P.^T P T T P T .^P^.T .TØØØ
w P^.TP T P P T P .P^.TP.TP. .
c kP+otT kPkP+o+o kPuUtT+o
l P.+.T^ P.P.+.+. P.o.T^+.
w .P.+.T .P.P.+.+ .P.O.T^+
c kPtTtT
l .P.TPTP
w P.TPTP
tTkPtTkP
T.P.T.P
.T.P.T.P
tT+otT+o
TP+.TP+.
.TP+.TP+

attrs

general

data Note Source #

The attributes might have the stroke, or not, so it might be Note Plak plak, or Note Play mempty.

Constructors

Note !Stroke !Attrs.Attributes 

Instances

Instances details
Eq Note # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

(==) :: Note -> Note -> Bool #

(/=) :: Note -> Note -> Bool #

Ord Note # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

compare :: Note -> Note -> Ordering #

(<) :: Note -> Note -> Bool #

(<=) :: Note -> Note -> Bool #

(>) :: Note -> Note -> Bool #

(>=) :: Note -> Note -> Bool #

max :: Note -> Note -> Note #

min :: Note -> Note -> Note #

Show Note # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

showsPrec :: Int -> Note -> ShowS #

show :: Note -> String #

showList :: [Note] -> ShowS #

data Stroke Source #

Constructors

Plak 
Pak 
Pang 
TutL 
DeL 
Ka 
Tut 
De 
Dag 
Tek 

Instances

Instances details
Eq Stroke # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

(==) :: Stroke -> Stroke -> Bool #

(/=) :: Stroke -> Stroke -> Bool #

Ord Stroke # 
Instance details

Defined in Cmd.Instrument.KendangBali

Show Stroke # 
Instance details

Defined in Cmd.Instrument.KendangBali