<div dir="ltr">thanks miller! im actually writing the files to a usb stick which is def fast enough for 2x192khz, 24bit, not to the SDHC, so im buffeld. it works fine if i use jack_capture but somehow not with PD. if this is relevant im on a fresh install of the latest raspbian OS lite<div><br></div><div>cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 15, 2020 at 12:00 AM Miller Puckette <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">This is almost certainly being limited by write speed to the storage<br>
medium.  If the file lives on an SDHC card, you can probably improve<br>
things by getting one that has a higher write speed.  (The specifications<br>
are very confusing so it might take a while to figure out what kind is how<br>
fast).<br>
<br>
Alternatively, you could attach an ordinary USB disk drive to write soundfiles<br>
to.  Just a regular spinny-disk one; the solid state ones aren't any faster<br>
because either type is limited by USB bus speed.<br>
<br>
cheers<br>
Miller<br>
<br>
On Fri, Aug 14, 2020 at 10:22:26PM +0200, iftah gabbai wrote:<br>
> hi there, im attempting to record a stereo file (192khz, 24bit) using<br>
> writesf~ on a rpi3b running headless using the inputs of my usb class<br>
> compliant soundcard (presonus 24c), so far with no luck,  i get crackles<br>
> after around 10sec of recordings. the weird thing is that the pd process<br>
> uses  around 16% of one core - so theoretically it should be fine, right? i<br>
> even tried to up the -audiobuf to 100ms but this does not help either. i<br>
> write the recordings to an external usb stick that can handle much higher<br>
> speeds than teh equivalent of 1s/192/24 so i dont think its this either,<br>
> while i dont run a realtime kernel i have my scaling_governor set to<br>
> performance. i wonder if anyone have any leads? or is this only possible<br>
> with rt kernel?<br>
> <br>
> best<br>
<br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!WY75P-RP7fEB5wWfbvMf9YeFbe3QPmpLN3Ueg1O6sGalKcabQ7HOv3U76Eqw$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!WY75P-RP7fEB5wWfbvMf9YeFbe3QPmpLN3Ueg1O6sGalKcabQ7HOv3U76Eqw$</a> <br>
<br>
</blockquote></div>