Hi,<br><br>Thanks Iohannes for that, I was actually stupidly trying to pass (argc, argv) to the dsp function, hence the crash.<br>So, now it works as it should, at dsp start.<br>But there is still a problem though, as I switch the dsp on and off, and on ... it clicks when it restarts ...<br>
It actually does continue the playback where it was (as I wanted to be), but with an annoying click.<br>In the tabread example, it needs a sig to trigger the samples, but I don&#39;t want to.<br>I want the arrays to be loaded once for all at instantiantion, and then doing my processing.<br>
I thus guess that it may be due to the 64 samples buffer length, that is sweeped out when turning off.<br>Am I right ? Is there a solution to cope with that ?<br>Does the dsp on call the dsp function and dsp off the dsp free function ?<br>
What if I don&#39;t have a dsp free function ?<br><br>I could send some code, but I think I can&#39;t handle the problem once I more precisely understand how Pd API works.<br><br>Best<br><br>Sylvain<br><br><div><span class="gmail_quote">2008/3/31, IOhannes m zmoelnig &lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sylvain Le Beux wrote:<br> &gt; Hi everyone,<br> &gt;<br> &gt; I am actually writing an external which manipulates some audio buffers, and<br> &gt; for this purpose I use garrays (i.e. garrays names are actual arguments of<br>
 &gt; my external).<br> &gt; The problem is that in order, for my external, to retrieve the data<br> &gt; contained in the buffer, I need to reinstantiate the object and then it<br> &gt; works just fine.<br> &gt; There is here something that I am missing about the way Pd handles with<br>
 &gt; garrays ...<br> <br> <br> <br>have a look at tabread/tabwrite how it is handled there.<br> <br> code might be useful for your specific problem.<br> <br> fgmsdr<br> <br>IOhannes<br> </blockquote></div><br>