-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add 8 sampler and small sampler option to latenight #1840
Conversation
While I've been fancying this for a while, too, I believe we also need minimal samplers like in the other skins. |
"Load/Save sampler bank" buttons can go to SAMPLERS section. |
that's my next step ;-)
I agree |
Most all-in-one style controllers have one or two rows of 4 sampler buttons on each side, which is why we have rows of 8 in the other skins. I'd prefer to update LateNight to use that layout. |
This is only true for Tango & Deere, and 8 samplers only fit into Deere (at minimal size) because the hotcue buttons are missing. Squeezing 8 samplers per row into LateNight's current layout, and with its big buttons everywhere, would require a massive rework of the expanded sampler template. Later on, we can think about working around the space limitations while considering the 'common' controller layout. For example we could have 8 minmal samplers per row, separated into 1-4 and 5-8, then expand each block of 4 samplers by switching back to a 2x2 grid. |
The expand button seems kinda lost in between the samplers blocks. I suppose it could expand to the sampler row's height. This way it would stay in the same place under the mouse cursor when expanding/collapsing a row. |
now there are more options: if you have only 4 samplers (no changes here): if you have 8 samplers: => either the Samplers 1-4 big in a row TODO: |
ok
done
I do not like the samplers expanded over 2 rows, I prefer the current solution, either the left 4 or the right for samplers can be expanded, not both. Maybe you can add this 2x2 grid layout as an alternative expanding solution later on (as I have no idea how to get this layout done). The advantage on my expanding solution is that we somehow keep the skins similar. There might be a lot of users outside which like the current layout of their 4 samplers. Now they have the option to collapse them and use 8 samplers parallel. => I like to change the color of Sampler 5-8 to the same as deck 3/4 How can this be done easily? |
@ronso0 |
Maybe it was to early to drop the 4/8 samplers option, because now right now the UX feels wrong:
I'm a bit torn apart how to proceed from here. I respect the case that there users familiar with the layout of 4 full-featured samplers who like to keep it that way. OTOH we need to consider new users checking out all skins to whom it should be obvious that we now have 8 samplers in LateNight as well. This is my sugestion to keep the samplers layout consistent with the other skins as well as nicely accessible from skin and controllers:
|
Right now, the decks' Orientation, Keylock and Eject icons are used for the samplers. Those icons are defined inline (PushButton) and therefore are 18x25px each so they are equally distributed below the star rating. Btw: the orientation icon is brighter than keylock & eject. |
That's basically what we had in latenight but with two row's. But what you and @Be-ing want is: right? This is expansion on the left (1-4) and expansion on the right (5-8) similar to latenight effect rack's |
I overlooked this one, If there is only one expansion the realisation is much easier. |
I agree |
I do ;) |
No, |
Right now, we're talking about 8 samplers. So it's the same:
|
I think this is confusing. Sampler 5 jumps from being just right of the center to the bottom left when expanded. Whether it's |
<ConfigKey>[Master],skin_settings</ConfigKey> | ||
<BindProperty>visible</BindProperty> | ||
</Connection> | ||
</WidgetGroup> |
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.
This spacer is already in samplers_rack.xml, it can be removed here
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.
ok, done
<ConfigKey>[Master],skin_settings</ConfigKey> | ||
<BindProperty>visible</BindProperty> | ||
</Connection> | ||
</WidgetGroup> |
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.
This spacer is already in samplers_rack.xml, it can be removed here
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.
ok, done
<WidgetGroup><Size>2f,1min</Size></WidgetGroup> | ||
|
||
<!-- Don't know why, but this button has to be inverted..--> | ||
<PushButton> |
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.
please keep an eye on the indentations
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.
ok, done
|
||
<!-- First row --> | ||
<WidgetGroup> | ||
<ObjectName>SamplerTextSmall</ObjectName> |
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.
here & below: please keep an eye on the indentations
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.
ok, done
<ConfigKey>[Master],skin_settings</ConfigKey> | ||
<BindProperty>visible</BindProperty> | ||
</Connection> | ||
</WidgetGroup> |
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.
This spacer is already in samplers_rack.xml, it can be removed here
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.
ok, done
res/skins/LateNight/skin.xml
Outdated
<attribute persist="true" config_key="[Microphone],show_microphone">0</attribute> | ||
<attribute persist="true" config_key="[EffectRack1],show">0</attribute> | ||
<attribute persist="true" config_key="[Samplers],show_samplers">0</attribute> | ||
<attribute persist="true" config_key="[Master],show_4sampler">0</attribute> |
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.
By "8 samplers are default" I meant to use a CO like [Skin],8_samplers and set the default to 1.
This is consistent with [..],show_4deck, [..],show_4effectunits & [..],8_hotcues
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.
ok, done
</WidgetGroup> | ||
<Template src="skin:skin_settings_button_2state.xml"> | ||
<SetVariable name="text">only 4 Samplers</SetVariable> | ||
<SetVariable name="Setting">[Master],show_4sampler</SetVariable> |
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.
as mentioned above: please use "8 Samplers" and [..],8_samplers
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.
ok, done
<SetVariable name="samplernum">3</SetVariable> | ||
</Template> | ||
<!-- Select between 5-8 big or 8 tiny --> | ||
<WidgetStack currentpage="[Samplers],show_big"> |
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.
[Skin],expand_samplers or ..,samplers_expanded
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.
please keep an eye on the indentations, and please make the comments match the actual widgets
|
||
<WidgetGroup><Size>10f,1min</Size></WidgetGroup> | ||
<!--8 tiny Sampler --> | ||
<WidgetGroup trigger="[Samplers],show_big5678_big_of_8" on_hide_select="0"> |
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.
should be the same as above: [Skin],expand_samplers
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.
ok, done
<ConfigKey>[Samplers],show_big</ConfigKey> | ||
<ButtonState>LeftButton</ButtonState> | ||
</Connection> | ||
</PushButton> |
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.
IMO this button should be at the far right, like the FX expand buttons
I think the grouping will be clear if we use a significant spacer in the center of the collapsed samplers, as well. |
|
||
<WidgetGroup><Size>2f,1min</Size></WidgetGroup> | ||
|
||
<!-- Don't know why, but this button has to be inverted..--> |
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.
see review in samplers_rack.xml for explanation
<SetVariable name="samplernum">3</SetVariable> | ||
</Template> | ||
<!-- Select between 5-8 big or 8 tiny --> | ||
<WidgetStack currentpage="[Samplers],show_big"> |
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.
items in a WidgetStack are 0-indexed.
Therefore, if [Samplers],show_big = 1 the stack shows the 2nd item (big samplers).
[Samplers],show_big = 0 the stack shows the 1st item (small samplers).
You can change the item order to match the not-inverted expand button.
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.
thanks
@ronso0 thanks for the review, I will look into your points. |
I hope I don't request too much.. (thanks for your work so far :) Also, please order the samplers like below and add a wider spacer in between small samplers 4 & 5, so we can check if the concept works. |
ee84eae
to
60e3ec6
Compare
better now? |
Please use more descriptive commit messages than "fix". You can edit commit messages with |
still LGTM. The first 8 commits (everything before |
first draw of small sampler, remove no longer used files and minor fix add expand/collapse button, bpm, tooltip and smaller font 4 small or big sampler, or 8 tiny sampler with either the 4 left or 4 right big remove 4 sampler option, adapt small sampler for two rows remove no longer used buttons, add new sampler idea remove spacers and change attribute names fix tab/whitespace
LateNight: optimize SVGs, decrease Eject & Keylock icons
fixes scaling with high pixel density screens (the templates use scalemode="STRETCH_ASPECT"). I do not know why setting scalemode="STRETCH_ASPECT" for the crossfader assignment and sampler expansion <Unpressed> elements does not work.
done, now we are down on 5 commits (from about 25 ...) |
thanks @nopeppermint ! |
This add's the option to have 4 or 8 sampler's in skin latenight