Distorted tempo flow of HES music

Issue #31 resolved
Wohlstand created an issue

Idk what happen, however, I see the HES music playback is totally distorted and goes very inaccurate…

I have included a sample file for testing.

P.S. For a testing reason, I have tried to checkout ancient commits and test out the working: on the bf60977406d05ae6c81ea85bbc3d4a85f6ac31e5 state, HES music working fine… 🤔

I’ll try to fix the thing myself…

Comments (6)

  1. Wohlstand Account Deactivated reporter

    Okay, I have found a reason of this crap:

    Do you see here all f*int* was replaced with *int*_t? Look carefully:
    fint16 originally was defined as int which is… 32-bit integer!!!

    So, when you have declared int16_t you have put 16-bit integer, which makes… confusion of the time value and strong playback distorsion!!!

  2. Wohlstand Account Deactivated reporter

    So, I gonna to replace all *int16_t with 32-bit integers to also fix some other mistakes are was here a whole age…

  3. Log in to comment