export

Scale# export

A collection of functions that exports various file formats

Methods

# (static) scala(filenameopt, diropt)

Generates a scala file with the current tuning of the scale

Parameters:
Name Type Attributes Default Description
filename String <optional>

When not provided, the file name will be the name of the scale

dir String <optional>
true

The directory to which the file will be saved

Source:
Example
let edo = new EDO(17) //define context
let scale = edo.scale([0,1,4,5,7,13,16]) //some scale in 17-EDO
scale.export.scala("my_tuning.scl") //outputs /scala/my_tuning.scl