Skip to content

OpenElixir-02 v1.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 10:52
· 27 commits to main since this release

OpenElixir-02 1.1, custom firmware for the Erica Synths LXR-02 drum machine: uninterrupted
playback.

Tested on hardware by the author. OpenElixir-02 is not official Erica Synths firmware and is not
affiliated with or approved by Erica Synths. Install it at your own risk.

Sound and timing come first

From this release on, one rule applies to everything in OpenElixir-02: nothing has a higher priority
than the sound and the sequencer.
Menus, the display, the SD card and MIDI all wait for them, never
the other way round. A drum machine is played live; a dropout or a stumble in front of an audience is
not acceptable, however busy the unit is.

This release is the first big step: it removes the interruptions we measured on the device with the
CPU meter development build. More work on the sequencer timing will follow.

Keep playing, whatever you do

While the sequencer runs, these no longer interrupt the audio:

  • Turning knobs and the encoder, and working in the config menu.
  • Loading kits, also single voices and kits from other projects on the SD card.
  • Saving kits, patterns and projects to the SD card.
  • Inserting the SD card and saving or loading the settings.

What changed:

  • The DACs can't run dry any more. The audio is sent to the DACs continuously by the hardware. It
    used to be restarted in software after every block (64 samples), from the lowest-priority interrupt,
    so any busy moment could leave a gap. The worst delay in that path dropped from up to 103 µs to
    17 µs, and no longer matters.
  • No more pauses during SD card access. Saving a kit used to stop the audio and the sequencer for
    up to 28 ms, loading a kit from another project for about 6 ms. Now the audio keeps being rendered
    while the card is read or written.
  • The display stays out of the way. Page changes and full screen repaints no longer run in the
    highest-priority interrupt, where they held up the audio.

No dropouts were counted in any of the tested situations. The sound itself is unchanged.

Also included

Everything from 1.0: freely assignable voice engines (SHIFT + KIT), loading single voices and kits from
any project, the limiter (switchable in the config menu), the safe project save and the stock firmware
fixes. Details: README.

For developers: the CPU meter build (-DLXR_CPU_METER=ON) has two new pages, timing and stalls.

Installing

  1. Download LXR_OpenElixir-02_V1.1.img below.
  2. Copy it to the top folder of the SD card and delete any other LXR*.img files there.
  3. Switch the LXR-02 off, insert the card, hold the encoder button and switch it on. Keep holding
    until "LXR Updater" appears.
  4. Wait for "Update OK!". The device restarts with the new firmware.

To go back, install the official firmware update from Erica Synths the same way. Kits saved with
OpenElixir-02 keep working there; slots with a different engine play with their stock engine.

The .hex and .elf files are for programming and debugging with an ST-Link; you don't need them for
a normal update.