Skip to main content

install_synth

Function install_synth 

Source
pub fn install_synth(world: &mut World, soundfont: &[u8]) -> Option<Entity>
Expand description

Install the demo’s synthesizer on an audio world, answering the entity that carries it.

The voice builds its synthesizer on the first fill it renders, at the rate that fill names, so it can be installed before the world has an output at all.