aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio/vibrato_lut.h
diff options
context:
space:
mode:
authorGravatar Olivier <olivier@gid0.org>2016-04-30 16:03:52 +0200
committerGravatar Olivier <olivier@gid0.org>2016-04-30 16:03:52 +0200
commit09ea12f9ca96fa89a500a5965bf074c4347d300d (patch)
tree747caedcbd529d068d6794a72e65a5bef274ed8e /quantum/audio/vibrato_lut.h
parent9d48ba9713d17a8ebae99ef42bc7838402fc532f (diff)
parente7d56215deb253b44b190d12288076d03b206bdf (diff)
downloadqmk_firmware-09ea12f9ca96fa89a500a5965bf074c4347d300d.tar.gz
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/audio/vibrato_lut.h')
-rw-r--r--quantum/audio/vibrato_lut.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/quantum/audio/vibrato_lut.h b/quantum/audio/vibrato_lut.h
new file mode 100644
index 000000000..a2b1f3e5c
--- /dev/null
+++ b/quantum/audio/vibrato_lut.h
@@ -0,0 +1,28 @@
+#include <avr/io.h>
+#include <avr/interrupt.h>
+#include <avr/pgmspace.h>
+
+#define VIBRATO_LUT_LENGTH 20
+
+const float VIBRATO_LUT[VIBRATO_LUT_LENGTH] = { \
+1.00223368114872,
+1.00425299436105,
+1.00585842560279,
+1.00689052852052,
+1.0072464122237,
+1.00689052852052,
+1.00585842560279,
+1.00425299436105,
+1.00223368114872,
+1,
+0.99777129706302,
+0.99576501699778,
+0.994175695650927,
+0.993156625943589,
+0.992805720491269,
+0.993156625943589,
+0.994175695650927,
+0.99576501699778,
+0.99777129706302,
+1
+}; \ No newline at end of file