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

Safe HaskellNone

Derive.Scale.Legong

Contents

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.

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

base_octave :: Pitch.Octave Source #

Lowest note start on this octave.

laras

data Pitch Source #

Constructors

I 
O 
E 
Es 
U 
A 
As 
Instances
Bounded Pitch # 
Instance details

Defined in Derive.Scale.Legong

Enum Pitch # 
Instance details

Defined in Derive.Scale.Legong

Eq Pitch # 
Instance details

Defined in Derive.Scale.Legong

Methods

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

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

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

Show Pitch # 
Instance details

Defined in Derive.Scale.Legong

Methods

showsPrec :: Int -> Pitch -> ShowS #

show :: Pitch -> String #

showList :: [Pitch] -> ShowS #

extend :: Pitch.Octave -> Pitch -> [Pitch.NoteNumber] -> [Pitch.NoteNumber] Source #

Extend down to 3i, which is jegog range.

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.