Previous Up Next

asSndSetFrequency
Modifies the sampling frequency of the object AsSnd

AsSnd asSndSetFrequency (
AsSnd sound
I frequency
)
Parameters

sound
Applicable AsSnd object
frequency
New sampling frequency for reading the AsSnd
Value between 100Hz and 100000Hz.
Return value

The AsSnd given as a parameter, or nil in case of a failure.
Remark

The AsSnd must have been created with the AS_SND_CTRLFREQUENCY flag.
See Also

asSndGetFrequency