C# Class UnityGB.VoluntaryWaveGenerator

Mostrar archivo Open project: Takohi-Jona/unity-gb Class Usage Examples

Public Methods

Method Description
Play ( byte b, int numSamples, int numChannels ) : void
SetChannel ( int chan ) : void
SetFrequency ( int gbFrequency ) : void
SetLength ( int gbLength ) : void
SetSamplePair ( int address, int value ) : void
SetSampleRate ( int sr ) : void
SetVolume ( int volume ) : void
VoluntaryWaveGenerator ( int rate ) : System.Collections
VoluntaryWaveGenerator ( int waveLength, int ampl, int duty, int chan, int rate ) : System.Collections

Method Details

Play() public method

public Play ( byte b, int numSamples, int numChannels ) : void
b byte
numSamples int
numChannels int
return void

SetChannel() public method

public SetChannel ( int chan ) : void
chan int
return void

SetFrequency() public method

public SetFrequency ( int gbFrequency ) : void
gbFrequency int
return void

SetLength() public method

public SetLength ( int gbLength ) : void
gbLength int
return void

SetSamplePair() public method

public SetSamplePair ( int address, int value ) : void
address int
value int
return void

SetSampleRate() public method

public SetSampleRate ( int sr ) : void
sr int
return void

SetVolume() public method

public SetVolume ( int volume ) : void
volume int
return void

VoluntaryWaveGenerator() public method

public VoluntaryWaveGenerator ( int rate ) : System.Collections
rate int
return System.Collections

VoluntaryWaveGenerator() public method

public VoluntaryWaveGenerator ( int waveLength, int ampl, int duty, int chan, int rate ) : System.Collections
waveLength int
ampl int
duty int
chan int
rate int
return System.Collections