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