Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arpeggiator Cycle function. #3078

Merged
merged 1 commit into from
Oct 26, 2016
Merged

Arpeggiator Cycle function. #3078

merged 1 commit into from
Oct 26, 2016

Conversation

zonkmachine
Copy link
Member

cycle

See #2080

From the Cycle Knob's help text:

Jumps over n steps in the arpeggio and cycles around if we're over the note range.
If the total note range is evenly divisible by the number of steps jumped over you will
get stuck in a shorter arpeggio or even on one note.

...and if you do get stuck in a shorter sequence you can just turn up the Miss Knob to reach the other notes.

@zonkmachine zonkmachine added this to the 1.2.0 milestone Oct 15, 2016
@zonkmachine
Copy link
Member Author

This is the last of the three functions (the others being skip and miss) originally targeted for 1.2 .
Fixed up and tested.

@zonkmachine
Copy link
Member Author

Merge?

@jasp00
Copy link
Member

jasp00 commented Oct 23, 2016

    // Cycle notes
    if( m_arpCycleModel.value() && dir != ArpDirRandom )
    {
        cur_arp_idx += m_arpCycleModel.value() + 1;
        cur_arp_idx %= range;
    }

@zonkmachine
Copy link
Member Author

zonkmachine commented Oct 23, 2016

Awesome!

Though cur_arp_idx += m_arpCycleModel.value() + 1;
needs to be: cur_arp_idx *= m_arpCycleModel.value() + 1;

@zonkmachine
Copy link
Member Author

OK, I'll merge this in a day if there are not other comments.

@zonkmachine zonkmachine mentioned this pull request Oct 25, 2016
7 tasks
@zonkmachine zonkmachine merged commit f99aee9 into LMMS:master Oct 26, 2016
@zonkmachine zonkmachine deleted the cycle branch October 26, 2016 08:38
@Umcaruje
Copy link
Member

👍

sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants