> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CSndBeatPattern"
navbar: dynamic
asidebar: hide
---
# CSndBeatPattern

Schema class in module `soundsystem`.

## Summary

- Kind: `class`
- Module: `soundsystem`
- Size: `184 (0xB8)`
- Size bytes: `184`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

### Metadata

- `MPropertyArrayElementNameKey`: "m\_name"
- `MVDataAnonymousNode`
- `MVDataOutlinerNameExpr`: "m\_name"

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_name` | [string](/cs2/api_reference/lua/base#string) | 0 (0x00) | - | - | `MPropertyFriendlyName`: "Pattern Name" |
| `m_flSyncPriority` | [number](/cs2/api_reference/lua/base#number) | 12 (0x0C) | - | - | `MPropertyFriendlyName`: "Pattern Priority" |
| `m_syncStartType` | [SndBeatSyncStartType\_t](/cs2/dumped_data/schema/soundsystem/SndBeatSyncStartType_t) | 16 (0x10) | - | - | `MPropertyFriendlyName`: "Sync Start Type" |
| `m_syncType` | [SndBeatSyncType\_t](/cs2/dumped_data/schema/soundsystem/SndBeatSyncType_t) | 20 (0x14) | - | - | `MPropertyFriendlyName`: "Sync Type" |
| `m_timeSignature` | [SndBeatTimeSignature\_t](/cs2/dumped_data/schema/soundsystem/SndBeatTimeSignature_t) | 24 (0x18) | - | - | `MPropertyFriendlyName`: "Time Signature" |
| `m_flLength` | [number](/cs2/api_reference/lua/base#number) | 32 (0x20) | - | - | `MPropertyFriendlyName`: "Length (beats)" |
| `m_bLooping` | [boolean](/cs2/api_reference/lua/base#boolean) | 36 (0x24) | - | - | `MPropertyFriendlyName`: "Looping" |
| `m_playEventType` | [SndBeatEventType\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventType_t) | 40 (0x28) | - | - | `MPropertyStartGroup`: "Playback"<br />`MPropertyFriendlyName`: "Playback Event Type" |
| `m_flPlayBeatMult` | [number](/cs2/api_reference/lua/base#number) | 44 (0x2C) | - | - | `MPropertySuppressExpr`: "m\_playEventType == eSndBeatEventTypeKeys"<br />`MPropertyFriendlyName`: "Playback Event Beat/Bar/Phrase/Length Multiplier" |
| `m_playKeyType` | [SndBeatKeyType\_t](/cs2/dumped_data/schema/soundsystem/SndBeatKeyType_t) | 48 (0x30) | - | - | `MPropertySuppressExpr`: "m\_playEventType != eSndBeatEventTypeKeys"<br />`MPropertyFriendlyName`: "Key Type" |
| `m_vecPatternKeys` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[SndBeatEventKeys\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventKeys_t)&gt; | 56 (0x38) | - | - | `MPropertySuppressExpr`: "m\_playKeyType != eSndBeatPatternTypeKeys" |
| `m_vecPatternFloats` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[SndBeatEventKeyedFloats\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventKeyedFloats_t)&gt; | 80 (0x50) | - | - | `MPropertySuppressExpr`: "m\_playKeyType != eSndBeatPatternTypeKeyedFloats" |
| `m_vecPatternSndEvts` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[SndBeatEventKeyedSndEvts\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventKeyedSndEvts_t)&gt; | 104 (0x68) | - | - | `MPropertySuppressExpr`: "m\_playKeyType != eSndBeatPatternTypeKeyedSndEvts" |
| `m_vecPatternMidi` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[SndBeatEventKeyedMidiNotes\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventKeyedMidiNotes_t)&gt; | 128 (0x80) | - | - | `MPropertySuppressExpr`: "m\_playKeyType != eSndBeatPatternTypeKeyedMidi" |
| `m_syncEventType` | [SndBeatEventType\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventType_t) | 152 (0x98) | - | - | `MPropertyStartGroup`: "Queue"<br />`MPropertyFriendlyName`: "Queue Event Type" |
| `m_flSyncBeatMult` | [number](/cs2/api_reference/lua/base#number) | 156 (0x9C) | - | - | `MPropertySuppressExpr`: "m\_syncEventType == eSndBeatEventTypeKeys"<br />`MPropertyFriendlyName`: "Queue Beat/Bar/Phrase/Length Multiplier" |
| `m_vecSyncPatternKeys` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[SndBeatEventKeys\_t](/cs2/dumped_data/schema/soundsystem/SndBeatEventKeys_t)&gt; | 160 (0xA0) | - | - | `MPropertySuppressExpr`: "m\_syncEventType != eSndBeatEventTypeKeys" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CSndBeatPatternManager](/cs2/dumped_data/schema/soundsystem/CSndBeatPatternManager) | `m_vecPatterns` | soundsystem | - |

