generativefm / generative.fm

A platform for playing generative music in the browser.
https://generative.fm
MIT License
1.59k stars 86 forks source link

Crossfade on pattern change #176

Open jonathonf opened 4 years ago

jonathonf commented 4 years ago

Currently, switching patterns has a hard cut with silent loading time.

Buffering then crossfading once the new pattern is ready would be awesome for random play, as well as use in live-play ambient music setups (e.g. TTRPGs).

nolanhergert commented 4 years ago

Related: Would be also nice to crossfade to silence on stop.

The "click" from lack of crossfade is surprisingly jarring.

DonaldTsang commented 4 years ago

It would be even better if the crossfade is not based on the traditional fade-out mechanisms of music players, but instead based on the last few musical notes on the previous piece being retro-fitted into the patterns of the next piece.