C# Class UnityGB.SquareWaveGenerator

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
SetDutyCycle ( int duty ) : void
SetEnvelope ( int initialValue, int numSteps, bool increase ) : void
SetFrequency ( int gbFrequency ) : void
SetLength ( int gbLength ) : void
SetLength3 ( int gbLength ) : void
SetSampleRate ( int sr ) : void
SetSweep ( int time, int num, bool decrease ) : void
SetVolume3 ( int volume ) : void
SquareWaveGenerator ( int rate ) : System.Collections
SquareWaveGenerator ( 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

SetDutyCycle() public méthode

public SetDutyCycle ( int duty ) : void
duty int
Résultat void

SetEnvelope() public méthode

public SetEnvelope ( int initialValue, int numSteps, bool increase ) : void
initialValue int
numSteps int
increase bool
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

SetLength3() public méthode

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

SetSampleRate() public méthode

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

SetSweep() public méthode

public SetSweep ( int time, int num, bool decrease ) : void
time int
num int
decrease bool
Résultat void

SetVolume3() public méthode

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

SquareWaveGenerator() public méthode

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

SquareWaveGenerator() public méthode

public SquareWaveGenerator ( 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