Skip to content

digiemu 0.4.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:49
· 8 commits to main since this release
0d03826

digiemu 0.4.0 runs two more Elektron instruments, the Model:Cycles and the Model:Samples, and is the first release with a macOS app, for Apple silicon, signed and notarized by Apple. It also fixes crackle on the Digitone.

Get started

Windows

  1. Download digiemu-win64-0.4.0.zip below and unzip it anywhere you can write to, except a OneDrive folder.
  2. Get the firmware from Elektron's website:
    • Digitakt_OS1.53.syx for the Digitakt;
    • Digitone_and_Digitone_Keys_OS1.44.syx (or 1.43) for the Digitone;
    • model-cycles_OS1.13.syx for the Model:Cycles;
    • model-samples_OS1.13.syx for the Model:Samples.
  3. Run digiemu.exe, click Add firmware and pick the .syx. Setup runs once per firmware. On a desktop it takes about 25 seconds for a Digitakt or Digitone, 15 for a Model:Samples and 35 for a Model:Cycles.
  4. Click Play.

The exe is not code-signed, so Windows SmartScreen asks first: choose More info, then Run anyway. A PC with Smart App Control turned on blocks it. Tested on Windows 11, 64-bit.

macOS (Apple silicon)

  1. Download digiemu-macos-arm64-0.4.0.dmg below, open it, and drag digiemu to Applications. It needs a Mac with Apple silicon (M1 or later).
  2. Get the firmware from Elektron's website, as above.
  3. Open digiemu, click Add firmware and pick the .syx.
  4. Click Play.

The app is signed and notarized, so macOS asks only once, as it does for any app from the internet. It keeps your firmware folders, sessions and logs in ~/Library/Application Support/digiemu.

Upgrading from 0.3.0 on Windows: unzip 0.4.0 into a new folder, then move the firmware folder from your 0.3.0 folder into it. A firmware set up with 0.3.0 opens where you left off, without being set up again.

What's new

  • Model:Cycles and Model:Samples, OS 1.13.
    • Both boot to their own screen and play their patterns, with live 48 kHz audio and MIDI in and out, as on the Digitakt.
    • They share one window:
      • VOLUME (the instrument's own knob) and LEVEL/DATA;
      • the fourteen parameter knobs, the keys and the transport;
      • the six pads (where you click on a pad sets how hard it is hit);
      • the sixteen trig keys and the key LEDs.
    • On the Model:Samples, LOAD SAMPLES puts WAV files in /incoming. In the sample browser, WAVE opens it, LEVEL/DATA moves through it, and the key under PITCH (its push switch) opens a folder or picks a sample.
    • The Model:Samples' factory samples are not part of its firmware, so its factory patterns are silent until you load samples of your own. The Model:Cycles' factory sounds are in its firmware and play straight away.
    • Check firmware... works on both.
  • The macOS app. It does everything the Windows app does, for Apple silicon Macs, and is signed with a Developer ID and notarized by Apple. MIDI also offers a virtual port named after the instrument, for a DAW.
  • No more crackle on the Digitone. Under live audio the main processor could read the second processor's voices while it was still rendering them, which was heard as crackle.
    • The main processor now waits for the render, and each render starts as early as it can, so the Digitone still plays at full speed.
    • Measured here: a 6.5-second recording of the factory pattern had 25 to 29 glitches at the same point in every 32-sample block, and now has none.
    • Thanks to @amorgan101010, who found and fixed it.

Known limits

  • The Models:
    • USB audio, USB MIDI, the battery (Power Handle), and a pad's pressure after it is hit are not modelled.
    • Their keys carry the names the firmware's factory test gives them, which may differ from what is printed on the panel.
  • MIDI:
    • a buffer the firmware sends by DMA goes out at once, not at 31250 baud;
    • there is no USB MIDI;
    • OUT PORT FUNC's DIN 24 and DIN 48 sync modes are not modelled;
    • on Windows, MIDI data passing through a device has not been tested yet.
  • Tested releases are Digitakt OS 1.53, Digitone OS 1.43 and 1.44, and Model:Cycles and Model:Samples OS 1.13. Digitakt OS 1.54 sets up and boots once you confirm, but has not been tested further. Other releases of these products also run once you confirm; other Elektron products are recognised and turned away.
  • The Digitone runs as a plain Digitone. The Digitone Keys' keyboard, wheels and extra keys are not there.
  • The Digitakt's factory sample library lives on the real device's storage, not in the firmware, so /factory is empty, as on the Model:Samples.
  • A 48 kHz sample plays at the right pitch. Whether 44.1 kHz samples do is not verified yet.
  • The macOS app passes its self-test, but has not yet been tried with a firmware on a real Mac. There is no build for Intel Macs.
  • Control Flow Guard is cleared in both Windows exes, because Unicorn's longjmp fails under it. The process then has the same protections as python.exe.

The README, docs/STATUS.md and MODELS.md have the full list.

Licence

GPL-2.0-or-later. The GPL text, and the licences of Python, Tk, Capstone and python-rtmidi (with RtMidi's), are inside the zip and the app.

Checksum

3daff97025e9ffcc007c57f787875f42816bbd80a0bec6d069fceec4a204fd7f *digiemu-win64-0.4.0.zip
8564a6d9f3ccba7a2122b69c63f9c870163eee8d42a0efe412a3b114d8df2506 *digiemu-macos-arm64-0.4.0.dmg

Build

Built by GitHub Actions from tag v0.4.0 (commit 0d03826) with tools/build-windows.ps1 on Python 3.11.9 (the run). The bundled unicorn.dll (SHA-256 b4633ceabb7ceae91165682b96ed9757e80a01160b5a7f13c90bb6e084f995d9) is Unicorn 2.1.4 with the patches in patches/, built from source on the runner.

The macOS app (Apple silicon) is built the same way, with tools/build-macos.sh on Python 3.12.10. Its libunicorn.2.dylib is built from the same sources (SHA-256 edb03f0704c912a0da23ca3cc053c9917a6df10dbe7973800eeb3e7badf0708e as built; bundling rewrites and signs it). The app is signed with a Developer ID and notarized by Apple.

No Elektron firmware is included. digiemu is not affiliated with or endorsed by Elektron.