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

# PitchToShapeSrcSamplingIncrement

> PitchToShapeSrcSamplingIncrement

# PitchToShapeSrcSamplingIncrement

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

## 構文

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

### パラメーター

*val*   \
型: float

ピッチ。

### 戻り値

型: UINT32

サンプリング増分。

## 解説

ピッチ値は 0.0625〜3.99 の範囲です。(ただし、この範囲外の値でもエラーは返されません。)

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

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

- [ShapeSrcSamplingIncrementToPitch](/ja-jp/reference/audio/shapesrccontext/functions/shapesrcsamplingincrementtopitch.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)
