-
Notifications
You must be signed in to change notification settings - Fork 172
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
Start to add quintuplet, septuplet and 9-tuplet support. #364
Conversation
Sounds to be a great improvement. I'm looking towards to testing it when it's ready for that :) |
I guess you can test my branch already. But I haven't don't the visualization part yet. The quintuplets, etc work already. but one doesn't see the dashes where they should appear. |
Hi, |
Any progress in adding more possible beat tuplet resolutions to Hydrogen such as quintuplets and septuplets? Playing with time is what rhythm is all about? |
Progress was made. But ignored. Progress still exists. |
42293e2
to
b26ebd8
Compare
@ksatyaki what do you mean by:
? I didn't see any new commit here since the first one so I thought you do have no time anymore to dedicate to this feature. Am I wrong assuming this? Is there something new to test? Possibly the visualization part? PS: Github tells me the file |
Thank you so much for the job. I've just tested the mods (in v1.0.0 beta). I note that the generated 'positions' for following tuplets are: The algorithm does not solve the resolution problem, i.e. some notes are necessarily shorter/longer, but it's a practical way. The "Fill note..." function has to be reviewed as the grid visualization. |
Still don't understand the code but I hope this helps reprogramming the grid visualisation. It seems taking the second note position as a unit for all following tick lengths. But second note position is approximate to int. The difference could cause the problem E.g. pattern size=192 (4/4 bar), in resolution 2Q: second note position = 38 while the exact position should be 48/5 = 38,4. The difference -0,4 times 5 (=number of ticks) equals -2. |
Ok now I understood how the grid vertical lines are set and can solve the visualization problem. I would try to improve the placement of notes with Since I am working on the new beta, and I cannot compile the branch by ksatyaki which needs qt4, can I make a new pull request? |
Thanks Oddtime for working on this. Adding full tuplet support is a must. |
Hey @ksatyaki , Sorry for the late reply. The problem with the custom tuplet support is not so much the visualization but the fact that in it's current design/implementation Hydrogen is only able to support "approximated" tuplet. The results sound kinda like tuplets but most notes are off by a tiny but constant amount of time. This would be very undesirable for us as we want to deliver a drum machine as tight and precise as possible. The patch required to support floating point precision placements of notes is not trivial. But, fortunately, @oddtime is working in #1251 on an implementation and it already made good progress. About this PR: Do you want to do some further tweaks or shall I close it as it is superseded by #1251 (without any notice I will do so in two weeks)? |
Hello guys,
Hydrogen is wonderful, however it lacks a support for custom tuplet organizations. For example, you can have Quintuplets inside 4/4.. Just like triplets. With this, it would be very powerful drum machine.
Ideally, any number of tuplets should be possible.
I have added some code to make this possible. (Very very minimally). However, the visualization is not correct. But, when I add notes, they are added at the right places. I hope someone can help me fix the viz. I don't understand the code really well.
Thanks!
Chittaranjan