create

Function create 

Source
pub fn create<K>(
    desc: SynthDescriptor,
    per_semitone_polyphony: u8,
) -> Result<(Xenth, Vec<TunableFluid>), SettingsError>
Expand description

Creates a Xenth instance and several connected TunableFluid instances.

The Xenth part is intended to be used in the audio thread. The TunableFluid parts can be used anywhere in your application to control the behavior of the Xenth part.