Here is an example of difference between range and line
live_loop :differenceBetweenRangeAndLine do
withRange = (range 0, 10, step: 2, inclusive: true).tick
puts withRange
# step : the value added each tick
withLine = (line 0, 10, steps: 5, inclusive: true).tick("line")
# steps describe the number of step to reach the end value
puts withLine
play :c, amp: withRange
sleep 1
end
well i am not very sure of what steps i have to do to send a pull request (i have to investigate this point one day). Edit : a priori it’s ok a pull request has been added.