Added support for consecutive linear ramps.
Adjusted buffer length so buffer ends at the end of the ramp.
Merge pull request #17 from Calder/master

Added support for multiple consecutive linear ramps.