BY DOWNLOADING OR USING THE LX SOFTWARE OR ANY PART THEREOF, YOU AGREE TO THE TERMS AND CONDITIONS OF THE CHROMATIK / LX SOFTWARE LICENSE AND DISTRIBUTION AGREEMENT.
Please note that LX is not open-source software. The license grants permission to use this software freely in non-commercial applications. Commercial use is subject to a total annual revenue limit of $25K on any and all projects associated with the software. If this licensing is obstructive to your needs or you are unclear as to whether your desired use case is compliant, contact me to discuss proprietary licensing: licensing@chromatik.co
This is a template repository used to demonstrate how to build a package for Chromatik using the LX framework.
Learn to code in LX via the Chromatik Developer Guide →
- Metadata
- Define your packages metadata in the
lx.packagefile, JSON format with three key fieldsname: Name of the packageauthor: Name of the package authormediaDir: Subfolder name for package static resources in the~/Chromatik/user folder
- Define your packages metadata in the
- Java Components
- Your package can contain custom patterns, effects, modulators, and plugins
- Java source code lives under
src/main/javaand may use the LX API - Chromatik will automatically import all public non-abstract classes
- Static Resources
- Static resources like fixture definitions (
*.lxf), model definitions (*.lxm), or project files (*.lxp) can be bundled with a package. These live in thesrc/main/resourcesfolder under the subfoldersfixtures,models,projects. - When the package is imported using the Chromatik UI, these static resources will be copied into the
~/Chromatikuser folder, in a sub-folder defined by themediaDirproperty of thelx.packagefile.
- Static resources like fixture definitions (
Packages are distributed as a JAR file containing all of the above components.
- Build with
mvn package - Install with
mvn install - Install to Chromatik package folder with
mvn -Pinstall install
Note that mvn -Pinstall install does not automatically copy static files from src/main/resources into your root ~/Chromatik folder. You can either perform this step manually, or by importing the package using the Chromatik UI.
Join us on Discord →
Or send an email to support@chromatik.co