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

サンプルレートコンバーター (SRC) のサンプリング増分をピッチ値に変換します。

## 構文

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

### パラメーター

*val*   \
型: UINT32

サンプリング増分。

### 戻り値

型: float

ピッチ。

## 解説

ピッチ値は 0.0625〜3.99 の範囲です。(ただし、戻り値がこの範囲内に収まることを保証するために *val* パラメーターがチェックされることはありません。)

ピッチ値をサンプリング増分に変換するには、[PitchToShapeSrcSamplingIncrement](/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement) を使用します。

SRC の詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [サンプルレートコンバーター (SRC) ブロック](/build/console-features/audio/overviews/shape-overview#ID4EOE) を参照してください。

## 要件

**ヘッダー:** shapesrccontext.h

**サポート対象プラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

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