Now I had a look at HISE and there is an Audio Loop Player.
Can I drop a long wav in, set the Loop to 2 or 4 bars, set the sample pos start sample pos end, assign that to a midi chord input. So when a C chord is played it will loop that section of the wav , then C# chord will loop another section and so on ?
alt text