ECMC PVC example file chordmapper1
# Example PVC script file >> chordmapper1 << : ECMC pvc soundfile example /sflib/x/chordmapper1 illustrates the use of the chordmapper program for modifying the timbres of single notes rather than for building "chords." This soundfile is a mix of 4 successive source soundfiles, produced by example files "chordmapper1-1" through "chordmapper1-4". Each creates a single note, resynthesizing the horn tone sflib/wind/hn.c3 -- which is created by a single line written to the file used to resynthesize notes by the chordmapper program. The paramters on this line are: DATA FILE FORMAT ******************** # (1) frequency/pitch-source # (2) frequency/pitch-target # (3) number of partials (0 = all below Nyquist) # (4) partial halfbandwidth as proportion of fundamental frequency # (5) dB # (6) partial spacing as proportion of fundamental # (7) decibel of top-partial, relative to fundamental - - - First note (produced by ECMC example PVC file chordmapper1-1) : echo \ \ 7.00 7.03 0 1. -0 1 -0 \ \ > $SFDIR/chordmapperfile ; This transposes the note up a minor third (from 7.00, c3, to 7.03, ef3). Values for the other parameters on this line have been set with the goal of making the resynthesis closely match the original horn tone, although some of the "puff" is missing freom the attack. --------------- 2nd note, created by example file "chordmapper1-2". The file "chordmapper1-2" is identical to file ""chordmapper1-1" except for these three lines: SHIFT_METHOD_frequency_map_0_or_pitch_map_1=0 (Input and output pitches on the line below are expressed in frequency, rather than the default octave pitch class. ) 130.8 155.56 0 24. -9 1 36 \ (Note the high value -- 24 -- for partial halfbandwidth, and for the ratio of top partial-to-fundamental (36). The result is a brighter timbre. These values also caused clipping, so I reduced the master gain:) MASTER_gain_in_decibels=-54 # int, float or FUNC --------------- 3rd note, created by example file "chordmapper1-3": Here only 4 partials of the horn timbre are resynthesized: 7.00 7.03 4 1. 36 1 -0 \ This creates a "mellower" timbre, but also would cause severe loss in amplitude, which is compensated for by the 36 dB boost (5th argumnet in the line above. --- 4th note, created by example file "chordmapper1-4": Here, the frequency ratio between the partials is altered (the 1.4 value in the 6th argument), altering, and partially detuning, the timbre: 7.00 7.03 0 1. -0 1.4 -0 \