# How to generate more than 2 audio files by utilizing ex. awesome TTS?

**URL:** <https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450>\
**Category:** Help\
**Created:** [March 18, 2021, 5:27am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450 "2021-03-18T05:27:41Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 18, 2021, 5:27am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/1 "2021-03-18T05:27:42Z")

</div>

for example, when two sentences as below are registered in the source field, two different audio files would like to be generated.

-source filed-  
This is an apple. This is an orange.

Could you inform how to write in the field, for example by using some tags… or any optional setting in the configuration, …

---

<div class="post-metadata">

**Author:** ![zhushenli](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zhushenli/32/3691_2.png) [@zhushenli](https://forums.ankiweb.net/u/zhushenli)\
**Post date:** [March 18, 2021, 10:32pm UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/2 "2021-03-18T22:32:05Z")

</div>

Why generate more than one audio file from one field?

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 19, 2021, 2:15pm UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/3 "2021-03-19T14:15:50Z")

</div>

In order to review every sentence by clicking a corresponding audio button.  
Thank you in advance for your anticipated support in this matter.

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 19, 2021, 2:30pm UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/4 "2021-03-19T14:30:48Z")

</div>

currently,

1. creating ex. 10 fields by the name of source-1, source-2, …, source-X
2. break a text into sentences
3. register the sentence to each field
4. then, generate audio files in sequence (bothering!)

Is there a any way to automatically generate more than 2 audio files (ex) by specifying some delimiters in the text in a filed.

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 21, 2021, 4:06am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/5 "2021-03-21T04:06:36Z")

</div>

Does anyone inform me if it is possible?

---

<div class="post-metadata">

**Author:** ![zhushenli](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zhushenli/32/3691_2.png) [@zhushenli](https://forums.ankiweb.net/u/zhushenli)\
**Post date:** [March 21, 2021, 4:46am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/6 "2021-03-21T04:46:35Z")

</div>

Can you give us some screenshots and examples? Hard to imagine by reading description.

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 21, 2021, 5:48am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/7 "2021-03-21T05:48:17Z")

</div>

![image-5](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/3/3717f3dc6e4eaaadef5d551f381f09142b437b0b.jpeg) ![image-4](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/0c3160b8dab20e7cd5076866f65eec75b025bd5b.jpeg) ![image3](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/c/c54a6305586a9dda95e357e5e9aa9bf3508bf911.jpeg) ![image2](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/1/10cba91824441b0cde1d2ea159a1df1af1a189ff.jpeg) ![image-1](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/4dd1ad25709eb71e47f86a9f382011d3774c2576.jpeg)

For example,  
Eventually, 2 audio files would like to be generated as in image-2.  
Though currently 2 actions are required as in image-4 and 5, do it single(1) action as in image-3 (ex) by including some delimiters as in image-1 (source3 filed)

---

<div class="post-metadata">

**Author:** ![zhushenli](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zhushenli/32/3691_2.png) [@zhushenli](https://forums.ankiweb.net/u/zhushenli)\
**Post date:** [March 21, 2021, 6:10am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/8 "2021-03-21T06:10:35Z")

</div>

Create a Note Type with 3 fields  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/5/56344170cb17c48b0ebf4fc64946b120ea82e97a.png)

{{tts}} is Anki build-in feature, use Win 10 TTS

> {{tts en\_US voices=Microsoft\_David:Front}}  
> {{tts en\_US voices=Microsoft\_Zira:Source1}}  
> {{tts en\_US voices=Microsoft\_Zira:Source2}}

Front

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/0d125f72a6d2a88def6494d9d1caf0ffaf7fda85.png)  
Back  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/93b49e1894dc916865cee94dd6900ee466974143.png)

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 21, 2021, 10:27am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/9 "2021-03-21T10:27:16Z")

</div>

Thank you for your continued support.  
With the purpose of compatibility and quality, I would like to call precompiled audio file (google TTS), but anki TTS. Could you give me additional support for creating more than 2 audio files from 1 field (example above) by using (ex) awesome TTS.

---

<div class="post-metadata">

**Author:** ![zhushenli](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zhushenli/32/3691_2.png) [@zhushenli](https://forums.ankiweb.net/u/zhushenli)\
**Post date:** [March 21, 2021, 10:50am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/10 "2021-03-21T10:50:07Z")

</div>

Sorry, I know nothing about Google TTS.

---

<div class="post-metadata">

**Author:** ![AAA](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@AAA](https://forums.ankiweb.net/u/AAA)\
**Post date:** [March 22, 2021, 6:05am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/11 "2021-03-22T06:05:27Z")

</div>

## I appreciate for your dedicated support.

Could anyone who have extensive familiarity with awesome TTS advise me (or inform me some workaround) how to create more than two audio files from 1 source filed (detailed explanation (what would like to do) described above)?

---

<div class="post-metadata">

**Author:** ![nyos](https://avatars.discourse-cdn.com/v4/letter/n/ecd19e/32.png) [@nyos](https://forums.ankiweb.net/u/nyos)\
**Post date:** [March 22, 2021, 4:58pm UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/12 "2021-03-22T16:58:34Z")

</div>

I use multiple audio notes in my cards made from Awesome TTS. I don’t know of any way to limit the audio generation so that it only occurs up to a certain point in the sentence. It may be possible with advanced TTS knowledge and using one of the advanced TTS services (Amazon? Azure?). To my knowledge, the audio file will generate speech for the entirety of the text that is sent.

What you want to do seems unnecessarily complicated… I have to ask what is the purpose of this? Why do you not want to use a single voice in generating the entire text field? Why do you want the text field broken into multiple voices?

This is the closest solution I can think of to approach what you want. In your example, why not create ‘Source1\_audio’ and ‘Source2\_audio’ fields, then in the cards you input those sound fields? That’s what I do.

fields  
source\_text1  
source\_text2  
source\_audio1  
source\_audio2

Then in the card, you format…  
{{source\_text1}}{{source\_text2}}{{source\_audio1}}{{source\_audio2}}

You would have to manually create source\_audio1 and source\_audio2 separately, but to be honest I think that is a trivial matter if you batch generate all of your audio files. You would also have to be doing this anyway if you’re wanting to use different TTS voices for the different sentence fragments within a card. Not sure if I understand what you are trying to do correctly…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:10am UTC](https://forums.ankiweb.net/t/how-to-generate-more-than-2-audio-files-by-utilizing-ex-awesome-tts/8450/13 "2023-05-01T05:10:05Z")

</div>

Closed on May 1, 2023, 5:10am UTC


