Skip to content

gjones007/tsf

Repository files navigation

TinySoundFont wrapper for Vlang

TinySoundFont is a SoundFont2 synthesizer library in a single C/C++ file. This repo is a V module which allows TinySoundFont to be used in V.

Install

git clone https://github.com/gjones007/tsf.git ~/.vmodules/tsf

Examples

SDL is needed for several of the examples.

v install sdl

This only needs to be done once. Then run the example.

cd ~/.vmodules/tsf/examples
v run example1.v

You can add vorbis support with

# fetch latest STB Vorbis
curl -O https://raw.githubusercontent.com/nothings/stb/master/stb_vorbis.c
cd ~/.vmodules/tsf/examples
v -d vorbis run example4.v

Unless otherwise specified, everything in this repo is MIT License.

About

TinySoundFont module for Vlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published