Some scripts for the w-okada voice-changer. (run in dev-tools and/or chrome userscripts)
- Open the dev-tools console in the W-Okada Voice Changer electron app. (ctrl+shift+i, then open the "Console" tab)
- Copy all of the code in
Dist/index.js
, paste it into the console, then hit Enter.
- Open the client frontend in your regular browser, by going to
http://127.0.0.1:18888
(orhttp://localhost:18888
). - Add a user-script for the site, using an extension such as Grease Monkey or Violent Monkey, with its contents being that of the
Dist/index.js
file in this repo. (not yet tested, but will likely work)
If one or more of these scripts have behavior you do not want, you can avoid activation of that script by commenting out its line at the very end of the Dist/index.js
file, prior to running it in the app's dev-tools console.
Changes:
- Allows voice list to expand taller.
- Reduces margin between the control groups.
- Auto-sets the "RVC Quality" (in Advanced Settings panel) to "High". (set on script init, and whenever the voice is changed)
Changes:
- Adds a "Convert fresh file" button; this lets you select an audio file, and have it sent directly to the backend for conversion. (no fiddling with starting/stopping recording, or worrying about the conversion delay causing lost audio or additional silence)
- Adds a "Convert loaded file" button; like the one above, except uses the file loaded as the "input:file" content within the audio->client control group.
- Simplify the direct file-conversion functions to avoid the unnecessary i16->f32->16 conversion chain (after receiving the converted audio from the backend).