vsariola
f3cf4a52ce
feat(compiler, wasm): do not hard code memory addresses to uninitialized sections
...
Rather, allocate unitialized segments as needed.
2021-04-15 23:24:58 +03:00
vsariola
f330ccebf7
Update screenshot.
2021-04-13 13:05:16 +03:00
vsariola
e9affe31ae
Update README.md and screenshot
2021-04-12 20:42:32 +03:00
vsariola
0767440e60
fix(tracker): kill all notes except effects when starting play / skipping play position
...
Fixes #45 .
2021-04-12 20:15:55 +03:00
vsariola
ce52aa0ee9
feat(tracker, gioui): add error message if vuanalyzer detects a NaN
...
Closes #50
2021-04-12 20:05:43 +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
b4705c941f
feat(tracker, gioui): add visual indicators to show which instruments are playing
...
Closes #44
2021-04-11 17:51:34 +03:00
vsariola
1eca428801
feat(gioui): add confirmation dialog when deleting instrument
...
Closes #5
2021-04-11 16:46:07 +03:00
vsariola
a639e0c5e6
fix(gioui): in note editor, only step when user actually enters a note
2021-04-11 15:54:58 +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
4ce6abe1e8
fix(tracker): the mod function could return negative values with mod(-1,1)
...
Never copy-paste code from the internets
2021-04-10 19:17:38 +03:00
vsariola
d04895144b
feat(gioui): add scrollbar to the order list
2021-04-10 19:16:04 +03:00
vsariola
847967c7b7
feat(gioui): add single letter track titles to order list
2021-04-10 18:09:20 +03:00
vsariola
a44c27f4bb
update gioui to latest version
2021-04-10 17:06:52 +03:00
vsariola
58d29b19e9
sointu-compile: improve the printed help for command line options
2021-04-10 16:12:00 +03:00
vsariola
9a6d92eefd
feat(cmd): make current directory the default output directory in command line tools
2021-04-10 16:10:27 +03:00
vsariola
f713133a0a
feat(tests): test also gain parameter in envelopes
2021-04-10 15:58:02 +03:00
vsariola
fc89973848
fix(tests): make test_renderer return 1 if not enough parameters
2021-04-10 15:14:19 +03:00
vsariola
05e6f6da4e
fix(tests): in test_renderer.c, print errors to stderr instead of stdout
2021-04-10 15:13:45 +03:00
vsariola
f2f54c1579
optimize(templates): Use {{.DI}} consistently in the sinks to improve compression ratio.
2021-03-28 16:52:58 +03:00
vsariola
9a798df55a
optimize(templates): use pushf / popf to save & recall stereo bit, instead of bt [...]
2021-03-28 12:38:09 +03:00
vsariola
d5d9f48d2d
optimize(templates): use workspace instead of stack for filter temp var, results in less bytes & entropy
2021-03-28 12:37:26 +03:00
vsariola
822cb7bac5
optimize(templates): replace fld / fmulp with a direct fmul
2021-03-27 16:35:58 +02:00
vsariola
4c04f7a38c
optimize(templates): use test ah or test al instead of test {{.AX}} in op_send
2021-03-27 16:03:47 +02:00
vsariola
9b4608e31e
feat(vm): construct minimal delaytime table using greedy matching
...
The idea is to find a minimal array that contains all the delay times and then point all delay times into this array.
2021-03-26 23:07:20 +02:00
vsariola
763c4f5136
fix(templates): unison sample oscillators crashed on amd64
2021-03-24 23:49:14 +02:00
vsariola
b0918e65ff
fix(templates): add denormalization to compressor filter
2021-03-24 22:05:43 +02:00
vsariola
0c2b1a3856
fix(templates): stereo oscillators were messing up WRK
2021-03-24 00:18:12 +02:00
vsariola
c5972bc023
fix(vm): skip empty units when detecting what units are used
2021-03-24 00:17:10 +02:00
vsariola
dfc864d131
optimize(templates): allow distort to flow into su_waveshaper (again)
2021-03-23 15:07:45 +02:00
vsariola
8e55132ddd
fix(tracker): the tracker has been displaying the musical names for notes incorrectly
2021-03-22 19:36:00 +02:00
vsariola
cce99e6508
feat(vm): make the all empty pattern the zero pattern
...
Perhaps helps compression
2021-03-21 13:30:16 +02:00
vsariola
4b90c1c50a
optimize(templates): don't call compressor_mono if only using stereo compressor
2021-03-21 12:14:28 +02:00
vsariola
d2f4d5d851
optimize(templates): only include lfo if it's actually used
2021-03-21 12:06:58 +02:00
vsariola
3cbc500361
optimize(templates): don't use LEA in player, use MOV
...
Compresses better.
2021-03-21 11:46:51 +02:00
vsariola
c28bacdfc7
feat(templates): remove clipping from waveshaper; user can clip manually if needed
2021-03-21 11:28:03 +02:00
vsariola
452a2f6f04
feat(vm): reuse delaytimes if one has already been used before
2021-03-21 10:22:47 +02:00
vsariola
eb61fcb130
fix(vm): parameters with default values (no key in the unit parameter map) were not considered to be used in featureset
2021-03-20 18:46:10 +02:00
vsariola
42c9e045b7
feat: change the compressor unit to apply post-gain instead of pregain.
...
Pregaining ran into trouble: could not bring the signal level back to near 0dB. For example, with infinite ratio in the pre-gain system, the signal level was capped at threshold, which in turn ran into trouble with stereo signals.
2021-03-20 17:01:04 +02:00
vsariola
76cf47a070
optimize(templates): inline calls to __imp__*File on x86
...
(cherry picked from commit e8bf9cb6467686ba35895094ab804360ab736b5f)
2021-03-20 16:24:53 +02:00
vsariola
0f34674d7f
feat(templates): remove etc/drivers from gm.dls to optimize size
2021-03-20 16:24:43 +02:00
vsariola
38c0cea40f
refactor(templates,tests): make sync an extern instead of parameter to render
...
This is to be able to use CreateThread with su_render_song; let's worry about multicore rendering sometime in the future.
2021-03-20 16:23:51 +02:00
vsariola
8ef6de7ffd
feat(tracker): add titles showing which instrument(s) belong to a track
...
Refer #43
2021-03-14 21:14:48 +02:00
vsariola
5daf81f331
fix(tracker): avoid NaNs in volume analyzer better
2021-03-14 18:19:13 +02:00
vsariola
b6283cd13e
feat(tracker): add button to make note off and use "1" also as the key event
...
Closes #54
2021-03-14 18:10:29 +02:00
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
f9225d70a9
refactor(vm): extract polyphony bitmask calculation to its own function & document better
2021-03-10 09:34:23 +02:00
vsariola
43ef6fa72c
fix(sointu): fix sync data getting output from play & test it
2021-03-10 09:06:42 +02:00
vsariola
df9713865f
Update README.md
2021-03-10 00:08:09 +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
a3bdf565fd
feat(templates/amd64-386): add define to tell if we are using float samples
2021-03-05 20:50:43 +02:00
vsariola
b15de7f54a
fix(templates): the polyphonic player forgot about one push and read stack wrongly
2021-03-05 09:07:47 +02:00
vsariola
062180db1e
update README
2021-03-04 18:05:18 +02:00
vsariola
b7c326a0a7
update README & screenshot
2021-03-04 17:53:19 +02:00
vsariola
185173c821
fix(vm): the tests were broken, but not code
2021-03-04 14:37:57 +02:00
vsariola
cc80fe7317
fix(vm): patterns encoding was broken by the non-standard pattern lengths
2021-03-04 14:33:09 +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
0f942f73d9
fix(sointu): NumDelayLines did not take polyphony into account, resulting in panic
2021-03-04 11:16:05 +02:00
vsariola
6d2b63a5e9
feat(sointu, vm): implement pure-Go interpreter for bytecode
...
The old "native" compiler bridged version is now started with cmd/sointu-nativetrack,
while the new pure-Go bytecode implemented bytecode interpreter is started with
cmd/sointu-track
Thus, you do not need any of the CMake / cgo stuff to run cmd/sointu-track
2021-03-03 23:55:58 +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
3e7064e166
refactor(templates, tests): rename C-header defines consistently with Score.go
2021-02-28 16:07:55 +02:00
vsariola
048b36324c
fix(tests): test_render_samples_api forgot to initialize struct
...
Sometimes crashed, if the unitialized struct happened to contain garbage.
2021-02-28 15:40:06 +02:00
vsariola
248ca6e30b
templates: optimize sources.asm size
2021-02-28 15:14:06 +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
18d466803f
fix(sointu): fix StackUse calculation for empty unit (unit.Type == "")
2021-02-17 17:49:53 +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
0377cd4287
fix(cmd/sointu-play): accidentally used := in inner scope, leading to nil error
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
f8ec857c16
CI: fix the wabt version to 1.0.20
2021-02-16 00:29:05 +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
5f7eed4194
fix(templates/amd64-386, tests): fix global stereo sends and add regression test for future
...
the send asm code is quite ugly atm (pushf & popf to save stereo flag), but the new regression test should ensure we don't break it again if we eventually refactor it
2021-02-15 14:48:16 +02:00