faust-sampler

December 10, 2025 ยท View on GitHub

Example of samplers using the soundfile primitive, to be played in monophonic (first example) or polyphonic mode (second and third examples):

The raw DSP files can also tested in the test page by simply dropping the raw URLs:

Soundfiles hosted on GitHub can also be accessed through the jsDelivr CDN, which provides CORS-enabled URLs, starting with https://cdn.jsdelivr.net/gh/. Therefore, the previous files can also be delivered using the following base URL: declare soundfiles "https://cdn.jsdelivr.net/gh/sletz/faust-sampler/";.