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

# ShapeSrcSamplingIncrementToPitch

> ShapeSrcSamplingIncrementToPitch

# ShapeSrcSamplingIncrementToPitch

Converte um incremento de amostragem do Sample Rate Convertor (SRC) em um valor de pitch.

## Sintaxe

```cpp theme={null}
float ShapeSrcSamplingIncrementToPitch(  
         UINT32 val  
)  
```

### Parâmetros

*val*   \
Tipo: UINT32

O incremento de amostragem.

### Valor retornado

Tipo: float

O pitch.

## Comentários

Os valores de pitch estão no intervalo de 0,0625 a 3,99. (No entanto, o parâmetro *val* não é verificado para garantir que o valor retornado esteja no intervalo.)

Para converter um valor de pitch em um incremento de amostragem, use [PitchToShapeSrcSamplingIncrement](/pt-BR/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement).

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

[ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [PitchToShapeSrcSamplingIncrement](/pt-BR/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md)
- [ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [ACP_COMMAND_UPDATE_SRC_CONTEXT](/pt-BR/reference/audio/acphal/structs/acp_command_update_src_context.md)
- [ACP_COMMAND_UPDATE_SRC_CONTEXT_ENTRY](/pt-BR/reference/audio/acphal/structs/acp_command_update_src_context_entry.md)
- [SHAPE_SRC_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context.md)
