---
title: "AudioData"
sidebar_label: "AudioData"
description: "Kotlin binding reference: AudioData."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[AudioData](index.md)

# AudioData

[common]\
class [AudioData](index.md)(val samples: [Tensor](../Tensor/index.md), val info: [AudioInfo](../AudioInfo/index.md))

A decoded waveform plus its effective layout: [samples](samples.md) is `[frames]` (mono) or `[frames, channels]` Float32 on the host. Release [samples](samples.md) when done (`use {}`), as any tensor.

## Constructors

| | |
|---|---|
| [AudioData](AudioData.md) | [common]<br>constructor(samples: [Tensor](../Tensor/index.md), info: [AudioInfo](../AudioInfo/index.md)) |

## Properties

| Name | Summary |
|---|---|
| [info](info.md) | [common]<br>val [info](info.md): [AudioInfo](../AudioInfo/index.md) |
| [samples](samples.md) | [common]<br>val [samples](samples.md): [Tensor](../Tensor/index.md) |