Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Derive.Scale.Bali

Description

Support types for Balinese scales. Unlike BaliScales, this should be independent of the scale framework and have light dependencies.

Synopsis

Documentation

data Pitch Source #

Pitch for saih pitu. Pemero and penyorog are Es and As respectively.

Constructors

I 
O 
E 
Es 
U 
A 
As 

Instances

Instances details
Bounded Pitch Source # 
Instance details

Defined in Derive.Scale.Bali

Enum Pitch Source # 
Instance details

Defined in Derive.Scale.Bali

Show Pitch Source # 
Instance details

Defined in Derive.Scale.Bali

Methods

showsPrec :: Int -> Pitch -> ShowS #

show :: Pitch -> String #

showList :: [Pitch] -> ShowS #

Eq Pitch Source # 
Instance details

Defined in Derive.Scale.Bali

Methods

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

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

Ord Pitch Source # 
Instance details

Defined in Derive.Scale.Bali

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 #

extend_scale Source #

Arguments

:: Pitch.PitchClass 
-> Pitch.Pitch

extend down to here

-> Pitch.Pitch

extend up to here

-> Pitch.Pitch

from this original starting point

-> [Pitch.NoteNumber] 
-> [Pitch.NoteNumber] 

Extend a scale downwards and upwards, assuming the extended octaves are exactly 2:1. The input should have at least an octave's worth of pitches.