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

Adding support for Linux users to add voices, #9

Open
soad666p opened this issue Mar 21, 2022 · 6 comments
Open

Adding support for Linux users to add voices, #9

soad666p opened this issue Mar 21, 2022 · 6 comments

Comments

@soad666p
Copy link

soad666p commented Mar 21, 2022

I think a good improvement would be adding the support to define where the voice folder is located,

the plugin out of the box does not seem to work with Linux,
I'm seeing no default voices,
image

@joethei
Copy link
Owner

joethei commented Mar 21, 2022

This is not how the underlying Web Speech API works.

You will have to have speech-dispatcher and a text to speech engine like espeak installed on your system to have voices show up.
After installing, you will need to configure speech-dispatcher with spd-config -u and maybe reboot.

You might also have to add the --enable-speech-dispatcher flag when launching Obsidian.

I have tested that this works on Linux(and have heard reports from users to), but I am not a Linux user, so I cannot help with any distribution specific troubleshooting.

@soad666p
Copy link
Author

Let me test this, and I will let you know my finding

@quartzar
Copy link

@soad666p did that work for you?

@egoebelbecker
Copy link

I tried this. It didn't work. Still no option to choose a voice.

@soad666p
Copy link
Author

@soad666p did that work for you?

dont didnt work

@acook
Copy link

acook commented Jan 3, 2024

Following those instructions does work for me.

Snapshot_2024-01-03_04-21-09

However if anyone figures out why espeak-ng works but mimic3 voices don't work in Obsidian when they work just fine from the commandline I would appreciate the tip.

EDIT: I got it working with piper!

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

No branches or pull requests

5 participants