Hacker Newsnew | past | comments | ask | show | jobs | submit | andybug's commentslogin

I'm using Kokoro via https://github.com/remsky/Kokoro-FastAPI. It has a `generate_audio_from_phonemes()` endpoint that I'm sure maps to the Kokoro library if you want to use it directly.

My usage is for Chinese, but the phonemes it generated looked very much like IPA.


Props to the team, this is great work.

I've been trialing Preview 2 for the last couple of months to good results.

I do have one problem though and can't seem to find a good way forward. My use case is to use WASM for the data processing modules in a tile-based simulation game/engine. This involves passing around large (many MB) buffers. For any semblance of performance the data cannot be copied between modules and needs to be passed by reference.

To that end, I've implemented Resources. However, getting data out of a resource still requires copying (wasm-bindgen makes the return types from accessors owned Vec<>). I've resorted to just passing u32 memory offsets since all of the modules are sharing one Memory.

Would love some guidance on this as I've scoured the Internet and simply can't find the right solution, if there even is one.


The bytecode alliance zulip is the best place to discuss that: https://bytecodealliance.zulipchat.com/


I'll admit I only read this book after I heard Assassin's Creed was based on it. I remember it being a fantastic read, a lot of the philosophical notes of the first AC game come straight from the book. I still think about it occasionally, so you could say it stuck with me.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: