[PD] advice on loading 300 samples

derek holzer derek at x-i.net
Wed Jun 14 01:01:20 CEST 2006


derek holzer wrote:
> Hi Patrick,
> 
> patrick wrote:
>>> how big are the samples?
>> +- 2 mb each sample
> 
> A "brute force" approach would be to load all the samples into RAM with 
> arrays. You're talking about +/- 600 mB of data if I understand right. 
> You could get away with it if you had a Gig of RAM I think. I don't use 
> Xgroove for sample playback, I prefer to work with tabread4~ since it 
> eats less resources and isn't as dodgy.

Oh wait, forget about the 32-bit expansion! Or is it only 24? Anyway, PD 
expands your audio to a greater bit-depth (if necessary) to do the 
4-point interpolation with [tabread4~]. Maybe for so much audio this 
isn't such a good idea! I'd still recommend trying to make a SoundFont 
out of it. Is it necessary to have EVERY note sampled, or could you 
spread it out a bit by skipping every Nth note and using the sampler to 
pitch things up or down a bit?

d.


-- 
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 77:
"Give way to your worst impulse"




More information about the Pd-list mailing list