<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Thanks to all of you for your quick replies!</div>

<div>I will check out all of your suggestions and @Christoph, looking forward for your worker thread implementations.</div>

<div>I have never heard of Supercollider, would that help my in any way?</div>

<div> </div>

<div>Cheers! Jakob</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 01. November 2019 um 14:31 Uhr<br/>
<b>Von:</b> "Christof Ressi" <christof.ressi@gmx.at><br/>
<b>An:</b> Pd-List <pd-list@lists.iem.at><br/>
<b>Betreff:</b> Re: [PD] Raspberry Pi: Loading Samples RAM problem</div>

<div name="quoted-content">another trick is to use [readsf~] in an upsampled subpatch.<br/>
<br/>
BTW, I have ideas for adding a worker thread to Pd (similar to Supercollider), which would help solving a lot of Pd's realtime-safety issues. I want to do that in the next couple of weeks when I have more time.<br/>
<br/>
Chrisotf<br/>
<br/>
> Gesendet: Freitag, 01. November 2019 um 14:21 Uhr<br/>
> Von: "oliver" <oliver@klingt.org><br/>
> An: Pd-List <pd-list@lists.iem.at><br/>
> Betreff: Re: [PD] Raspberry Pi: Loading Samples RAM problem<br/>
><br/>
> Hi,<br/>
><br/>
> try to use "soundfiler" to read only chunks of your files. so it's<br/>
> actually more a "harddisk"-streaming method.<br/>
><br/>
> have some example patches here:<br/>
><br/>
> mind, that this will be obviously limited by the read-speed of your SD-card.<br/>
><br/>
><br/>
> best<br/>
><br/>
> oliver<br/>
><br/>
><br/>
><br/>
><br/>
> Jakob Laue wrote:<br/>
> > Dear list,<br/>
> > i have a little problem with my raspberry pi..<br/>
> > I have built an eight-track sample player patch that runs on a raspberry pi.<br/>
> > When the patch loads, it initially loads all the samples it finds in<br/>
> > /home/pi/SamplePacks/SamplePack1, SamplePack2 etc..<br/>
> > into RAM using the standard approach:<br/>
> > - create two tables for each sample<br/>
> > - read data into tables with [read -resize table1 table2(<br/>
> > Afterwards I use [soundfiler] and calculate the frequency for [phasor]<br/>
> > and so on and so forth.<br/>
> > The patch works when I load a total amount of 500 gb into RAM.<br/>
> > Today I tested to load 9 GB of samples and the result (obviously) is the<br/>
> > pi crashing.<br/>
> > I have tested on a raspberry pi 2 and a raspberry pi 3. Both pis only<br/>
> > have 1 GB of RAM so it's obvious that problems arise trying to load 9 GB<br/>
> > of samples.<br/>
> > Do you have any hints or ideas how I could solve this problem? Loading<br/>
> > from disk while performing is not an option (I think) because of audio pops.<br/>
> > Do you know any ways to extend the RAM of the pi?<br/>
> > Maybe you know of some other small boards like beagle or so that have<br/>
> > more RAM than a pi.<br/>
> > Thank you very much! Jakob<br/>
> ><br/>
> ><br/>
> > _______________________________________________<br/>
> > Pd-list@lists.iem.at mailing list<br/>
> > UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br/>
> ><br/>
><br/>
><br/>
> --<br/>
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\<br/>
> /////////////// <a href="http://pendler.klingt.org" target="_blank">http://pendler.klingt.org</a> //////////////<br/>
> \\\\\\\\\\\\\\\ <a href="http://oliver.klingt.org" target="_blank">http://oliver.klingt.org</a> \\\\\\\\\\\\\\<br/>
> ////////////////////////////////////////////////////////<br/>
> _______________________________________________<br/>
> Pd-list@lists.iem.at mailing list<br/>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br/>
><br/>
<br/>
<br/>
<br/>
_______________________________________________<br/>
Pd-list@lists.iem.at mailing list<br/>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a></div>
</div>
</div>
</div></div></body></html>