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

Safe HaskellNone

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
Bounded Pitch # 
Instance details

Defined in Derive.Scale.Bali

Enum Pitch # 
Instance details

Defined in Derive.Scale.Bali

Eq Pitch # 
Instance details

Defined in Derive.Scale.Bali

Methods

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

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

Ord Pitch # 
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 #

Show Pitch # 
Instance details

Defined in Derive.Scale.Bali

Methods

showsPrec :: Int -> Pitch -> ShowS #

show :: Pitch -> String #

showList :: [Pitch] -> ShowS #

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.