Patch and flash the Rytm
The Rytm side of Sidecar is a set of mods to the Rytm’s OS. The Rytm firmware 0.5.3, for Sidecar 0.5.3 (0.5.2, 0.5.1.1 and 0.5.0 before it), is built for OS 1.74 only (the older Rytm firmware 0.4.4 has a build for OS 1.74 and one for OS 1.73). We do not distribute firmware, stock or modified. You build the modified firmware from your own stock OS file on your own computer, and check that the result is bit-identical to the build we tested.
The Rytm firmware 0.5.3: patch it in your browser
Section titled “The Rytm firmware 0.5.3: patch it in your browser”Sidecar 0.5.3 comes with the Rytm firmware 0.5.3, for OS 1.74 only. It is the 0.5.2 firmware plus the lag fix for heavy projects (the Rytm’s audio-block hooks skip their work when nothing is wanted, the stock sample player skips silent voices, the send FX report compares only the tracks that changed), the Rytm going quiet until a Sidecar says hello, and a guard on the stock USB queue (Release notes). Pi 0.5.3 with Rytm 0.5.3 is the tested pair. The Pi 0.5.3 is built to keep working with a Rytm still on 0.5.2, but that pair was not tested on hardware, and the lag fix and the quiet need these files. Back up your projects first.
The Rytm firmware 0.5.2, which 0.5.3 builds on, added the Rytm side of MORPH with scene edit on the Rytm’s own pages, full effect names, the WAVETABLE labels and the answer to the Pi’s re-hello (Release notes). The Rytm firmware 0.5.1.1, which 0.5.2 builds on, added no stray Rytm sample under a Sidecar machine, smooth scrolling in the machine list and a little CPU back (Release notes).
The 0.5.0 firmware, which 0.5.1.1 builds on, added the Rytm side of the SAMPLER machine, the Rytm’s own parameters on the XY pad, MIDI learn and poly-track p-locks, UP + RIGHT for FILL, the sample browser’s preview, quick load and file menu, and send FX BASE and WIDTH (Release notes). A Rytm on the Rytm firmware 0.4.4 also works with the Sidecar 0.5.0 card, without those. A Rytm on OS 1.73 needs Elektron’s stock OS 1.74 first (below). (The Rytm firmware 0.4.4: below; 0.4.0: below; the 0.3.1 build: the 0.3 docs.) For an Analog Four MKII, see Analog Four MKII.
The patcher turns your stock OS file into the Rytm firmware 0.5.3 in your browser. Nothing is uploaded: the page reads your file and fetches only its own patch files.
- Download the stock OS from Elektron’s Analog Rytm MKII support page:
Analog-Rytm_MKII_OS1.74_dist.zip. Unzip it: you needAnalog-Rytm_MKII_OS1.74.syx. - Open the patcher. Leave the build on
rel0-5-2-os1.74(the default). - Drop the stock
.syxon the page, or click to choose it. Only the unmodified file is accepted. - Press Patch, then Save .syx. The page checks the result itself and saves nothing if it is wrong.
- Send the saved file to the Rytm with Transfer (below).
The result is bit-identical to the elekloader build we tested (below). To check it yourself:
| Build | Saved file | SHA-256 |
|---|---|---|
rel0-5-3-os1.74 |
Analog-Rytm_MKII_OS1.74_rel0-5-3.syx |
13d04dfb1bdb460ea1bb29365e1cf13b9fe908219a9b33d1ae48e7dfdb23f4b7 |
rel0-5-2-os1.74 (older) |
Analog-Rytm_MKII_OS1.74_rel0-5-2.syx |
2e4ffe079b3723c26ece4406d85c8ff94045020dcaff5f99f849dd1d1b4d1966 |
rel0-5-1-1-os1.74 (older) |
Analog-Rytm_MKII_OS1.74_rel0-5-1-1.syx |
108c4749d498510c389a2e33ef6fe9ead1acb030a866e329f3c47b5a972e1f2c |
rel0-5-0-os1.74 (older) |
Analog-Rytm_MKII_OS1.74_rel0-5-0.syx |
17bcca0119c97676567018f1f42c5f1206948bf632f0444410dd69caa6649514 |
Which OS: 1.74 or 1.73
Section titled “Which OS: 1.74 or 1.73”- OS 1.74 is what Elektron offers now: their Rytm MKII support page has only
Analog-Rytm_MKII_OS1.74_dist.zip, with the stockAnalog-Rytm_MKII_OS1.74.syxinside. If you don’t have a 1.73 file, use 1.74. The 1.74 build has run on a real Rytm: stock 1.74 first, then the Sidecar’s 1.74 build, with the Sidecar machines, the pages, the send FX (including ROUTE PRE), the MASTER page and kit save and reload all working. - OS 1.73 has no Rytm firmware 0.5.x: the last build for it is the Rytm firmware 0.4.4 (below). To use 0.5.3 or any 0.5.x, flash Elektron’s stock 1.74 first. Elektron no longer offers 1.73 for download, so if you want to keep the way back, keep your own copy of
Analog-Rytm_MKII_OS1.73.syx. - Use the build for the OS of your stock file. elekloader refuses a module made for another OS.
- Moving between 1.73 and 1.74 works in both directions. Flashing Elektron’s stock 1.73 or stock 1.74 file always works (checked on a unit), whether the Rytm runs stock or the Sidecar’s build. Recovery is the stock file of the OS you want to be on. Back up your projects before any OS change, as always. Elektron’s site now offers only 1.74, so to be able to go back to 1.73 you need your own copy of that file.
The recommended way to 1.74: first flash Elektron’s stock 1.74 file, over DIN through the STARTUP menu if you can (Recovery to stock). That proves that recovery works on your unit. Then patch and flash the Sidecar’s 1.74 build from the same stock file.
Directly: a Rytm on 1.73, stock or with the Sidecar’s 1.73 build, can also take the Sidecar’s 1.74 build straight away, since the file is a whole OS. It is the same move, without the recovery check first.
Projects should carry over to 1.74: its project, kit, sound and pattern code is 1.73’s with its addresses moved, and it only adds the Outbox’s main-output routing. That was checked in the code and in the emulator, and a kit saved and reloaded on a real Rytm on 1.74. Back up every project first, as before any OS change.
Advanced: build it with elekloader
Section titled “Advanced: build it with elekloader”You do not need this: the patcher above makes the same file. If you would rather build it yourself, the 0.5.3 Rytm firmware also comes as an elekloader bundle: two module files that elekloader’s web page (or its command line) puts into your stock OS 1.74 file. The result is one .syx that you flash like any OS update. It is made for the Sidecar 0.5.3 card (the tested pair); it should also work with the 0.5.1.2, 0.5.1.1, 0.5.1 and 0.5.0 cards (untested), without what needs the new files.
What you need
Section titled “What you need”| File | What | SHA-256 |
|---|---|---|
Analog-Rytm_MKII_OS1.74.syx |
the stock OS 1.74, in Elektron’s Analog-Rytm_MKII_OS1.74_dist.zip |
cb0f99d620edde994fb860c0e79cc2464e427d06882828cfdfb00fc53700e123 |
core-0.1-os1.74.elemod |
elekloader’s core 0.1 for OS 1.74: the base every elekloader mod builds on | 89c00065e8f83ce839978c45a32200e09879682b8b95cbff0bdb71ca09dc3c8a |
rytm-sidecar-0.5.3-os1.74.elemod |
the Sidecar mods, all in one module, for OS 1.74 | 283261f853637d72621469d1331d03808e73595482a68602d1442649f7210537 |
The two .elemod files are on the Rytm firmware 0.5.3 release page (and with the Sidecar 0.5.3 release) with SHA256SUMS, LICENSE, NOTICE, TOOLCHAIN.txt and the source of elekloader’s parts (elekloader-13fa795-core-ar2-src.tar.gz, elekloader-2bcafa1-src.tar.gz). Check both hashes before you use them. The mods are licensed GPL-2.0-or-later.
Build the .syx
Section titled “Build the .syx”-
Open the elekloader page: https://irpina.github.io/elekloader/.
-
Choose your stock firmware,
Analog-Rytm_MKII_OS1.74.syx. The page knows it by its hash. -
Add the core and module as your own mods:
core-0.1-os1.74.elemodandrytm-sidecar-0.5.3-os1.74.elemod. Use our core file, not one the page lists: the page’s own Rytm cores for 1.74 are newer ones, which are refused (below). -
Tick
rytm-sidecar. That ticks the core it needs. The check should say there are no conflicts. -
Set the version to your OS:
1.74. The page’s default for the Rytm is2.0a. Never flash a build whose version is not your stock file’s. -
Build and download the
.syx. Its SHA-256 must be:Build SHA-256 version 1.74 13d04dfb1bdb460ea1bb29365e1cf13b9fe908219a9b33d1ae48e7dfdb23f4b7If yours differs, do not flash it. The page may run a newer elekloader; build with the command line at the tested commit instead:
Terminal window git clone https://github.com/irpina/elekloader && cd elekloadergit checkout 2bcafa17c5ebd9a00f33b0e74d6993f37ab18266python3 -m elekloader.patch --stock Analog-Rytm_MKII_OS1.74.syx --mod core-0.1-os1.74.elemod \--mod rytm-sidecar-0.5.3-os1.74.elemod --out sidecar.syx --version 1.74
Then send it to the Rytm (below).
- Never share the
.syxyou built: it contains Elektron’s firmware. Share the.elemodfiles instead. - Use core 0.1 only. A newer core keeps its settings in the same spare bytes the Sidecar mods use; elekloader refuses that combination with a message that the sites “overlap”. Untick the newer core.
- No mixing with other mods for now: other people’s Rytm mods for 1.74 need a newer core, and patch some of the same places, so elekloader refuses the set. The Sidecar module is all or nothing.
- What is in the module: the external machines, the SysEx router, the SIDECAR folder, the send FX pages, the remote UI and FX in. Not in it: the REMOTE KEYS mod (development and testing only). It does hold a freeze probe: if the Rytm’s screen ever stops for over 2 seconds, the Sidecar’s log shows
FREEZE PROBEwith where it stopped (please report it). - To go back, flash the stock file of the OS you want to be on (1.74, or 1.73 if you have it): see Recovery to stock. Use a scratch project for your first session under the mods.
The Rytm firmware 0.5.2 (older)
Section titled “The Rytm firmware 0.5.2 (older)”The Rytm firmware 0.5.2 went with Sidecar 0.5.2, and you can go back to it from 0.5.3: flash it like any OS update. In the patcher its build is rel0-5-2-os1.74 (Analog-Rytm_MKII_OS1.74_rel0-5-2.syx, SHA-256 2e4ffe079b3723c26ece4406d85c8ff94045020dcaff5f99f849dd1d1b4d1966); its .elemod files (rytm-sidecar-0.5.2-os1.74.elemod, 105391f18f6cd548a94d0c2ea65f3177a804f4b20ec3dfa2c7eecd0f03ad6600, with core-0.1-os1.74.elemod) are on the Rytm firmware 0.5.2 release page.
The Rytm firmware 0.5.1.1 (older)
Section titled “The Rytm firmware 0.5.1.1 (older)”The Rytm firmware 0.5.1.1 went with Sidecar 0.5.1.1 and 0.5.1.2, and you can go back to it from 0.5.3: flash it like any OS update. In the patcher its build is rel0-5-1-1-os1.74 (Analog-Rytm_MKII_OS1.74_rel0-5-1-1.syx, SHA-256 108c4749d498510c389a2e33ef6fe9ead1acb030a866e329f3c47b5a972e1f2c); its .elemod files (rytm-sidecar-0.5.1.1-os1.74.elemod, 5edea14a5d5fd0af5b944d1f257e9b62468a23dc1f64a9d5d96756ab9926edf0, with core-0.1-os1.74.elemod) are on the Rytm firmware 0.5.1.1 release page. Going back loses MORPH’s Rytm side (the Pi’s scenes stay in the project).
The Rytm firmware 0.5.0 (older)
Section titled “The Rytm firmware 0.5.0 (older)”The Rytm firmware 0.5.0 went with Sidecar 0.5.0 and 0.5.1, and you can go back to it from 0.5.3: flash it like any OS update. In the patcher its build is rel0-5-0-os1.74; its .elemod files (rytm-sidecar-0.5.0-os1.74.elemod, 328cecb336e270348ef4936c386a7a3bad19075f3486561385e8c7a7a164012e, with core-0.1-os1.74.elemod) are on the Rytm firmware 0.5.0 release page.
The Rytm firmware 0.4.4 (older)
Section titled “The Rytm firmware 0.4.4 (older)”The Rytm firmware 0.4.4 went with Sidecar 0.4.4, and it is the last build for OS 1.73. You can go back to it from 0.5.0: flash it like any OS update (the Sidecar 0.5.0 card works with it, without what needs the Rytm firmware 0.5.0). In the patcher its builds are rel0-4-4-os1.74 (OS 1.74) and rel0-4-4 (OS 1.73); its .elemod files (rytm-sidecar-0.4.4-os1.74.elemod, 41bd2bdd…, with core-0.1-os1.74.elemod; rytm-sidecar-0.4.4.elemod, fc974cc0…, with core-0.1.elemod, 33de51c0…) are on the Rytm firmware 0.4.4 release page.
| Build | Saved file | SHA-256 |
|---|---|---|
rel0-4-4-os1.74 |
Analog-Rytm_MKII_OS1.74_rel0-4-4.syx |
3bb035a2035857c0a3035dfb95fab0703191a4f8fdd1b8de3a31302d2770d77c |
rel0-4-4 |
Analog-Rytm_MKII_OS1.73_rel0-4-4.syx |
421cccc9dd16709f3981a1e4f0155bfdcabb337f2130ceb6fee26431967acf26 |
The Rytm firmware 0.4.0 (older)
Section titled “The Rytm firmware 0.4.0 (older)”The Rytm firmware 0.4.0 went with Sidecar 0.4.0, 0.4.1, 0.4.2 and 0.4.3, and you can go back to it from 0.4.4: flash it like any OS update. In the patcher its builds are rel0-4-0-os1.74 (OS 1.74) and rel0-4-0 (OS 1.73); its .elemod files (rytm-sidecar-0.4.0-os1.74.elemod, rytm-sidecar-0.4.0.elemod, with the same core files as above) are on the Rytm firmware 0.4.0 release page.
| Build | Saved file | SHA-256 |
|---|---|---|
rel0-4-0-os1.74 |
Analog-Rytm_MKII_OS1.74_rel0-4-0.syx |
538ae6fa1a66dfb72141743036c40b4f3845ed73a4ea59f7e3b6aa9e51fab337 |
rel0-4-0 |
Analog-Rytm_MKII_OS1.73_rel0-4-0.syx |
07780e9eb4bce7f71c83da3134ede4782f7ea7af211eb6787c670607707bff18 |
The 0.2.0 builds (older)
Section titled “The 0.2.0 builds (older)”The 0.2.0 release used two patch builds of OS 1.73, rui1027d and sfx1021, made with our patcher. Use them only with a 0.2.0 Sidecar card.
What you need
Section titled “What you need”-
The stock file
Analog-Rytm_MKII_OS1.73.syxfrom the official download page. Only the unmodified file is accepted. Its SHA-256 is:8ad671087ec30433d5407c7380d2396e0915ab931c5d3dd18a78bf284d3d1e52 -
One of the two patchers below. Both give the same result, byte for byte.
Pick a build
Section titled “Pick a build”| Build | What |
|---|---|
sfx1021 (option: without the remote pages) |
EXT machines on every track, the SEND FX 1/2 pages (AMPLITUDE 2; TYPE and P1..P5 with the Sidecar’s labels), stepped list knobs, user slots, and the SIDECAR folder in the sample browser. |
rui1027d (default, recommended) |
everything in sfx1021, plus the remote pages: a connect screen when the Sidecar comes up, the Rytm’s FX return on IN L/R for recording and SCOPE, and with TRK + YES the SIDECAR and SYSTEM status pages, SCOPE and meters, the REC page (with playback on the Pi) and the voice pages, in the Rytm’s own font. The page catches only the keys and knobs it uses: PLAY, STOP, RECORD, the pads, mutes, FILL and tap tempo work as usual |
The 0.2.0 builds are for OS 1.73 only: the patched file is a whole OS (1.73 plus the mods), made from Elektron’s stock OS 1.73 .syx.
Option A: in the browser
Section titled “Option A: in the browser”Open the patcher.
- Pick the build.
- Drop your stock
.syxon the page, or click to choose it. - Press Patch, then Save.
The file is read and patched by JavaScript in the page itself. Nothing is uploaded: the page fetches only its own patch files. You can check that in your browser’s network panel.
Option B: the Python script
Section titled “Option B: the Python script”Python 3.8 or newer, no extra packages. From a copy of the repository:
python3 public/patcher/sidecar_patch.py ~/Downloads/Analog-Rytm_MKII_OS1.73.syx public/patcher/patches/sidecar-sfx1021.jsonThis writes Analog-Rytm_MKII_OS1.73_sfx1021.syx next to the stock file (-o chooses another path).
Check the result
Section titled “Check the result”Both patchers check the result themselves and save nothing if it is wrong. To check it yourself:
shasum -a 256 Analog-Rytm_MKII_OS1.73_sfx1021.syx| Build | SHA-256 |
|---|---|
| sfx1021 | e86805ff1e2c5a2e2784bf455fe5fdd6c2336463da04892442e451445fa82f4e |
| rui1027d | 4843848805c0e08b3cf7c69bf5b68ca7e1453bb643d351709bdad9f59468dce8 |
Send it to the Rytm
Section titled “Send it to the Rytm”Send the patched (or built) file as an OS update, exactly as you would send an official one:
- Transfer (USB): drop the
.syxon Transfer while the Rytm is connected and confirm on the unit. - STARTUP menu (DIN MIDI): hold FUNC while you power on, press TRIG 4 (OS UPGRADE), and send the file from Transfer’s legacy OS upgrade mode, or any SysEx tool, through a DIN MIDI interface. This route works even if the OS does not boot. It is slow: about 16 minutes or more.
After the update the Rytm may stay on “Success! Rebooting”. That is stock behaviour: power cycle it. After an OS upgrade the Rytm may also update its bootstrap at the first restart: do not turn the power off then.
First start with 0.3 (from 0.2.0): the Sidecar moves your existing projects’ files to their Rytm slots by itself (Projects by slot).
How the patcher works
Section titled “How the patcher works”A patch file describes the modified OS image as records against your decoded stock image:
- bytes we wrote: the mods’ code, their hooks and data, and elekloader’s core and boot copier;
- copies: “take this many bytes from this place in your own stock image”. Any run of 4 or more of our bytes that also occurs in the stock firmware is stored this way, so a patch file never carries firmware bytes.
The patcher checks the stock file’s hash, decodes the SysEx transport and unpacks the MAIN OS section, applies the records and checks the image’s hash, packs the image and rebuilds the .syx from your file’s other sections (recomputing every checksum and counter), and compares the result with the tested build’s hash.
The codec is elekloader’s (GPL-2.0-or-later), which comes from digikit. The browser patcher is a line-for-line port, tested to give the same bytes as the Python on every build.