C# Class NScumm.Scumm.Audio.IMuse.Instrument

Datei anzeigen Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
_gmRhythmMap byte[]

Public Methods

Method Description
Adlib ( byte instrument ) : void
Clear ( ) : void
CopyTo ( Instrument dest ) : void
MacSfx ( byte program ) : void
NativeMT32 ( bool native ) : void
PcSpk ( byte instrument ) : void
Program ( byte program, bool mt32 ) : void
Roland ( byte instrument ) : void
SaveOrLoad ( Serializer s ) : void
Send ( MidiChannel mc ) : void

Method Details

Adlib() public method

public Adlib ( byte instrument ) : void
instrument byte
return void

Clear() public method

public Clear ( ) : void
return void

CopyTo() public method

public CopyTo ( Instrument dest ) : void
dest Instrument
return void

MacSfx() public method

public MacSfx ( byte program ) : void
program byte
return void

NativeMT32() public static method

public static NativeMT32 ( bool native ) : void
native bool
return void

PcSpk() public method

public PcSpk ( byte instrument ) : void
instrument byte
return void

Program() public method

public Program ( byte program, bool mt32 ) : void
program byte
mt32 bool
return void

Roland() public method

public Roland ( byte instrument ) : void
instrument byte
return void

SaveOrLoad() public method

public SaveOrLoad ( Serializer s ) : void
s NScumm.Scumm.IO.Serializer
return void

Send() public method

public Send ( MidiChannel mc ) : void
mc NScumm.Core.Audio.MidiChannel
return void

Property Details

_gmRhythmMap public_oe static_oe property

This emulates the percussion bank setup LEC used with the MT-32, where notes 24 - 34 were assigned instruments without reverb. It also fixes problems on GS devices that map sounds to these notes by default.
public static byte[] _gmRhythmMap
return byte[]