OpenUtau icon indicating copy to clipboard operation
OpenUtau copied to clipboard

Apply 'Load all depth folders' to resamplers, wavtools, dll phonemizers and UTAU plugins too.

Open oxygen-dioxide opened this issue 7 months ago • 3 comments

related issue: #1518

After this PR, the "Load all depth folders" setting item will also be applied to resamplers, wavtools, dll phonemizers and UTAU plugins. This will greatly increase OpenUtau's startup speed if the user has plugins or resamplers with many DLLs and complex path structure, such as hifisampler

I don't know if this should be a separate setting item from the current "Load all depth folders" for singers. feel free to share your idea.

oxygen-dioxide avatar May 14 '25 05:05 oxygen-dioxide

Checking dlls could be slow. LibraryLoader.IsManagedAssembly() was added to speed this up but probably not enough. Are you sure merely searching plugin.txt and .exe files matter? I have a feeling that all we need is to not read into Python runtime folder.

stakira avatar May 21 '25 03:05 stakira

I don't know how this matter will be settled, but I personally would like to see it separated from the voice bank setting.

maiko3tattun avatar May 25 '25 12:05 maiko3tattun

Checking dlls could be slow. LibraryLoader.IsManagedAssembly() was added to speed this up but probably not enough. Are you sure merely searching plugin.txt and .exe files matter? I have a feeling that all we need is to not read into Python runtime folder.

For UTAU plugins, we're already only searching plugin.txt. The problem is both UTAU plugins and external DLL phonemizers are installed into Plugins folder, so if there is a UTAU plugin with many DLLs, especially when it is also developed with dotnet, it will slow down the loading process of DLL phonemizers.

oxygen-dioxide avatar May 25 '25 15:05 oxygen-dioxide