Commit Graph

133 Commits

Author SHA1 Message Date
vsariola
01226a2910 feat(tracker, gioui): add ability & button to delete tracks.
Refer #46.
2021-03-11 22:26:42 +02:00
vsariola
87f373370e feat(gioui): add empty cell grid lines to order list
Refer #48.
2021-03-11 22:14:33 +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
99dbdfe223 feat: add the ability to use Sointu as a sync-tracker
There is a new "sync" opcode that saves the top-most signal every 256 samples to the new "syncBuffer" output. Additionally, you can enable saving the current fractional row as sync[0], avoiding calculating the beat in the shader, but also calculating the beat correctly when the beat is modulated.
2021-03-09 23:52:33 +02:00
vsariola
c7448699b6 fix(gioui): disable file load / save dialogs in browser
This at least gets the program to compile into js as sqweek does not work in browser, but we really need to look for a long term solution. How to load & save songs in browser?
2021-03-04 11:21:20 +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
vsariola
fd1d018e82 feat(tracker): adding and deleting order rows, also backward and forward deletes 2021-02-18 22:48:48 +02:00
vsariola
a27494e17d feat(tracker): implement alerts that display useful notifications / errors
In particular, we show notification after the user has copied something to clipboard (#34) and when there is a patch compile error (#38).
2021-02-17 23:30:07 +02:00
vsariola
319fc5e853 fix(tracker): stack labels display error whenever the stack is not exactly 0 2021-02-17 17:51:06 +02:00
vsariola
2f0c9a9f04 tracker: improve the layout of unit editing buttons 2021-02-17 17:42:21 +02:00
vsariola
692615c76d feat(tracker): add scroll bars to lists
Closes #8
2021-02-17 17:10:38 +02:00
vsariola
12d5d392c5 tracker: only one "hex" checkbox in the tracker title bar
Closes #28
2021-02-17 17:10:38 +02:00
vsariola
da6cc0a2b8 fix(tracker): only add NoteOffs when keyjazz key is released during notetracking 2021-02-16 23:30:59 +02:00
vsariola
b095b799a0 feat(tracker): clicking on the parameter label when the parameter is already selected resets the parameter
Closes #17
2021-02-16 23:25:21 +02:00
vsariola
d49e0a6bc8 fix(tracker): accept '<' and '>' keycodes for changing octave too
Probably fixes issue #13, but cannot test as I don't have a Mac.
2021-02-16 22:53:19 +02:00
vsariola
b21bade6b5 tracker: make key.DeleteForward & key.DeleteBackward do same thing
Closes #9
2021-02-16 22:45:30 +02:00
vsariola
c3788e1a24 feat(tracker): highlight beats / every second beat in the tracker
Closes #30
2021-02-16 22:42:32 +02:00
vsariola
2853509d1d fix(tracker): CurrenParam / CurrentUnit were incorrectly updated
Closes #21, #20
2021-02-16 22:04:15 +02:00
vsariola
09a9f072cc feat(tracker): copy instrument to & paste from clipboard
Closes #25
2021-02-16 21:45:25 +02:00
vsariola
088bbc6c58 feat(tracker): add a rudimentary VU-meter to show master volume, peaks & clipping
Closes #16
2021-02-16 17:27:21 +02:00
vsariola
962d0f1152 fix(tracker): when the track editor was scrolled, the jump pointer event regions were wrong 2021-02-16 17:27:21 +02:00
vsariola
803184cbe7 feat(tracker): add step parameter to advance cursor after edit
The step is currently in the song panel; might consider putting it somewhere else.

Closes #6
2021-02-16 17:27:21 +02:00
vsariola
366a05c766 tracker: remove old unused code 2021-02-16 08:47:48 +02:00
vsariola
c781c24ae6 feat(tracker): add F1-F8 shortcut keys for changing editmode / playing
Related to #14
2021-02-15 23:57:35 +02:00
vsariola
25a4bfd5ac tracker: adjust the default split ratio to be more sensible
Closes #23
2021-02-15 23:31:00 +02:00
vsariola
94205b9ab2 feat(tracker): implement more proper menus, with Undo&Redo
Closes #24
2021-02-15 23:05:06 +02:00
vsariola
a470452e99 feat(tracker): add menu button for Paste
Closes #26
2021-02-15 19:30:18 +02:00
vsariola
712a4c927b fix(tracker): clicking anywhere outside a menu closes it but does not trigger other action
Closes #27
2021-02-15 19:21:54 +02:00
vsariola
070833ed9c feat(tracker): shortcut-N starts a new song project
Closes #29
2021-02-15 19:15:05 +02:00
vsariola
83d6277ae6 feat(sointu, tracker): find the send targets ports easily and use this to figure slider maximums dynamically
There is a new helper function in Sointu to find the target of a send. In future, compiler and others should be refactored to use this function to find send targets.

Closes #31
2021-02-15 19:11:13 +02:00
vsariola
0f136d544c fix(tracker): when instrument panel is clicked, only change EditMode when instruments
Changing to always EditUnits was causing unnecessarily going back from EditParameters.
2021-02-15 18:14:59 +02:00
vsariola
e93190892b fix(tracker): reduce visual jitter when adjusting unit parameter sliders
The solution is not to force the slider value when the user is dragging it.

Closes #33
2021-02-15 18:11:36 +02:00
vsariola
024245b780 fix(tracker): the unit type chooser list expands to the right
Also add helpful title label to explain what the unit type chooser does.

Closes #35
2021-02-15 17:57:04 +02:00
vsariola
c60f6e0f0e feat(tracker): make clicks change the focused panel 2021-02-14 21:32:27 +02:00
vsariola
07052f2530 refactor(tracker): delete unused constants from theme.go 2021-02-14 20:35:38 +02:00
vsariola
99d83472cc refactor(tracker): remove panels.go; panels are not used anymore 2021-02-14 20:21:17 +02:00
vsariola
394e2834e9 refactor(tracker): make NumericUpDown use widgetForIcon instead loading icons by itself 2021-02-14 20:20:40 +02:00
vsariola
24ebc99b92 refactor(tracker): move instrument related stuff from layout.go to instruments.go
the code related to handling instrument button actions definitely should be in instruments.go, not layout.go
2021-02-14 20:13:15 +02:00
vsariola
7c810ac052 refactor(tracker): delete old unused code for making buttons 2021-02-14 20:10:02 +02:00
vsariola
e2fcfbbc4a refactor(tracker): move C & D type shortcuts for layout.Context and layout.Dimensions to layout.go
layout.go is where the basic core of the layout should reside
2021-02-14 19:59:08 +02:00
vsariola
cece2d77d4 feat(tracker): go generate parses gm.dls and show slightly more sane gui for them 2021-02-14 19:54:30 +02:00
vsariola
4da225ec33 feat(tracker): allow copying and pasting songs to/from the window 2021-02-13 01:59:10 +02:00
vsariola
49456cb270 fix(tracker): update send targets when instruments/units are added/deleted/swapped 2021-02-13 00:28:06 +02:00
vsariola
4ed259ff17 fix(tracker): voices are now released when the synth is recompiled
fixes nasty noises from all voices being triggered with note 0
2021-02-12 09:14:57 +02:00
vsariola
d01657ab83 feat(tracker): add numeric up down to adjust number of voices per track 2021-02-12 08:43:27 +02:00
vsariola
10f53bdbf7 feat(sointu): rewrote sequencer to add support for keyjazzing 2021-02-11 23:20:13 +02:00