<div>now, some files come in ratios as one symbol like this</div><div><br></div><div>5/4</div><div>3/2</div><div>7/4</div><div><br></div><div>I&#39;d need to break them into different characters, then treat as numbers to get interval in cents. How do I do that? I believe I can&#39;t do it in any way with vanilla objects, right?</div>
<div><br></div><div>thanks</div><div>Alex</div><div><br></div><br><br><div class="gmail_quote">2011/8/3 Alexandre Torres Porres <span dir="ltr">&lt;<a href="mailto:porres@gmail.com">porres@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
yeah, it works :)<div><br></div><div>I knew there had to be an easier way other than the mess I did.</div><div><br></div><div>Perfect, Thanks</div><div><br></div><div>This is a very cool addon feature to my stuff I&#39;m showing at PdCon, see you all there.</div>

<div><br></div><div>See you all there soon!</div><div><div></div><div class="h5"><div><br></div><div><br></div><div><br><br><div class="gmail_quote">2011/8/3 Miller Puckette <span dir="ltr">&lt;<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Alex --<br>
<br>
Have you tried sending textfile an &quot;open [my-filename] cr&quot; message?  The<br>
&quot;cr&quot; flag asks to interpret newlines as end-of-list.<br>
<br>
cheers<br>
Miller<br>
<div><div></div><div><br>
On Tue, Aug 02, 2011 at 11:51:17PM -0300, Alexandre Torres Porres wrote:<br>
&gt; Hi folks<br>
&gt;<br>
&gt; Back in the end of my masters, I did make something that allows you to load<br>
&gt; scales from the Scala software into Pd, which has a database of over 4000<br>
&gt; scales.<br>
&gt;<br>
&gt; Check the software and data bank here <a href="http://www.huygens-fokker.org/scala/" target="_blank">http://www.huygens-fokker.org/scala/</a><br>
&gt;<br>
&gt; It&#39;s an extremely powerful tool for microtonality, but you may not care for<br>
&gt; that and just want to use the scale data bank in Pd.<br>
&gt;<br>
&gt; Anyway, I have a way that exports the  from the Scala software into a text<br>
&gt; file that opens in this specific subpatch of mine.<br>
&gt;<br>
&gt; But I was trying to do something easier, and that is just load these *.scl<br>
&gt; files into [textfile] or [msgfile] for example, and extracting the list of<br>
&gt; these scale intervals in cents.<br>
&gt;<br>
&gt; Here&#39;s what one of these files look like<br>
&gt;<br>
&gt;<br>
&gt; ==============<br>
&gt;<br>
&gt; ! 08-11.scl<br>
&gt; !<br>
&gt; 8 out of 11-tET<br>
&gt;  8<br>
&gt; !<br>
&gt;  218.18182<br>
&gt;  327.27273<br>
&gt;  436.36364<br>
&gt;  654.54545<br>
&gt;  763.63636<br>
&gt;  872.72727<br>
&gt;  1090.90909<br>
&gt;  2/1<br>
&gt;<br>
&gt;<br>
&gt; ===============<br>
&gt;<br>
&gt; So I assumed it&#39;d be easy to extract each cents value and make a list out of<br>
&gt; it, but I was wrong. Don&#39;t know why but it doesn&#39;t load this in separate<br>
&gt; lines, maybe because it is not a *.txt file at all.<br>
&gt;<br>
&gt; And anyway, I&#39;m getting in Pd just a list, so the above file, for example,<br>
&gt; file becomes<br>
&gt;<br>
&gt;<br>
&gt; list ! 08-11.scl ! 8 out of 11-tET 8 ! 218.182 327.273 436.364 654.545<br>
&gt; 763.636 872.727 1090.91 2/1<br>
&gt;<br>
&gt;<br>
&gt; I seem to have found a messy way to get the list out of it, but maybe you<br>
&gt; people know of something really simple and elegant with some extended<br>
&gt; objects.<br>
&gt;<br>
&gt;<br>
&gt; Thanks<br>
&gt; Alex<br>
<br>
</div></div>&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br>