Commit Graph

18 Commits

Author SHA1 Message Date
vsariola
60e4518230 feat(tracker, gioui): make + and - keys adjust order numbers
Holding ctrl down while adjusting the order number keeps the song effectively same, but juggles pattern numbers. Useful for reorganizing song.
2021-05-15 14:19:46 +03:00
vsariola
7885c306ee feat(tracker, gioui): make a Editor for inputting the unit type manually
The keyboard shortcuts were too wonky, so removed them altogether. Had to remove also unit wrapping from model (now it just clamps the parameter to the current units) as it did not play nice with the new editor.

Closes #70.
2021-05-13 19:50:23 +03:00
vsariola
ede70380f2 feat(tracker, gioui): add menu item to remove all unused data from song
Reorders patterns and cuts them short and the order list short to remove all unused / unuseful (all holds) patterns.
2021-05-13 00:00:54 +03:00
vsariola
a2723829da refactor: implement Order and Pattern types: slices returning default values for out of bound indices 2021-05-12 12:08:55 +03:00
vsariola
5aa16b4a97 feat(tracker, gioui): add the ability to reorder / drag tracks in order list 2021-04-24 22:47:45 +03:00
vsariola
b2b15f825d refactor(tracker, gioui): get rid of EditMode, use gio focus instead 2021-04-24 22:07:56 +03:00
vsariola
40d4d6576e feat(sointu, tracker, gioui): add a comment field to the instrument 2021-04-19 21:24:29 +03:00
vsariola
2a9284473a feat(tracker, gioui): add little "*" symbol to indicate if a pattern is unique 2021-04-17 14:56:05 +03:00
vsariola
7893c1d1ed feat(tracker, gioui): add confirmation dialogs before quit/new/load song
This should avoid accidentally losing all work by destroying window.
2021-04-16 22:42:51 +03:00
vsariola
68a50247bd feat(tracker): make shift + left/right take 1 octace / 12 semitone steps in oscillator transpose
Closes #37
2021-04-12 19:25:11 +03:00
vsariola
8c7349de12 fix(tracker): prevent crashing when deleting notes without order list entry
Closes #59
2021-04-10 19:21:48 +03:00
vsariola
01226a2910 feat(tracker, gioui): add ability & button to delete tracks.
Refer #46.
2021-03-11 22:26:42 +02:00
vsariola
8a5d337775 feat(tracker): auto-create patterns when adding notes to empty area
Closes #53.
2021-03-11 21:58:56 +02:00
vsariola
adc12dde4f fix(tracker): when creating a new track, a pattern full of noteoffs was created
Creating such patterns is unnecessary and was a relic of the past. We can leave the order completely uninitialized and let the user fill it as needed.

Related to #54.
2021-03-11 21:45:00 +02:00
vsariola
079d5a9ef1 feat(tracker): wrap cursor in the song instead of clamping it
Closes #49
2021-03-04 11:21:19 +02:00
vsariola
a035845b81 reorganize things into different packages 2021-03-02 17:19:45 +02:00
vsariola
e46ece3648 feat(tracker): add rudimentary GUI for adjusting delay times 2021-03-01 20:42:37 +02:00
vsariola
adcf3ebce8 feat(sointu, tracker,...): restructure domain & tracker models
send targets are now by ID and Song has "Score" part, which is the notes for it. also, moved the model part separate of the actual gioui dependend stuff.

sorry to my future self about the code bomb; ended up too far and did not find an easy way to rewrite the history to make the steps smaller, so in the end, just squashed everything.
2021-02-28 14:24:54 +02:00