jacqueline
32cee65809
Accept opus files that don't fully parse, remove opus-specific tag parser
...
The libtags change is a bit of a hack... I think we're running into
tracks that have long lyrics tags, which pushes the other tags out onto
the next ogg page?
1 year ago
jacqueline
ee867f2dbc
add an indicator for database updates
1 year ago
jacqueline
2626c0cffc
Do a db update after every mount
1 year ago
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
1 year ago
jacqueline
dad159dc3c
Use a single pool of bg workers instead of separate tasks per use case
...
Also: bump the number of workers tasks up to 3 from 2!
This makes bg db updates + playback work :)
1 year ago
jacqueline
587c585ba6
Don't unmount the sd card as aggressively
1 year ago
jacqueline
1494e08ea2
Handle read errors properly
1 year ago
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
1 year ago
jacqueline
eacea59e8a
Do more to avoid and recover from partial db updates
...
- do not power off in an update is in progress
- explicitly store last update time, rather than deriving it from
unchanged tracks.
1 year ago
jacqueline
c399199bfc
Improve handling of sd card changes during runtime
...
- mount if an sd card is inserted
- unmount if it's removed
1 year ago
jacqueline
04ff8bf492
Extract album artist from libtags-processed files
1 year ago
Robin Howard
429abd1237
Fix bug where calling TrackQueue's next() repeatedly would increase the position despite running off the end of the queue.
1 year ago
Robin Howard
3f1fadbeef
Plumb queue next+previous through to Lua, incl. with stubs and docs.
1 year ago
jacqueline
cd650b30bd
fix some lua stack leaks + add a console func to help debug
1 year ago
jacqueline
1525afe8aa
fix issue with unclipped dither
1 year ago
jacqueline
d1ae1a4230
on second thought, let's not violate patents. 'tis a silly system.
1 year ago
jacqueline
2d7f9fc775
calculate length for CBR mp3 files
1 year ago
jacqueline
200a43fad3
fix issues with some song info not appearing
1 year ago
jacqueline
c1b7a0c9f2
move lua ui-related data to spi ram
1 year ago
jacqueline
ea8a7b0f93
allocate lua properties in spi ram
1 year ago
jacqueline
c0ec19c496
fix some properties that got copied wrong
1 year ago
jacqueline
a81c7a8a86
split out track pushing
1 year ago
jacqueline
1f5249de6f
shift some long-lived allocs into spi ram
1 year ago
jacqueline
08d16e8580
whoops
1 year ago
jacqueline
a4d03fc704
Make reindex button work; no feedback yet
1 year ago
jacqueline
71b4673039
all screens basically working, but bluetooth is rough
1 year ago
jacqueline
7cdcd44e0c
Begin migration of remaining screens to Lua
1 year ago
ailurux
0e04eb918e
wav-codec ( #13 )
...
here is a wav decoder, enjoy!
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/13
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
1 year ago
jacqueline
55bde70b96
add accurate esp and samd versions + expose this info to lua
1 year ago
jacqueline
1b2d791a05
Use doubles instead of floats for lua numbers (this unpins the ui task)
1 year ago
jacqueline
abdc00fd2d
Add faad2 for aac decoding
1 year ago
jacqueline
44fdf69674
tweak wheel sensitivity, improve AKS for centre button
1 year ago
jacqueline
09eacb71f0
bringup r8 muting
1 year ago
jacqueline
0db85f5e9e
move default theme into styles, for easier lua overrides
1 year ago
jacqueline
e12a68a74d
split lua stubs into one set for ldoc, and one set for lua-ls
1 year ago
jacqueline
34cae4e6e4
add an alerts module for lua, and implement a volume indicator with it
1 year ago
jacqueline
938ba62f57
refactor handling of volume steps; improve controls
1 year ago
jacqueline
42a98a3799
disable group wrapping by default
1 year ago
jacqueline
44e6aee722
fix yet more mono i2s issues
1 year ago
jacqueline
b6d16a20a4
fix issues with leftover bytes in audio converter
1 year ago
jacqueline
5f0e16e97a
Support changing the usb msc state
1 year ago
jacqueline
d4a0085753
Fix some dither clipping issues
1 year ago
jacqueline
2ccaaf5724
Add dither when requantising >16 bit samples
1 year ago
jacqueline
8a260dad05
Fix sample::FromSigned to not shift by a negative amount
1 year ago
jacqueline
62d51a304e
replace foxenflac with miniflac
...
it's better!
1 year ago
jacqueline
876db2e7eb
Add the touchwheel button to the AKS channel
1 year ago
jacqueline
414f139ae3
Audio fsm usability tweaks
...
- persist the current volume when the screen locks
- pause playback if headphones are removed
1 year ago
Robin Howard
ae72566c0e
Have the unit not immediately sleep when starting up.
1 year ago
jacqueline
64b106c13e
add a cool lua repl
1 year ago
jacqueline
5a2f0b08e0
Centralise which level is 'locked'
1 year ago