fm1-m1 0.2: combinations, the M1's LCD and the Global pages
BYOR: Bring Your Own ROM. The M1's sound is Korg's. Its PCM ROMs, its operating system ROM and its factory program bank are not in this repository, not on the install page, not in the emulator and not in any release, and never will be. You make the data file from your own M1 on your own computer (INSTALL.md). The install page and the emulator read your file in your browser; nothing is uploaded.
Upgrading from 0.1
Give your data file again. The sound bank has moved in the flash, so 0.2 does not use the bank that 0.1 stored. On the install page, choose your data file and install both.
Make a new data file to get the combinations and the Global pages (INSTALL.md, step 1: new commands and a lower --flash). With a data file made for 0.1 the programs play, COMBI says NO COMBI DATA and the Global page says NO M1 DATA.
FM-1 Setup has moved from EDIT to ARP, and the buttons now act when you release them.
New in 0.2
Combinations. The 100 combinations of your bank dump play as up to eight timbres, with key and velocity ranges, transpose, level and pan. PLAY (the M1's COMBI) enters combination mode; PLAY again, or HOME (PROG), goes back to the programs. PRESET and MIDI program change select a combination. They are numbered I00 to I99, like the programs.
The M1's LCD. The display is drawn as the M1's 40 x 2 characters: at its own size or split into 2 x 20, in green (default), blue or amber. The view and the colour are chosen in FM-1 Setup.
The buttons as the M1's keys. HOME is PROG, PLAY is COMBI, GLO is GLOBAL. Hold a button for 3 seconds to see what it does; it then does nothing when released.
The Global pages.GLO opens the 20 pages, with their texts read out of your own M1's operating system. SELECT turns the pages, K1 chooses the parameter, PRESET changes the value, SAVE keeps the values. Master Tune (for notes that start afterwards), Key Transpose, Local and the MIDI filters for program changes and controllers have an effect. The other values are shown and kept but do nothing; the user scale, the drum kits and the memory, dump and card pages are only shown.
The room for the sound bank is one 4 KB sector larger. To make room for the combinations, 100 sounds are stored lossless instead of 107.
Playing it
Keys: F3 to C5 on the FM-1's twenty keys, with velocity. OCT- and OCT+ move them from -3 to +3 octaves (Kick 1 of the M1's kits is on key 24).
MIDI in: all channels; channel 10 plays the drum kits. Over USB the FM-1 also sends what its keys play.
FM-1 Setup (ARP opens and closes it; K1 chooses the field, K2 changes it, SAVE keeps it): the voice cap (1 to 32), the LCD view and its colour.
Known limits
Some combinations are likely to drop or delay notes. In the simulator, with a four-note chord, I12, I25, I33, I36, I50 and I99 still had notes waiting for their sound after 1.5 s (I99 the most, one even with a single note). The likely cause is that the sounds do not fit in the sound cache; this is not confirmed and not fixed.
Heavy combinations reach the 32-voice limit and cut voices.
The combinations do not use their own effects or detune, and the mode and the selected number are not saved: the FM-1 starts in program mode. The pan positions of outputs C and D are simplified.
The combination page's line on the LCD is this firmware's own layout; the M1's combination page has not been read out.
The combinations have not been compared with recordings of a real M1. Neither have the pan positions or the rebuilt bank.
Editing programs and combinations (EDIT) and the sequencer (SEQ) are not made.
The programs' effect scales are partly estimates, as in 0.1, and some samples still differ from the M1's (see the 0.1 notes).
That the M1's LCD module has exactly the font used here (HD44780 A00) rests on photos.
Tested
On one FM-1, a build of this code with the maintainer's own data: it installs and runs, SELECT turns the Global pages and combination mode works. In program mode over USB-MIDI (tools/m1_measure.py): 63 % CPU for chords, 69 % for fast program changes (18 voices cut), 21 % for drums, 75 % for 40 notes at once (9 voices cut) and 77 % for the effect programs (8 voices cut), with no missed audio block and no dropped note.
Combinations over USB-MIDI, measured on an earlier build without the LCD and Global pages: all 100 with a four-note chord reached 69 % CPU with no dropped note; the eight heaviest with an eight-note chord reached 76 %, with 3 dropped notes. No missed audio blocks.
Not tried on the FM-1: Master Tune, Key Transpose, Local OFF and the MIDI filters. They have been checked only in the simulator; Key Transpose and the controller filter not in combination mode.
The release package itself, without data, and the upgrade from 0.1 through the install page have not been tried on a device.
How it is built
The package is the firmware only, with no M1 data in it. It was built on the maintainer's computer with fm1-base at 3fded25 (branch sysex-race), not on GitHub's runner, so it has no build attestation. firmware.json is for firmware hubs. The sample engine is fm1-sf2's, on fm1-base.