Skip to main content

ShapeSrcSamplingIncrementToPitch

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

Syntax

Parameters

val   
Type: UINT32
The sampling increment.

Return value

Type: float The pitch.

Remarks

Pitch values are in the range 0.0625-3.99. (However, the val parameter is not checked to ensure that the return value is in the range.) To convert a pitch value to a sampling increment, use PitchToShapeSrcSamplingIncrement. 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