Hi folks<div><br></div><div>Back in the end of my masters, I did make something that allows you to load scales from the Scala software into Pd, which has a database of over 4000 scales.</div><div><br></div><div>Check the software and data bank here <a href="http://www.huygens-fokker.org/scala/">http://www.huygens-fokker.org/scala/</a></div>
<div><br></div><div>It&#39;s an extremely powerful tool for microtonality, but you may not care for that and just want to use the scale data bank in Pd.</div><div><br></div><div>Anyway, I have a way that exports the  from the Scala software into a text file that opens in this specific subpatch of mine.</div>
<div><br></div><div>But I was trying to do something easier, and that is just load these *.scl files into [textfile] or [msgfile] for example, and extracting the list of these scale intervals in cents.</div><div><br></div>
<div>Here&#39;s what one of these files look like</div><div><br></div><div><br></div><div>==============</div><div><br></div><div><div>! 08-11.scl</div><div>!</div><div>8 out of 11-tET</div><div> 8</div><div>!</div><div> 218.18182</div>
<div> 327.27273</div><div> 436.36364</div><div> 654.54545</div><div> 763.63636</div><div> 872.72727</div><div> 1090.90909</div><div> 2/1</div></div><div><br></div><div><br></div><div>===============</div><div><br></div><div>
So I assumed it&#39;d be easy to extract each cents value and make a list out of it, but I was wrong. Don&#39;t know why but it doesn&#39;t load this in separate lines, maybe because it is not a *.txt file at all.</div><div>
<br></div><div>And anyway, I&#39;m getting in Pd just a list, so the above file, for example, file becomes</div><div><br></div><div><br></div><div>list ! 08-11.scl ! 8 out of 11-tET 8 ! 218.182 327.273 436.364 654.545 763.636 872.727 1090.91 2/1</div>
<div><br></div><div><br></div><div>I seem to have found a messy way to get the list out of it, but maybe you people know of something really simple and elegant with some extended objects.</div><div><br></div><div><br></div>
<div>Thanks</div><div>Alex</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>