-
Notifications
You must be signed in to change notification settings - Fork 166
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
windows "keyrepeat" retriggers note inputs (MilkyTracker X build) #304
Comments
IMO only as a toggleable setting. Otherwise it would be too drastic a change to expected behavior. I wonder, if how many .mod trackers worked (prior to instruments and keyoff behavior introduced in FT2) would be preferable to you where the sample playback didn't stop on keyup. Admittedly this option isn't available on Milky either but can sort of be simulated with the right instrument settings. |
That's fair. Absolutely no pressure to force it upon the whole base. Personally I feel It's expected behavior to listen to a sample through until I no longer hold a note key. (Keyup functionality is still really important!) 2023-01-31.04-09-04.mp4it's an interesting effect, but not particularly musical when trying to jam with samples. |
Hi @meowgli , nice to meet you and thanks for reporting this bug (and using milkytracker).
You can try it out in the MilkyTrackerX build. ps. you might want to remove/backup your ~/.config/milkytracker path to enjoy the MilkyTrackerX defaults |
Ok, mostly cleared up: after building with that commit, I'm still getting retriggers when recording is enabled and transport is not going. Seems fine when playing without record, or record with playback. Small enough issue that I can learn to avoid it. Thanks for your hard work on milkytrackerX |
A little Follow-up - I got this working how I would roughly expect the key repeat filtering to work. (Expanding the scope of releasePlay's effect, and tailoring a couple of the state filters previously sensitive to isLiveRecording) RecorderLogic.cpp line 87
|
@meowgli what OS are you testing on? windows? (your play/stop button seems a bit funny) |
thank you very much for adressing this, it has been fixed in v1.04 🎉 |
ps. meowgli's fiox is now the default. Apoligies for overlooking the settings-thing (the whole release was quite intense in other areas). WDYT of the suggestion of key-repeat in case of edit-mode? Best of both worlds? |
I use hold in edit mode to hear my inputs, especially for pads and notes with an attack etc. A bit of heartbreak if this is reverted. consider: b) A modifier key - slightly less attractive, who wants to be holding another key while doing note input; though if the user intends to fill a whole column it's likely one note and they have another hand available... b2) when a note is held, holding an arrow key down/up will fill the column as if it was repeating. currently it moves the cursor but does not fill more notes. c) there's an option that I really can't use personally, but would be reasonable for most users: only filter in edit mode when Add lines is 0. I rely on hearing the notes play out even with +add lines on though :/ Whatever the solution is, an attempt to keep current edit mode filtering as an option would be wonderful. |
OK, so this turned a bit into a catch22 :) |
on windows, when holding down a key assigned to note input, the sample will re-trigger constantly.
"key repeat delay" can be extended, but slows down arrow key movement, (and still does not solve samples retriggering, just gives you a little more time). The nuclear option, "filter keys - repeat keys off" solves this and allows keyboard playing of notes for the full duration of a sample, however completely nerfs arrow key movement/selection, holding backspace to delete text)
microsofts documentation related to repeat keys:
"KeyDown event occurs when the user presses any key. The KeyUp event occurs when the user releases the key. Duplicate KeyDown events occur each time the key repeats, if the key is held down, but only one KeyUp event is generated when the user releases the key." https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.keyeventargs?redirectedfrom=MSDN&view=windowsdesktop-7.0#remarks
How reasonable would it be to filter keydowns not paired with a keyup specifically for note inputs?
The text was updated successfully, but these errors were encountered: