Struct WriterRMidi.Options

Namespace
SpessaSharp.MIDI.Write
Assembly
SpessaSharp.dll
public readonly record struct WriterRMidi.Options : IEquatable<WriterRMidi.Options>
Implements
Inherited Members

Constructors

Options(int, Info?, bool, SoundBank?)

public Options(int BankOffset, RMidi.Info? Metadata, bool CorrectBankOffset, SoundBank? SoundBank)

Parameters

BankOffset int

The bank offset for RMIDI.

Metadata RMidi.Info

The metadata of the file. Optional.

CorrectBankOffset bool

If the MIDI file should internally be corrected to work with the set bank offset.

SoundBank SoundBank

The optional sound bank instance used to correct bank offset.

Fields

Default

public static readonly WriterRMidi.Options Default

Field Value

WriterRMidi.Options

Properties

BankOffset

The bank offset for RMIDI.

public int BankOffset { get; init; }

Property Value

int

CorrectBankOffset

If the MIDI file should internally be corrected to work with the set bank offset.

public bool CorrectBankOffset { get; init; }

Property Value

bool

Metadata

The metadata of the file. Optional.

public RMidi.Info? Metadata { get; init; }

Property Value

RMidi.Info

SoundBank

The optional sound bank instance used to correct bank offset.

public SoundBank? SoundBank { get; init; }

Property Value

SoundBank