Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone browser bundled version #4

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

guest271314
Copy link

Fixes #1 and #2.

@StoneCypher
Copy link

i don't think this fixes #1, it's just a bundle

fixing #1 would mean turning on github pages or throwing some .wavs in the readme

@guest271314
Copy link
Author

@StoneCypher #1 requests a working example. That's what the script does is bundle all assets and produces a WAV file. Did you run the code?
vits-web.wav.zip

@StoneCypher
Copy link

The entire point of the issue that I opened is that a product does better when someone doesn't have to download and run it to evaluate the quality

@guest271314
Copy link
Author

@StoneCypher

The entire point of the issue that I opened is that a product does better when someone doesn't have to download and run it to evaluate the quality

If you run this from a GH Pages you are literally downloading the source code and running the code in the browser.

I put together example/browser-standalone-bundle.js for hackers to hack, developers to develop, in the browser, standalone, no node, no Vite, no TypeScript.

fixing #1 would mean turning on github pages or throwing some .wavs in the readme

Here you go d840dad.

GH Pages published: https://guest271314.github.io/vits-web/

@guest271314
Copy link
Author

I'll probably add encoding to WebM, MP3, and raw Opus packets using WebCodecs and Media Capture Transform, e.g., https://github.com/guest271314/WebCodecsOpusRecorder, and to a live MediaStreamTrack https://github.com/guest271314/native-messaging-espeak-ng. WAV is lossless but expensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Live or static examples
2 participants