sointu/vm
5684185+vsariola@users.noreply.github.com 38e9007bf8 refactor: use [][2] as audio buffers, instead of []float32
Throughout sointu, we assume stereo audiobuffers, but were passing
around []float32. This had several issues, including len(buf)/2 and
numSamples*2 type of length conversion in many places. Also, it
caused one bug in a test case, causing it to succeed when it should
have not (the test had +-1 when it should have had +-2). This
refactoring makes it impossible to have odd length buffer issues.
2023-10-18 13:51:02 +03:00
..
compiler refactor: use [][2] as audio buffers, instead of []float32 2023-10-18 13:51:02 +03:00
generate code/text formatting and cleaning up whitespace 2023-09-24 10:47:54 +03:00
bytepatch.go refactor(vm): rewrote BytePatch Encode to use a builder struct 2023-10-07 14:07:47 +03:00
delaytable.go feat: add ability to import 4klang patches and instruments 2023-07-06 23:47:55 +03:00
featureset.go fix(vm): skip empty units when detecting what units are used 2021-03-24 00:17:10 +02:00
interpreter_test.go refactor: use [][2] as audio buffers, instead of []float32 2023-10-18 13:51:02 +03:00
interpreter.go refactor: use [][2] as audio buffers, instead of []float32 2023-10-18 13:51:02 +03:00
opcodes.go feat: add the ability to use Sointu as a sync-tracker 2021-03-09 23:52:33 +02:00
patterns_test.go refactor: implement Order and Pattern types: slices returning default values for out of bound indices 2021-05-12 12:08:55 +03:00
patterns.go refactor(vm): simplify flattenSequence code 2021-05-12 22:44:03 +03:00