C# Class CSharpSynth.Banks.InstrumentBank

Afficher le fichier Open project: joeriedel/DarkForcesUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
nullSample CSharpSynth.Wave.Sample

Méthodes publiques

Méthode Description
Clear ( ) : void
InstrumentBank ( int sampleRate, string bankfile ) : System
InstrumentBank ( int sampleRate, string bankfile, byte Programs, byte DrumPrograms ) : System
addInstrument ( CSharpSynth.Banks.Instrument inst, bool isDrum ) : void
deleteUnusedSamples ( ) : void
getInstrument ( int index, bool isDrum ) : CSharpSynth.Banks.Instrument
getInstruments ( bool isDrum ) : List
loadBank ( byte Programs, byte DrumPrograms ) : void
loadBank ( string bankfile ) : void
loadStream ( Stream bankStream, string directory, byte Programs, byte DrumPrograms ) : void
removeInstrument ( int index, bool isDrum ) : void

Private Methods

Méthode Description
loadAnalog ( string args, byte Programs, byte DrumPrograms ) : void
loadFm ( string args, string bankpath, byte Programs, byte DrumPrograms ) : void
loadSfz ( string args, string bankpath, byte Programs, byte DrumPrograms ) : void
reCalculateMemoryUsage ( ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

InstrumentBank() public méthode

public InstrumentBank ( int sampleRate, string bankfile ) : System
sampleRate int
bankfile string
Résultat System

InstrumentBank() public méthode

public InstrumentBank ( int sampleRate, string bankfile, byte Programs, byte DrumPrograms ) : System
sampleRate int
bankfile string
Programs byte
DrumPrograms byte
Résultat System

addInstrument() public méthode

public addInstrument ( CSharpSynth.Banks.Instrument inst, bool isDrum ) : void
inst CSharpSynth.Banks.Instrument
isDrum bool
Résultat void

deleteUnusedSamples() public méthode

public deleteUnusedSamples ( ) : void
Résultat void

getInstrument() public méthode

public getInstrument ( int index, bool isDrum ) : CSharpSynth.Banks.Instrument
index int
isDrum bool
Résultat CSharpSynth.Banks.Instrument

getInstruments() public méthode

public getInstruments ( bool isDrum ) : List
isDrum bool
Résultat List

loadBank() public méthode

public loadBank ( byte Programs, byte DrumPrograms ) : void
Programs byte
DrumPrograms byte
Résultat void

loadBank() public méthode

public loadBank ( string bankfile ) : void
bankfile string
Résultat void

loadStream() public méthode

public loadStream ( Stream bankStream, string directory, byte Programs, byte DrumPrograms ) : void
bankStream Stream
directory string
Programs byte
DrumPrograms byte
Résultat void

removeInstrument() public méthode

public removeInstrument ( int index, bool isDrum ) : void
index int
isDrum bool
Résultat void

Property Details

nullSample public_oe static_oe property

public static Sample,CSharpSynth.Wave nullSample
Résultat CSharpSynth.Wave.Sample