Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/win-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}}
-DCPACK_SYSTEM_NAME=${{matrix.arch}}
-DINSTALL_DEPENDENCIES=ON
id: configuration

- name: '${{ matrix.icon }} Build'
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
Expand All @@ -79,6 +81,6 @@ jobs:
uses: actions/upload-artifact@v6
with:
name: SonivoxV4-msvc-installer-${{matrix.arch}}
path: ${{github.workspace}}/build/sonivox-4.0.0-${{matrix.arch}}.exe
path: ${{github.workspace}}/build/sonivox-${{steps.configuration.outputs.config_version}}-${{matrix.arch}}.exe
retention-days: 90
overwrite: true
4 changes: 3 additions & 1 deletion .github/workflows/win-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}}
-DDEPENDENCY_DIRS=${{steps.msys2.outputs.msys2-location}}/${{matrix.sys}}/bin
-DCPACK_SYSTEM_NAME=${{matrix.sys}}
-DINSTALL_DEPENDENCIES=ON
id: configuration

- name: '${{ matrix.icon }} Build'
run: cmake --build build --config ${{env.BUILD_TYPE}}
Expand Down Expand Up @@ -100,6 +102,6 @@ jobs:
uses: actions/upload-artifact@v6
with:
name: SonivoxV4-msys2-installer-${{matrix.sys}}
path: ${{github.workspace}}/build/sonivox-4.0.0-${{matrix.sys}}.exe
path: ${{github.workspace}}/build/sonivox-${{steps.configuration.outputs.config_version}}-${{matrix.sys}}.exe
retention-days: 90
overwrite: true
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ if (SF2_SUPPORT)
set(_FLOAT_DCF ON)
endif()

if (DEFINED ENV{GITHUB_OUTPUT})
file(APPEND
"$ENV{GITHUB_OUTPUT}"
"config_version=${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}\n"
)
endif()

include(GNUInstallDirs)

# set(PROJECT_RELEASE_DATE "December 30, 2025")
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ The build system has the following options:
* `SF2_SUPPORT`: Enable SF2 support and float DCF. ON by default.
* `ZLIB_SUPPORT`: Enable XMF ZLIB Unpacker support. ON by default.
* `BUILD_MANPAGE`: Build the manpage of the CLI program. OFF by default.
* `INSTALL_DEPENDENCIES`: Deploy dependency libraries. OFF by default.

The synthesizer types options (at least one must be enabled):

* `EAS_WT_SYNTH`: Enable WaveTable Synth. ON by default.
* `EAS_FM_SYNTH`: Enable FM Synth. OFF by default.
* `EAS_FM_SYNTH`: Enable FM Synth. ON by default.
* `EAS_HYBRID_SYNTH`: Enable Hybrid Synth. OFF by default. Requires both `USE_44KHZ` and `USE_16BITS_SAMPLES` to be OFF.

* `MAX_VOICES`: Maximum number of voices. 64 by default.
Expand Down Expand Up @@ -133,7 +134,7 @@ Example 8: pipe the rendered audio thru the ['mpv' media player](https://mpv.io/

Besides being multiplatform, this supports progress view and better navigation (backed by in-memory cache).

You may replace "ants.mid" by another MIDI or XMF file, like "test/res/testmxmf.mxmf"
You may replace [ants.mid](https://github.com/EmbeddedSynth/sonivox/blob/devel/test/res/ants.mid) by another MIDI or XMF file, like [testmxmf.mxmf](https://github.com/EmbeddedSynth/sonivox/blob/devel/test/res/testmxmf.mxmf)

## Unit tests

Expand Down