- Name
-
SetPitch -- modify pitch of a sample
- Synopsis
-
SetPitch(id,pitch)
- Function
-
This function modifies the pitch of the sample specified by
id
. If the
sample is currently playing, the pitch is modified on-the-fly which
can be used for some nice sound effects. Pitch is specified in hertz.
- Inputs
-
- id
- identifier of a sample
- pitch
- new pitch for the sample in hertz
Show TOC