Commit Graph
100 Commits
Author SHA1 Message Date
[email protected] 63fc3d0d08 Update CHANGELOG.md 2023-07-07 01:09:29 +03:00
[email protected] 9ef271f1a8 fix(tracker/gioui): display voice states crashed if somehow patch had more than 32 voices 2023-07-06 23:49:40 +03:00
[email protected] cd00067da8 change(tracker): default delay to use BPM-tracking and make reverb similar to 4klang 2023-07-06 23:49:40 +03:00
[email protected] 248ba483c6 feat: add ability to import 4klang patches and instruments 2023-07-06 23:47:55 +03:00
[email protected] c06ac6ea5e update README.md 2023-05-15 21:22:27 +03:00
[email protected] a3dcc829c0 CI: rename binaries-zip to sointu-binaries-<hash>.zip 2023-05-13 18:43:20 +03:00
[email protected] e7dbb0289c CI: add action to build artifacts 2023-05-13 18:05:52 +03:00
[email protected] 9efddd673d fix(tracker): when reassigning unit IDs, update send targets. fixes instrument loading 2023-05-13 17:56:13 +03:00
[email protected] cd700ed954 feat!: implement vsti, along with various refactorings and api changes for it
The RPC and sync library mechanisms were removed for now; they never really worked and contained several obvious bugs. Need to consider if syncs are useful at all during the compose time, or just used during intro.
2023-05-13 17:56:13 +03:00
[email protected] 70080c2b9d fix(templates/wasm): $WRK was modified by stereo oscillators, messing up all modulations targeting units after the unit
add also tests to make sure we don't mess it up again
2023-04-06 15:03:16 +03:00
[email protected] 61c2e980a2 fix(templates/wasm): anyfunc should be funcref nowadays in .wat 2023-04-06 14:50:18 +03:00
[email protected] 6129076e97 upgrade ilammy/setup-nasm to v1.4.0 and wat2wasm to v1.0.29
wat2wasm doesn't support --enable-bulk-memory anymore, presumably because it is part of the standard nowadays
2023-04-06 14:50:18 +03:00
Veikko SariolaandGitHub e73365b980 Merge pull request #87 from kendfss/master
fix: instrumenteditor starting expansion state
2022-04-07 14:06:58 +03:00
vsariola 1a5251dbf6 refactor(sointu): change the name of AudioSink into AudioOutput
The interface is never used as anything else as Output so trying to generalize as something more vague like Sink made no sense.
2021-08-30 23:11:33 +03:00
vsariola eda48491e2 refactor(sointu): move engineeringTime helper function to the file where it is actually used 2021-08-30 22:27:38 +03:00
vsariola a8f8911f03 refactor(sointu): Change the signature of Play to accept SynthService instead of Synth
This is more logical as every single use of Play started with compiling the patch of a song with a SynthService.
2021-08-30 22:24:42 +03:00
vsariola a9b90c4db8 style: add comments to the public methods and members in the root package. 2021-08-30 20:34:56 +03:00
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 8a94058d44 feat(gioui): make split bars snap to window edges 2021-05-12 23:14:48 +03:00
vsariola 203e8a3ccc refactor(vm): simplify flattenSequence code 2021-05-12 22:44:03 +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 ce6e5d4942 tracker: move gmdlsentries.go generation under tracker/generate folder 2021-05-12 09:18:48 +03:00
vsariola 1a89fee665 CI: don't test oto & remove libasound2-dev dependency
Installing this dependency failed in the cloud and caused tests to fail, so for now, we do not install it and do not test oto package.
The tests were actually about some float / int16 conversions, which should not anyway be in oto package, so future solution will be to refactor those functions somewhere else.
2021-05-08 17:34:16 +03:00
vsariola e9834110ec fix(bridge): respect the hard limit of 64 delay lines to avoid crashes. 2021-05-08 16:51:45 +03:00
vsariola e649b9ec54 fix(gioui): unnamed instruments on tracks with multiple voices crashed.
Closes #62.
2021-05-08 16:40:06 +03:00
vsariola d5f413c5dc Update CHANGELOG.md 2021-04-29 14:29:48 +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 442715334e feat(gioui): add grab cursor to DragList 2021-04-24 22:31:32 +03:00
vsariola d55e9e9880 fix(instruments): make transpose neutral in supersaw instrument 2021-04-24 22:10:55 +03:00
vsariola 15cf8a750c Update README.md 2021-04-24 22:09:30 +03:00
vsariola b2b15f825d refactor(tracker, gioui): get rid of EditMode, use gio focus instead 2021-04-24 22:07:56 +03:00
vsariola e544e955cb refactor(gioui): move common button code to two functions 2021-04-20 18:21:21 +03:00
vsariola c0a0a5d501 refactor(gioui): move common iconbutton code to a function 2021-04-20 17:57:36 +03:00
vsariola 8ba9fb1f00 fix(gioui): make editors lose focus when Escape is pressed. 2021-04-19 22:46:35 +03:00
vsariola 56ceafdaa6 tracker: make a slightly more sensible default song 2021-04-19 22:19:51 +03:00
vsariola cbc07764a0 feat(instruments): add a few example instruments 2021-04-19 22:00:55 +03:00
vsariola 40d4d6576e feat(sointu, tracker, gioui): add a comment field to the instrument 2021-04-19 21:24:29 +03:00
vsariola 147e8a2513 feat(gioui): implement own file save / load dialogs
Removes the dependency on sqweek/dialogs, which was always very buggy.

Closes #12
2021-04-18 19:10:41 +03:00
vsariola ac95fb65c4 fix(gioui): prevent crashing when loading malformed song 2021-04-17 23:30:13 +03:00
vsariola 485b783341 feat(gioui): add buttons to save and load instrument 2021-04-17 23:08:12 +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 1b4f1a8c5e feat(tracker): add menu item to export .wav
Also refactor the common functions for .wav export into base package so that both sointu-play and tracker can use same functions.
2021-04-17 14:24: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 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