divVerent / ecantorix

Singing synthesis frontend for espeak
GNU General Public License v3.0
117 stars 14 forks source link

Use of uninitialized value $utautempo in division (/) at ust2mid.pl line 75. #3

Closed ElonSatoshi closed 7 years ago

ElonSatoshi commented 7 years ago

[elonsatoshi@archlinux-desktop ecantorix]$ perl ust2mid.pl ~/UTAU/me\ rindo\ eng.ust > ~/UTAU/merindo.mid Use of uninitialized value $utautempo in division (/) at ust2mid.pl line 75. Illegal division by zero at ust2mid.pl line 75. [elonsatoshi@archlinux-desktop ecantorix]$

There's no documentation on how to use ust2mid.pl. Does it even work with the latest version of Perl?

divVerent commented 7 years ago

It's supposed to work, but it was reverse engineered based on some existing UST files.

Can you provide the UST file you're using? Maybe it's simply a change between Utau versions?

divVerent commented 7 years ago

Assuming this is the UST I found by googling "me rindo eng.ust", I've fixed the issues parsing it. The main problem was a version string that's not parsable by the INI parsing module I'm using.

Please reopen if that wasn't the issue.

divVerent commented 7 years ago

For reference, that was commit 749c6b1dd0536fcb6b22ff7869c121214c116228