Online Sequencer Forums
Repeater - Printable Version

+- Online Sequencer Forums (https://onlinesequencer.net/forum)
+-- Forum: Online Sequencer (https://onlinesequencer.net/forum/forum-3.html)
+--- Forum: Suggestions (https://onlinesequencer.net/forum/forum-6.html)
+--- Thread: Repeater (/thread-369.html)



Repeater - super_nova - 12-07-2014

Can you add something like that?
http://en.wikipedia.org/wiki/Repetition_(music)

So we can add A and B to spesific locations and enter a loop number, so player repeats those parts and continues playing.(like A-B repeating) That would be great.

Some algorithms i can think about it:

New objects named "repeater-A" and "repeater-B".

RepeaterA object contains two vars, "pos" and "repeaterBpos". pos is position and repeaterBpos is the position of the repeaterB object.

RepeaterB object contains "pos", "repeaterApos", "loopCount", "looped"

"loopCount" is the user defined loop count. "loopLeft" is counter of how many times that part looped. This will reset to 0 everytime we start playing.

When player hits a repeaterB object,

if( playerB.looped < playerB.loopCount )
{
player.goTo( repeaterB.repeaterApos );
playerB.looped++;
}


RE: Repeater - Stepson - 12-07-2014

if you want to repeat something
copy it and paste it
it will sound the same
as you have put there a repetiton