Deactivate default 4-deck support in 1.11

Bug #1017399 reported by jus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
RJ Skerry-Ryan

Bug Description

This is a follow up to the discussion that took place in lp: 661471

4-deck support is still enabled in 1.11 beta1. We should not awaken too high expectations - discussions and confusion are already approaching, see http://mixxx.org/forums/viewtopic.php?f=1&t=3834

Since we settled for "Wont fix" in 1.11 for various reasons see (lp: 661471) ,we should disable the 4-deck support in 1.11 ASAP at least with beta2.

Related branches

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

There's a problem -- people have started to write scripts supporting all 4 (e.g. VCI-400) so users will get script errors when they load a 1.11 controller script.

This might be a huge hack and bad idea but what do you think about this? Make a num_visible_decks control that we will leave at 2 and only show that many options in the GUI but num_decks will still be 4.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Any thoughts, jus?

Revision history for this message
jus (jus) wrote :

According to your idea, what would a num_visible_decks=2 exactly do? Hide the " Load to Deck 3/4" mouse menu in the library if a skin has only 2 decks or anything else?

Since this would be the most obvious way to bump into a dead end, do we really need to do more?

Revision history for this message
Owen Williams (ywwg) wrote :

Right now, if there are two decks playing and the user doubleclicks on another track, it gets loaded into an invisible 3rd deck. This could cause problems if, somehow, the user manages to start that deck playing and has no idea where the sound is coming from.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1017399] Re: Deactivate default 4-deck support in 1.11

OK I take it back. Given the huge UI complications here we ought to just go
back to 2 decks and update MIDI scripts to check num_decks and fall back to
2-deck mode if there are only 2.

On Thu, Oct 4, 2012 at 2:00 PM, Owen Williams <email address hidden> wrote:

> Right now, if there are two decks playing and the user doubleclicks on
> another track, it gets loaded into an invisible 3rd deck. This could
> cause problems if, somehow, the user manages to start that deck playing
> and has no idea where the sound is coming from.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1017399
>
> Title:
> Deactivate default 4-deck support in 1.11
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1017399/+subscriptions
>

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Wait, can't we add a skin tag that says how many decks it supports and if that tag is not present, assume 2? Then the loadTrackToNextDeck CO or whatever it's called can just check that before doing anything.

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Also, since the waveforms are the problem for full 4-deck skins, can't we make some with no waveforms for decks 3 and 4 for the time being?

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Fix Committed
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Ok, I just disabled decks 3 and 4 and added something that I think will allow custom skins and controller scripts to use a 3rd and 4th deck if they want.

Skins have a new <manifest> section you can put in the XML.

<manifest>
  <title>Deere 1280x1024</title>
  <author>jus</author>

  <attributes>
     <attribute config_key="[Master],num_decks">4</attribute>
  </attributes>
</manifest>

This allows a skin to request that 4 decks be enabled.

I've also fixed a couple of bugs around "hotplugging" decks. If you added a deck any time after bootup then SoundManager wouldn't notice.

If a controller script wants to enable 4-decks all it has to do is:

engine.setValue("[Master]", "num_decks", 4);

same goes for samplers w/ the num_samplers control.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I've added documentation on the new <manifest> tag to the wiki.
http://mixxx.org/wiki/doku.php/creating_skins

On Wed, Oct 24, 2012 at 2:01 AM, RJ Ryan <email address hidden> wrote:

> Ok, I just disabled decks 3 and 4 and added something that I think will
> allow custom skins and controller scripts to use a 3rd and 4th deck if
> they want.
>
> Skins have a new <manifest> section you can put in the XML.
>
> <manifest>
> <title>Deere 1280x1024</title>
> <author>jus</author>
>
> <attributes>
> <attribute config_key="[Master],num_decks">4</attribute>
> </attributes>
> </manifest>
>
> This allows a skin to request that 4 decks be enabled.
>
> I've also fixed a couple of bugs around "hotplugging" decks. If you
> added a deck any time after bootup then SoundManager wouldn't notice.
>
> If a controller script wants to enable 4-decks all it has to do is:
>
> engine.setValue("[Master]", "num_decks", 4);
>
> same goes for samplers w/ the num_samplers control.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1017399
>
> Title:
> Deactivate default 4-deck support in 1.11
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1017399/+subscriptions
>

Revision history for this message
jus (jus) wrote :

IMO a neat solution for the issue.
Some existing 4 decks controller mappings might need an update, regardless of the fact that we currently provide no 4 deck skin. Hope we get the waveform performance issues fixed so we can go full 4-deck in 1.12.

Some questions:
* What are num_decks and num_samplers max.values?
* Will additional decks and samplers deck enabled at runtime in MIDI wizard?
  E.g. If we`d provide a 2-deck 16-Sampler skin, can a user map the sampler`s controls to a device using the midi wizard?

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6543

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.