FabGL
ESP32 Display Controller and Graphics Library

◆ getSample()

virtual int getSample ( )
pure virtual

Gets next sample.

Returns
Sample value as signed 8 bit (-128..127 range)

Implemented in SineWaveformGenerator, SquareWaveformGenerator, TriangleWaveformGenerator, SawtoothWaveformGenerator, NoiseWaveformGenerator, VICNoiseGenerator, and SamplesGenerator.