pub fn render_instrument(
plugin: &PluginRef,
midi_events: &[MidiEvent],
sample_rate: u32,
duration: f64,
params: &[(String, String)],
state: Option<&[u8]>,
) -> Result<AudioBuffer>Expand description
Render an instrument plugin. params are (name or id, value) pairs; state is a
native state blob (e.g. from plugin state save). See render_instrument_with.