Commit graph

23 commits

Author SHA1 Message Date
Thomas Kolb 4041923cc7 Update Lua API to support 2D LED arrays
It’s a whole new dimension!
2020-05-15 23:17:26 +02:00
Thomas Kolb 54609eae89 flame.lua: removed flickering bottom row 2019-12-17 22:10:25 +01:00
Thomas Kolb 3741a9dd12 Port flame.lua to "Musiclight Mini" 2019-12-17 22:09:53 +01:00
Thomas Kolb b3c1e3c895 Fixed build on openSUSE 2019-08-22 15:30:51 +02:00
Thomas Kolb d4e7d558bd New protocol for multiple strips 2018-08-14 21:52:33 +02:00
Thomas Kolb 0ae3492b82 Triple LED Stripe test 2018-06-30 01:42:34 +02:00
Thomas Kolb 0a76acd85b Ported musiclight to RGBW LEDs
Not all scripts are ported yet...
2018-06-24 22:23:39 +02:00
Thomas Kolb 57b2fa6cbc Lots of changes, too long ago to remember 2018-06-19 20:13:22 +00:00
Thomas Kolb 6a11b7a16c Fixed license notice 2013-02-02 21:54:53 +01:00
Thomas Kolb 3fda457f09 New version of pulsetunnel script
This is the pulsetunnel.lua script with a common maximum value derived
from the three color channels. Channels can be weighted using constants
in the lua script.

The new script generates more saturated colors in most musical
situations.
2012-11-26 17:52:06 +01:00
Thomas Kolb 4e1bd47217 Export some #defines to lua scripts 2012-11-26 17:51:30 +01:00
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