Velocity and round robnin support
alfedukovich opened this issue · comments
Does the player and format support samples library with beat velocity and random selection from several of the same samples?
The player supports volume changeing and sample selection.
See https://surikov.github.io/webaudiofont/npm/src/docs/classes/player.WebAudioFontPlayer.html#queueWaveTable
Please be more specific.
Velocity is the force of the impact. Roughly speaking, the volume of playback is not changed by decreasing the volume, but by a sample with a recorded attack of lesser force. More relevant for percussion instruments.
Round robin or random is a way of selecting a sample from a pool of the same samples for the same velocity value. Round robin is round robin - it is a round robin of samples. Random - selecting a random one. Also more relevant for percussion instruments or short monotonous sounds. It is used to make consecutive sounds seem less robotic.
Both of these parameters are used in open formats sfz and dspreset and many other proprietary formats. I don't know if these options are available in sf2?
Use different presets if you need different sounds.