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'm showing at PdCon, see you all there.</div>
<div><br></div><div>See you all there soon!</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">2011/8/3 Miller Puckette <span dir="ltr"><<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>></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 "open [my-filename] cr" message? The<br>
"cr" flag asks to interpret newlines as end-of-list.<br>
<br>
cheers<br>
Miller<br>
<div><div></div><div class="h5"><br>
On Tue, Aug 02, 2011 at 11:51:17PM -0300, Alexandre Torres Porres wrote:<br>
> Hi folks<br>
><br>
> Back in the end of my masters, I did make something that allows you to load<br>
> scales from the Scala software into Pd, which has a database of over 4000<br>
> scales.<br>
><br>
> 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>
><br>
> It's an extremely powerful tool for microtonality, but you may not care for<br>
> that and just want to use the scale data bank in Pd.<br>
><br>
> Anyway, I have a way that exports the from the Scala software into a text<br>
> file that opens in this specific subpatch of mine.<br>
><br>
> But I was trying to do something easier, and that is just load these *.scl<br>
> files into [textfile] or [msgfile] for example, and extracting the list of<br>
> these scale intervals in cents.<br>
><br>
> Here's what one of these files look like<br>
><br>
><br>
> ==============<br>
><br>
> ! 08-11.scl<br>
> !<br>
> 8 out of 11-tET<br>
> 8<br>
> !<br>
> 218.18182<br>
> 327.27273<br>
> 436.36364<br>
> 654.54545<br>
> 763.63636<br>
> 872.72727<br>
> 1090.90909<br>
> 2/1<br>
><br>
><br>
> ===============<br>
><br>
> So I assumed it'd be easy to extract each cents value and make a list out of<br>
> it, but I was wrong. Don't know why but it doesn't load this in separate<br>
> lines, maybe because it is not a *.txt file at all.<br>
><br>
> And anyway, I'm getting in Pd just a list, so the above file, for example,<br>
> file becomes<br>
><br>
><br>
> list ! 08-11.scl ! 8 out of 11-tET 8 ! 218.182 327.273 436.364 654.545<br>
> 763.636 872.727 1090.91 2/1<br>
><br>
><br>
> I seem to have found a messy way to get the list out of it, but maybe you<br>
> people know of something really simple and elegant with some extended<br>
> objects.<br>
><br>
><br>
> Thanks<br>
> Alex<br>
<br>
</div></div>> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <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>