---
layout: page
title: "Convert To Array"
node_type: "nodetool.audio.ConvertToArray"
namespace: "nodetool.audio"
---

**Type:** `nodetool.audio.ConvertToArray`

**Namespace:** `nodetool.audio`

## Description

Converts an audio file to a Array for further processing.
    audio, conversion, tensor

    Use cases:
    - Prepare audio data for machine learning models
    - Enable signal processing operations on audio
    - Convert audio to a format suitable for spectral analysisr

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|----------|
| audio | `audio` | The audio file to convert to a tensor. | `{'type': 'audio', 'uri': '', 'asset_id': None, 'data': None}` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `np_array` |  |

## Metadata

## Related Nodes

Browse other nodes in the [nodetool.audio](../) namespace.

