Versions 2.0 and higher have a graphical user interface based on the powerful Gtk+ toolkit which enables portability between Linux, Unix and Windows platforms. All the important functions are accessible via the menu. After installing, see readme.txt for more information.
Versions 1.x are a console application which runs in a terminal window (command window, xterm, etc.)
To install on Windows, first download the Gtk+ Windows Runtime Environment installer available from http://gtk-win.sourceforge.net. The version should be 2.16.6 or 2.24.8 but no versions in between because they have problems. In the GTK2 runtime installer, leave the tickboxes in the additional options on, especially the one with the PATH variable. You can also use the GTK2 Themes installer (GTK+ Preference Tool) from SourceForge.net: Downloads to change the visual style of Scala. If you have an older Gtk+ installation (2.10 and earlier), it is best to uninstall it first.
Then run the Scala_Setup.exe program and choose an installation directory, for example C:\Program Files\Scala22 or C:\Scala22. It can be installed in an existing directory overwriting a previous version.
If you get an error message about a missing entry point of libglib-2.0-0.dll, or other error messages about dlls, your Gtk version is probably too old, or there is another incompatible Gtk version installed in another location, or the PATH (environment variable) does not contain the GTK2-Runtime\bin location. In case it does there's probably an incompatible version installed or left over. Then try moving the GTK2-Runtime\bin location more to the left in the PATH variable (Go to Control Panel, System, Advanced, Environment Variables). Also look for Gtk files in other locations on the computer, especially the system area \windows\system32 where they don't belong, or other directories contained in the PATH variable. If you are using Windows Vista or higher, you can try also to install Gtk in C:\Program Files\ and NOT into the (x86) folder.
If you want to make graphical plots like scale plots, interval histograms, etc. then the Windows version of GNUplot must be downloaded and installed also from http://sourceforge.net/projects/gnuplot/files/gnuplot/
On Ubuntu Linux, install the following packages:
On Ubuntu Linux, install the following packages:
Warning, it's quite hard to install on a Mac, the best description of how to do it was made by Curtis Macdonald. Before proceeding please read his page microtuning MIDI.
Download and install the latest Apple X11 package from http://xquartz.macosforge.org/trac/wiki/Releases, or from DVD.
sudo port install fontconfig
sudo port install gtk2
If you get an error message it's likely that the location where MacPorts is installed is not in the PATH environment variable. To fix this modify the relevant file by typing open .profile in the terminal window in your home folder (navigate there by typing cd ~) and add this line:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
Then restart Terminal and try again.
Dyld Error Message:
Library not loaded: /opt/local/lib/libpng12.0.dylib
Referenced from: /Applications/Scala.app/Contents/Resources/scala22/scala
Reason: no suitable image found. Did find:
/opt/local/lib/libpng12.0.dylib: mach-o, but wrong architecture
An alternative workaround is this: "I activated libpng14 with MacPorts, copied libpng14.14.dylib to a temporary
directory, activated libpng12, and then copied libpng14.14.dylib back to
/opt/local/lib. Thus I have both libpng12 and libpng14 dylibs in that directory."
It plays via Apple's DLS Synthesizer and it can set soundfonts: http://mac.softpedia.com/get/Audio/SimpleSynth.shtml.
Note: If you have OS X 10.6 on Intel which is 64-bit instead of 32-bit, you must make sure that the MacPorts gtk2 package is available in the 32-bit version. To do this, type the following command in Terminal after it's installed:
sudo port upgrade --enforce-variants gtk2 +universal
Note: If you have OS X 10.5 on PowerPC then use the following workaround:
Download and install the latest Apple X11 package from http://xquartz.macosforge.org/trac/wiki/Releases, or from DVD. It's included with Xcode on Mac OS X 10.5 "Leopard". It's located in the "Optional Installs.mpkg" package on the Mac OS X 10.4 "Tiger" DVD. It's on disk 3 of the Mac OS X 10.3 "Jaguar" CD set. Don't forget to install the X11 SDK, too. It is not included by default on earlier systems, and it is required by everything else.
http://www.macports.org/install.php
sudo port install gtk2
a) Download and install Tiger package
b) Control-click Scala.app, Show Package Contents
c) Open Scala.app's Contents/Resources/script with your favourite text editor
d) Delete lines 13-27
e) Save Contents/Resources/script
Please read the following instructions carefully if you use 10.4 and
the information on Install and use Scala on Mac OS X 10.4,
especially if you still have OS X 10.3.
- Check if X11 is installed. If so, you should see an X11 icon inside
Applications/Utilities/X11. If not, install it from Apple's OS X DVD (or the above website).
- Unzip ScalaX.zip
- Mount the Scala.dmg disk image (double click on it)
- Drag the Scala folder from the image into the Applications folder
- Double click on Scala inside the Scala folder to run
- Type "help" in the bottom line of the Scala window
This is the old command line version and not recommended. Installation instructions:
- unstuff, move "ScalaX" into Applications
- go into Terminal window, use the cd command to go to the
folder where the Scala files are: cd /Applications/ScalaX
- start Scala using the command: ./scala
- then start the tutorial with @tutorial
Scala can be compiled on almost every variety of Unix and Linux. For PC/Intel, see above. For other platforms, contact the author at coul@huygens-fokker.org.
A large collection of over 4000 scale files for Scala is also available for download.
unzip -aa scales.zip
N.B. If the files are unzipped on Mac and Linux like normal without this option, they cannot be opened! Do not just double click on the zipfile assuming that it works!
23 May 2013