Scala open Scala files


Inherits from: Tuning 


Reads Scala files and creates a Tuning based on them. It can also generate a Scale that includes every interval in the Tuning. See Tuning for the principle methods.


More information about the Scala file format, and a link to the scale library, can be found at: 

http://www.huygens-fokker.org/scala/scl_format.html



Creation / Class Methods


*new (path)

open a Scala file

path - path to the Scala file. Default value is nil.

// Example

a = Scala("slendro.scl");

*open (path)

a more intiutive syntax for opening a Scala file


// Example

File.openDialog(nil,

{|path| a = Scala(path)});



Accessing Instance and Class Variables



scale

Generates a Scale which contains as a degree every step in the tuning

// Example

a = Scala("slendro.scl");

b = a.scale;