---
title: Contextual Scrolling
type: templates
category: Audio/Speech Processing
cat: audio-speech-processing
order: 301
meta_title: Contextual Scrolling
meta_description: Template annotating transcriptions in their audio context.
---
Playback synchronization between audio and corresponding paragraph segments provides you with enhanced context and control resulting in high-quality annotated datasets and increased productivity when performing conversational analysis.
## Labeling Configuration
```html
```
## About the labeling configuration
All labeling configurations must be wrapped in [View](/tags/view.html) tags.
You can add a [header](/tags/header.html) to provide instructions to the annotator:
```xml
```
Use the [Audio](/tags/audio.html) object tag to specify the type and the location of the audio clip. In this case, the audio clip is stored with a `url` key. Audio paired with the [Paragraphs](/tags/paragraphs.html) with 'contextScroll' set to true and `sync` set to audio. Additionally `name` of the paragraph tag should have the `textKey` value from the audio tag:
```xml
```
Use the [Paragraph Labels](/tags/paragraphlabels.html) control tag with the [Label](/tags/label.html) tag to annotate sections of the paragraph transcriptions.
```xml
```
## Transcription Data
The transcription data should have a start and either an end or a duration
```json
{
"text": [
{
"end": 1.5,
"text": "Dont you hate that?",
"start": 0,
"author": "Mia Wallace"
},
{
"text": "Hate what?",
"start": 1.5,
"author": "Vincent Vega:",
"duration": 3
},
{
"end": 7,
"text": "Uncomfortable silences. Why do we feel its necessary to yak to feel comfortable?",
"start": 4.5,
"author": "Mia Wallace:"
},
{
"end": 10,
"text": "I dont know. That's a good question.",
"start": 8,
"author": "Vincent Vega:"
},
],
},
```
## Enhance this template
This template can be enhanced in many ways.
### Add additional data points
A number of tags can be added to this template to add more data points to the annotation. Here we added [Choices](/tags/choices.html) and [TextArea](/tags/textarea.html) tags to give speaker context and a text responsce to the transcription:
```xml
```
## Related tags
- [Audio](/tags/audio.html)
- [Paragraphs](/tags/paragraphs.html)
- [Choices](/tags/choices.html)
- [TextArea](/tags/textarea.html)
## Related templates
- [Audio Classification](audio_classification.html)
- [Audio Classification with Segments](audio_regions.html)