It is possible to sample sounds by providing sampling sounds.
Note that Erie uses the fetch API for getting the sound.
These instrument types do NOT suppport continued tones.
Sampling multi-pitch sounds
If you want to support multi-pitch instrument, you may need to sample multiple sounds of C note in each scale (from 0 to 7).
Ideally, prepare 2-3 seconds of a sampled sound.
Why? Tuning a sampled sound distors the sampled wave form (e.g., changing the quality/length of the form).
The larger the amount of tuning, the bigger the distortion is.
Note: for a sampled sound, the pitch is capped from C0 to F7#.
If your pitch channel’s range is lower than the C7 note scale, then provide only needed sample audios.
JSON
JavaScript
Sampling single-pitch sounds
For single pitch sounds like drum, use the mono property.