Skip to main content

GetShapeSrcPitch

Gets the pitch.

Syntax

Parameters

context   _In_
Type: SHAPE_SRC_CONTEXT*
Pointer to a SHAPE_SRC_CONTEXT object.

Return value

Type: float The pitch.

Remarks

The Sample Rate Convertor (SRC) block reads PCM samples and performs sample-rate conversion and pitch shifting. Pitch and pitch target values are in the range 0.0625-3.99. To change the pitch, use SetShapeSrcPitch. 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

GetShapeSrcPitchTarget
ShapeSrcContext
Last modified on August 20, 2026