Class Audio.Clip

A finite-length audio stream.

Constructors

Clip(string file) create a new clip from the given audio file
Clip(buffer bytes) create a new clip from the given buffer

Methods

buffer(integer index) return the Audio.Buffer for a given channel

Constructor Documentation


Clip(string file)

Create a new clip from the given audio file

Parameters


Clip(buffer bytes)

Create a new clip from the given buffer

Parameters

Method Documentation


Audio.Buffer buffer(integer index)

Return the Audio.Buffer for a given channel

Parameters

Returns



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.