Hi Hans,<br><br>Thanks for your reply. I can&#39;t use writesf~ alone because i want to save some disk space, wav is too big. <br>Is there a way i can run Pd, and then pipe its output to another program to record it whenever I want? I don&#39;t want Pd to continuously write to a file because i&#39;m running it for hours. <br>
<br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2012/11/25 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[writesf~]<br>
<br>
.hc<br>
<div><div class="h5"><br>
On 11/25/2012 05:03 AM, Pierre Massat wrote:<br>
&gt; Or is there a way to directly pipe Pd&#39;s audio output into another program?<br>
&gt; Too bad JAC doesn&#39;t work on the Pi...<br>
&gt;<br>
&gt;<br>
&gt; 2012/11/24 Pierre Massat &lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I &#39;ve been searching the internet for two days and i couldn&#39;t find any<br>
&gt;&gt; satisfying answer, so I thought I&#39;d ask here...<br>
&gt;&gt; I&#39;m running PD on my Raspberry Pi, and I need to record Pd&#39;s output. I<br>
&gt;&gt; can&#39;t use the standard writesf~ because I lack disk space, and oggwrite~<br>
&gt;&gt; doesn&#39;t work well on the RPi (it records fine but Pd&#39;s output is trashed).<br>
&gt;&gt;<br>
&gt;&gt; I recently discovered that i could record something in raw with ALSA using<br>
&gt;&gt; arecord, and pipe this into oggenc, or flac, or whatever I need to record<br>
&gt;&gt; the file. Something like:<br>
&gt;&gt; arecord &lt;parameters&gt; raw | oggenc &lt;parameter&gt; file.ogg<br>
&gt;&gt;<br>
&gt;&gt; The thing is that the RPi has no capture device (the single PCM doesn&#39;t<br>
&gt;&gt; seem to be capable of capture).<br>
&gt;&gt;<br>
&gt;&gt; A lot of things seem to be possible using a .asoundrc configuration file<br>
&gt;&gt; for ALSA, but I don&#39;t know how to use it.<br>
&gt;&gt; What I would want is to copy the PCM output so that ALSA can recognize<br>
&gt;&gt; this copy as an input in a record. Note that I need to be able to listen to<br>
&gt;&gt; the output while recording.<br>
&gt;&gt;<br>
&gt;&gt; Do you thing this is possible at all?<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; Pierre.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pd-ot mailing list<br>
&gt; <a href="mailto:Pd-ot@iem.at">Pd-ot@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-ot" target="_blank">http://lists.puredata.info/listinfo/pd-ot</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pd-ot mailing list<br>
<a href="mailto:Pd-ot@iem.at">Pd-ot@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-ot" target="_blank">http://lists.puredata.info/listinfo/pd-ot</a><br>
</blockquote></div><br>