home *** CD-ROM | disk | FTP | other *** search
- /*
- Gamelan.score
- This is a sample scorefile illustrating the use of the Fm1
- synthpatch.
-
- If you make your own Music Kit program, Fm1i must be loaded into
- your program to play this. See <musickit/synthpatches/Fm1i.h> for
- details on the meaning of the Note parameters.
-
- "Gamelan" is a adaptation of an piece of Balinese music for four
- "gender" instruments, which consist of metallic bars over bamboo
- resonators, and two low-pitched gongs.
-
- Indonesian music is characterized by the use of tuning systems which
- are non-equal-tempered, and while following the general pattern of one
- of two typical scales, usually unique to a specific set of instruments
- (called a "gamelan") played by the residents of a particular village.
- Octaves may also be slightly mistuned to create subtle interference
- between overtones, resulting in a beating, shimmering effect.
-
- Frequency modulation synthesis is used in order to take advantage of
- its ability to easily synthesize dynamic timbres with inharmonic
- spectra,especially appropriate for percussive sounds.
-
- The ease with which one can incorporate such subtleties of tuning and
- timbre into music demonstrates important advantages of a general
- purpose synthesis environment over a typical keyboard-style
- synthesizer.
-
- The tuning system used is based on the following intervallic
- relationships:
- c/d = 7/8, f/d = 7/6, f/c = 4/3, g/f = 8/7, a/g = 8/7
-
- The resulting basic pitches are:
-
- a4 = 448.000;
- g4 = 392.000;
- f4 = 343.000;
- d4 = 294.000;
- c4 = 257.250;
-
- Also, the modulation ratio, 4.4444 results in a primary overtone with a
- relationship of ((7/6)^2)*4 to the fundamental.
-
- Michael McNabb
-
- Feel free to copy and modify this example.
- */
-
- info samplingRate:44100, tempo:176;
- part gd1;
- gd1 synthPatchCount:1, synthPatch:"Fm1i";
- part gd2;
- gd2 synthPatchCount:9, synthPatch:"Fm1i";
- part gd3;
- gd3 synthPatchCount:9, synthPatch:"Fm1i";
- part gd4;
- gd4 synthPatchCount:9, synthPatch:"Fm1i";
- part gong1;
- gong1 synthPatchCount:9, synthPatch:"Fm1i";
- part gong2;
- gong2 synthPatchCount:9, synthPatch:"Fm1i";
-
- BEGIN;
-
- t 0.0;
- gd1 (noteUpdate) amp:0.35, m1Ind0:0.08, m1IndEnv:envelope indexFun2 = [(0., 4., 1.)(0.00040, 1., 1.)(0.40, 0., 1.)], ampEnv:envelope ampFun3 = [(0., 1., 1.)(0.00060, 0.50, 1.)(10., 0., 0.60000) | (10.03, 0., 0.02000)], m1Ratio:4.44440;
- gd2 (noteUpdate) amp:0.35, m1Ind0:0.08, m1IndEnv:indexFun2, ampEnv:envelope ampFun2 = [(0., 1., 1.)(0.00060, 0.50, 1.)(10., 0., 0.60000) | (10.05, 0., 0.02000)], m1Ratio:4.44440, bearing:-45;
- gd3 (noteUpdate) amp:0.35, m1Ind0:0.08, m1IndEnv:indexFun2, ampEnv:ampFun3, m1Ratio:4.44440, bearing:45;
- gd4 (noteUpdate) amp:0.35, m1Ind0:0.08, m1IndEnv:indexFun2, ampEnv:ampFun3, m1Ratio:4.44440, bearing:-45;
- END;
-
-