183 Commits

Author SHA1 Message Date
Stepland
481f732bc2 Allow closing the History window with the upper right button 2022-10-11 20:32:20 +02:00
Stepland
8f58f79aa6 Leave note claps off by default 2022-10-11 20:26:15 +02:00
Stepland
93bd23d031 Update docs to mention gcc-10 requirement 2022-10-11 10:15:33 +02:00
Stepland
59360856d8 Support for silent playback 2022-10-11 01:54:43 +02:00
Stepland
1615e3e2c5 Changelog stuff 2022-10-08 01:11:36 +02:00
Stepland
59b714c342 Hoooly shit it seems to be working now 2022-10-08 01:01:49 +02:00
Stepland
beaea91380 Slowly getting there but we still have some bugs 2022-10-07 01:47:45 +02:00
Stepland
68e6eaff32 HOLY FUCK I FIXED THIS BUG
Turns out I was mutiating timeOffset in each loop iteration instead of just pre-computing the pre-pitched timeoffset once before setting it, so these mutations added up,

Also there was something to do with the fact that SynchedSoundStream should be informed of a pitch change *before* asking it to update the streams
2022-10-06 00:43:17 +02:00
Stepland
6555cb168e I don't understand a single *THING* that's happenning but the reported times are wrong and always have something to do with the pitch being multiplied one extra time 2022-10-05 01:42:50 +02:00
Stepland
54aef06e04 Refactor claps and ticks a bit 2022-10-04 22:32:11 +02:00
Stepland
ce5f162b25 Actually the lag correction is supposed to always be multiplied by the pitch no matter what 2022-10-04 01:07:38 +02:00
Stepland
bc6b39f800 change some comments 2022-10-04 00:46:28 +02:00
Stepland
568a9770ff fix playback instantly pausing when starting at the end of the file
I don't understand every detail but this was fixed by making sure the other streams in the SyncedSoundStreams also have fillAndPushBuffer called one last time when one of them requests stop
2022-10-04 00:42:08 +02:00
Stepland
319fbaac4f yeah I absolutely know how to write audio callbacks 2022-10-03 01:30:17 +02:00
Stepland
58de43883d ah yes ... an audio callback 2022-10-02 01:42:25 +02:00
Stepland
317616c86e WIP making note claps and beat ticks pitch-invariant 2022-09-30 01:33:34 +02:00
Stepland
e9bfb69d36 Trunc down reported buffer size to closest multiple of the number of channels, otherwise openAL complains about the buffer size and makes the stream stop early 2022-09-29 23:44:38 +02:00
Stepland
ed0b43c375 Fix playback when there's no music 2022-06-11 03:31:33 +02:00
Stepland
f09f6b66b3 Working beat tick + simpler stream change method 2022-06-11 02:26:46 +02:00
Stepland
51c2bd8c37 Make note claps more responsive to changes 2022-06-10 00:41:09 +02:00
Stepland
b6e8d2b622 More things working with claps 2022-06-09 00:28:21 +02:00
Stepland
d22d80a3e5 Use a lock-free queue to send stream change requests to the playback thread 2022-06-08 01:05:11 +02:00
Stepland
ab57a1c8f1 ITFUCKIGNWORKS ???? 2022-06-01 00:26:36 +02:00
Stepland
9481cb8c3b synced sound stream : revenge 2022-05-31 01:21:12 +02:00
Stepland
b01b861d38 synced sound stream the hard way ? 2022-05-11 00:09:30 +02:00
Stepland
79d401727e Fix beat ticks 2022-04-23 17:30:45 +02:00
Stepland
e56b46ff76 Fix rectangle outline size and fill opacity in Linear View 2022-04-23 16:49:12 +02:00
Stepland
b9e1506846 Draw the linear view entirely with dearimgui's low level api 2022-04-22 01:56:28 +02:00
Stepland
18aae38536 Display BPM Changes 2022-04-20 14:46:07 +02:00
Stepland
e90c4f1f32 More stuff, see changelog 2022-04-19 23:13:18 +02:00
Stepland
ec3779e1b4 Fix some bugs with the fractions 2022-04-19 12:59:17 +02:00
Stepland
7e93ea6845 Go back to using a Notes object to store stuff because now move assignament works for interval trees ! 2022-04-19 02:07:56 +02:00
Stepland
44a19ad452 Update interval tree to fix move assignement bug 2022-04-19 01:24:58 +02:00
Stepland
78da6fa001 Fix mousewheel+arrow movement
inserting a long note no longer crashes
Inserting a long note now overwrites notes it intersects with
long notes are now properly displayed
2022-04-16 05:25:03 +02:00
Stepland
d36a5ace80 Complete property-based testing of memon loading + a lot of refactoring still 2022-04-16 02:26:37 +02:00
Stepland
bd8a9e7b4f Update interval_tree with bugfixes for rbeing() and the like 2022-04-15 12:53:16 +02:00
Stepland
5a6855564f Stuck in boilerplate hell 2022-04-14 01:26:31 +02:00
Stepland
d19eaae95e IT COMPILES ??? 2022-04-14 00:13:38 +02:00
Stepland
bed3817534 Fix fraction to decimal conversion function 2022-04-13 10:36:31 +02:00
Stepland
65388c8335 More tests, getting stuck on the fraction to Decimal conversion ... 2022-04-13 02:29:33 +02:00
Stepland
6adf48cb77 Update interval_tree.hpp 2022-04-12 23:00:31 +02:00
Stepland
dcb0614bf6 RapidTest seem to hit an infinite loop when trying to generate a given tuple 2022-04-12 01:02:49 +02:00
Stepland
a5fe10600f Refactor Notes load/dumping 2022-04-11 01:50:25 +02:00
Stepland
be1eeaf21e Tests with rapidcheck ! 2022-04-11 01:25:24 +02:00
Stepland
f5d6199f27 Porting rapidcheck to meson 2022-04-10 13:08:41 +02:00
Stepland
be7219ad3d IT COMPILES
IIIIIT COMPIIIIIIILES
2022-04-09 00:54:06 +02:00
Stepland
32ea4b309b clangd is still absolutely sharting itself, I have to go the old-fashioned way and fix compiler errors one at a time ... 2022-04-07 00:14:01 +02:00
Stepland
3ab51d5bb1 a 2022-04-06 15:47:04 +02:00
Stepland
021f4e1aa4 a 2022-04-04 22:03:10 +02:00
Stepland
d66217b6c5 We are now somewhere in the main function 2022-04-04 04:30:02 +02:00