Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Derive.Scale.Legong

Description

Saih pitu scales.

   3i 3o 3e 3u 3a 4i 4o 4e 4u 4a 5i 5o 5e 5u 5a 6i 6o 6e 6u 6a 7i
   jegog---------
                  calung--------
                                 penyacah------
      ugal-------------------------
         rambat-----------------------------------
   0              7              14             21             28
   3i 3o 3e 3u 3a 4i 4o 4e 4u 4a 5i 5o 5e 5u 5a 6i 6o 6e 6u 6a 7i
               trompong---------------------
                     pemade-----------------------
                                    kantilan---------------------
                        reyong-----------------------------
                        |1-----|---       |3--|---
                                 |2-----|---    |4--------|
   3i 3o 3e 3u 3a 4i 4o 4e 4u 4a 5i 5o 5e 5u 5a 6i 6o 6e 6u 6a 7i
   
Synopsis

Documentation

config

config :: BaliScales.Config Source #

These are from Tenzer's "Gamelan Gong Kebyar", page 29. This is Dewa Beratha's definition. McPhee's book has different names for gambuh, but Beratha's is probably more modern.

These are assigned with key=.... McPhee calls them tekepan (suling) or ambah. Or I could use patutan / pathet.

laras

data Pitch Source #

Constructors

I 
O 
E 
Es 
U 
A 
As 

Instances

Instances details
Bounded Pitch Source # 
Instance details

Defined in Derive.Scale.Legong

Enum Pitch Source # 
Instance details

Defined in Derive.Scale.Legong

Show Pitch Source # 
Instance details

Defined in Derive.Scale.Legong

Methods

showsPrec :: Int -> Pitch -> ShowS #

show :: Pitch -> String #

showList :: [Pitch] -> ShowS #

Eq Pitch Source # 
Instance details

Defined in Derive.Scale.Legong

Methods

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

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

Ord Pitch Source # 
Instance details

Defined in Derive.Scale.Legong

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 :: Pitch.Octave -> Pitch -> [Pitch.NoteNumber] -> [Pitch.NoteNumber] Source #

Extend down to 3i, which is jegog range.

base_octave :: Pitch.Octave Source #

Lowest note starts on this octave.

instrument integration

complete_instrument_scale :: BaliScales.Laras -> BaliScales.Tuning -> Patch.Scale Source #

A Scale with the entire theoretical range. This is for instruments that are normalized to 12tet and then tuned in the patch (e.g. using KSP).

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 

make_instrument_scale Source #

Arguments

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

drop and take keys for the instrument's range

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

midi_keys :: [Midi.Key] -> [Midi.Key] Source #

Emit from i3 on up.