aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: d3d5f722a072676f051055e7fb96ae2138661579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Turris light organ
==================
Simple script to blink with Turris leds to music. There is for now only
implementation using midi, but second implementation using wave and FFT is
planned.

Note: Before executing any of these scripts make sure that you have all leds
enabled: `rainbow all enable`

To reset to previous configuration of your leds run: `/etc/init.d/rainbow restart`

midi
----
Requirements:

* Python3
* Python3-pip
* mido and colour (Can be installed using pip)

```
opkg update
opkg install python3-pip
pip3 install mido colour
```

Now you should be able to run `tlo-midi.py` script. Input must be midi file. If
your midi file has more than one track, you might want to choose different one
using `-c` option.

Tested with following midi file: https://www.youtube.com/watch?v=6zCzeTUOBKg