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

QML mapping requirements #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daschuer
Copy link
Member

This is a first draft.

Comment on lines +35 to +51
1. User Requirements

1.1 Good performance, responsive scratching (Real-Time)
1.2 Easy reassign buttons and sliders
1.3 Easy map a new controller from the scratch

2. Mapping Developer

2.1 Everything at one place, one file, folder, pack
2.2 Easy to share
2.3 Reuse common programming skills
2.4 High abstraction level
2.5 Complete API documentation
2.6 Good IDE support .. code completion.
2.7 On the fly edits, no Mixxx restart.
2.8 Stable: Compatible to future Mixxx versions

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. User Requirements

1.1 Good performance, responsive scratching (Real-Time)

I believe this can be achieved, however scratching is IMO orthogonal to QML. The missing piece here is the ability to take message timestamps into account, which has nothing to do with QML perse and is mostly an API extension in general.

1.2 Easy reassign buttons and sliders

I think this depends on the definition of easy. If the mapping is written in a Components-oriented fashion, it won't be just simple point-and-click, but we can still retain the C++ dispatcher code that is point-and-click friendly.

1.3 Easy map a new controller from the scratch

This also hinges on the definition of easy. Knowing QML and MIDI fairly well, I'd say its easy. For someone that has never opened a text editor with code, not so much.

2.1 Everything at one place, one file, folder, pack
2.2 Easy to share

That should be fairly achievable for QML, however it does require a little bit of automated work to make the mapping "export-ready". So the current plain copying files wouldn't work and instead we'd need an export button that prepares the mapping accordingly. That prepwork would primarily consist of ensuring the built-in shared modules are bundled correctly.

2.3 Reuse common programming skills
2.4 High abstraction level
2.5 Complete API documentation
2.6 Good IDE support .. code completion.
2.7 On the fly edits, no Mixxx restart.
2.8 Stable: Compatible to future Mixxx versions

Should all be possible, especially when we can take advantage of QMLs built-in API versioning mechanics. IDE support hinges a little bit on the maturity of the qml-language-server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants