jacqueline
51bbb6a495
Add a stream source that generates a sine wave
2024-05-16 12:21:05 +10:00
jacqueline
c1f7adf227
Add a 'decoder' for streams already in our native format
2024-05-16 12:20:50 +10:00
jacqueline
4c9b77ea13
Support setting the samd charge rate
...
We default to the fast one, and do not try setting the charge rate bit
on older samd versions
2024-05-15 15:57:16 +10:00
jacqueline
00d6c2eca2
save lra calibration data to nvs
2024-05-14 15:21:21 +10:00
jacqueline
defe838ab0
Use LRA motors in an auto-calibrated closed-loop mode
2024-05-14 13:14:10 +10:00
jacqueline
41426151a1
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-05-10 14:28:03 +10:00
jacqueline
1d0ad4cbf9
stop writing the erm bit
2024-05-10 14:27:42 +10:00
ailurux
e06610f3a6
Minor fixes before PR
2024-05-10 13:27:01 +10:00
ailurux
ee5657cb44
Fix imports after merge
2024-05-10 13:07:12 +10:00
ailurux
3f177cdb88
Merge branch 'main' into file-browser
2024-05-10 13:06:20 +10:00
ailurux
e4ce7c4ac2
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-05-10 12:20:51 +10:00
ailurux
5b109ed327
Tweaks to default d-pad controls
2024-05-10 12:20:25 +10:00
jacqueline
2afeb2989b
use long-press shortcuts again, but make them a bit harder to trigger accidentally
2024-05-09 17:05:54 +10:00
jacqueline
690c64c151
Fix playback after restoring queue on boot
2024-05-09 10:59:49 +10:00
jacqueline
265049c519
Count samples going in and out of the drain buffer
...
This is a more accurate way of knowing which track is playing when, and
also simplifies a lot of fragile logic in audio_fsm
2024-05-08 16:03:03 +10:00
jacqueline
b242ba9986
Improve decoder's interface to accept streams
2024-05-07 14:19:19 +10:00
ailurux
8019c76918
File browser and track browser bug fixes
2024-05-06 15:48:04 +10:00
ailurux
eeb3f2d406
WIP: File browser, needs bug fixes
2024-05-06 12:36:16 +10:00
jacqueline
344a46d066
Respond to sd card mounts and unmounts within lua
...
Includes no longer blocking the main menu on an sd card being inserted!!
2024-05-03 16:40:39 +10:00
jacqueline
9fafd797a5
split c blobs of graphics data into their own component
...
silences some compiler warnings from using c++ flags with c
2024-05-03 10:38:54 +10:00
jacqueline
26eb580043
move driver includes into a subdir as well
2024-05-02 21:52:59 +10:00
jacqueline
7d7f7755d1
start moving include files into subdirs
2024-05-02 21:41:56 +10:00
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
2024-05-02 19:12:26 +10:00
ailurux
fb3d6a7b86
WIP: Add destructor for FileIterator
2024-05-02 17:08:40 +10:00
jacqueline
a231fd1c8a
Replace cpp::span shim with std::span
2024-05-02 17:06:25 +10:00
ailurux
4aed95a3cd
WIP: Lua filesystem starting point
2024-05-02 17:02:58 +10:00
jacqueline
1736f7874b
Use double-clicks instead of long-presses for wheel shortcuts
2024-04-29 13:53:11 +10:00
jacqueline
b255ea799e
Add lua bindings for override input hooks
2024-04-29 12:42:16 +10:00
jacqueline
920345b940
Support getting a tree of controls + hooks via lua
2024-04-24 16:06:10 +10:00
jacqueline
531475e351
Enable bluetooth after boot, not during boot
...
This avoids some bluetooth-related devices being delivered before
BootComplete
2024-04-23 10:19:25 +10:00
jacqueline
84dbe074c5
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-04-22 16:06:51 +10:00
jacqueline
db9e5cce1f
Improve handling of the display
...
- Blank the display when locking to prevent burn-in
- Delay turning the display on until *exactly* after the first lvgl flush
- Init the display in the ui task to avoid blocking the rest of boot
2024-04-22 16:00:53 +10:00
ailurux
4eb1a074f7
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-04-22 09:48:21 +10:00
ailurux
dfccf56f34
Add support for 64-bit float wav files
2024-04-22 09:48:08 +10:00
jacqueline
5b99267cb9
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-04-19 16:52:33 +10:00
jacqueline
8e113ea9ae
squash a bunch of warnings
2024-04-19 16:51:53 +10:00
Robin Howard
7c075cf5b7
Adds LRA haptic support (open-loop only for now).
2024-04-19 16:03:53 +10:00
Robin Howard
e39754ba10
Fix DRV2065L register usage: we were accidentally setting control2 when we meant control3.
2024-04-19 16:03:53 +10:00
jacqueline
727847017d
Add a button to update the samd's firmware
2024-04-19 12:44:44 +10:00
ailurux and cooljqln
7f630cebdd
daniel/recycler-list ( #66 )
...
@cooljqln should be good to merge to main, give it a look over though please? :)
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/66
Co-authored-by: ailurux <ailuruxx@gmail.com >
Co-committed-by: ailurux <ailuruxx@gmail.com >
2024-04-19 02:06:37 +00:00
jacqueline
cc255f6d77
Suspend property bindings when their screens aren't visible
2024-04-18 10:06:45 +10:00
jacqueline
874218e3ff
Fix some bt device issues
...
- Don't allow adjusting volume if there's no device
- Cap bt nvs values correctly
- Persist bt volumes correctly even when the encoded for has a null
byte (facepalm 4 me)
2024-04-15 14:53:41 +10:00
jacqueline
1baaa6dadc
Use more generic 'hooks' for each input device's actions
2024-04-15 14:18:20 +10:00
jacqueline
166e8feb3c
copy audacious' math it looks good
2024-04-12 15:11:56 +10:00
jacqueline
ade0094595
switch to software volume scaling (it's bad tho i need daniel to do maths for me please)
2024-04-12 14:36:03 +10:00
cooljqln
dd1ea595a7
Merge pull request 'jqln/input-devices' ( #62 ) from jqln/input-devices into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/62
Reviewed-by: ailurux <ailurux@noreply.codeberg.org >
2024-04-11 07:02:53 +00:00
jacqueline
f580928cba
Remember the source of the previous track when opening a new one
2024-04-11 16:38:34 +10:00
jacqueline
d1bf21fcf7
exec a config file on sd
2024-04-11 15:42:24 +10:00
jacqueline
33919e9e3f
Migrate all existing control schemes to the cool new world
2024-04-11 15:16:35 +10:00
jacqueline
ed82063af5
WIP decompose our giant LVGL driver into smaller classes
2024-04-10 16:56:10 +10:00