FabGL
ESP32 Display Controller and Graphics Library
VICNoiseGenerator Class Reference

Emulates VIC6561 (VIC20) noise generator. More...

#include <soundgen.h>

Inheritance diagram for VICNoiseGenerator:

Public Member Functions

uint32_t duration ()
 Returns number of remaining samples to play. More...
 
void enable (bool value)
 Enables or disabled this generator. More...
 
bool enabled ()
 Determines whether this generator is enabled or disabled. More...
 
int getSample ()
 Gets next sample. More...
 
uint16_t sampleRate ()
 Determines the sample rate. More...
 
void setAutoDestroy (bool value)
 Sets autodestroy mode. More...
 
void setAutoDetach (bool value)
 Sets autodetach mode. More...
 
void setDuration (uint32_t value)
 Sets number of samples to play. More...
 
void setFrequency (int value)
 Sets output frequency. More...
 
void setSampleRate (int value)
 Sets the sample rate. More...
 
void setVolume (int value)
 Sets volume of this generator. More...
 
int volume ()
 Determines current volume. More...
 

Detailed Description

Emulates VIC6561 (VIC20) noise generator.

Inspired from a reverse enginnered VHDL code: http://www.denial.shamani.dk/bb/viewtopic.php?t=8733&start=210

Definition at line 283 of file soundgen.h.


The documentation for this class was generated from the following files: