Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Cmd.Instrument.KendangBali

Description

Instrument definitions for kendang Bali, shared between instruments.

Synopsis

code

tunggal

pasang

data Pasang Source #

Instances

Instances details
Show Pasang Source # 
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
Show Note Source # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

showsPrec :: Int -> Note -> ShowS #

show :: Note -> String #

showList :: [Note] -> ShowS #

Eq Note Source # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

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

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

Ord Note Source # 
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 #

data Stroke Source #

Constructors

Plak 
Pak 
Pang 
TutL 
DeL 
Ka 
Tut 
De 
Dag 
Tek 

Instances

Instances details
Show Stroke Source # 
Instance details

Defined in Cmd.Instrument.KendangBali

Eq Stroke Source # 
Instance details

Defined in Cmd.Instrument.KendangBali

Methods

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

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

Ord Stroke Source # 
Instance details

Defined in Cmd.Instrument.KendangBali