My first steps into the darkness .
Thanks to Peter McCulloch , for the presence on the forum . Many of your discoveries and elaborations are essential , i could gain and learn a lot with it , as most of the time your are penetrating the fields that im truly interested in.
As well from others over the years .
Thank you all for the input that is always inspiring .
Sampler itself is a simplest sample playback engine , that has ability to loop sample region and crossfade within for more smooth and pleasant sonic results . Also provides looping forward and backward .
No additional sample interpolation is implemented .
Changing loop settings in realtime is not without artifacts , such avoidance would require much more CPU cycles . So i decided to make as much effort as i could to decease the amount of them instead of getting rid of them entirely .
Overall efficiency is a compromise of that fact anyway ,so i decided not to add any redundant computations at this stage as the main goal was to make crossfade looping satisfying in terms of sound AND performance .
There is a crossfading where equal power fade is computed , i did not find more efficient way than this .
And to be fair ,im not happy with the performance of that circuit somehow . Its my first Gen patch anyway . Ive been forced to provide a few temporal clocks for index traversal while looping in crossfade, as well a phase for the cross part . i Could not find better solution for such things ,as to avoid artifacts this is only what i could do .
I would be happy if some of you would be able to spot any weakness and maybe help to improve it as i really would love to use it on daily basis .
And i hope some of you will find it useful as myself . This is also the reason why im posting it .