Midi control available for switching current widget?

Asked by jus

Hello, i try to write my first midi mapping for the Novation Nocturn controller. With the help from Wiki and by poking into other good mappings ( Hercules MP3 e2 , SCS3 ) there is good progress.

Problem:
I can scroll between the single lines in the Library pane ( Library, crates, playlists etc) , but the widget to the right containing all the tracks will not change accordingly.

Example:
I scroll from "Library" to "Playlists" using the "SelectNextPlaylist/SelectPrevPlaylist" control, but the widget to the right keep showing the tracks from the "Library". If i use the "SelectNextTrack/SelectPrevTrack" it scrolls in the "Library".
A click with the mouse into "Playlists" - now "SelectNextTrack/SelectPrevTrack" scrolls in "Playlists" as it should be.

Questions:
1. Is there a Midi command to switch to the correct view?
2. Is there a Midi command to fold/unfold subfolders in the library pane?
3. What does the "SelectTrackKnob" control do (not documented in the Wiki )

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Mixxx Edit question
Assignee:
No assignee Edit question
Solved by:
Albert Santoni
Solved:
Last query:
Last reply:
Revision history for this message
Best Albert Santoni (gamegod) said :
#1

Hi Jus,

1) That was a bug. I've committed a fix that should make it so that as
you select different models in the sidebar, it will automatically
activate them.

2) No, we don't have a MIDI command for that yet. It looks like our
code used to (like 2 months ago) try to expand every item as you
scroll through the library, but that's been broken. I don't know why
yet.

3) The SelectTrackKnob lets you scroll through the library faster, I
think. I think it's for binding a regular MIDI knob to scroll in the
library instead of buttons....

The behaviour of library MIDI control is found in
src/library/librarymidicontrol.cpp, if you're interested in looking at
it. It basically just emulates keyboard presses.

Thanks,
Albert

On Fri, Apr 9, 2010 at 6:39 AM, jus
<email address hidden> wrote:
> New question #106900 on Mixxx:
> https://answers.launchpad.net/mixxx/+question/106900
>
> Hello, i try to write my first midi mapping for the Novation Nocturn controller. With the help from Wiki and by poking into other good mappings ( Hercules MP3 e2 , SCS3 ) there is good progress.
>
> Problem:
> I can scroll between the single lines in the Library pane ( Library, crates, playlists etc) , but the widget to the right containing all the tracks will not change accordingly.
>
> Example:
> I scroll from "Library" to "Playlists" using the "SelectNextPlaylist/SelectPrevPlaylist" control, but the widget to the right keep showing the tracks from the "Library". If i use the "SelectNextTrack/SelectPrevTrack" it scrolls in the "Library".
> A click with the mouse into "Playlists" - now "SelectNextTrack/SelectPrevTrack" scrolls in "Playlists" as it should be.
>
> Questions:
> 1. Is there a Midi command to switch to the correct view?
> 2. Is there a Midi command to fold/unfold subfolders in the library pane?
> 3. What does the "SelectTrackKnob" control do (not documented in the Wiki )
>
> Thanks
>
> --
> You received this question notification because you are a member of
> Mixxx Development Team, which is an answer contact for Mixxx.
>

Revision history for this message
jus (jus) said :
#2

1. Compiled r2373 and the problem is history.
2. Just realized Miko targeted this in his branch https://code.launchpad.net/~miko-kiiski/mixxx/auto-expand
3. Will have a look...

Thanks Albert for the fast fix :-)

PS.
I also see in r2373 you moved the iTunes and Rhythmbox to the bottom of the library.
IMHO would it make sense to group after similarity and degree of utilization.

Library - root , here to stay on top
Playlist - most likely used for DJing
Crates - special form of playlist ,most likely used for DJing
iTunes/Rbox - special form of playlist ,many ppl have already sorted their music ,likeliy used for DJing
AutoDJ - special form of playlist, less likely used for DJing
Featured Artist - special function, (in its current form) less likely used for DJing
Browse - special function, likely not used while DJing
Analyze - special function , most likely not used while DJing

PPS.
Is the "Analyze" menu item gone in r2373?

Revision history for this message
jus (jus) said :
#3

Thanks Albert Santoni, that solved my question.

Revision history for this message
Albert Santoni (gamegod) said :
#4

On Sat, Apr 10, 2010 at 3:33 AM, jus
<email address hidden> wrote:
> Question #106900 on Mixxx changed:
> https://answers.launchpad.net/mixxx/+question/106900
>
>    Status: Answered => Solved
>
> jus confirmed that the question is solved:
> 1. Compiled r2373 and the problem is history.
> 2. Just realized Miko targeted this in his branch https://code.launchpad.net/~miko-kiiski/mixxx/auto-expand

I thought Miko's code was intended to auto-expand when you're doing a
drag-and-drop hover over a closed item. If it auto-expands for a
regular keyboard/MIDI selection as well, that's super handy. :)

> 3. Will have a look...
>
> Thanks Albert for the fast fix :-)
>
> PS.
> I also see in r2373 you moved the iTunes and Rhythmbox to the bottom of the library.
> IMHO would it make sense to group after similarity and degree of utilization.
>
> Library - root , here to stay on top
> Playlist - most likely used for DJing
> Crates - special form of playlist ,most likely used for DJing
> iTunes/Rbox - special form of playlist ,many ppl have already sorted their music ,likeliy used for DJing
> AutoDJ - special form of playlist, less likely used for DJing
> Featured Artist - special function, (in its current form) less likely used for DJing
> Browse - special function, likely not used while DJing
> Analyze - special function , most likely not used while DJing

I agree, but right now we have those message box popups when you first
select your iTunes and Rhythmbox libraries, which you can't close with
your MIDI controller. One day we won't have those popups, and we can
move those items back up.

>
> PPS.
> Is the "Analyze" menu item gone in r2373?
>

Oops, my bad....

Thanks,
Albert