Menu

#2 need to open (and save) scala files

open
nobody
io (1)
5
2003-06-26
2003-06-26
No

File format description can be found here. http://
www.xs4all.nl/~huygensf/scala/scl_format.html

--> note that file format explicitly calls for ascii and is in
english

--> also, scala supports non-fractional tunings, which the
JJiCalc cannot support unless converted to fractional form.
realistically, any cents can be converted to ratio, even if it's
a really ugly one like 221324123/234266666 (to give a silly
example)

when jjicalc exports to scala, the name and the comment
ought to be commented lines at the top of the file. actual
scales ought to be exported as fractions only. the scala file
format has some advantages over the current file format,
since the lower ratio and title bars can get filled up with junk
that the user might not want to save. (perhaps we should
get rid of some button (like the "lattice one, since "lattice" is
now under the windows menu) and replace it with a
"fractions only" button or add a "save fractions only" option
under the file menu).

obviously, more flexibility is needed both reading in and
spitting out files. i don't think the TableData classes were
the answer. perhaps a new type of interface to which
information can be passed and read? then classes can be
created for scala files and regular files and even an internet
connection could be lurking behind the interface for sharing
across networks as some sort of instant messenger plug in
in a far future version :)

Discussion


Log in to post a comment.