C# Class CSharpSynth.Synthesis.StreamSynthesizer

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

Méthodes publiques

Méthode Description
AddEffect ( CSharpSynth.Effects.BasicAudioEffect effect ) : void
ClearEffects ( ) : void
Dispose ( ) : void
GetNext ( byte buffer ) : void
GetNext ( float buffer ) : void
LoadBank ( string filename ) : bool
NoteOff ( int channel, int note ) : void
NoteOffAll ( bool immediate ) : void
NoteOn ( int channel, int note, int velocity, int program ) : void
RemoveEffect ( int index ) : void
Stop ( ) : void
StreamSynthesizer ( int sampleRate, int audioChannels, int bufferSize, int maxpoly ) : System
SwitchBank ( int index ) : void
UnloadBank ( ) : bool
UnloadBank ( int index ) : bool
resetSynthControls ( ) : void
setAllChannelPitchBend ( float semitones ) : void
setAllChannelSlowPitchBend ( float semitones ) : void
setPan ( int channel, float position ) : void
setPitchBend ( int channel, float semitones ) : void
setSequencer ( MidiSequencer sequencer ) : void
setVolume ( int channel, float position ) : void

Private Methods

Méthode Description
ClearWorkingBuffer ( ) : void
ConvertBuffer ( float from, byte to ) : void
ConvertBuffer ( float from, float to ) : void
FillWorkingBuffer ( ) : void
getFreeVoice ( ) : Voice
getUsedVoice ( NoteRegistryKey r ) : Voice
setupSynth ( ) : void

Method Details

AddEffect() public méthode

public AddEffect ( CSharpSynth.Effects.BasicAudioEffect effect ) : void
effect CSharpSynth.Effects.BasicAudioEffect
Résultat void

ClearEffects() public méthode

public ClearEffects ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetNext() public méthode

public GetNext ( byte buffer ) : void
buffer byte
Résultat void

GetNext() public méthode

public GetNext ( float buffer ) : void
buffer float
Résultat void

LoadBank() public méthode

public LoadBank ( string filename ) : bool
filename string
Résultat bool

NoteOff() public méthode

public NoteOff ( int channel, int note ) : void
channel int
note int
Résultat void

NoteOffAll() public méthode

public NoteOffAll ( bool immediate ) : void
immediate bool
Résultat void

NoteOn() public méthode

public NoteOn ( int channel, int note, int velocity, int program ) : void
channel int
note int
velocity int
program int
Résultat void

RemoveEffect() public méthode

public RemoveEffect ( int index ) : void
index int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StreamSynthesizer() public méthode

public StreamSynthesizer ( int sampleRate, int audioChannels, int bufferSize, int maxpoly ) : System
sampleRate int
audioChannels int
bufferSize int
maxpoly int
Résultat System

SwitchBank() public méthode

public SwitchBank ( int index ) : void
index int
Résultat void

UnloadBank() public méthode

public UnloadBank ( ) : bool
Résultat bool

UnloadBank() public méthode

public UnloadBank ( int index ) : bool
index int
Résultat bool

resetSynthControls() public méthode

public resetSynthControls ( ) : void
Résultat void

setAllChannelPitchBend() public méthode

public setAllChannelPitchBend ( float semitones ) : void
semitones float
Résultat void

setAllChannelSlowPitchBend() public méthode

public setAllChannelSlowPitchBend ( float semitones ) : void
semitones float
Résultat void

setPan() public méthode

public setPan ( int channel, float position ) : void
channel int
position float
Résultat void

setPitchBend() public méthode

public setPitchBend ( int channel, float semitones ) : void
channel int
semitones float
Résultat void

setSequencer() public méthode

public setSequencer ( MidiSequencer sequencer ) : void
sequencer MidiSequencer
Résultat void

setVolume() public méthode

public setVolume ( int channel, float position ) : void
channel int
position float
Résultat void