Get or set the length (number of columns in the waveform matrix) of a Sample object or a wav file.
1 2 3
a Sample object, or a string giving the name of a wav file.
an integer giving the sample length (number of columns in the waveform matrix).
The replacement form can be used to reset the sample length (here, filenames are not accepted).
If a Sample object is shortened, extra values are discarded. When a Sample object is lengthened, it is padded out to its new length with zeros (silence).
sampleLength, the number of columns in the waveform matrix of the sample.
setSampleLength, a Sample object with the new length.
Author: Matthias Heymann <mail@MatthiasHeymann.de>
Maintainer: Stefan Langenberg <firstname.lastname@example.org>
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.