gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
166 stars 10 forks source link

Wavetables: Loop Points & Loop Modes #19

Closed RobDavenport closed 1 year ago

RobDavenport commented 1 year ago

A common feature among other samplers is to set loop points within the sample.

This means that the sound can play from beginning to end, and then afterwards loop between two designated positions. This is useful in percussive type sounds, or instruments like a piano, where the initial hit sound is unique, but if held, the long-lasting resonating sound continues to play.

I'm not sure if the end point should be configurable or not, but at least the start point should be.

We should also be able to set loop modes:

RobDavenport commented 1 year ago

This was ninja-completed in #43