54 return FLASH_OR_RAM_READ<const int8_t>(table + in);
93 return FLASH_OR_RAM_READ<const int16_t>(table + in);
97 const int16_t * table;
WaveShaper(const int8_t *TABLE_NAME)
Constructor.
int8_t next(byte in)
Maps input to output, transforming it according to the table being used.
int next(int in)
Maps input to output, transforming it according to the table being used.
WaveShaper(const int16_t *TABLE_NAME)
Constructor.
WaveShaper maps values from its input to values in a table, which are returned as output.