BalunganReader:
Filter:
GamelanPatterns/Classes (extension) | Extensions > Virtual Gamelan

BalunganReader
ExtensionExtension

Converts notation-strings to sc-events

Description

Subclass off StringConverter that allows to convert melodic gamelan-notation (balungan and other parts) to sc-Events. BalunganReader can handle toneciphers and diacriticas that designate rhythmic values and octave register. For notation symbols see VGNotationStrings

Class Methods

.removeDuplicateSpaces

(describe method here)

Arguments:

str

(describe argument here)

Returns:

(describe returnvalue here)

.applyDiacritica

(describe method here)

Arguments:

str

(describe argument here)

event

(describe argument here)

index

(describe argument here)

Returns:

(describe returnvalue here)

.unconvert

Convert an array of events back to score string. If the events have a \score entry, it is used.

Arguments:

eventList

(describe argument here)

Returns:

(describe returnvalue here)

.initClass

(describe method here)

Returns:

(describe returnvalue here)

.convert

(describe method here)

Arguments:

str

(describe argument here)

addScore

(describe argument here)

postDur

(describe argument here)

Returns:

(describe returnvalue here)

.diacritica

Array of array of pairs of strings and functions to add properties to the events. Each array group is searched for one single result. Currently the first array is diacritica for rhythms.

Returns:

(describe returnvalue here)

.events

Pairs of strings and functions for generating events. Those strings are the ones that mark the beginning of a new event.

Arguments:

pairs

(describe argument here)

Returns:

(describe returnvalue here)

.getEvent

(describe method here)

Arguments:

str

(describe argument here)

Returns:

(describe returnvalue here)

.reverseDiacritica

(describe method here)

Returns:

(describe returnvalue here)

.reverseTranslationFunction

(describe method here)

Arguments:

key

(describe argument here)

value

(describe argument here)

str

(describe argument here)

Returns:

(describe returnvalue here)

.moveBracketsIntoSuffixPosition

(describe method here)

Arguments:

str

(describe argument here)

Returns:

(describe returnvalue here)

.isDiakritikum

(describe method here)

Arguments:

str

(describe argument here)

Returns:

(describe returnvalue here)

.acceptInsteadOfNote

(describe method here)

Returns:

(describe returnvalue here)

.isSeparator

(describe method here)

Arguments:

char

(describe argument here)

Returns:

(describe returnvalue here)

Notation Symbols

The following strings are used in balungan-notation:

Examples