Conversation
|
Now I am working on the countdown. |
|
I think this is an improvement. However, I'm still experiencing a mysterious issue where rests are inserted between notes. Do you experience that, too, @Commanderk3 ? You can see the issue in this test: |
|
@pikurasa Yes, I have tested it. |
|
You can do the E6/D6 thing if you put the D6 note inside the E6 note. |
Yup, it's working. Thank you. |
|
The latest commits resolve the issue. The following features were added :->
Have a look at the demo video :-> metrofix.mp4@walterbender @pikurasa Please review this PR. Any kind of feedback is welcome! |
|
I need some more time to test different tempi and scenarios (e.g.stop, then start), but that said: This is very much on the right track! |
|
@pikurasa One thing I wanted to ask you is that, the metronome is using a "loop" function to play the beat (in BPM). But, it starts its first beat after a gap. When the metronome activates we may want to have the first beat at that moment itself. A similar observation can be seen in the Tempo widget. |
If I understand you correctly, I don't think we need that. It's ok that the user initiates the metronome or the tempo widget, and that they don't hear anything until the next beat. |
|
I tested some more of the corner cases.
So, I think we could merge this soonish, after a code review by @walterbender , if we want to. It's certainly a big improvement. |
|
@pikurasa I am aware about simultaneous notes not being recorded. I will fix it in a separate PR. Regarding the playback and metronome played together, I actually never intended it to happen. |

metro.mp4
@pikurasa I found that while using the metronome, it records the last rest note also. So when you switch it ON again next time, it adds the previous rest duration. In this PR, a rest note is not added when you start playing the piano after switching the metronome ON. Please watch the video.
But imagine a case where a user wants to add rest before starting. The user can turn ON the metronome, he will wait for the right time, and then start playing the piano. Currently, there is no implementation for this. Do you think this would make sense?