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

# GetShapeSrcPitchTarget

> GetShapeSrcPitchTarget

Gets the pitch target.

## Syntax

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

### Parameters

*context*   \_In\_\
Type: [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md)\*

Pointer to a [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md) 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](https://docs.xbox.com/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md).

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

## Requirements

**Header:** shapesrccontext.h

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

## See also

[GetShapeSrcPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)\
[ShapeSrcContext](https://docs.xbox.com/reference/audio/shapesrccontext/shapesrccontext_members.md)


## Related topics

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