-
Notifications
You must be signed in to change notification settings - Fork 11
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
Compatability with neon plugins #57
Comments
That should be handled in ovos plugin manager, inside execute method it should check the kwargs and pass the valid ones, it already checks things like language etc missing in mycroft plugins, so a check can be added for the neon dict |
For the TTS server, could it parse gender and optionally pass all 3? I think it's useful to map lang/gender to a voice per-plugin so calls are more universal (voices are plugin-specific, but lang+gender is mostly universal). Also, here's how I patched compatibility in neon_audio: https://github.com/NeonGeckoCom/neon_audio/blob/423fb9a592b78163460d7e386e53bfcb8872d68d/neon_audio/tts/neon.py#L164 |
the server just load OPM, so im transfering this issue over, we can support any args needed no problem |
relevant code https://github.com/OpenVoiceOS/OVOS-plugin-manager/blob/dev/ovos_plugin_manager/templates/tts.py#L685 this is happening inside the call to |
Ovos and Neon tts plugins has a bit different function signature
https://github.com/OpenVoiceOS/ovos-tts-server/blob/ceef8aacce4bf58b949573083c7686220f150c5e/ovos_tts_server/__init__.py#L38
Neon speaker dict has
language, gender, voice
paramsNot sure how to better make them compatible
The text was updated successfully, but these errors were encountered: