AwesomeTTS/awesometts-anki-addon

How to add audio next to the highlighted text instead of at end of field?

Closed this issue · 3 comments

I often notice that whenever I add audio, the audio file is put at the end of the field. Is there any way I can have the audio file text be put right next to the highlight instead?

I thought this worked and I remembered putting in a fix for that some time ago. Can you help describe your use case ? Are you trying to add audio only for specific words within a sentence in the field ?

I thought this worked and I remembered putting in a fix for that some time ago. Can you help describe your use case ? Are you trying to add audio only for specific words within a sentence in the field ?

I want to order the audio files well.

Say I have a field:

test

[audio file 1]

I highlight "test" for pronunciation. However, the field becomes:

test

[audio file 1]
[audio file 2 (the new "test" audio)]

This makes the audio file 1 play first when I intended for "test" to play first. So I have to move audio file 2 above audio file 1.

Some people might prefer having the audio added at the very end of the field, but I don't. That's why I was wondering if there was an option to add the audio immediately after the highlighted text? Like this:

test [audio file 2]

[audio file 1]

consolidating with issue #271