class Haematite::PresetInfo

Overview

Used during SoundFont loading to contain information for a preset.

Defined in:

haematite/preset.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.fromChunk(stream : IO, size) : Array(PresetInfo) #

Creates an array of PresetInfo instances with size elements from the given stream.


Instance Method Detail

def bankNumber : UInt16 #

The bank this preset is part of.


def genre : Int32 #

The genre that describes this preset.


def library : Int32 #

The name of the library this preset is part of.


def morphology : Int32 #

The preset's morphology.


def name : String #

The name of the preset.


def patchNumber : UInt16 #

The patch number associated with this preset.


def zoneEndIndex : UInt16 #

The end of the zones for this preset.


def zoneStartIndex : UInt16 #

The of the zones for this preset.