NAME

setline_size - set the size of tables created by setline and setexp


SYNOPSIS

setline_size(new_size)


DESCRIPTION

Call setline_size from a script to set the size of function tables subsequently created by setline and setexp. By default, those tables have 1000 elements.

You might want to use more than 1000 elements if you make steep ramps for long notes. The function table size limits the resolution of such a slope. If the note is 10 seconds long, and the table has 1000 elements, then each element governs .01 seconds (10 / 1000). If you want a steeper slope, you'll need a larger table.


ARGUMENTS

new_size
The number of elements in setline and setexp tables created after this call to setline_size.


EXAMPLES

   setline_size(10000)
   setline(0, 0, 1, 1)

creates a linear ramp with 10000 elements in the function table.


SEE ALSO

makegen, setline, setexp