HowTo create Patterns with more than 16/4 time? #2001
-
I try add a song to hydrogen, where some pattern have 20/4 time. Hydrogen will refuse to add bigger values than 16/4 time. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hey @gorgonz ,
That's an excellent question! I have no idea :D . This upper limit of four 4/4 blocks does exist since the onset of our git history 17 years ago. Maybe handling longer patterns did not worked with UI design back then. Anyway. I do not see a reason why we should hold on to this limit. (At times it bothers me as well). But dropping it could have quite some side effects. That's why I won't integrate it in the upcoming 1.2.4 release but in 2.0, which is still way further away. Till then you could patch the code and compile it yourself. AFAICS the only thing you need to do is to replace https://github.com/hydrogen-music/hydrogen/blob/releases/1.2/src/gui/src/PatternEditor/PatternEditorPanel.cpp#L1022 |
Beta Was this translation helpful? Give feedback.
-
Hey @theGreatWhiteShark , Your solution is a very friendly way to help me in my troubles, thx a lot, I appreciate it :-) I must wait until the weekend, then I give it a try :-) In return I will report, whether or not it ended up in problems or other effects ;-) |
Beta Was this translation helpful? Give feedback.
-
Well, You and the community are so much assisting :-). Sauerland added the new build (together with the lib) to his Home Project https://download.opensuse.org/repositories/home:/Sauerland:/mixx/15.6/ I only needed to install from there, here the first results:
|
Beta Was this translation helpful? Give feedback.
-
Yes this build has the 4 changes with version 1.2.3 (https://build.opensuse.org/projects/home:Sauerland:mixx/packages/hydrogen/files/createnewlimit.patch?expand=1) I'm totally fine with the counter thing, was just a note ;-). Do You have an estimated time of delivery for 2.0? |
Beta Was this translation helpful? Give feedback.
-
Implementation will be tracked in #2005 |
Beta Was this translation helpful? Give feedback.
Hey @gorgonz ,
That's an excellent question! I have no idea :D . This upper limit of four 4/4 blocks does exist since the onset of our git history 17 years ago. Maybe handling longer patterns did not worked with UI design back then.
Anyway. I do not see a reason why we should hold on to this limit. (At times it bothers me as well). But dropping it could have quite some side effects. That's why I won't integrate it in the upcoming 1.2.4 release but in 2.0, which is still way further away.
Till then you could patch the code and compile it yourself. AFAICS the only thing you need to do is to replace
4 *
with a larger number inhttps://github.com/hydrogen-…