C# Class UnityGB.VoluntaryWaveGenerator

Afficher le fichier Open project: Takohi-Jona/unity-gb Class Usage Examples

Méthodes publiques

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

public Play ( byte b, int numSamples, int numChannels ) : void
b byte
numSamples int
numChannels int
Résultat void

SetChannel() public méthode

public SetChannel ( int chan ) : void
chan int
Résultat void

SetFrequency() public méthode

public SetFrequency ( int gbFrequency ) : void
gbFrequency int
Résultat void

SetLength() public méthode

public SetLength ( int gbLength ) : void
gbLength int
Résultat void

SetSamplePair() public méthode

public SetSamplePair ( int address, int value ) : void
address int
value int
Résultat void

SetSampleRate() public méthode

public SetSampleRate ( int sr ) : void
sr int
Résultat void

SetVolume() public méthode

public SetVolume ( int volume ) : void
volume int
Résultat void

VoluntaryWaveGenerator() public méthode

public VoluntaryWaveGenerator ( int rate ) : System.Collections
rate int
Résultat System.Collections

VoluntaryWaveGenerator() public méthode

public VoluntaryWaveGenerator ( int waveLength, int ampl, int duty, int chan, int rate ) : System.Collections
waveLength int
ampl int
duty int
chan int
rate int
Résultat System.Collections