Midiplayer.getTimeSignature
-
Can someone check with your own midi files if the function
.getTimeSignature()
really works?
I always get wrong length of the midi file
It's the "NumBars" that doesn't seem to be accurate"Nominator": 4.0, "Denominator": 4.0, "NumBars": 0.8682291666666667, "LoopStart": 0.0, "LoopEnd": 1.0
HiseSnippet 1327.3oc2WsraaaDEcnkYSkRqQbQPQWRXzExHtzRIo1Innv5ssRjrUMkeTuIXL4PowlbFlgCcrPQVzcs+YYY+O5F+GzdGRIKxDECWglflxEB99Ztm49bbOA2lDFxEHs78GEPPZegt0HlbX8gXJC0tARaY8iDb1ftTGZGBafbHp1n.bXHwAookaakZZ4WDE+c0V0vdXlMYJKD5PN0lzg5SkS41qxyoddsvNj9T+TZ+3Jss4r5bOdD.ob5kPAX6ywCH6hUpsfNR6yZ5PkbgkDKIgHsEqwcFYMj+JVh9GRCom5QTDkQVvAkvtE2yQgXEWT8gTOmdSt5gHjlduoAhbIAh6qqtxWyeZ.4dwBLlZQ53g1BYgWtLvqbZ3UJE7lAjzRAoESfzx5V1BZfbpDEdtqdaljHbwPXOMTRzEsvazzqyAMXRSe74jVP1TdsEE2nTo0LfeV8GJT.B8gRiKvBitsaztmGdDQT13GMhqHLGPjwQjX1EWQohwXcVQYcgBTlGkQLbiX1RJmY.YxgD6yqIYJ.H3dEs49AbF.k0.23EQVsvuTHO00n3Xp74AMC4dDy.AkIKJEJLlBMJTnJYrnCXXYjfTb0UAm+Zv+StjfF0m3lhqLAAqrpYnRPLNpi87NEJrJ9NHDNqTveWtjrGqXLJK75BFusHW2YJa7Y4AgoYIVgewMYXQVj+oDQ5XjRQnNHawk96u3JcsucRfIkhbVaFUtW.g895HPiilpBwwnBTUFWFtz3xvZQRImgnP0VA8IwQTLlS2+iNncCrDO4jfCEbT.QHop6fVCxEv7gjB775MHgmK4Aw5NNGhztyswuWN0mzJiRS7JpCL05ZF+bkgD5fgxzbngc49fuvBvRsEPuauGz0ych7vxriBTy+FK.RgY5+T8XrPpbT54i+qMe31Bwk06Qk1CmMFWXFXDxSeHv33opeodSWWhsbJ.WTu0weXFgl18Kk396paASnhmmE67uNl13H7EDisILhPE7JeCa39ia6Ftfa8Ft8rkf66Kvrv.dXlC1h3S6CMAgoYdPHLCm7x8UYyz7qywhYJ5psZAWxYZikZFZbYQUedDSloLH2Msos7btocw+auo8NSdEzzUcwPYI8z66x.j5QBgZ7J4kQjLEFWs0XQPt097z76v4AMYX.dNoYqNc0ZIq.RVAucpH2sKULiVB00pE0iDeumP.ZqtivqqhGTq8q5O8Qlr9a77mTu1ACdloY2ep4ImU0zz7XSypl8L8o6a0u8COA3X9TSyy1riuqa0c1a616bZuKsNt1yp6tYiQtNls2S1bmCLubzQMur0Ya5dnaGPu9s2oYuKqeR0SZ5t4lzVS+65lO3A0LQJTk7ju0zWGJ3EgqG4InmeJ2gvVuaTH0d8N7AvuhgijC8KUFvjJaj4sAvFxci7qAsEpf4u+av2a9ys1k6SYp97oQ36UoAgMK1pDEDzEYZLRxdYRPeBrvHSYd9IXzh5G3QZxtf3A6jiw3WAKgcwQdxIbyVt2ky3AC4Lpc5Xx9DofNX.QjF6y7BUUJyzMb+J6S7H3zC991JcfAVXADmHyYrn7+3GWOy702nm.WCUckwmtK5y8+6E86yijT3+QECEgWlz0aA6WsIf2YLhm5sxvq5TlFSWRQmrfk4DS7Wv2XgkUzZiEVdhvOJ9vGaK3uvN481p5zOOlCbuYwCCyq2UQaTdxqr00KYVBAi9nuv1VEh+NXo6rs4gygMOZNr4wygMe+bXyFygMaNG17jazF0JzpQRteRKGvnWyjknZWufWKG5uAjiQqdB
-
@ulrik - well this is probably measuring to the end of the midi data (which will likely be the last note off) - if that doesnt line up exactly on the bar boundary then it will report a size less than the bars you think are in there...but thats a bit of a guess from me...
-
@Lindon I think you're right, unfortunately it will lead to sync problems if you use the midiplayer with loop active
Or if you need the length information for other purposes
-
@Lindon have you worked a lot with the MidiPlayer?
I wonder how to clear all sequences by scripting? -
@ulrik nope sorry no experience with this midi player
-
-
@ulrik I've never used the midi player, so no ideas.
-
@d-healey Ok, thanks!