p0 = output start time (seconds) p1 = duration of each segment (seconds) p2 = amplitude (absolute, for 16-bit soundfiles: 0-32768) p3 = number of points p4 = pan (0-1 stereo; 0.5 is middle) [optional; default is 0] Because this instrument has not been updated for pfield control, the older makegen control envelope sysystem should be used: function table 1 is overall amp envelope function table 2 is the synthesis waveform function table 3 is a listing of the frequency points function table 4 is a listing of the amplitude points Author: Stanko Juzbasic
If you do use SCULPT, be sure not to normalize the values in the makegen tables. Also, be aware that SCULPT does not interpolate between frequency and amplitude values in the table. Each value holds constant for the length of each segment.
SCULPT can produce stereo or mono output.
Sample Scores
very basic:
rtsetparams(44100, 2) load("SCULPT") makegen(1, 24, 1000, 0, 1, 1, 1) makegen(2, 10, 1000, 1) makegen(3, 2, 10, 0) 149.0 159.0 169.0 179.0 189.0 199.0 214.0 215.0 234.0 314.0 makegen(4, 2, 10, 0) 0.0 -7.0 -10.0 -3.0 0.0 -10.0 -20.0 -15.0 -2.1 -1.1 SCULPT(0, 0.5, 10, 10)