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

Cmd.Ruler.Gong

Contents

Description

Rulers for Balinese and Javanese music.

Synopsis

Documentation

type Gongs = Int Source #

regular :: Gongs -> Jegogans -> Meter.Meter Source #

Create a number of gongs, each divided into a number of jegogan strokes.

Labels start from 0, where 0 represents the last note. So 0, 1, 2, 3, 4, 5, 6, 7 can be read 8, 1, 2, 3, 4, 5, 6, 7, and in a 16 count cycle the the 8 will be on the middle count as expected.

+ lines have labels, and 4 jegogan per gong:

         01234567012345670123456701234567012345670123456701234567012345670
   + s 2 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk 1/8t
   . e 2 k k k k k k k k k k k k k k k k k k k k k k k k k k k k k k k k k
   . q 2 k   k   k   k   k   k   k   k   k   k   k   k   k   k   k   k   k 1/2t
   + h 2 c       c       c       c       c       c       c       c       c 1t
   . w 4 J               J               J               J               J 2t
   .     o                               p                               o
   + Sec O                                                               O
         0       1       2       3       4       5       6       7       8
       t 0                               1                               2
   

So it needs 4 "measures" in one section to make a full 8 count.

measure_dur :: TrackTime Source #

This gives a reasonable kotekan speed at tempo=1. It makes kotekan into "s" with one "cycle" of 8 as a "h". A "w" is 2 cycles and 8 per section.

config :: Meter.Config Source #

Gong config starts counting from 0. This is more appropriate for Balinese and Javenese music which are counted n 1 2 3 .. n

java