> ## 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.

# GetShapeSrcPitch

> GetShapeSrcPitch

# GetShapeSrcPitch

Obtém o pitch.

## Sintaxe

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

### Parâmetros

*context*   \_In\_\
Tipo: [SHAPE\_SRC\_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context)\*

Ponteiro para um objeto [SHAPE\_SRC\_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context).

### Valor retornado

Tipo: float

O pitch.

## Comentários

O bloco Sample Rate Convertor (SRC) lê amostras PCM e executa a conversão da taxa de amostragem e o deslocamento de pitch. Os valores de pitch e de pitch de destino estão no intervalo de 0,0625 a 3,99. Para alterar o pitch, use [SetShapeSrcPitch](/pt-BR/reference/audio/shapesrccontext/functions/setshapesrcpitch).

Para obter mais informações sobre o SRC, consulte [Bloco Sample Rate Convertor (SRC)](/pt-BR/build/console-features/audio/overviews/shape-overview#ID4EOE) em [Visão geral do SHAPE](/pt-BR/build/console-features/audio/overviews/shape-overview).

## Requisitos

**Cabeçalho:** shapesrccontext.h

**Plataformas com suporte:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[GetShapeSrcPitchTarget](/pt-BR/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget)\
[ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [GetShapeSrcPitchTarget](/pt-BR/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget.md)
- [SetShapeSrcPitch](/pt-BR/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
- [ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [SetShapeSrcPitchTarget](/pt-BR/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)
- [PitchToShapeSrcSamplingIncrement](/pt-BR/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md)
