carrierdown / recurse

re<urse is a declarative language for generating musical patterns
GNU General Public License v3.0
40 stars 0 forks source link

Should be possible to create nested intervals with special values #2

Closed carrierdown closed 7 years ago

carrierdown commented 7 years ago

Currently, only standard values can be used as the parent value for a nested expression. It would be very useful to be able to also use interpolated intervals, alternating intervals, ranges, and so on.

Examples:

rm(4'6'8(1x4)) // alternates between 4(1x4) 6(1x4) 8(1x4) rm(2..8(1x4)) // 2(1x4) 3(1x4) ... 8(1x4) rm(2>8(1x4)) // same as above but interpolated to fit inside length of sequence rm(4*0.25(1x4)) // rescale nested intervals to 25% of original size

carrierdown commented 7 years ago

Ranges and interpolation now supported.