Commit Graph
892 Commits
Author SHA1 Message Date
jacqueline 7d3ddac0ea Merge branch 'main' into seek-support 2024-02-29 12:10:44 +11:00
jacqueline d41f9f7033 Use drflac instead of miniflac
This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
2024-02-29 12:08:12 +11:00
jacqueline 77145e56f4 basic working flac and mp3 seeking
flac impl is fairly slow as it doesn't use the seek tables; for some
reason miniflac seems to get *really* upset if you seek the stream.
2024-02-28 21:21:23 +11:00
cooljqln 9fca08f843 Merge pull request 'Add time.ticks to lua bridge' (#48) from lua-ticks into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/48
2024-02-28 00:18:16 +00:00
ailurux 5141c9f0bd Add time.ticks to lua bridge 2024-02-27 17:28:55 +11:00
jacqueline 26fc53b18b fix bad copypaste in docs 2024-02-27 13:25:49 +11:00
ailurux f54347794f WIP: Flac not working-- coming back to this later 2024-02-22 14:37:14 +11:00
jacqueline f9aec8b690 split the lua thread registry into its own files 2024-02-22 14:16:33 +11:00
jacqueline 4b2003c78a Make property bindings shared amongst all lua threads 2024-02-22 12:37:01 +11:00
jacqueline 2a25085503 version bump 2024-02-21 14:17:25 +11:00
jacqueline 28651fa7e1 Wait for the sink buffer to drain before stopping playback 2024-02-21 14:13:19 +11:00
jacqueline 29a246a733 Make the drain buffer very large, and move it into PSRAM
the i2s handler and streambuffer metadata are both still in iram for
good performance. otherwise, this seems to be enough to make gapless
playback work.
2024-02-21 14:12:23 +11:00
jacqueline 79be8a8e6e Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-20 11:56:24 +11:00
jacqueline 403bd4672c Update to latest libtags
Mostly for wav fixes
2024-02-20 09:29:58 +11:00
jacqueline 3f6256f9e6 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2024-02-19 09:41:47 +11:00
jacqueline c035ed2b4d Don't mark the current track as changed when falling off the end of the queue 2024-02-19 09:35:19 +11:00
ailurux 912060de1b Vorbis seeking impl 2024-02-16 17:08:45 +11:00
ailurux 19f60e33c4 Merge branch 'main' into seek-support 2024-02-16 17:02:54 +11:00
ailurux 0baad11b18 WIP: Vorbis seeking 2024-02-16 17:01:22 +11:00
ailurux aece1c6b58 Opus seeking impl 2024-02-16 16:48:53 +11:00
ailurux c60bb9ee42 Fix issue with seeking whilst paused 2024-02-16 16:19:12 +11:00
jacqueline 5866513c53 Move the list of unexplored files into spiram 2024-02-16 15:13:58 +11:00
ailurux d25e5860c7 Only update scrubber if not currently dragging 2024-02-16 15:10:45 +11:00
ailurux 665679b885 WIP: seeking in lua example 2024-02-16 12:55:11 +11:00
ailurux a49d754da6 Seeking working with hardcoded event, wav only 2024-02-16 10:57:47 +11:00
ailurux 62f6179abe Added offset for track seeking, wav impl. only rn 2024-02-15 16:12:07 +11:00
jacqueline 4509ab8d6e version bump 2024-02-15 09:38:02 +11:00
jacqueline c5917658e6 Cram one of the flac samples buffers into internal ram
Can't quite fit the second... yet. Just one is a pretty reasonable
speedup, though! Probably bc we're not hammering the spiram cache so
hard.
2024-02-14 17:48:13 +11:00
jacqueline 10770e0f54 Use -Ofast for all codecs that don't break with it 2024-02-14 17:47:46 +11:00
jacqueline 4bc77f901b Tweak opus build flags and allocs
This gets us to ~40% of one core cpu usage during playback. Good enough
for a while I reckon!

Paid for the internal ram usage by reclaiming some stack size headroom.
2024-02-14 16:56:49 +11:00
jacqueline f772ab9f20 put the big opus alloc back into spiram
it's not clear to me that it helps *that* much, since the ogg allocs are
in internal ram anyway, and the memory pressure is just a bit much
2024-02-14 13:28:05 +11:00
jacqueline 66f68aac0d version bump 2024-02-14 12:23:26 +11:00
jacqueline 7ec0ff2589 Switch to the lowmem tremor branch
in addition to using slightly less memory, this branch also doesn't seem
to have the same issues with `-O2` builds that the main branch has.
2024-02-14 12:21:33 +11:00
jacqueline b31bc07555 fix (improve?) libtremor strangeness
something fucky
2024-02-13 16:39:56 +11:00
jacqueline 3bb002b6b8 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-13 12:06:14 +11:00
jacqueline 786546653a include repeat, replay, and shuffle in persisted queue info 2024-02-13 12:05:12 +11:00
cooljqln e466522c25 Merge pull request 'scroll-sensitivity' (#36) from scroll-sensitivity into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/36
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2024-02-13 00:47:53 +00:00
ailurux ffa0894e38 Fixed clamp and write on scroll sensitivity 2024-02-13 11:35:18 +11:00
ailurux bbbe3a3d55 Updated sensitivity nvs store 2024-02-13 10:42:47 +11:00
ailurux 15f3da0f8c Merge branch 'main' into scroll-sensitivity 2024-02-13 10:32:59 +11:00
ailurux 26ae027d67 Sensitivity value now between 0 and 255 2024-02-13 10:31:48 +11:00
jacqueline cb379f4bc3 Cache pending nvs writes in memory
Includes refactoring nvs settings to be a bit less duplicated
2024-02-13 10:12:04 +11:00
ailurux 0426d245c8 Scroll sensitivity configurable, but inverted 2024-02-12 17:44:55 +11:00
jacqueline 79879fbfa0 version bump 2024-02-12 17:17:41 +11:00
jacqueline c5cef16c95 Remove some logging whoopsies 2024-02-12 17:16:38 +11:00
jacqueline 36f4c77fb2 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-12 17:10:03 +11:00
jacqueline 03c0968168 Let's try avoiding allocs in the bt stacks 2024-02-12 17:09:17 +11:00
jacqueline a37b517356 Improve handing of tracks with missing titles 2024-02-12 17:08:19 +11:00
jacqueline cb0c42060b more i2s/bt drain buffer size tweaks 2024-02-12 17:08:00 +11:00
jacqueline 26df5c4a7f Remember per-device bluetooth volume 2024-02-12 17:07:39 +11:00