-
2pol
Hi,
i have two problems:
1. this is a very usual pd-problem. Loading a bigger textfile in to an array, than the size of the array --> not all is loaded. It is only possible to rezize the array before the loading to the maximum and rezize it after the load again?
2. Second i create some file where i save some array data, but i rezize my array. I make it bigger and i want to save in the same file again (with the same path and name), may the textfile dont save all. It s the only solution to erase the file and save then again?I do all this with messages [; data write bla/bla( [; data read bla/bla( . Are ther some better solutions from some liberies.
Thanks
-
2pol
Hi,
i search a datatyp that is bigger than int. I think int has only 32 bit. I search something like a 64 bit int.
By the way how great could be the numbers in a array.
Can a are also only store 32 bit integers?.
Thank you -
2pol
Hi,
i have built a sampler in pure data, based on the idea of Johannes Kreidler. But if i played with it it i get problems, so i compared it to the patch of Kreidler and there is the same.
If you use loop- values like 0.8 and 1, the index-values for array are to low. This means the sampler doesnt play the end of the sample, he plays the beginning. What is the mistake? Have anybody a idea? A fix would be nice, so can i use it in my patch. -
2pol
Hi,
sorry for the noise .
I overcome my problems:
the
1. problem was my fault .
I solved the second so that I save the arraysize in metadata and read this before i read the array. -
2pol
Thank you. It works fine. I think Kreidler forget to multiplicate the left boarder with the number of samples. And the the [+~ ] and [*~ ] after the phasor are in a wrong order.