108 lines
No EOL
1.9 KiB
C
108 lines
No EOL
1.9 KiB
C
#include <avr/io.h>
|
|
#include <avr/interrupt.h>
|
|
#include <avr/pgmspace.h>
|
|
|
|
#define VIBRATO_LUT_LENGTH 100
|
|
|
|
const float VIBRATO_LUT[VIBRATO_LUT_LENGTH] = { \
|
|
1.00045346811453,
|
|
1.00090535101508,
|
|
1.00135386178926,
|
|
1.00179722447259,
|
|
1.00223368114872,
|
|
1.0026614990145,
|
|
1.00307897737994,
|
|
1.00348445457284,
|
|
1.00387631471807,
|
|
1.00425299436105,
|
|
1.00461298890553,
|
|
1.00495485883603,
|
|
1.00527723569589,
|
|
1.00557882779254,
|
|
1.00585842560279,
|
|
1.00611490685176,
|
|
1.00634724124066,
|
|
1.00655449479987,
|
|
1.00673583384565,
|
|
1.00689052852052,
|
|
1.00701795589922,
|
|
1.00711760264454,
|
|
1.0071890671992,
|
|
1.00723206150266,
|
|
1.0072464122237,
|
|
1.00723206150266,
|
|
1.0071890671992,
|
|
1.00711760264454,
|
|
1.00701795589922,
|
|
1.00689052852052,
|
|
1.00673583384565,
|
|
1.00655449479987,
|
|
1.00634724124066,
|
|
1.00611490685176,
|
|
1.00585842560279,
|
|
1.00557882779254,
|
|
1.00527723569589,
|
|
1.00495485883603,
|
|
1.00461298890553,
|
|
1.00425299436105,
|
|
1.00387631471807,
|
|
1.00348445457284,
|
|
1.00307897737994,
|
|
1.0026614990145,
|
|
1.00223368114872,
|
|
1.00179722447259,
|
|
1.00135386178926,
|
|
1.00090535101508,
|
|
1.00045346811453,
|
|
1,
|
|
0.999546737425598,
|
|
0.999095467903976,
|
|
0.998647968674285,
|
|
0.998205999748565,
|
|
0.99777129706302,
|
|
0.997345565759612,
|
|
0.996930473622346,
|
|
0.996527644691494,
|
|
0.996138653077835,
|
|
0.99576501699778,
|
|
0.995408193048995,
|
|
0.995069570744927,
|
|
0.994750467325326,
|
|
0.994452122858643,
|
|
0.994175695650927,
|
|
0.993922257974591,
|
|
0.99369279212925,
|
|
0.993488186845591,
|
|
0.993309234042139,
|
|
0.993156625943589,
|
|
0.993030952568311,
|
|
0.99293269959154,
|
|
0.992862246589715,
|
|
0.992819865670409,
|
|
0.992805720491269,
|
|
0.992819865670409,
|
|
0.992862246589715,
|
|
0.99293269959154,
|
|
0.993030952568311,
|
|
0.993156625943589,
|
|
0.993309234042139,
|
|
0.993488186845591,
|
|
0.99369279212925,
|
|
0.993922257974591,
|
|
0.994175695650927,
|
|
0.994452122858643,
|
|
0.994750467325326,
|
|
0.995069570744927,
|
|
0.995408193048995,
|
|
0.99576501699778,
|
|
0.996138653077835,
|
|
0.996527644691494,
|
|
0.996930473622346,
|
|
0.997345565759612,
|
|
0.99777129706302,
|
|
0.998205999748565,
|
|
0.998647968674285,
|
|
0.999095467903976,
|
|
0.999546737425598,
|
|
1
|
|
}; |