---
name: "AudioTone"
section: "3"
platform: "linux"
package: "libccaudio-dev"
version: "1.1.2-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/AudioTone"
---

# AudioTone(3)

The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory.

## NAME

AudioTone - The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory.

## SYNOPSIS

`#include <audio.h>`

Inherits **AudioSample**.

### Public Methods

void **fill** (unsigned max=0)\
 *Fill the current sample frame with more tone data.*

## DETAILED DESCRIPTION

The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory.

These tone samples can be either single or dual tones, and are created as linear samples of a specified sample rate.

**Author:**  David Sugar \<dyfet@ostel.com\>

## AUTHOR

Generated automatically by Doxygen for ccAudio from the source code.
