Skip to main content

PitchToShapeSrcSamplingIncrement

Converts a pitch value to a Sample Rate Convertor (SRC) sampling increment.

Syntax

Parameters

val   
Type: float
The pitch.

Return value

Type: UINT32 The sampling increment.

Remarks

Pitch values are in the range 0.0625-3.99. (However, values outside this range do not return an error.) To convert a sampling increment to a pitch value, use ShapeSrcSamplingIncrementToPitch. For more information about the SRC, see Sample Rate Convertor (SRC) block in Overview of SHAPE.

Requirements

Header: shapesrccontext.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

ShapeSrcContext
Last modified on August 20, 2026