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

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Свойство Type Description
_gmRhythmMap byte[]

Méthodes publiques

Méthode 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 méthode

public Adlib ( byte instrument ) : void
instrument byte
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

CopyTo() public méthode

public CopyTo ( Instrument dest ) : void
dest Instrument
Résultat void

MacSfx() public méthode

public MacSfx ( byte program ) : void
program byte
Résultat void

NativeMT32() public static méthode

public static NativeMT32 ( bool native ) : void
native bool
Résultat void

PcSpk() public méthode

public PcSpk ( byte instrument ) : void
instrument byte
Résultat void

Program() public méthode

public Program ( byte program, bool mt32 ) : void
program byte
mt32 bool
Résultat void

Roland() public méthode

public Roland ( byte instrument ) : void
instrument byte
Résultat void

SaveOrLoad() public méthode

public SaveOrLoad ( Serializer s ) : void
s NScumm.Scumm.IO.Serializer
Résultat void

Send() public méthode

public Send ( MidiChannel mc ) : void
mc NScumm.Core.Audio.MidiChannel
Résultat 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
Résultat byte[]