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
BankOffsetintThe bank offset for RMIDI.
MetadataRMidi.InfoThe metadata of the file. Optional.
CorrectBankOffsetboolIf the MIDI file should internally be corrected to work with the set bank offset.
SoundBankSoundBankThe optional sound bank instance used to correct bank offset.
Fields
Default
public static readonly WriterRMidi.Options Default
Field Value
Properties
BankOffset
The bank offset for RMIDI.
public int BankOffset { get; init; }
Property Value
CorrectBankOffset
If the MIDI file should internally be corrected to work with the set bank offset.
public bool CorrectBankOffset { get; init; }
Property Value
Metadata
The metadata of the file. Optional.
public RMidi.Info? Metadata { get; init; }
Property Value
SoundBank
The optional sound bank instance used to correct bank offset.
public SoundBank? SoundBank { get; init; }