Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Derive.Scale.Selisir

Description

This is like Derive.Scale.Legong, except specialized to the selisir mode.

Synopsis

Documentation

base_octave :: Pitch.Octave Source #

Lowest note start on this octave.

laras_rambat :: BaliScales.Laras Source #

Exported for instruments to use.

pitu_to_lima :: BaliScales.Laras -> BaliScales.Laras Source #

Strip extra notes to get back to saih lima.

data Pitch Source #

Constructors

I 
O 
E 
U 
A 
Instances
Bounded Pitch # 
Instance details

Defined in Derive.Scale.Selisir

Enum Pitch # 
Instance details

Defined in Derive.Scale.Selisir

Eq Pitch # 
Instance details

Defined in Derive.Scale.Selisir

Methods

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

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

Ord Pitch # 
Instance details

Defined in Derive.Scale.Selisir

Methods

compare :: Pitch -> Pitch -> Ordering #

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

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

(>) :: Pitch -> Pitch -> Bool #

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

max :: Pitch -> Pitch -> Pitch #

min :: Pitch -> Pitch -> Pitch #

Show Pitch # 
Instance details

Defined in Derive.Scale.Selisir

Methods

showsPrec :: Int -> Pitch -> ShowS #

show :: Pitch -> String #

showList :: [Pitch] -> ShowS #

extend :: Pitch.Octave -> Pitch -> [Pitch.NoteNumber] -> [Pitch.NoteNumber] Source #

Extend down to the Legong range.

instrument_scale Source #

Arguments

:: ([(Midi.Key, Pitch.NoteNumber)] -> [(Midi.Key, Pitch.NoteNumber)])

drop and take keys for the instrument's range

-> BaliScales.Laras 
-> BaliScales.Tuning 
-> Patch.Scale