SampledSoundFunction

SampledSoundFunction[f,n,r]

is a sound primitive that represents a sound whose amplitude sampled r times a second is generated by applying the function f to successive integers from 1 to n.

Details

Examples

open allclose all

Basic Examples  (2)

Generate a sound by sampling a function at 4000 integer values:

Use a sampling rate of 20 kHz:

Properties & Relations  (1)

Play generates a SampledSoundFunction that uses a CompiledFunction:

Introduced in 1991
 (2.0)