JujuAdams / Vinyl

Live updating audio system for GameMaker
https://www.jujuadams.com/Vinyl/
MIT License
45 stars 5 forks source link

Have an "head-loop-tail" pattern type #73

Closed patchuby closed 4 months ago

patchuby commented 1 year ago

Would be defined with an array containing 3 arrays for each of the head, loop and tail assets. Head & tail would be optional, would be defined by an empty array (or 0 ?) Could have a "stopType" property that defines the behavior when the pattern is stopped:

Maybe also a blend option, would be useful if the pattern is stopped without playing a tail, or stopped before reaching the end of the head.

JujuAdams commented 4 months ago

Not going to implement the specific stop types, but runtime queues solve this use case.