Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
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

Instances details
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.