Commit Graph

345 Commits

Author SHA1 Message Date
Stepland
bed64b8718 Rectangle selection that has less quirks 2022-10-28 01:24:16 +02:00
Stepland
84f834f09a You can now drag a selection rectangle over the linear view, it has absolutely no effect for now 2022-10-27 22:08:56 +02:00
Stepland
d288662f64 BPMs you can interact with using the mouse WIP 2022-10-27 01:21:21 +02:00
Stepland
bb67e8df55 Save bpm changes in the history 2022-10-26 23:35:00 +02:00
Stepland
83cc08fb60 reload notes sounds on long note insert 2022-10-26 22:49:13 +02:00
Stepland
49cf53a996 Reload audio on bpm and note changes 2022-10-26 02:08:19 +02:00
Stepland
65f7e7a119 Basic BPM editing 2022-10-19 00:50:34 +02:00
Stepland
8deb0e7634 Properly distinguish when the initial state is saved 2022-10-15 00:26:28 +02:00
Stepland
f24c8dc31b Metadata history + edit now kind of works 2022-10-14 02:42:13 +02:00
Stepland
cff5b4f9b8 Add renaming and rerating history items 2022-10-13 00:59:40 +02:00
Stepland
dfdaea743f Display collising notes in the linear view 2022-10-11 22:16:19 +02:00
Stepland
102c5d4915 Allow setting a custom snap value 2022-10-11 21:23:29 +02:00
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