Mozzi  alpha 0.01.1t
sound synthesis library for Arduino
 All Classes Functions Typedefs
tables/waveshape_tanh_int8.h
00001 #ifndef WAVESHAPE_TANH_H_
00002 #define WAVESHAPE_TANH_H_
00003 
00004 #include "Arduino.h"
00005 #include <avr/pgmspace.h>
00006 
00007 #define WAVESHAPE_TANH_NUM_CELLS 256
00008 
00009 const char __attribute__((progmem))  WAVESHAPE_TANH_DATA [256]  =
00010         {
00011                 -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127,
00012                 -127, -127, -127, -127, -127, -127, -126, -126, -126, -126, -126, -126, -126,
00013                 -126, -126, -126, -126, -125, -125, -125, -125, -125, -125, -125, -124, -124,
00014                 -124, -124, -124, -124, -123, -123, -123, -123, -122, -122, -122, -122, -121,
00015                 -121, -121, -120, -120, -120, -119, -119, -118, -118, -117, -117, -116, -116,
00016                 -115, -115, -114, -113, -113, -112, -111, -111, -110, -109, -108, -107, -107,
00017                 -106, -105, -104, -103, -101, -100, -99, -98, -97, -95, -94, -93, -91, -90, -88,
00018                 -86, -85, -83, -81, -79, -78, -76, -74, -72, -70, -67, -65, -63, -61, -58, -56,
00019                 -54, -51, -48, -46, -43, -41, -38, -35, -32, -29, -27, -24, -21, -18, -15, -12,
00020                 -9, -6, -3, 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 29, 32, 35, 38, 41, 43, 46, 48,
00021                 51, 54, 56, 58, 61, 63, 65, 67, 70, 72, 74, 76, 78, 79, 81, 83, 85, 86, 88, 90,
00022                 91, 93, 94, 95, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 107, 108, 109,
00023                 110, 111, 111, 112, 113, 113, 114, 115, 115, 116, 116, 117, 117, 118, 118, 119,
00024                 119, 120, 120, 120, 121, 121, 121, 122, 122, 122, 122, 123, 123, 123, 123, 124,
00025                 124, 124, 124, 124, 124, 125, 125, 125, 125, 125, 125, 125, 126, 126, 126, 126,
00026                 126, 126, 126, 126, 126, 126, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127,
00027                 127, 127, 127, 127, 127, 127, 127, 127, 127
00028         };
00029 
00030 #endif /* WAVESHAPE_TANH_H_ */