> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetShapeSrcPitchTarget

> GetShapeSrcPitchTarget

# GetShapeSrcPitchTarget

Gets the pitch target.

## Syntax

```cpp theme={null}
float GetShapeSrcPitchTarget(  
         const SHAPE_SRC_CONTEXT* context  
)  
```

### Parameters

*context*   \_In\_\
Type: [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\*

Pointer to a [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/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](/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget).

For more information about the SRC, see [Sample Rate Convertor (SRC) block](/build/console-features/audio/overviews/shape-overview#ID4EOE) in [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview).

## Requirements

**Header:** shapesrccontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[GetShapeSrcPitch](/reference/audio/shapesrccontext/functions/getshapesrcpitch)\
[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [SetShapeSrcPitchTarget](/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)
- [GetShapeSrcPitch](/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [SetShapeSrcPitch](/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
- [PitchToShapeSrcSamplingIncrement](/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md)
