OpenUtau icon indicating copy to clipboard operation
OpenUtau copied to clipboard

[WIP don't merge] Load custom plugins from singer folders

Open lottev1991 opened this issue 2 months ago • 1 comments

Adds the ability to load plugins from the singer folders, e.g. custom phonemizers. This might make it easier to use plugins specifically tailored to one specific voicebank.

I'm not entirely sure if this function will fit within the scope of the software; there has certainly been demand, but I'm okay with it if it's not desired.

TODO: Avoid loading duplicate files? (Still researching)

lottev1991 avatar Apr 22 '24 03:04 lottev1991

I've been trying to get it to load plugins from the folder of the currently loaded singer, however this does not seem to be working. I've tried any combination of SetSinger(), singer.Location andsinger.BasePath (I admittedly don't know the difference between the last two). None of these combinations seem to work. Any ideas? Do I need to define something else? Is there a way to return the folder name of the currently loaded singer, or is that what the aforementioned classes are for? I'm a little bit confused. If it won't work out I'm afraid I'm gonna have to close this PR, unless I can find a solution.

lottev1991 avatar Apr 22 '24 21:04 lottev1991