Sevish Music

How to convert .tun file to .scl the easy way

Hey microtonal gang. If you want to convert an AnaMark tun file to Scala scl (or other tuning format), here’s how you can do it using the Scale Workshop online microtuner.


Go to

Click New > Import .tun

Select any .tun file from your computer.

Click Export > Download Scala scale (.scl)

Save the .scl file to your computer. Finish.

A few more tips about Scale Workshop, .scl files and .tun files

The above method also works in reverse – you can convert a .scl scale file to a .tun file.

The Export menu gives a few other options, such as Kontakt tuning script, Max/MSP coll frequency list, or PureData text frequency list.

Scala .scl files do not preserve the base MIDI note nor base frequency. If you find that your converted .scl file isn’t in the same key as your original .tun file, then make sure you also export the Scala Mapping (.kbm) file. A .scl and .kbm used together should be in the same key as the original .tun file you imported into Scale Workshop. A .scl file used alone will assume note 1/1 is on MIDI note 60 (middle C) at 261.63 Hz. When you export a .tun file, it already contains the base MIDI note and frequency within it, so there’s no need to export a .kbm alongside the .tun.

Are your exported files not working as expected? Windows and macOS/Linux files work slightly differently. Click General settings and make sure your correct OS is chosen under Line endings format.

Read the Scale Workshop User Guide if you want to learn how to use this software to make microtonal scales.

6 thoughts on “How to convert .tun file to .scl the easy way”

  1. Avatar Matteo B

    hi, all tun files i have are apparently v0 or v1, and it doesn’t load them on the site, “not currently supported” pops up. Any hope scaleworkshop will work with v0/v1 tun files too?


    1. Sevish Sevish Post author

      Yeah it is technically possible, but would require some work (much of the work is already done, but got stalled). The issue is that v0 and v1 files do not contain any scale data/description, they are simply a list of frequencies for each MIDI note. Turning that into a scale that Scale Workshop can understand is not trivial.

      I have added this request to the issues list. If possible can you upload an example of a v0 and a v1 file and add it there?



      1. Avatar Matteo B

        After reading your comment i opened one of my tun files and indeed there’s just a list of frequencies for all of the 127 midi notes. I’m still new to all of this, i’ll try to find a way to convert the files manually (my aim at the moment is to use the information in the file with Kontakt), but being able to do this using Scale Workshop would be invaluable.
        I’ve uploaded some files on your github page. Many compliments for your great work, especially your music!


  2. Avatar rayt

    Been searching how to convert kbm files (or whatever function they serve) to tun. I’m particularly looking to have a tun file which does the same thing as reverse.kbm which basically reverses all notes from top to bottom. Would you happen to know how this could be achieved?
    Thanks so much.


Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>