-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to create .midi file #4
Comments
Your mask has to be a 24-bit BMP file, 640 px wide and 360 px high (just like the video you need to supply). Make sure to generate the BMP without storing information about the colour space (there is a box for that to check in the GIMP export settings, don't know about other programs). That's what worked for me, at least. |
Hello. Yes, as @jbhayven said. Here I tried video you linked and attached working mask for you |
Done. I added mask creation instructions at the bottom of main page Hope it helps |
Thank you. Do you think you can create a video tutorial on this for windows users. Could you make me https://www.youtube.com/watch?v=IQO7Cka4CMY midi file for this video, so I can practice creating the mask file. |
1080p is a bit overkill, I think.. Most songs can be perfectly converted using 720p and less. No, you should not crop captured image! Height also matters. I tried https://www.youtube.com/watch?v=IQO7Cka4CMY, seem that same mask works for it too Keep in mind that you can reuse your generated masks. As for video tut, I dunno, maybe I try to make it when I will have more free time. |
Thank you @minyor Generaly I think syn2midi did a good job. Something is offset. When loaded in PianoBooster this .midi file produces is a loud sound (what looks like multi-note/chords begining) and immediatelly start playing notes while the visual positional cursor is in front of notes that have already being played). If one wants to try PianoBooster can be installed. I have a midi keyboard. I think my bitmask was created OK and I compared .midi files you created and mine. But both have the problem I explained above. This midi file comes with PianoBooster and properly plays notes syncronized with moving vertical cursor |
The problem with first Yiruma video is that its background starts appearing gradually from black in first 2 seconds from start of a video. Because of that, the program confuses this change of background and thinks that all the keys pressed and released thus the loud sound appears. You can combat this by adding parameter -s 2 to tell the program to skip first 2 seconds: Although if you set 1 second offset, it is not enough, when 2 seconds works but somewhat crops first note (still workable I think) I think I can modify the program to allow 1.5 second offset. Alternatively, you always can just post-process generated midi file with some external midi editing software to cut loud sound at the beginning. |
Yes, definitively allow 1/10 of a second offset. What about some playing in advance of the current cursor in PianoBooster. I will check how it works with the second video. |
I wanted to visualize the problem of Midi notes out of sync with the sound playback. Here is how the better version of https://www.youtube.com/watch?v=IQO7Cka4CMY video sounds in PianoBooster. |
I got a sheet like this when I made the midi file of a video (https://www.youtube.com/watch?v=qoe-iwdw02s). I'm pretty sure the problem is not the 24-bit format or the ratio.
|
I was unable to create .midi file of this song:
https://www.youtube.com/watch?v=q3WUAree-I4
Synthesia.zip
You can find my 2 attempts to create a mask .bmp file.
Can you explain the process of creating it based on above URL link?
Thanks
The text was updated successfully, but these errors were encountered: