|
|
11 months ago | |
|---|---|---|
| .. | ||
| assets | 11 months ago | |
| README.md | 11 months ago | |
| lv_demo_music.c | 11 months ago | |
| lv_demo_music.h | 11 months ago | |
| lv_demo_music_list.c | 11 months ago | |
| lv_demo_music_list.h | 11 months ago | |
| lv_demo_music_main.c | 11 months ago | |
| lv_demo_music_main.h | 11 months ago | |
| screenshot1.gif | 11 months ago | |
The music player demo shows what kind of modern, smartphone-like user interfaces can be created on LVGL. It works the best with display with 480x272 or 272x480 resolution.
lv_conf.h or equivalent places set LV_USE_DEMO_MUSIC 1LV_DEMO_MUSIC_AUTO_PLAY enabled a ~60 sec demo will be played.lv_init() and initializing the drivers call lv_demo_music()assets/spectrum.py creates an array of spectrum values from a music. 4 band are created with 33 samples/sec: bass, bass-mid, mid, mid-treble.librosa with pip3 install librosapython sectrum.py my_file.mp3spectrum.h