.. except if Pd is compiled as a 64-bit exeutable, each individual sample takes 8 bytes, not 4.
cheers Miller On Fri, Oct 07, 2016 at 01:03:34PM +0200, cyrille henry wrote: > hello Martin, > > Le 07/10/2016 à 12:31, Martin Hiendl a écrit : > > Dear list, > > > > I have a quick question: For a looper/ringbuffer patch I'm using a > > couple of hundred arrays with a size of something between 4-7 seconds > > (at 44.1k) each. > > > > How can I calculate exactly how much RAM one buffer occupies, so that > > I'm not overloading my machine? Is it the same size of a wav file? > yes, an array use the same mem as a 32 bit mono wave file. (or a 16 bit > stereo wave file, like in CD) > > 1 sample is 4 bytes, there is 44.1 samples/s, so a table use 176.3 Ko / second > (about 600Mo/h). > > > cheers > Cyrille > > > > > > Thanks > > Martin > > > > _______________________________________________ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > > https://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list