-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 extended #2130
Arpeggiator extended #2130
Conversation
I couldn't make the original 'Skip' function work as I intended it and I'm not sure it's my coding that's the problem this time. It could be some other bug that's being exposed here. |
8c45c1f
to
4da73f3
Compare
d158166
to
fa77617
Compare
Toggle switch removed + Squashed. |
👍 |
06deb0e
to
85193bc
Compare
85193bc
to
527e33d
Compare
@Fastigium |
@zonkmachine Woah there, I'm not sure I get everything you're saying/asking. Let me see... As for the muted lb302 track in the BBTrack, I can't seem to find it. The B&B Editor only shows a kick and a snare, and the lb302 track under the BBTrack is not muted. That one does leave the original NotePlayHandle hanging though, probably for the reason I outlined above. To prevent it, you could add a method |
527e33d
to
7737b2b
Compare
@Fastigium Thank you so very much! I'm sorry for not replying earlier but I fell out of coding a bit. My post wasn't very clear and the demo project was ill labelled, but you managed to get what I was after.
Worked like a charm... together with @LMMS/developers The new arpeggiator functions for randomisation |
abbb028
to
175dd42
Compare
Since the 'hanging note bug' is fixed I'm now switching this back to 1.2 |
if( m_arpSkipModel.value() ) | ||
{ | ||
|
||
if( 101 * ( (float) rand() / (float) RAND_MAX ) < m_arpSkipModel.value() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 101 * r / RM < skip
instead of 100 * r / (RM + 1) < skip
? 100% skip rate should skip always.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I was trying to find a more interesting response from the knobs. I've reverted to the same algorithm for both functions. Keep it simple, etc...
100% skip rate should skip always.
You're right, and i promised full amnesia.
tr( "The skip function will make the arpeggiator pause one step " | ||
"randomly. From it's start in full counter clockwise " | ||
"position and no effect it will gradually progress to " | ||
"more or less full amnesia at maximum setting.") ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more or less
should not be necessary.
6277410
to
e7a2dd2
Compare
@jasp00 I've complied with all of your suggestions. 🐶 |
@@ -137,6 +139,22 @@ InstrumentFunctionArpeggioView::InstrumentFunctionArpeggioView( InstrumentFuncti | |||
"number of octaves." ) ); | |||
|
|||
|
|||
m_arpSkipKnob->setLabel( tr( "SKIP" ) ); | |||
m_arpSkipKnob->setHintText( tr( "Skip rate:" ) + " ", " " + tr( "%" ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the general style, there is no space before %.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description is trimmed, so there is no need for a space after tr( "Skip rate:" )
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! I have not clue as to what precisely I was thinking when laying out the text. The Gate knob already has the layout I needed?
e7a2dd2
to
b8b8a93
Compare
🎉 Thanks for meticulous scrutiny and merge! |
* master: (213 commits) Update Pattern and AutomationPattern length (LMMS#3037) Refresh i18n strings Hint text update Drop notes with length zero (LMMS#3031) Background tweak Background Update Flanger Exclude .ts files from the Github linguist Redesign Multitap echo (LMMS#3008) Update i18n source strings Extended arpeggiator functions (LMMS#2130) Fix sample track playback in BB tracks (LMMS#3023) Sort plug-in embedded resources (LMMS#3014) Implement version major.minor.release-stage.build (LMMS#3011) Fix regressions on loading broken projects (LMMS#3013) Improved file input validation. (LMMS#2523) Fix sample track view in BB editor (LMMS#3002) Request change in model when dropping a track (LMMS#3000) Add LocklessAllocator and use it in LocklessList (LMMS#2998) Drop forceStep in AutomatableModel (LMMS#3010) ...
Se issue: #2080
Here are some of the new arpeggiator functions.
New functions: