-
Notifications
You must be signed in to change notification settings - Fork 481
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
Project Beats: add skip controls #52343
Conversation
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.
LGTM!
Wow, the progress with Music Lab is awesome. Looks like web version of Ableton/FL studio to me (which is awesome 😄) already or at least is getting closer and closer to it
Very cool. Some initial UI thoughts:
|
No strong preference here. I went with the current mockups that have the Run and Skip buttons in one row.
No strong preference here either. Maybe a more neutral grey?
Good call.
Hmm, yeah that would be helpful. Alternatively, in discussing with @mikeharv another idea could be to have a separate play button that plays from the current location, while "Run" always plays from the beginning?
Yep true, though this would be a little trickier to support. I'd defer to @moneppo on how necessary this feels? |
One other thought: should we parameterize the appearance of this feature? It feels like we might want to introduce it at a later point in a tutorial sequence, when things start to get more complex. |
Two issues we discussed offline:
|
@breville revisiting this PR, addressing the feedback we discussed
this should be fixed now!
Done
This feature is now hidden behind a config flag ( |
apps/src/musicMenu/MusicMenu.jsx
Outdated
{value: 'disabled', description: 'Disable skip controls.'}, | ||
{value: 'enabled', description: 'Enable skip controls.'}, |
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.
super nit: we use true
and false
for other values in the menu. enabled
and disabled
are definitely nice, but should we be consistent with whichever we choose? One factor might be what works best in the context of levelbuilder parameters.
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.
Oh good call, I'll make this true
/false
for consistency.
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.
Great feature!
Adds outside of playback skip forward/backwards controls. These advance the playhead forwards or backwards by one measure. Also clicking a measure number or the measures header background will move the playhead to that position outside of playback. To show the current start position, we show the playhead outside of playback in a neutral light color, which switches to the current active yellow when playback starts.
Skip.Controls.Updated.mov
Links
Music Lab Functional Spec
Testing story
Tested locally.