I created a synth jegogan pair consiting of a Pd patch that inputs MIDI from a given channel and outputs a pair of tuned jegogan samples. The jegogan is a member of the Balinese Gamelan ensemble, and these instruments have a tuning system that differs from the western system in the following ways:
My synth jegogan patch is more versatile than the traditional jegogan in that it can be adjusted to play in any Gamelan ensemble, regardless of their scale fundamental pitch, or beating taste! In addition, it comes with a dummy jegogan partner who plays after a randomized miniscule delay, and the pair are slightly panned for a nice stereo effect. The main patch has four inlets that correspond to the following controls (from left to right):
The jegogan and most other mallet instruments in a Balinese Gamelan ensemble are played with a mallet to excite a note, and a hand to dampen it. Traditionally, the hand dampens the most recent note just as the next note is to be played (or beforehand), so that only one note is sounded at once from a single instrument. This behavior can by automated with a single table-reader. When a note is turned on, it plays until the next note is turned on. Additionally, the white keys may be hit to mute the instrument before striking another note. The key velocity also translates to volume. Below is a screen shot of a simple patch calling the pd patch, the pd patch itself, and its note-to-frequency-mapping subpatch, scalesel:
Here is a wave file of the following:
Time Sound :00 Demonstration of a Kotekan melody :05 Demonstration of muting and key velocity :16 Scale of Selsir :24 Scale of Tambung :30 Scale of Sunaren :37 Scale of Slendro :44 Demonstration of frequency shifting :54 Demonstration of beating effect changing between 4 and 8 beats/sec.
While this instrument can be played alone, multiple controllers can be chained to play on different channels, and opening (and assigning) a patch for each channel will enable the synth jegogans to play simultaneously.