wee-noise-makers / tresses

Synth library inspired by Mutable Instruments braids
MIT License
7 stars 0 forks source link

Range check fails #1

Open plestedr opened 2 years ago

plestedr commented 2 years ago

Hi Fabien

Every element in this array fails the U32 range check.

LUT_Oscillator_Increments : constant Table_97_U32 := ( 7134880375, 7186582660, 7238659600, 7291113912, ...

tresses-resources-sr11025.ads:955:06: error: value not in range of type "U32" defined at tresses.ads:16 tresses-resources-sr11025.ads:955:06: error: static expression fails Constraint_Check

Running alire 1.2.1 PS C:\Users\agar2\Desktop\tresses\tresses\tests> alr toolchain CRATE VERSION STATUS NOTES gprbuild 22.0.1 Default gnat_native 12.1.2 Default

Windows 10

Bob

Fabien-Chouteau commented 2 years ago

The original code was written for 92000 samples per seconds and I didn't check the code at 11025.

Right now I don't really want to spend time fixing this, I will probably remove 11024 and lower sample rates.