SpaceWizards.NFluidsynth 0.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SpaceWizards.NFluidsynth --version 0.2.1
                    
NuGet\Install-Package SpaceWizards.NFluidsynth -Version 0.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SpaceWizards.NFluidsynth" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpaceWizards.NFluidsynth" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="SpaceWizards.NFluidsynth" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SpaceWizards.NFluidsynth --version 0.2.1
                    
#r "nuget: SpaceWizards.NFluidsynth, 0.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SpaceWizards.NFluidsynth@0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SpaceWizards.NFluidsynth&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=SpaceWizards.NFluidsynth&version=0.2.1
                    
Install as a Cake Tool

NFluidsynth (Space Wizards Edition)

Build & Test NuGet link

NFluidsynth is a C# binding for libfluidsynth.

It is a P/Invoke wrapper, therefore you need native libfluidsynth.so / libfluidsynth.dylib / (lib)fluidsynth.dll. NFluidsynth builds and packages don't come up with those native libraries, so you are supposed to prepare them by yourself (at least for now).

The target API is Fluidsynth 2.1.x. The API mappings may not be complete (contributions are welcome).

Used mainly in RobustToolbox for MIDI input and playback support.

How to Run This Project

  1. Get the supported version of FluidSynth (currently 2.1.0.0) from the FluidSynth repo. Get the one for your operating system.
  2. Clone this Git repo.
  3. Open the downloaded Fluidsynth release. Open the /bin/ folder.
  4. Copy everything from the /bin/ folder into the root of the repo (other than the Fluidsynth executable)
  5. Run dotnet run --project NFluidsynth.Sample

You should now have a working test-bench for NFluidsynth.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on SpaceWizards.NFluidsynth:

Repository Stars
space-wizards/RobustToolbox
Robust multiplayer game engine, used by Space Station 14
Version Downloads Last Updated
0.2.2 15 9/13/2025
0.2.1 4,260 8/10/2025
0.2.0 48,671 8/5/2025
0.1.1 2,097,380 3/19/2023
0.1.0 155,153 10/8/2022