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

Slider inconsistent behaviour with menu metadata #78

Open
sletz opened this issue Aug 23, 2023 · 5 comments
Open

Slider inconsistent behaviour with menu metadata #78

sletz opened this issue Aug 23, 2023 · 5 comments

Comments

@sletz
Copy link
Member

sletz commented Aug 23, 2023

type = hslider("Enhancer type[style:menu{'222A':0;'maxx':3;'multiband':5;'Off':7}]", 0, 0, 7, 2);
process = type;

The outputted values are wrong.

@Fr0stbyteR
Copy link
Contributor

Hi Stéphane, what are the expected values?
Since the hslider's step is 2, can we say that 3, 5, 7 are not valid numbers?
Faust UI checks them and outputs the nearest valid numbers: 0, 2, 4, 6

@sletz
Copy link
Member Author

sletz commented Aug 27, 2023

Possibly yes, but even before this question, the outputted values are not always the same. So even chosing 0, 2, 4 6 as is this example, I open the GUI, the select a menu item, look at the value in "data mode", and a given menu item does not always send the same value:

image

@Fr0stbyteR
Copy link
Contributor

@sletz What's the plotting mode from your screenshot? with "continuous" there's no "data" view. So I'm not sure if it is broken, I cannot reproduce the problem from my side.

@sletz
Copy link
Member Author

sletz commented Aug 31, 2023

Using the "On Event" mode.

@Fr0stbyteR
Copy link
Contributor

Then there should be a value change at sample 128 since "on event" mode plots from 128 samples before the event. (Maybe this need to be clarified somewhere..)

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

No branches or pull requests

2 participants