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

library context menu also shows not supported samplers #9115

Open
mixxxbot opened this issue Aug 23, 2022 · 7 comments · Fixed by #12657
Open

library context menu also shows not supported samplers #9115

mixxxbot opened this issue Aug 23, 2022 · 7 comments · Fixed by #12657

Comments

@mixxxbot
Copy link
Collaborator

Reported by: nopeppermint
Date: 2018-01-29T21:48:51Z
Status: Confirmed
Importance: Low
Launchpad Issue: lp1746105
Tags: easy


right click content menu, shows also not supported samplers:
Is it necessary to show all 64 Samplers, even if the current skin only supports 4 ?

https://user-images.githubusercontent.com/3403218/35532697-638473ca-053b-11e8-80ea-efa4b3cf82c0.png

@mixxxbot
Copy link
Collaborator Author

Commented by: nopeppermint
Date: 2018-04-22T19:36:38Z


I tried to fix this, adding 
"<attribute config_key="[Master],num_samplers">4</attribute>"
to skin.xml does not help..

@mixxxbot
Copy link
Collaborator Author

Commented by: Be-ing
Date: 2018-04-23T14:47:53Z


[Master], num_samplers cannot be decreased, only increased. If you load a skin with 64 samplers or there are 64 samplers in your samplers.xml file, num_samplers will be set to 64.

@mixxxbot
Copy link
Collaborator Author

Commented by: nopeppermint
Date: 2018-04-23T19:06:58Z


then we might introduce another variable which shows the actually supported/visible samplers in a skin?

@mixxxbot
Copy link
Collaborator Author

Commented by: Be-ing
Date: 2018-04-23T21:16:29Z


I don't think that's a good idea for the long term. Skins supporting different number of samplers is an ugly short term hack around the dramatic increase in startup and shutdown times when the number of samplers in the skin is increased.

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2018-06-02T15:33:14Z


If I load Deere (16 samplers) and read '[Master],num_samplers' in Developer Tools it still says "64".
What's the point of [Master],num_samplers in skin manifest then?

@mixxxbot
Copy link
Collaborator Author

Commented by: Be-ing
Date: 2018-06-02T15:48:03Z


That is probably because you have 64 samplers saved in ~/.mixxx/samplers.xml

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2020-11-02T20:01:08Z


No, skin.xml says "[Master],num_samplers">16
the sampler.xml has 16 samplers loaded, I even removed the empty node 17-64.
Sample applies when I load a similiar custom sampler banks.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@ronso0 ronso0 linked a pull request Jan 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant