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

Save on-the-fly generated to a specific field #295

Open
ksslng opened this issue Jun 16, 2023 · 1 comment
Open

Save on-the-fly generated to a specific field #295

ksslng opened this issue Jun 16, 2023 · 1 comment

Comments

@ksslng
Copy link
Contributor

ksslng commented Jun 16, 2023

I would like an option that saves the on the fly generated TTS to a specific field so later when I review them on the web that I have the audio available. (I'm assuming they are cached now on the device)

I think I could try to implement it myself if you think it would be a good addition.

Suggestion would be to add it another field in the brackets.
Eg:

before: {{tts vi_VN voices=AwesomeTTS:viet}}
after: {{tts vi_VN voices=AwesomeTTS:viet audio-viet}}

And add a drop down to the menu, eg:

Screenshot 2023-06-16 at 18 16 04

Question is how to add the normal savings option:

Screenshot 2023-06-16 at 18 22 45

I would love to hear your thoughts,
Thank you!

@ksslng
Copy link
Contributor Author

ksslng commented Jun 17, 2023

I've looked now a bit into it and I guess the problem is that with the anki TTSTag, you don't get the note itself. This means one can't save the file path to the desired field of the note to save it to.

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

1 participant