CSndSeqInstMidiSampler
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 224 bytes (0xe0)Alignment: 8 bytesModule: soundsystemBinary: !GlobalTypes
Metadata: MPropertyFriendlyName Midi Sampler
Relationships
Inherits from: CSndSeqInstBaseSchema
Inheritance tree
CSndSeqInstBaseSchema
- CSndSeqInstMidiSampler
Relationship diagram (1 edges)
classDiagram
CSndSeqInstBaseSchema <|-- CSndSeqInstMidiSamplerMemory layout
16 fields, 11 declared here and 5 inherited. Offsets are absolute from the object base on windows-x86_64.
CSndSeqInstBaseSchemaCSndSeqInstMidiSampler
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nType | SndSeqInstrumentType_t | CSndSeqInstBaseSchema | |
0xe | m_bStopCurrentEvents | bool | CSndSeqInstBaseSchema | |
0x10 | m_flBPM | float32 | CSndSeqInstBaseSchema | |
0x14 | m_flBPMFactor | float32 | CSndSeqInstBaseSchema | |
0x18 | m_flBPMInvFactor | float32 | CSndSeqInstBaseSchema | |
0x20 | m_bIsSoundEvent | bool | ||
0x21 | m_bStopPrevious | bool | ||
0x22 | m_nMinNote | uint8 | ||
0x23 | m_nMaxNote | uint8 | ||
0x24 | m_flMinVelocityAtten | float32 | ||
0x28 | m_flMaxVelocityAtten | float32 | ||
0x2c | m_flAttack | float32 | ||
0x30 | m_flRelease | float32 | ||
0x34 | m_bBeatEnvelopes | bool | ||
0xd4 | m_nNextVoiceSlot | uint8 | ||
0xd8 | m_hSoundEventHash | uint32 |
KV3 class defaults
{
"_class": "CSndSeqInstMidiSampler",
"m_nType": "eSndSeqInstMidiSampler",
"m_bStopCurrentEvents": false,
"m_flBPM": 120.000000,
"m_flBPMFactor": 2.000000,
"m_flBPMInvFactor": 0.500000,
"m_bIsSoundEvent": false,
"m_bStopPrevious": true,
"m_nMinNote": 0,
"m_nMaxNote": 0,
"m_flMinVelocityAtten": 0.000000,
"m_flMaxVelocityAtten": 0.000000,
"m_flAttack": 0.000000,
"m_flRelease": 0.000000,
"m_bBeatEnvelopes": true,
"m_nNextVoiceSlot": 0,
"m_hSoundEventHash": 0
}