C# Класс UnityGB.VoluntaryWaveGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Play() публичный Метод

public Play ( byte b, int numSamples, int numChannels ) : void
b byte
numSamples int
numChannels int
Результат void

SetChannel() публичный Метод

public SetChannel ( int chan ) : void
chan int
Результат void

SetFrequency() публичный Метод

public SetFrequency ( int gbFrequency ) : void
gbFrequency int
Результат void

SetLength() публичный Метод

public SetLength ( int gbLength ) : void
gbLength int
Результат void

SetSamplePair() публичный Метод

public SetSamplePair ( int address, int value ) : void
address int
value int
Результат void

SetSampleRate() публичный Метод

public SetSampleRate ( int sr ) : void
sr int
Результат void

SetVolume() публичный Метод

public SetVolume ( int volume ) : void
volume int
Результат void

VoluntaryWaveGenerator() публичный Метод

public VoluntaryWaveGenerator ( int rate ) : System.Collections
rate int
Результат System.Collections

VoluntaryWaveGenerator() публичный Метод

public VoluntaryWaveGenerator ( int waveLength, int ampl, int duty, int chan, int rate ) : System.Collections
waveLength int
ampl int
duty int
chan int
rate int
Результат System.Collections