Commit Graph

500 Commits

Author SHA1 Message Date
Peter Salomonsen
5120495cb8 run wasm tests 2023-04-06 12:13:15 +00:00
Peter Salomonsen
969c4058a5 test case that is different on x86 vs wasm 2023-04-06 12:12:25 +00:00
Peter Salomonsen
3a9c737124 sync 2023-04-06 12:12:25 +00:00
Peter Salomonsen
31bd62bb20 empty sync method 2023-04-06 12:12:25 +00:00
Peter Salomonsen
ced6fa0efc use temp song file 2023-04-06 12:12:25 +00:00
Peter Salomonsen
a405f2ece9 release on update single voice 2023-04-06 12:12:25 +00:00
Peter Salomonsen
77356f8e49 Configurable to create empty patterns for the live coding environment 2023-04-06 12:12:25 +00:00
Peter Salomonsen
eb846ba42d hold override 2023-04-06 12:12:25 +00:00
Peter Salomonsen
57a4ce7d64 hold notes when playing live
separate render and update voices
2023-04-06 12:12:25 +00:00
Peter Salomonsen
8d62af5c45 play single voice directly 2023-04-06 12:12:25 +00:00
Peter Salomonsen
ca93a3cc9b handle live wasm replace
by export row,pattern,sample, outputbufptr
2023-04-06 12:12:25 +00:00
Peter Salomonsen
1512396899 forever looping 2023-04-06 12:12:25 +00:00
Peter Salomonsen
451b638af2 use output-sound template 2023-04-06 12:12:25 +00:00
Peter Salomonsen
2da616e0ff allocate data segments for math 2023-04-06 12:12:25 +00:00
Peter Salomonsen
fe0b94cd27 render_128_samples, handle cors 2023-04-06 12:12:25 +00:00
Peter Salomonsen
f07a5b17b1 sointu-server 2023-04-06 12:12:25 +00:00
Peter Salomonsen
dae8520e3f export song with correct start/len 2023-04-06 12:12:24 +00:00
Peter Salomonsen
aa87a9db00 wasm is running 2023-04-06 12:12:24 +00:00
Peter Salomonsen
e282843f1f wip: generate song 2023-04-06 12:12:24 +00:00
Peter Salomonsen
1ca16043bc wasm-music 2023-04-06 12:12:24 +00:00
5684185+vsariola@users.noreply.github.com
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
5684185+vsariola@users.noreply.github.com
61c2e980a2 fix(templates/wasm): anyfunc should be funcref nowadays in .wat 2023-04-06 14:50:18 +03:00
5684185+vsariola@users.noreply.github.com
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 Sariola
e73365b980
Merge pull request #87 from kendfss/master
fix: instrumenteditor starting expansion state
2022-04-07 14:06:58 +03:00
kendfss
7eb473e67e fix: instrumenteditor starting expansion state 2022-03-23 21:45:09 +01: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