Finally got some time to play with this.
I’m using the function that we use for RealClash to select clash, bgnlock and endlock sounds based on how hard the clash is and re-purposing it to pick the Accent Swing swng files based on the acceleration of the swing. This will allow us to set the swng.wav files up sequentially from slowest to faster swings/slashes and have the sound used be based on the actual acceleration.
This is still early in testing but I have it working pretty nicely as you’ll hear in the video.
In addition, for both RealClash and the Enhanced Accent Swings I’ve added a new feature based on Fredrik’s NO_REPEAT_RANDOM to prevent the same sound from being repeated even if you do the exact same clash strength or swing acceleration. If the file tied to the specific parameter was just played we will instead randomly select either the previous or next file sequentially. This allows the sound to still be based on the clash or acceleration but not repeat the same sound. And since we’re going to be ordering the sounds based on intensity or speed the selection will still be equivalent.
I’ve also added this to the Countdown to ProffieOS6 page to keep everything organized.
https://fett263.s3.us-east-2.amazonaws.com/proffieOS6-intro.html