Commit graph

12 commits

Author SHA1 Message Date
Thomas Kolb 1ed1717c62 Merge branch 'lua'
This combines LUA scripting support with the highly optimized FFT
algorithm.

Conflicts:
	Makefile
	main.c
2012-11-22 19:53:49 +01:00
Thomas Kolb c09ff65f79 Start counting from 0 in LUT generator 2012-11-21 22:07:23 +01:00
Thomas Kolb f6173965f5 FFT now uses a lookup-table for sin and cos values
On x86, this makes the program approx. 5 times faster.
2012-09-03 18:50:11 +02:00
Thomas Kolb 9f196ba5e2 Make the value type configurable
Currently, value_type is typedef'd as double.
2012-09-03 17:16:14 +02:00
Thomas Kolb cc276ffc7e [run-scripts] Fixed some bugs 2012-08-08 23:01:00 +02:00
Thomas Kolb 751ef5f24d [lua] Added pulsecircle script 2012-08-08 22:59:43 +02:00
Thomas Kolb 6a127ea497 Center of pulsetunnel is now between 2 modules
The LED strip has an even number of modules, so this change makes the
animation completely symmetrical.
2012-07-29 23:46:03 +02:00
Thomas Kolb bac8df287c Make VU meter symmetrical to center module 2012-07-29 23:45:14 +02:00
Thomas Kolb c15d815da9 Exact reimplementation of "old" C algo in LUA 2012-07-29 22:28:41 +02:00
Thomas Kolb d4a2e7ef4c Added lua scripting capabilities
- basic configuration is now done via a lua script
- all the animation is generated by a lua script (see pulsetunnel.lua
  and vumeter.lua for examples)
- basic calculations (FFT, RMS) are done in C and accessible on demand
  from the lua scripts
2012-07-28 01:30:20 +02:00
Thomas Kolb 29b576377b Added run script for data coming in over a TCP connection 2012-07-24 19:49:44 +02:00
Thomas Kolb cf8193e421 Initial commit von Musiclight 2 2012-07-13 21:18:35 +02:00