Home › Forums › General › Using Ctrlr › Buttons and Sliders working incorrectly???
- This topic has 9 replies, 4 voices, and was last updated 7 years ago by jersmi.
-
AuthorPosts
-
January 26, 2013 at 3:00 pm #5846
I asked these questions in the chat window but never received a response so I will open them as issues. In my opinion there are a couple of controls that I am using that do not work as expected. The issues are:
1) Why does the spring mode slider not send the spring back value when the slider is released???
2) Also, why does the momentary toggle button not send the on state when the button is pressed and the off state when it is released? The images on the button would imply that should be the behaviour.
In my opinion, issue 1 is a bug as it should send the MIDI out when it returns to its spring back position. All pitch bend wheels act this way and I would expect all similar Sliders to work the same way.
The second issue should work such that if only one value is specified (i.e. a Sysex Message that does NOT send a value such as the All Sounds OFF or All NOtes Off) would only send the message on the button down (when the switch shows it’s on position). If there are two values specified for the switch, I would expect the On or True or Down value to be sent when the On image is shown as the single option above does, but when the button is released it would then send the Off Value. This would be similar to pressing Note On and then Note Off on a keyboard.
Please let me know what you think on these two (three) issues. Thanks.
Stoner
February 4, 2013 at 10:44 am #6044No one has answered or acknowledged this yet again. This is the third attempt to get some comment about these issues. There is a third/fourth issue I would like addressed also.
3) The FileListBox does not have the same capabilities as the ListBox. There is no ability to set Selected Font colour nor any ability to set Outline Colour or width or Scrollbar colours on the FileListBox like on the ListBox. Also, on both I do not see a get selected item capability.
I must be missing something somewhere??
Stoner
February 4, 2013 at 6:26 pm #6063Those issues can only be addressed by Atom. All seems reasonable but I haven’t used any of them.
What do you mean with “Also, on both I do not see a get selected item capability.”?
February 6, 2013 at 11:19 am #6134@dasfaker, well normally when programming list boxes in any windows system using the Windows API or Java API there is a method that allows one to get and set the selected item in the list box. I do not see that in the ListBox or the FileListBox, so I must be missing something.
@Atom, should the spring mode slider send the final midi message to the device when it springs back???Stoner
February 6, 2013 at 12:07 pm #6136I don’t know i never used that option i just added this as part of the JUCE API. I’ll see if it posts value changes when “springing” back.
February 6, 2013 at 12:29 pm #6137That’s fixed for the sliders (the uiSlider already worked just the image based ones didn’t).
February 6, 2013 at 2:27 pm #6138@Atom Thanks for that one, how about the button problem mentioned above. Hopefully it will be as simple.
Stoner
February 6, 2013 at 2:55 pm #6140This is not really an issue a momentary button is what is says, it sends one value when it’s pressed there is no OFF state for it just one state, it’s purpose is for example for starting a sequencer you need to send ONE event upon pressing a button. If you want two events for a momentary button, then that’s just a button with two values, prepare your images right and you’ll get your desired behavior.
February 6, 2013 at 3:47 pm #6145@Atom, I agree if there is only one value to send as in the All Notes Off message or as you said starting a sequencer…. but in the case of for instance a Sustain button, it would have two values and still be momentary. When it presses it turns on and when released it turns off. Also, the images shown reflect that this should be happening.
Although the images reflect a momentary switch, the values sent act like a normal button. On with on press then off with the next press. Should it be like that???
Stoner
March 21, 2017 at 6:41 am #71709Newb here. I also expected the imageButton ‘momentary’ setting to behave as Stoner suggested…. I’m confused — what’s the difference between this behavior and a toggle? Also, mouse down changes the image state (turns on), but it sends the value with mouse up.
At any rate, I’m looking for a trigger behavior, send a value with mouse down for a duration of one sample when button is pressed, followed by 0’s.
EDIT: I guess atom is saying the momentary is supposed to work like a gate (not Note On and Note Off triggers), sending a continuous value when the button is pressed. If so, what is it supposed to send when released? Also continuous values with the down “off” state?
- This reply was modified 7 years ago by jersmi.
-
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.