Repository navigation
Releases
fm1-m1 0.2
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 saysNO COMBI DATAand the Global page saysNO 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.
The package
m1-0.2.fwsc is the firmware only (222,882 bytes, sha256 2f22608d032e5c6d…). Install it from the
install page, where you also give your own data file, or try it in the emulator.
Full source: https://github.com/mwedmark/fm1-m1/tree/v0.2
fm1-m1 0.1
fm1-m1 0.1: a Korg M1 on the FM-1, played from your own ROM dump
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.
This is the first public release, 0.1: a first version to try and to report back on, not a finished M1. It plays the M1's 100 factory programs and three drum kits from the keys and MIDI, with the M1's own program data
(envelopes, filters, vibrato, velocity, effects), on an M-VAVE FM-1. Without your data file the screen says NO M1 DATA.
What to listen for in 0.1
The sound was checked against recordings of a real Korg M1 (Synthmania's M1 page: its factory program demos), by ear and by
measurement: envelope times, release slopes, chorus width and speed, and the level of every program.
- The factory programs, as programs. Each program is built from your own factory bank dump: its multisound (a Double program plays both oscillators), octave,
interval and detune, the VDA and VDF envelopes (the time scale is fitted to the demos: Strings, Choir and Lore release at 50, 35 and 17 dB per second, as the M1 does),
the pitch EG, the filter's keyboard tracking, vibrato and filter MG, and velocity: VDA velocity sense and the VDF EG's velocity sense follow each program's own values. - Effects. The M1's reverbs and early reflections, delay (stereo, cross, and the delay halves of the combination types), chorus with each program's own speed, depth and delay,
and now flanger, cross flanger, symphonic ensemble, tremolo, rotary speaker, exciter, overdrive and distortion. Dist Guitar is distorted, Organ 1 turns, Vibes tremble. The mix follows the
M1's DRY:EFF balance, so a program with 50 % chorus is not louder than one without. Phaser, EQ and delay/tremolo are not used by any factory program and are not made. - Drums ring out. A drum program keeps playing when you let go of the key (the factory drum programs have a long decay and a one-step release, which only makes sense that way).
The kits' per-key decay shortens an open hi-hat as on the M1; there is no choke in the kits' data, so a closed hi-hat does not stop an open one. - Loops that loop. The bank is packed to fit the FM-1's flash (most sounds as MP3 at 64 kbit/s, decoded as you play), but a short loop cannot be an MP3: the 94 sounds with loops
under 130 samples that start early stay lossless. Organ 2, A.Bass and Kalimba hold their notes without the bad loop they had. - No distortion at a hard strike. A loud chord at full velocity used to wrap around in two 16-bit stages of the effects chain and sound like crackle at the attack. The mix now goes through a
lookahead limiter with a ceiling at -1 dB that lowers the gain before a peak and never steps it. - Chorus as the M1's. A program's chorus has its own speed, delay and depth and the width of the M1's recording (E.Piano 3: 0.3 Hz, side to mid -4.5 dB against -4.6 dB on the demo).
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, so the lowest octave is there for the drums).
- PRESET knob: the program, 001 to 100 (the three drum kits are programs on MIDI channel 10, and 101 and up if your bank has more).
- MIDI in: all channels, program change, velocity, pitch bend, modulation, volume, pan, sustain; channel 10 plays the drum kits. Over USB the FM-1 also sends what its keys play.
- FM-1 Setup (EDIT opens and closes it; K1 chooses the value, K2 changes it, SAVE keeps it): the voice cap, 1 to 32 (32 by default). The CPU guard lowers the voice limit when the
load is high and never raises it above your cap. The M1 has 16 voices; a Double program takes two per note.
Known limits
- Combinations are not made yet (the 100 combinations of the M1's factory bank are in your bank dump and are not used). The M1's sequencer is not made either.
- The scales for effect depth, rotary speed and the drive of distortion and overdrive are estimates: the manual does not give them. The effects' own EQ is not used.
- Velocity does not shorten the envelope times, and the pitch EG's glide on release is not made.
- Some samples still differ from the M1's: three notes of Organ 2, three of A.Bass and five of Pan Flute are more than 30 dB from the lossless bank's at the same note. Pan Flute's lowest zone has its root at C#5, so low notes play three octaves down; that is how the M1's table is, as far as it was read.
- The flash holds 695 128 of 696 288 bytes of data: the bank is full. A bigger bank needs a harder packing.
- It was measured on one FM-1, not several: with the effects, a chord of eight notes is at 79 % of the CPU at 32 voices, ordinary chords at 62 %, and 40 notes at once at 74 %, with no missed audio block and no lost note.
How the bank is made
tools/ reads your dumps and writes the bank (INSTALL.md): the PCM chips merged and read as 12-bit samples at 31 250 Hz, the multisound, zone and sample tables read out of the M1's operating
system ROM (v1.9), and the programs and drum kits out of your factory SysEx dump. The sample engine is fm1-sf2's (FM1B, with its live cache), on
fm1-base. docs/M1_ROM.md and docs/M1_PROGRAMS.md say what was measured and what is estimated.
The package
m1-0.1.fwsc is the firmware only (no M1 data in it, 226,979 bytes, sha256 93aa9262fdc3d4fd…). Install it from the
install page, where you also give your own data file, or try it in the emulator.
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.
Full source: https://github.com/mwedmark/fm1-m1/tree/v0.1