-
Notifications
You must be signed in to change notification settings - Fork 1
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
Note type of New sync changes to "Yanki - Basic (and reversed card with extra)"? #9
Comments
Yes this is a change in note type — The extra field is inferred from the Obsidian Markdown as follows: Front: Sometimes the answer is the question
---
---
Back: Sometimes the question is the answer
---
Extra: This will appear on the back of both generated cards (The readme was also updated.) |
Just added a few more details to the readme. I should set up a changelog at some point as well. |
Thanks fore your reply. |
Here's my note, it creates "Yanki - Basic (and reversed card with extra)" but i don't have the third part:
|
Yes, this is currently functioning as intended. Since the This issue of model type migration across Yanki versions is subtly tricky. Here are some assorted points explaining my current reasoning:
I hope that clears up what's going on a bit, but if you have more questions feel free. |
Will there be a "Yanki - Basic (and Extra)" note type? For example, i can put "winner" to Extra field for AwesomeTTS to play the audio. The "Yanki - Basic (and reversed card with extra)" hadles perfectly.
|
In my "Yanki - Basic (and reversed card with extra)" type, i use the following Front template.
|
Hi Jerry, I didn't add "Extra" support to the basic type because I couldn't see a use for it, and because it would potentially conflict with the Markdown syntax proposed in #5. I definitely see the utility of TTS in flashcards general... but one thing I'm going for with Yanki is the idea that your flashcards are as complete and as useful in Obsidian as they are in Anki, which points towards implementing things like TTS in the Obsidian layer instead of the Anki layer. Ideally, you'd have something like this in Obsidian, where # winner
KK\[ˋwɪnɚ]
![[winner.mp3]]
---
n. 獲勝者,優勝者 This would let you play the audio in Obsidian at will, and the audio would also play automatically once synced to Anki without requiring any template customization. (And again in general I don't think I can support template customization in Anki since Yanki depends on control over its templates for consistent behavior.) So then the problem would be how to generate the If generating the audio in Obsidian is too tricky, then maybe there's a solution that would work but doesn't require template customization — maybe we could appropriate some existing Markdown syntax to indicate text to treat as TTS in Anki, or maybe there's a frontmatter / property flag to indicate that a field should be read aloud... I will leave this thread open and keep thinking about it. |
Single audio file can be solved by this way. But it won't work if i have a sentence. for example:
By using TTS method it will have two benefits at least:
I can accept that “Yanki - Basic” doesn't provide an Extra field, because the English word usually uses the “Yanki - Basic with reversed card” note type. For example:
|
BTW, i have a new YouTube video for generating notes from an article, by using Copilot (ChatGPT), Note Splitter and Yanki plugins: Perhaps you could take the time to browse around and see what I'm looking for. I think the Extra field adds a lot of flexibility to Yanki, and should have more application possibilities. Thank you for your efforts. |
Thanks! Added a link to your latest video to the readme. Regarding your two points about TTS, they make sense but I would just point out that if there was something similar to AwesomeTTS that worked in Obsidian instead of Anki, then:
Just trying to think of a good way to support this that doesn't require modifying the Yanki-generated note type templates in Anki. |
I can't think of a generic way to support the "TTS in extra field" use-case in Yanki, and still think it would be best to do it in Obsidian instead of Anki. (Some kind of Templater script to automate generating TTS audio clips which Yanki could then automatically sync to and play in Anki would likely be the most accessible approach.) I'm going to close this issue since the original note type question has been addressed, but if the field customization / TTS part is still a major concern please open a new issue specific to that. |
Hi,
The note type changes to "Yanki - Basic (and reversed card with extra)", not "Yanki - Basic (and reversed card)" as usual.
"Yanki - Basic (and reversed card with extra)" will replace the original ""Yanki - Basic (and reversed card)"?
There's an Extra field in this note type. How can i edit Extra in my Obsidian?
The text was updated successfully, but these errors were encountered: