Table of Contents

Class CreateSoundIndexDI1Payload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that creates a message payload that specifies the sound index to be played when triggering DI1.

public class CreateSoundIndexDI1Payload
Inheritance
CreateSoundIndexDI1Payload
Derived
Inherited Members

Properties

SoundIndexDI1

Gets or sets the value that specifies the sound index to be played when triggering DI1.

public byte SoundIndexDI1 { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that specifies the sound index to be played when triggering DI1.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the SoundIndexDI1 register.

GetPayload()

Creates a message payload for the SoundIndexDI1 register.

public byte GetPayload()

Returns

byte

The created message payload value.