Sevish

How to convert .tun file to .scl easily with Scale Workshop

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.

Instructions

Go to https://sevish.com/scaleworkshop

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.


9 thoughts on “How to convert .tun file to .scl easily with Scale Workshop”

  1. 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?
    Thanks!

    Reply

    1. 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? https://github.com/SeanArchibald/scale-workshop/issues/65

      Cheers

      Reply

      1. Matteo B

        Thanks!
        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!

        Reply

      2. Greg

        I don’t understand. Here’s a link to my custom scale: https://sevish.com/scaleworkshop/?name=Pythagorean&data=104.95541297.51371386.31371551.31794628.27435701.95500840.52766968.825911029.577191145.035571200.&freq=512&midi=59&vert=5&horiz=1&colors=white%20black%20white%20white%20black%20white%20black%20white%20white%20black%20white%20black&waveform=semisine&ampenv=organ

        However, when I export it as a .tun, the notes exported are all wrong in the .tun file. Further, when I export it as a .scl, scala doesn’t recognize the file.

        Reply

  2. 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.

    Reply

  3. John Starrett

    There seems to be something going on with the Scale Workshop. I can’t find the export tab, and when I try to download the manual or look at it I get an error page.

    Reply

    1. Sevish Post author

      This guide is out of date now, sorry about that! We released Scale Workshop 2 the day before this comment, so things are a little different. I’ll have to go through my blog some time and update the out of date stuff…

      Reply

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>

*