xsynth-render 0.2.0

An XSynth module for rendering audio to a file.
Documentation

Modules

Core

Handles the core audio rendering functionality. The main components are:

  • VoiceChannel: Channels represent a single MIDI channel
  • ChannelGroup: A channel group represents a manager of channels (MIDI synthesizer)
  • Voice: A voice represents a single SoundFont sound

Realtime

The real-time rendering module within XSynth. Currently it outputs audio using cpal. It uses an asynchronous event sending system for high performance and simple to use API.

KDMAPI

A cdylib wrapper around real-time to act as a drop-in replacement for OmniMIDI.

Rendered

A module for rendering audio to a file. It takes in a MIDI file path and other XSynth parameters, and outputs an audio file.

Soundfonts

A module to parse different types of soundfonts to be used in XSynth. Currently supports SFZ and SF2 soundfonts. For detailed information about what is supported, please visit the SampleSoundfont documentation in core.

License

XSynth is licensed under the MIT license.