# How to get several audio files in one field to play randomly?

**URL:** <https://forums.ankiweb.net/t/how-to-get-several-audio-files-in-one-field-to-play-randomly/67521>\
**Category:** Card Design\
**Created:** [November 20, 2025, 2:13am UTC](https://forums.ankiweb.net/t/how-to-get-several-audio-files-in-one-field-to-play-randomly/67521 "2025-11-20T02:13:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Eltaurus](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/eltaurus/32/10287_2.png) [@Eltaurus](https://forums.ankiweb.net/u/Eltaurus)\
**Post date:** [November 20, 2025, 11:32am UTC](https://forums.ankiweb.net/t/how-to-get-several-audio-files-in-one-field-to-play-randomly/67521/2 "2025-11-20T11:32:44Z")

</div>

The basic approach is described here:

1. [Randomizing card content](https://forums.ankiweb.net/t/using-ai-for-randomizing-existing-sentences/66888/9)
2. [Playing audio using JS](https://forums.ankiweb.net/t/using-ai-for-randomizing-existing-sentences/66888/13)

Feel free to ask if you require more detailed instructions.  
There’s also an implementation of exactly what you describe in [this template](https://forums.ankiweb.net/t/memrise-card-template-support-thread/34233/197#p-166930-h-4-audio-5). It is intertwined with other code on the card, though, so the feature might not be as easy as copy and paste onto your cards, but should still be useful as a reference.

---

_[View the full topic](https://forums.ankiweb.net/t/how-to-get-several-audio-files-in-one-field-to-play-randomly/67521)._
