> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/analysis/voice-analysis/speech-to-text-analysis.md).

# Speech-to-Text Analysis

Transcribe spoken language in recordings with audEERING speech recognition run locally or with AssemblyAI transcription, and check language support.

*Information about Speech-to-Text Analysis in iMotions.*

For studies with spoken language that you want to transcribe into text, you have two options in iMotions:

* Automatic Speech Recognition (ASR) from audEERING, which is part of the Voice Analysis module. The processing happens locally on your PC.
* Speech-to-text transcription with AssemblyAI, an external cloud platform that iMotions has an interface with. This is a part of the Core module, but requires you to make a paid account on AssemblyAI.

## audEERING

audEERING uses [OpenAI’s Whisper model for automatic speech recognition (ASR)](https://openwhispr.com/blog/whisper-model-sizes-explained).

To transcribe speech to text with audEERING, you need to have the voice analysis module enabled on your license.

Then, you need to enable the “speech to text” module in Global Settings.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-404fb89e15cd94ae397a4297fba2c68c57ed2de7%2Ff7862f7297_image-S3DNKUIB.webp?alt=media)

To start the post processing, please right click on the study name > post processing > audEERING Voice Analysis.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-9b22cd087db4b3a50ae5bfc757bab6d5743d86f1%2F9e5bab9b19_post-processing-path.webp?alt=media)

A new window will pop up that will allow you to select which respondents you would like to transcribe.

You can choose which audio source you would like to analyze. The default is always to use the audio collected through the Respondent Camera, but you can change this manually. Note that you can perform the voice analysis as well as transcription on multiple audio sources.

When you analyze the **Scene** audio source, iMotions moves the voice analysis signals and speaker annotations by the [respondent latency](https://help.imotions.com/lab/study-setup-and-design/imotions-setup/latency-settings.md#changing-the-latency-of-sensors-per-respondent), the same offset the replay uses for the scene video, so that they stay in sync with it. Speech from before the stimulus starts is left out.

If speaker diarization is enabled, you can enter the number of expected speakers. Please note that a speaker does not equal a respondent. A respondent is a recording instance in iMotions, i.e. every time you collected data or every file you imported for post processing. If more than one person is speaking in that recording instance, you should indicate that number as number of expected speakers. In case the amount of speakers varies across recording instances/ “respondents”, please only select those “respondents” that have the same amount of speakers, start the processing, and then re-open this menu to select the other respondents with their respective amount of expected speakers.

If speech to text is enabled, you can specify the spoken language. Again, if the spoken language varies across “respondents”, please run the processing multiple times, selecting respondents with the same language. You can also choose a speech model for processing. audEERING uses [OpenAI’s Whisper model for automatic speech recognition (ASR)](https://openwhispr.com/blog/whisper-model-sizes-explained), more precisely the “Base” and “Turbo” model sizes. “Base” is installed by default as it has a smaller footprint and runs efficiently on most machines. However, OpenAI report a word error rate (WER) of 5-10%. “Turbo” requires an additional installation (prompted automatically the first time you choose to run it) as it is significantly larger. It also takes longer time to process the data, especially on lower-end PCs. OpenAI reports a WER of 2.5-3.7% and better support for technical terminology.

Click OK to start the processing.

Once the processing is done, you will find the results stored as annotations within the study.

## AssemblyAI

Speech-to-Text analysis is performed by [AssemblyAI](https://www.assemblyai.com). This allows for the transcription and analysis of verbal speech in iMotions. The speech is analyzed according to its semantic content (i.e. the meaning of the spoken words is examined for their valence), rather than according to the style of production (i.e. the speech is not analyzed for pitch, tone, etc).

Running the speech-to-text analysis requires a paid account with AssemblyAI. Current pricing can be found on their website. AssemblyAI's service is now GDPR compliant.

### Setup AssemblyAI

1. First, you will need to sign up for a license with AssemblyAI, and add money to your account. Sign up through the following link: <https://www.assemblyai.com/dashboard/signup>
2. Obtain the API key from AssemblyAI. This can be found under the "Account" tab (as shown below), or by hovering the mouse over the "Developers" tab.

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-487f4f39cec5240d9bbd6ee7b8ce60d0e56ad374%2F8f2eb39ba7_assemblyai-api.webp?alt=media)
3. Launch iMotions. Go to Global Settings, then Audio & Video, and enter the API key in the "Speech To Text API Key" box and select your “Server Location”:

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-9d8d33d32f3710117caa8053ef8a0da561f78882%2F014a0283fd_image-V6375IZZ.webp?alt=media)
4. Restart iMotions
5. Go to the study you are interested in processing. Right-click on the study, and hover the mouse over "Post Processing". Select "SpeechToText":

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-990432e1b132ada9b68e221006b0261a9099164c%2F6c1c1c65f1_textspeech_2.webp?alt=media)
6. Select an 'Audio source', 'Speech Model', language, and number of 'Expected Speakers' - then click 'OK'

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-17377ec5e879552632513035b0cf0a9a64641d20%2F763ff1d371_image-1728668665975.webp?alt=media)
7. The audio will now process in the same manner as other background jobs.
8. Once the processing is done, you will find the results stored as annotations within the study:

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-173eb993545c7536bf1c5032657003af3ee1c911%2F7afbdf4a72_unnamed-2-.webp?alt=media)

### Current Language Support for AssemblyAI

Currently, the iMotions integration with AssemblyAI supports the following languages. Please note that while transcription is available for the listed languages, advanced options (such as speaker identification, and sentiment analysis) are only available for English.

* English (US)
* English (British)
* English (Australian)
* English (Global)
* Dutch
* French
* German
* Hindi
* Italian
* Japanese
* Portuguese
* Spanish
* Chinese
* Finnish
* Korean
* Polish
* Russian
* Turkish
* Ukrainian
* Vietnamese

## Additional Recommendations

Speech-to-Text Analysis data quality relies on the audio recording quality. You can apply noise reduction to improve analysis with Audacity Noise Reduction (Audacity for Windows, freeware).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/analysis/voice-analysis/speech-to-text-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
