Skip to content

setSoundfont()

Set the soundfont used for playback.

Play.setSoundfont(soundfont)

A soundfont supplies the instrument sounds the synthesizer plays.

Parameters

Play.setSoundfont(soundfont)
Parameter Type Default Description
soundfont str required The file path of the soundfont to use.