<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This would totally work. I use [wchars2any], [any2bytes] and [binfile] to load and parse csv files within pd, see [csvfile-help] here&nbsp;<a href="https://github.com/danomatika/rc-patches/tree/master/extra">https://github.com/danomatika/rc-patches/tree/master/extra</a>&nbsp;<div><br></div><div>You need to write instead of read, but it's pretty easy. You mainly want to use [any2wchars] to convert symbols &amp; floats to binary and ascii code 44 to add a coma. You can send a newline ascii code at the end of each line ... done. Consult your ASCII table for more.</div><div><br><div><div>On Jun 26, 2012, at 12:47 PM, Martin Peach wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>You could probably get somewhere using [moocow/any2bytes] and [mrpeach/binfile].<br><br>Martin<br><br>On 2012-06-26 12:22, Mirko Maier wrote:<br><blockquote type="cite">ok, hoped for a solution within pd(extended on windows).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">thanks<br></blockquote><blockquote type="cite">mirko<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-------- Original-Nachricht --------<br></blockquote><blockquote type="cite"><blockquote type="cite">Datum: Tue, 26 Jun 2012 18:03:29 +0200<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Von: Jack &lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">An: Mirko Maier &lt;<a href="mailto:mirkom@gmx.de">mirkom@gmx.de</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">CC: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Betreff: Re: [PD] comma into a textfile<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Le 26/06/2012 18:00, Mirko Maier a ̩crit :<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">It is a normal that you get a comma in your text file when you use<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">'write' message on [textfile].<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Because Pd escape the comma to read it back with [textfile].<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">But you shouldn't get this \ when you 'read' this same text file with<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">[textfile].<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">++<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Jack<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">yeah, but i want to read the written text file then in another software<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(lilypond), and there the backslash is bad...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Mirko<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">So, remove backslashes with a bash script (for example) when you save<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the text file with 'write' message.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">++<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Jack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><br><br><br><br><br></div></blockquote></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--------</div><div>Dan Wilcox</div><div><a href="http://danomatika.com">danomatika.com</a></div><div><a href="http://robotcowboy.com">robotcowboy.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>