---
title: Music media
framework: quicktime-file-format
role: article
role_heading: Article
path: quicktime-file-format/music_media
---

# Music media

Store note-based audio data, such as MIDI data, in QuickTime movies.

## Overview

Overview Music media is used to store note-based audio data, such as MIDI data, in QuickTime movies. It has a media type of 'musi'. Music sample description The music sample description uses the standard sample description header, as described in  Sample description atom ('stsd'). The data format field in the sample description is always set to 'musi'. The music media handler adds an additional 32-bit integer field to the sample description containing flags. Currently no flags are defined, and this field should be set to 0. Following the flags field, there may be appended data in the QuickTime music format. This data consists of part-to-instrument mappings in the form of General events containing note requests. One note request event should be present for each part that will be used in the sample data. Music Sample Data The sample data for music samples consists entirely of data in the QuickTime music format. Typically, up to 30 seconds of notes are grouped into a single sample.

## See Also

### Video and sound

- [Video media](quicktime-file-format/video_media.md)
- [Sound media](quicktime-file-format/sound_media.md)
- [MPEG-1 media](quicktime-file-format/mpeg-1_media.md)
- [Movie media](quicktime-file-format/movie_media.md)
- [Defining media data layouts](quicktime-file-format/appendix_b_defining_media_data_layouts.md)
