<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>In my click tracker I use [array set] to generate the resulting
      audio in 3 tracks (3 sources), and then zexy's [.] for amplitude
      scaling and iem_tab's [tab_add] to join all 3 tracks. iem_tab has
      also lots of other interesting things.</p>
    <p>But that's all copy-paste, no audio processing (except with [.] )<br>
    </p>
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote type="cite"
cite="mid:CA+AZ=up4XDOxc=Y1j26QUrShCEkg=na3z-bp3g2n9F0_VXHPKg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">this sounds interesting. i've also successfully
        written to an array. i've always liked this idea, it makes no
        sense to compute something over and over again if you already
        know what's going to be computed. playing back a bit stream from
        RAM is always going to be faster. 
        <div><br>
        </div>
        <div>i can have some fun with this and i know exactly the
          application to use it for as i've (ab)used this sort of
          "render to sample" feature in Renoise. </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Aug 17, 2020 at 12:48
          AM Alexandre Torres Porres <<a
            href="mailto:porres@gmail.com" moz-do-not-send="true">porres@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">I'm having so much fun, thanks!
            <div><br>
            </div>
            <div>working on a "batch record" abstraction now :)</div>
            <div><br>
            </div>
            <div>I'm only now frustrated I can't batch record myself
              playing live, for like, 5 minutes... maybe Miller will
              figure out a way of doing so in 0.52 :) </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Em dom., 16 de ago. de
              2020 às 21:54, Christof Ressi <<a
                href="mailto:info@christofressi.com" target="_blank"
                moz-do-not-send="true">info@christofressi.com</a>>
              escreveu:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div>
                <p>Hey,</p>
                <p> </p>
                <blockquote type="cite">but I still needed an example to
                  see how to make this happen :) </blockquote>
                Attached you find a simple example for recording N ms of
                sound to disk.
                <p> </p>
                <blockquote type="cite">that's used n the help file of
                  [samplerate~] but I agree it should also be included
                  in this new documentaton section. Anyway, what else
                  would you use it for?</blockquote>
                It's useful for preventing "angry vline~s": if you
                accidentally keep sending messaes to a [vline~] while
                DSP is off, it will eventually bring Pd to its knees.
                The solution is to use a [spigot] which is opened on
                "pd-dsp-started" and closed on "pd-dsp-stopped".
                <p>Actually, the issue should be mentioned in
                  vline~-help.pd, together with the possible solution.</p>
                <p>Christof<br>
                </p>
                <div>On 17.08.2020 02:25, Alexandre Torres Porres wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="ltr">
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">On 16.08.2020
                        05:52, Miller Puckette via Pd-list wrote:<br>
                        > An artificial example (for simplicity) - I
                        want to apply a Pd effect to a<br>
                        > soundfile and write the result out to
                        another file, without having to wait<br>
                        > for the length of the file to get the
                        result.  This could be done from the<br>
                        > command line using a batch command, but
                        while you're developing the patch to<br>
                        > do it it's much easier to be able to set
                        the process off with a button from<br>
                        > inside Pd.<br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>Great, kind of what I was expecting, but I
                        still needed an example to see how to make this
                        happen :) </div>
                    </div>
                    <br>
                    <div class="gmail_quote">
                      <div dir="ltr" class="gmail_attr">Em dom., 16 de
                        ago. de 2020 às 08:16, Christof Ressi <<a
                          href="mailto:info@christofressi.com"
                          target="_blank" moz-do-not-send="true">info@christofressi.com</a>>
                        escreveu:<br>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">My use case
                        was that I had a patch which either produced
                        some generative <br>
                        music or processed some soundfile and I wanted
                        to record N seconds as <br>
                        fast as possible. It's basically like the render
                        function in a DAW <br>
                        (usually you don't have to start the DAW from
                        the command line to render <br>
                        your project :-).<br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>I also thought about that and I'm really
                        excited to test both things. Hopefully I can
                        have an example of this in my tutorial rght now
                        and release an update. But my attempts here
                        failed and froze Pd :) </div>
                      <div><br>
                      </div>
                      <div>Have you already messed with it, Christof?</div>
                      <div> </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex"> But I agree
                        that this needs to documented. Generally, there
                        should be a <br>
                        section to document all (public) Pd messages,
                        like [pd dsp(, [pd quit(, <br>
                        etc. (What can be considered "public"?)<br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>I opened an issue for that ( <a
                          href="https://github.com/pure-data/pure-data/issues/1125"
                          target="_blank" moz-do-not-send="true">https://github.com/pure-data/pure-data/issues/1125</a> )
                        and can take care of it as I'm usually handling
                        documentation issues.</div>
                      <div> </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex"> Also [r
                        pd-dsp-started] and [r pd-dsp-stopped], which
                        most people don't <br>
                        know about, I guess.<br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>that's used n the help file of [samplerate~]
                        but I agree it should also be included in this
                        new documentaton section. Anyway, what else
                        would you use it for?</div>
                      <div> <br>
                        Porres</div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>