I am interested in using a Data object in Gen to playback a short loop (450 samples long). I came across Roald Baudoux's 'Seemless Looper' and Kristoff S's 'Sampler' (inspired by Roald's work). Both patches are great but use a Buffer outside Gen and refer to that Buffer inside Gen. In the attachment are adaptations of the the two patches with the left side of each patch using the original Buffer and the right using a Data object.
The Buffer versions sound the same as the original loop. You can load 'Sample_43-77_LOOP' into a DAW or sample editor to hear this or play the longer sample 'Sample_43-77'. The problem: The Data version sounds awful. It's vaguely similar to the the Buffer version but not accurate.
Can anything a Buffer does be done with Data? - is it possible to use a Data object instead of Buffer?
What's wrong with my patch? Why does the Data object sound different? To me it sounds filtered or like aliasing.
Note that the sample data has 450 points so it isn't stereo. Presumably Buffer plays stereo. Could it be that the Buffer versions sound better due to the buffers having twice as many samples in them?
Should I be using splat or wave somewhere?
If you could examine these patches that would be great. Better still, if you could take the patch 'Basic - Just a DATA object filled with loop sample' and make it just playback the sample with the same sound as the original wav that would be fantastic. All I want is a way to playback using only Gen.
'extract.wav.2.text' is a PD patch to extract the sample data from a wav. I'm not sure how to do this in Max.
Data for the Coll object is included.
Any help is welcome.