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