Skip to content

digiemu 0.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Oct 15:30
· 3 commits to main since this release
f57c2f2

digiemu 0.4.1 fixes Play for the Model:Cycles and the Model:Samples. 0.4.0 set them up, but could not open their window. It also adds live audio on Linux, for running from source, and shows Digitakt OS 1.54's key LEDs as soon as a session opens.

Get started

Windows

  1. Download digiemu-win64-0.4.1.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.1.dmg below, open it, and drag digiemu to Applications, replacing 0.4.0 if you have it. 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, so replacing the app keeps them.

Upgrading from 0.4.0 on Windows: unzip 0.4.1 into a new folder, then move the firmware folder from your 0.4.0 folder into it. Everything set up with 0.4.0, the Models included, opens without being set up again.

What's new

  • The Model:Cycles and Model:Samples open. In 0.4.0, Play did nothing for them. The app had no way to load their window, and the folder's logs/panel.log ended with ImportError: no panel module 'emu.mdpanel'. Setup was not affected, so a Model set up with 0.4.0 plays in 0.4.1 straight away. Thanks to @amorgan101010, who found and fixed it.
  • Live audio on Linux, for running from source. It goes through PulseAudio, or PipeWire's pipewire-pulse, with nothing to install. Before, the window said "no output device" there. If the sound server goes away, digiemu tries for it again every second. DIGIEMU_PULSE_MS sets the buffer it asks the server for. Thanks to @amorgan101010.
  • Digitakt OS 1.54's key LEDs show their state as soon as a saved session opens. Before, they stayed dark until the firmware next changed them. Thanks to @yratof.

Known limits

  • Linux live audio has been run on Arch with PipeWire. It has not been run on WSL2 or with PulseAudio itself.
  • 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

b27aaea082fc25e7f985db3a3649d544e4a8d5a078f507cf964d16c015ac0fb9 *digiemu-win64-0.4.1.zip
c6020db491ad1a34b1fb1b1ece1362b24110f21c597bd41f029bbbce31c48db6 *digiemu-macos-arm64-0.4.1.dmg

Build

Built by GitHub Actions from tag v0.4.1 (commit f57c2f2) with tools/build-windows.ps1 on Python 3.11.9 (the run). The bundled unicorn.dll (SHA-256 dbed4c9ddabf5b48319941f170e06eedf9de32a7c75f487bb89c3bcb57797456) 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 ba3d6cf5e98332457efd8143d119824156cc42320d9504b99ae614ccfc3ce5cd 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.