add function to keep track of the sample pointers on each line as the track plays, then when line looping is activated, it can re-trigger drum loops at the correct point if no note exists on that line.
note: work out formula to take into account period and bpm to determine how far we've moved since last frame. similar to the the way the scopes work.
add function to keep track of the sample pointers on each line as the track plays, then when line looping is activated, it can re-trigger drum loops at the correct point if no note exists on that line.
note: work out formula to take into account period and bpm to determine how far we've moved since last frame. similar to the the way the scopes work.