Skip to content

A plugin for ChucK that enables the sending of DMX over serial or over ethernet via the ArtNet and sACN network protocols.

Notifications You must be signed in to change notification settings

Oran2009/ChucK-DMX

Repository files navigation

ChucK-DMX: A DMX ChuGin for ChucK.

ChucK-DMX (v0.1.0)ChucK-DMX API ReferenceExamplesChangelog

Installing ChucK-DMX

The easiest way to install ChucK-DMX is through ChuMP, ChucK's package manager. If you wish to build from source, see Building ChucK-DMX from Source.

  1. Download ChucK version 1.5.5.0 or later. You can get the latest version here.

  2. To install ChucK-DMX, run the following command (which uses ChucK's new package manager, ChuMP):

chump install DMX

Updating ChucK-DMX

To update to the latest version of ChucK-DMX, run the following command:

chump update DMX

Running ChucK-DMX

Minimal Example

If the ChucK-DMX ChuGin is properly loaded, the following example will run without errors:

// example.ck
DMX dmx;

Congrats, you now have ChucK-DMX properly installed!

Learning ChucK-DMX

Building ChucK-DMX from Source

If you prefer to build ChucK-DMX manually instead of installing via ChuMP, follow these instructions:

Prerequisites

  • CMake version 3.15 or higher
  • A C++17 compatible compiler
  • On Windows: Visual Studio 2022 (or newer) with MSVC toolchain
  • On Linux/macOS: GCC or Clang toolchain
  • On Linux: uuid-dev package: sudo apt-get install uuid-dev

Clone the repository

git clone https://github.com/Oran2009/ChucK-DMX.git
cd ChucK-DMX

Create and enter the build directory

mkdir build
cd build

Configure and build

  • On Windows with Visual Studio:

    cmake .. -G "Visual Studio 17 2022" -A x64
    cmake --build . --config Release
    
  • On Linux/macOS:

    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
    

Output

  • The built ChuGin plugin (DMX.chug) will be located inside the build output directory, typically in:

    • Windows: build/Release/DMX.chug
    • Linux/macOS: build/DMX.chug

Using the built ChuGin

Copy the generated .chug file to your ChucK plugins directory or specify the path when loading the plugin in your scripts.

Authors

ChucK-DMX was created and is maintained by Ben Hoang.

About

A plugin for ChucK that enables the sending of DMX over serial or over ethernet via the ArtNet and sACN network protocols.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published