Repository navigation
Enaga v0.2.0
Enaga 0.2.0 brings MIDI, an external clock, input selection, pad pressure, a small UI toolkit, app icons and the first SDK. With the SDK you can write apps from the release downloads alone, without cloning the repository.
Tested on the emulator only. Everything new in this release was tested on the emulator and in the test suite, but not yet on a unit. 0.1.0's features are unchanged and ran on a SmplTrek. Expect rough edges with MIDI, clock and USB on real hardware, and please report what you find.
For players
- MIDI on the DIN jacks: MIDI in and out, with MIDI CH and MIDI THRU settings.
- USB MIDI: connect the unit to a computer and it appears as a class-compliant MIDI device, with no driver needed. This release uses test USB IDs; real ones will follow.
- Clock and sync: one clock follows the app, MIDI clock or SYNC IN, set by CLOCK SRC. MIDI clock and SYNC OUT can send it on, set by CLOCK OUT and SYNC OUT. The SETTINGS page now scrolls.
- Input selection: apps can choose the built-in mic, Hi-Z, dynamic mic, or stereo or mono line input, at LOW, NORMAL or HIGH level.
- The built-in mic works only with headphones in.
- The input goes back to its default between apps.
- Pad pressure: pads report aftertouch-style pressure while held.
- Menu: each app now has an icon, and the menu shows five entries at a time.
- CHECK app: new MIDI and clock pages, input choice on the AUDIO page, and pressure on the PANEL page.
For app developers
- SDK:
enaga-sdk-v0.2.0.zipholds the headers, the app runtime, the build tool, a template app and three examples (tone, widgets, synth).enaga-toolchain-v0.2.0-linux-x86_64.tar.xzis a prebuilt GCC 13.3 for the C6748. It needs glibc 2.38 or newer, as on Ubuntu 24.04, Debian 13 or Fedora 39.- Start with
docs/getting-started.mdin the SDK, which goes from an empty folder to your app running on the unit. - Apps can now be built from any folder; the output goes to
<app>/build/APP.ENA.
- MIDI:
on_midiandon_midi_sysexcallbacks, with sending through<enaga/midi.hpp>.- Full MIDI 1.0 parsing: running status, real-time messages, SysEx in chunks and active sensing.
- Clock:
- Ticks at 96 PPQN, delivered with each audio block and the exact frame each tick falls on.
- Transport events: start, stop, continue and Song Position Pointer.
- Input:
enaga::system::input(source, level). - Pad pressure:
on_pad_pressureandENAGA_EVENT_PAD_PRESSURE. - UI toolkit (
<enaga/ui.hpp>):List,ParamPage,DialogandTextEntry, drawn in the menu's style, with knob groups of four.examples/widgetsshows them all. - App icons: an optional
icon.txtin the app folder (16×16, 16 greys) becomes the app's icon in the menu. Apps without one get a generic icon. <enaga/bytes.hpp>: little- and big-endian reads and writes that are safe at any address. They are needed because a misaligned 32-bit access on this processor silently uses the wrong address instead of faulting.- Rebuild your apps for 0.2.0. The app interface is provisional until 1.0, and an app needs firmware of the same version.
Known issues
- An app that divides or takes the remainder of a 64-bit integer fails to link (
undefined reference to __exidx_start). A fix is in review (#1). Until it lands, avoid 64-bit/and%in apps. - Atomic read-modify-write on 8- and 16-bit types (
std::atomic<uint8_t>::fetch_addand the like) fails to link. 32-bit types work.
Installing
Firmware update files for the SmplTrek, Lofi-12 XT and CyDrums are attached. Only the SmplTrek has been tested. Unzip the file for your device, copy the .bin to the root of the SD card keeping its name, then follow "Installing" in the README.
The toolchain's source, GCC and binutils (GPLv3) with GMP, MPFR, MPC and ISL, is enaga-toolchain-v0.2.0-source.tar.
Full changelog: v0.1.0...v0.2.0