Code: Select all
float Wave[ 128 ];
Wave[0] = 0.0;
Wave[1] = 0.0490676761;
Wave[2] = 0.0980171412;
Wave[3] = 0.146730468;
.....
.....
Wave[125] = -0.14672789;
Wave[126] = -0.0980143994;
Wave[127] = -0.0490647815;
Selected.WaveTable.set( 1 , Wave );
Wave[0] = 0.0;
Wave[1] = 0.0906094313;
Wave[2] = 0.178134948;
Wave[3] = 0.259730339; However when i try to load the whole 16 Wavetable set Zebra2 crashes. A 38 k file loads fine while a 48k does not.
So is there a size limit or have i messed something else up ?
I could do something boring like only allowing the first 8 waves to be loaded but i think you understand why i don't want that.
Teaser:

*It is made to be easy to use. You set the export destination once and it always exports your files in there.
*It autonames the files after the first and last file loaded.
*You can of course change the export name and if you forget the .h2p it automatically adds it.
*When you load a file it generates the empty slots using DFT.
There are still a couple of bugs to squash but hopefully i can finish it this evening and upload a first beta.
This will of course be free and even open source so you can compile it for Mac if you like.

