Skip to main content

GetShapeSrcPitchTarget

Gets the pitch target.

Syntax

Parameters

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

Return value

Type: float The pitch target.

Remarks

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

GetShapeSrcPitch
ShapeSrcContext
Last modified on August 20, 2026