Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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.