Closed paranoid2droid closed 1 year ago
Thanks for creating this awesome package.
You're welcome! It's nice to see people using it
I found that the tempo of predicted MIDI is different
You can see here in the code that we don't make any predictions about midi tempo so it will default to 120bpm like you are seeing with the vocal. It sounds like the program you are opening them with is attempting to guess based on the notes - which program are you using?
Can I manually designate the tempo in output MIDIs with the same absolute time?
There's a slightly hacky way to do this using the pretty_midi library - I've uploaded a gist here https://gist.github.com/xavriley/c9cdd7bb910246a730a3dab6109237ef
It uses the private _tick_scales
property to set downbeats arbitrarily without changing the existing note placements. The syncpoints file is something you can create with www.soundslice.com, or just substitute it for a list of downbeat times in seconds.
Are there any effects if I use the same input track with different amplitudes, e.g., an unnormalized one and a normalized one?
To be honest I'm not 100% sure. CREPE is fairly robust to different noise levels, but madmom (which we use to separate repeated notes at the same pitch) might be affected more.
Thanks for your quick and detailed reply!
You can see here in the code that we don't make any predictions about midi tempo so it will default to 120bpm like you are seeing with the vocal. It sounds like the program you are opening them with is attempting to guess based on the notes - which program are you using?
I think you are right. I was using MuseScore to see the sheet music of MIDI and it might be guessing the tempo as you mentioned.
To be honest I'm not 100% sure. CREPE is fairly robust to different noise levels, but madmom (which we use to separate repeated notes at the same pitch) might be affected more.
I tried using unnormalized and normalized audio for transcription and it seems that the effects are very small, at least for my tested file.
Thanks for your sharing and nice work again!
Thanks for creating this awesome package.
I have a few questions during my trials:
Thanks!