Kyma Forum
  Kyma Support
  Scala Files

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Scala Files
photonal
Member
posted 03 March 2007 07:21         Edit/Delete Message   Reply w/Quote
I've been attempting to edit the Tuning tool to also enable it to read Scala Files (http://www.xs4all.nl/~huygensf/scala/) but I am unable to to overide the txt file type. The tuning files have the .scl extension, but are in fact ascii text files.

Is there there a way of doing this within Capytalk without converting the original file to a .txt file?

Thanks, Andrew

IP: Logged

SSC
Administrator
posted 04 March 2007 10:10         Edit/Delete Message   Reply w/Quote
Since you are editing the Tool, you have probably already seen where it says HostDriverInterface textFileType. You should be able to change this to anyFileType.

IP: Logged

photonal
Member
posted 14 March 2007 15:41         Edit/Delete Message   Reply w/Quote

parsed1.zip


parsed2.zip


parsed3.zip

 
I tried editing the tuning tool some more but I have no idea how to go about parsing and tokenising the .scl scale files within Smalltalk/Capytalk.

Instead using unix commands sed & awk, I wrote a shell script (sclParser.sh) which converts the scl files into Kyma readable files within the EqualTemperament part of the Tuning tool.

Unpack the archives and load respectively as SCALENAME.scl.parsed.txt
(the attached zip archive contains the complete scale files archive (http://www.xs4all.nl/~huygensf/doc/scales.zip) in the converted format)

The file "0000 File Parsing" illustrates how you can parse other scl files using the script on a unix command line.

I've not tried out every scale (3000+) ! but if you find any problems let me know


IP: Logged

SSC
Administrator
posted 14 March 2007 17:44         Edit/Delete Message   Reply w/Quote
Cool! Thanks Andrew!

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c