load_samples paths (list)
Given a directory containing multiple .wav, .wave, .aif, .aiff, .ogg, .oga or .flac files, pre-loads all the samples into memory.
You may also specify the same set of source and filter pre-args available to sample itself. load_sample will load all matching samples (not just the sample sample would play given the same opts) - see sample’s docs for more information.
Introduced in v2.0
| # Example 1 | |
|
|
|
| # Example 2 | |
|
|
|