Minim
core | ugens | analysis
 

Waveform

value

Description

Sample the Waveform at the location specified. As an example, if the Waveform represents a sine wave, then we would expect the following:

 waveform.value( 0.25f ) == sin( PI/2 )
 waveform.value( 0.5f ) == sin( PI )
 waveform.value( 0.75f ) == sin( 3*PI/2 )
 

Signature

float value(float at)

Parameters

at — float: a value in the range [0,1]

Returns

float: the value of the Waveform at the sampled location

Related

Waveform

Example

None available

Usage

Web & Application