sciss / mellite Contributors Wanted

An environment for creating experimental computer-based music and sound art. Mirror of

Version Matrix



Gitter Build Status Maven Central Donate using Liberapay


Mellite is a computer music environment, implemented as a graphical front end for SoundProcesses. It is (C)opyright 2012–2020 by Hanns Holger Rutz. All rights reserved. Mellite is released under the GNU Affero General Public License v3+ and comes with absolutely no warranties. To contact the author, send an email to contact at The website for Mellite is

Please consider supporting this project through Liberapay (see badge above) – thank you!

The licenses folder contains the license headers for all dependencies and transitive dependencies. See overview.txt for a dependency overview. For the binary release of Mellite, source code is not included but available via the respective OSS project pages, as indicated in the license files, or—in compliance with GPL/LGPL—on request via E-Mail. All source code with group-id de.sciss is available from or

The Mellite icon is based on the file MELLITE Taillée Hongrie.jpg, provided by Didier Descouens under CC BY 4.0 license.


download and installation

In order to run the application, you must have a Java Development Kit (JDK) installed. The recommended version is JDK 8. You can use either OpenJDK or Oracle JDK. On the Raspberry Pi, we currently recommend Oracle JDK, as there are stability issues with OpenJDK 8. Oracle JDK 8 is available from here. On Linux, to install OpenJDK, use sudo apt install openjdk-8-jdk.

In order to use the built-in API browser, you additionally need JavaFX. It may be part of Oracle JDK. When using OpenJDK, you should install the package openjfx (e.g. sudo apt install openjfx.)

For real-time sound reproduction, the SuperCollider server is needed. The recommended version is 3.9.0 or above (technically 3.7.0 or higher should work).


When using JDK 8 under Debian and GNOME, there is a bug in the assistive technology (Atk) which results in performance degradation over time, as the some of the UI is used. To solve this problem, create a plain text file ~/ (that is, in your home directory) and put the following contents inside:


Mellite has now also been tested with JDK 11. You will see some warnings/errors when starting, including "An illegal reflective access operation has occurred" and "ERROR com.alee.utils.ProprietaryUtils - java.lang.NoSuchFieldException: AA_TEXT_PROPERTY_KEY". These are related to the Web Look-and-Feel, and can be ignored. However, JavaFX is not available as a system-wide package for JDK 11, so the API browser currently does not work under JDK 11.


The standalone jar, created via ./sbt mellite-app/assembly produces app/Mellite.jar which is double-clickable and can be run via:

$ java -jar app/Mellite.jar

Runnable packages can be created via ./sbt mellite-app/universal:packageBin (all platforms) or ./sbt mellite-app/debian:packageBin (Debian).


Video and text tutorials, as well as API docs can be found online here:

Note that this project is still experimental in its nature, meaning that many features are incomplete or buggy, and that the application is subject to change. For example, there is no guarantee that workspaces in an older version of Mellite can still be fully opened in newer versions, although I try to minimise incompatibilities in the serialization. You have been warned!

Please do not hesitate to ask on the Gitter channel.


Please see the file


If you want to use Mellite as a "library" in your project, you can link to a Maven artifact.

The following artifact is available from Maven Central:

"de.sciss" %% "mellite-core" % "3.2.2"
"de.sciss" %% "mellite-app"  % "3.2.2"

building from source

See the section 'download and installation' for requirements (JDK, JavaFX).

Mellite builds with sbt and Scala 2.13, 2.12. The last version to support Scala 2.11 is 2.38.1. The last version to support Scala 2.10 is 2.10.2. The default target and the binary distribution of the application are currently based on Scala 2.13. Scala 2.12 was used up to Mellite v2.43.0.

The dependencies will be downloaded automatically from Maven Central repository, except for snapshots during development.

Dependencies not found are all available from their respective git repositories, so in case you want to build a snapshot version, you may need to check out these projects and publish them yourself using sbt publishLocal.

See section 'running' for ways of building and installing standalone bundles.

building with bundled JDK

We are currently experimenting with a build variant that bundles the JDK using the JLink plugin for sbt-native-packager. In order to build this version, run sbt mellite-full/universal:packageBin. This must be done on a host JDK 11. The produced installation is platform dependent, so will create a version that only works on the OS you are building from.

Note that should probably specify an explicit java-home, otherwise the bundled package might be unreasonably large:

sbt ++2.13.3 -java-home ~/Downloads/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9_11/jdk-11.0.9+11 clean update mellite-full/debian:packageBin

creating new releases

This section is an aide-mémoire for me in releasing stable versions.

  1. check that no SNAPSHOT versions of libraries are used: cat build.sbt | grep SNAPSHOT. Change commonVersion and appVersion appropriately.
  2. if releasing a new minor version, make sure it is binary compatible: sbt mimaReportBinaryIssues
  3. check that libraries are up-to-date, and that there are no binary conflicts: sbt mellite-core/dependencyUpdates mellite-core/evicted
  4. note that we have a "ping-pong" process now: we need to publish (locally) a new version of mellite-core, then of negatum-core and negatum-views. The core library should be published using JDK 8 (I use script java-use-8 which calls update-java-alternatives). Then: sbt +mellite-core/clean +mellite-core/update +mellite-core/publishLocal.
  5. Check Negatum: sbt negatum-core/dependencyUpdates negatum-core/evicted. Publish locally: sbt +negatum-core/clean +negatum-core/update +negatum-core/publishLocal and sbt +negatum-views/clean +negatum-views/update +negatum-views/publishLocal
  6. Check ScalaFreesound: sbt dependencyUpdates evicted. Publish locally: sbt +clean +update +test +publishLocal
  7. now for app: sbt mellite-app/dependencyUpdates mellite-app/evicted
  8. License information in is updated by running sbt mellite-app/dumpLicenseReport via sbt-license-report. Output is found in app/src/main/resources/de/sciss/mellite/mellite-app-licenses.csv.
  9. Make sure the XFree desktop file version is set: vim app/src/debian/Mellite.desktop
  10. Update the release versions in
  11. Test the app building: sbt +mellite-app/clean +mellite-app/update +mellite-app/test mellite-app/assembly

We're currently publishing the following artifacts:

  • mellite_<version>
  • mellite-full_<version>
  • mellite-full_<version>_amd64.deb
  • mellite-full_<version>
  • mellite-full_<version>

To build for Linux:

  1. java-use-8
  2. sbt mellite-app/universal:packageBin
  3. java-use-11
  4. sbt -java-home '/home/hhrutz/Downloads/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9_11/jdk-11.0.9+11' mellite-full/universal:packageBin mellite-full/debian:packageBin

Copy the artifacts to a safe location now. To build for Mac and Windows, we need to publish all libraries now to Maven Central (use JDK 8 again!). Then Windows can be built on Linux using wine:

  1. rm -rf full/target (otherwise Jlink fails)
  2. wine cmd.exe and Z:\home\hhrutz\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.9_11\jdk-11.0.9+11\bin\java.exe -jar Z:\home\hhrutz\Downloads\sbt-1.4.2\sbt\bin\sbt-launch.jar then in sbt console: project mellite-full and universal:packageBin

N.B.: sbt 1.4.x seems no longer to work under wine due to coursier updates; for now we can still build by setting the version in to 1.3.13 temporarily!

For Mac we need a bloody fruit company machine:

  1. git fetch; git merge origin/work
  2. ./sbt -java-home /Users/naya/Downloads/jdk-11.0.9+11/Contents/Home clean update mellite-full/universal:packageBin
  3. We need to set the execution bits on Linux after copying the zip to the Linux machine, and unpacking it: rm mellite-full_<version>_mac_x64/bin/mellite.bat then rm mellite-full_<version> then chmod a+x mellite-full_<version>_mac_x64/bin/mellite then chmod a+x mellite-full_<version>_mac_x64/jre/bin/*
  4. Repackage: zip -y -r -9 mellite-full_<version> mellite-full_<version>_mac_x64