# AudioTrack

Since: **25.6**

## Properties

+----------------------------------------------------------------+
| Table                                                          |
+:-----+:---------+:-------+:------------+:----------------------+
| Name | Type     | Access | Min Version | Description           |
+:-----+:---------+:-------+:------------+:----------------------+
| name | *string* | R      | 25.6        | Get the name of the   |
|      |          |        |             | track                 |
+:-----+:---------+:-------+:------------+:----------------------+
| id   | *number* | R      | 25.6        | The ID of the track   |
|      |          |        |             | within the TrackGroup |
+------+----------+--------+-------------+-----------------------+

## Instance Methods

### createSetNameAction

Action to change the name of the track

Since: **26.3**

Returns: *object*

#### Parameters

+-------------------------------+
| Table                         |
+:-----+:---------+:------------+
| Name | Type     | Description |
+:-----+:---------+:------------+
| name | *string* | \-          |
+------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getIndex

Index representing the track index of this track within the track group.

Since: **25.6**

Returns: Promise<*number*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getMediaType

UUID representing the underlying media type of this track

Since: **25.6**

Returns: Promise<*[Guid](/premiere-pro/uxp/ppro-reference/classes/guid)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getTrackItems

Returns array of AudioClipTrackItem from the track item type

Since: **25.6**

Returns: *[AudioClipTrackItem\[\]](/premiere-pro/uxp/ppro-reference/classes/audiocliptrackitem)*

#### Parameters

+------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                                                |
+:-----------------------+:---------------------------------------------------------------------------------------+:-----------------------------------+
| Name                   | Type                                                                                   | Description                        |
+:-----------------------+:---------------------------------------------------------------------------------------+:-----------------------------------+
| trackItemType          | *[Constants.TrackItemType](/premiere-pro/uxp/ppro-reference/constants/#trackitemtype)* | Constants.TrackItemType.CLIP,      |
|                        |                                                                                        | Constants.TrackItemType.TRANSITION |
|                        |                                                                                        | etc..                              |
+:-----------------------+:---------------------------------------------------------------------------------------+:-----------------------------------+
| includeEmptyTrackItems | *boolean*                                                                              | \-                                 |
+------------------------+----------------------------------------------------------------------------------------+------------------------------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isMuted

Get mute state of the track

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### setMute

sets the mute state of the track to muted/unmuted

Since: **25.6**

Returns: Promise<*boolean*>

#### Parameters

+--------------------------------+
| Table                          |
+:-----+:----------+:------------+
| Name | Type      | Description |
+:-----+:----------+:------------+
| mute | *boolean* | \-          |
+------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

## Events

+-----------------------------------------------------------------------------+
| Table                                                                       |
+:----------------------------+:--------+:------------------------------------+
| Name                        | Version | Description                         |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_CHANGED       | 25.6    | Event Object for Track changed      |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_INFO\_CHANGED | 25.6    | Event Object for Track Info Changed |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_LOCK\_CHANGED | 25.6    | Event Object for Track Lock Changed |
+-----------------------------+---------+-------------------------------------+

+--------------------------------------------------------------------------------------------------------------------------+
| Metadata                                                                                                                 |
+----------------+---------------------------------------------------------------------------------------------------------+
| title          | AudioTrack                                                                                              |
+----------------+---------------------------------------------------------------------------------------------------------+
| description    | Overview of AudioTrack                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| source         | github                                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| pathprefix     | /premiere-pro/uxp                                                                                       |
+----------------+---------------------------------------------------------------------------------------------------------+
| githubblobpath | https\://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro-reference/classes/audiotrack.md |
+----------------+---------------------------------------------------------------------------------------------------------+
| template       | documentation                                                                                           |
+----------------+---------------------------------------------------------------------------------------------------------+
