mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-27 02:40:25 -04:00
The modulated delay time was converted to int with i32.trunc_f32_u. This throws runtime error if the modulations caused the delaytime to become negative, because _u implied that it should be unsigned integer and negative numbers were out of range. Using i32.trunc_f32_s fixed this.
8.0 KiB
8.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Unreleased
Added
- User can drop preset instruments into
os.UserConfigDir()/sointu/presets/
and they appear in the list of presets next time sointu is started. (#125) - Ability to loop certain section of the song when playing. The loop can be set by using the toggle button in the song panel, or by hitting Ctrl+L. (#128)
- Disable units temporarily. The disabled units are shown in gray and are not
compiled into the patch and are considered for all purposes non-existent.
Hitting Ctrl-D disables/re-enables the selected unit(s). The yaml file has
field
disabled: true
for the unit. (#116) - Passing a file name on command line immediately tries loading that file (#122)
- Massive rewrite of the GUI, in particular allowing better copying, pasting and scrolling of table-based data (order list and note data).
- Dbgain unit, which allows defining the gain in decibels (-40 dB to +40dB)
+
and-
keys add/subtract values in order editor and pattern editor (#65)- The function
su_power
is exported so people can reuse it in the main code; however, as it assumes the parameter passed in st0 on the x87 stack and similarly returns it value in st0 on the x87 stack, to my knowledge there is no calling convention that would correspond this behaviour, so you need to define a header for it yourself and take care of putting the float value on x87 stack.
Fixed
- Modulating delaytime in wasm could crash, because delay time was converted to int with i32.trunc_f32_u. Using i32.trunc_f32_s fixed this.
- When recording notes from VSTI, no track was created for instruments that had no notes triggered, resulting in misalignment of the tracks from instruments.
- 32-bit su_load_gmdls clobbered ebx, even though __stdcall demands it to be not touched (#130)
- Spaces are allowed in instrument names (#120)
- Fixed the dropdown for targeting sends making it impossible to choose certain ops. This was done just by reducing the default height of popup menus so they fit on screen (#121)
- Warn user about sample rate being other than 44100 Hz, as this lead to weird behaviour. Sointu assumes the samplerate always to be 44100 Hz. (#129)
Changed
- The scroll wheel behavior for unit integer parameters was flipped: scrolling up now increases the value, while scrolling down decreases the value. It was vice versa. (#112)
v0.3.0
Added
- Scroll bars to menus, shown when a menu is too long to fit.
- Save the GUI state periodically to a recovery file and load it on startup of the app, if present. The recovery files are located in the app config directory (e.g. AppData/Roaming/Sointu on Windows).
- Save the VSTI GUI state to the DAW project file, through GetChunk / SetChunk mechanisms.
- Instrument presets. The presets are embedded in the executable and there's a button to open a menu to load one of the presets.
- Frequency modulation target for oscillator, as it was in 4klang
- Reverb preset settings for a delay unit, with stereo, left and right options
Fixed
- Crash when running more than one sointu VSTI plugins in parallel
- The scroll bars move in sync with the cursor.
- The stereo version of delay in the go virtual machine (executables / plugins not ending with -native) applied the left delay taps on the right channel, and the right delay taps on the left channel.
- The sointu-vsti-native plugin has different plugin ID and plugin name to not confuse it with the non-native one
- The VSTI waits for the gioui actually have quit when closing the plugin
Changed
- BREAKING CHANGE: The meaning of default modulation mode ("auto") has been changed for cross-instrument modulations: it now means "all" voices, instead of first voice (which was redundant, as it was same as defining voice = 0). This means that for cross-instrument modulations, one "all vocies" send gets actually compiled into multiple sends, one for each targeted voice. For intra-instrument modulations, the meaning stays the same, but the label was changed to "self", to highlight that this means the voice modulates only itself and not other voices.
v0.2.0
Added
- Saving and loading instruments
- Comment field to instruments
- Ability to reorder tracks
- Add menu command to delete all unused data from song file
- Ability to search a unit by typing its name
- Ability to run sointu as a vsti plugin, inside vsti host
- Ability to lock delay relative to beat duration
- Ability to import 4klang patches (.4kp) and instruments (.4ki)
- The repository has example instruments, including all patches and instruments from 4klang
- The compiler templates are embedded in the sointu-compile, so no installation is needed beyond copying sointu-compile to PATH
- Ability to select multiple units and cut, copy & paste them
- Mousewheel adjusts unit parameters
- Tooltips to many buttons
- Support for gm.dls samples in the go-written virtual machine
- x86 and C written examples how to play a sointu song on various platforms. On Windows, the examples can optionally be linked with Crinkler to get Crinkler reports.
Fixed
- Unnamed instruments with multiple voices caused crashes
- In the native version, exceeding the 64 delaylines caused crashes
- wat2wasm nowadays uses funcref instead of anyfunc
- In the WebAssembly core, $WRK was messed after stereo oscillators, making modulations not work
- The Webassembly implementation of mono version of the "out" unit
Changed
- The release flag in the voice is now a sustain flag i.e. the logic has been inverted. This was done so that when the synth is initialized with zeros, all voices start with sustain = 0 i.e. in released state.
- The crush resolution is now in bits instead of linear range; this is a breaking change and changes the meaning of the resolution values. But now there are more usable values in the resolution.
v0.1.0
Added
- An instrument (set of opcodes & accompanying values) can have any number of voices.
- A track can trigger any number of voices, releasing the previous when new one is triggered.
- Pattern length does not have to be a power of 2.
- Only the necessary opcodes and functions of the synth are compiled in the final executable.
- Harmonized support for stereo signals: every opcode supports stereo variant.
- New opcodes: crush, gain, inverse gain, clip, speed (bpm modulation), compressor.
- Support for sample-based oscillators (samples loaded from gm.dls).
- Unison oscillators: multiple copies of the oscillator running with different detuning and added up to together.
- Support for 32 and 64 bit builds.
- Support different platforms: Windows, Linux and Mac (Intel).
- Experimental support for compiling songs into WebAssembly.
- Switch to CMake for builds.
- Regression tests for every VM instruction, using CTests.
- Compiling as a static library & an API to call Sointu
- Running all tests (win/linux/mac/wasm) in the cloud, using Github workflows
- Tools written in Go-lang:
- a tracker for composing songs as .yml
- a command line utility to convert .yml songs to .asm
- a command line utility to play the songs on command line