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

Obtiene el tono.

## Sintaxis

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

### Parámetros

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

Puntero a un objeto [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context).

### Valor devuelto

Tipo: float

El tono.

## Comentarios

El bloque del convertidor de frecuencia de muestreo (SRC) lee muestras PCM y realiza la conversión de frecuencia de muestreo y el cambio de tono. Los valores de tono y de tono de destino están en el intervalo 0,0625-3,99. Para cambiar el tono, use [SetShapeSrcPitch](/reference/audio/shapesrccontext/functions/setshapesrcpitch).

Para obtener más información sobre el SRC, consulte [Bloque del convertidor de frecuencia de muestreo (SRC)](/build/console-features/audio/overviews/shape-overview#ID4EOE) en [Información general de SHAPE](/build/console-features/audio/overviews/shape-overview).

## Requisitos

**Encabezado:** shapesrccontext.h

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

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


## Related topics

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