Skip to the content
2 layers35 × 35 mmMT32-DIT board, the printed circuit board in 3D

Digital output for Roland MT-32, D10/20/50/etc

Size
35 × 35 mm
Copper layers
2
Thickness
1.6 mm
Parts
47
Nets
44
Pads
145
Tracks, vias
293, 36
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Sep 2022
Updated
3 Apr 2026

Overview

MT32-DIT board is an open-source printed circuit board by vetal-esher, from the vetal-esher/MT32-DIT repository on GitHub. It is a 2-layer board of 35 × 35 mm with 47 parts on 44 nets, routed with 293 tracks and 36 vias.

It is built around the DIT4192IPW and PE-65612NL. Its parts include 14 resistors, 7 capacitors, 3 connectors and 2 ICs.

Main components

2

README

README.md

MT32-DIT

Adding digital output to legendary Roland MT-32

Project status: ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜ 95%

This project can be considered part #2 of the digitalization of old synthesizers. In the first part I described how you can add a digital output to almost any synthesizer (where the DAC circuit uses standard L/R combined I2S) by using the AK4103AVF

Roland MT-32, familiar to old gamers in the 90s and very rare now, is an even older device that uses a parallel DAC scheme that was quite common in Roland's D-series, which does not just convert the final stereo stream in-line, but also simultaneously performs the services of a DAC for the reverb IC.

Digging demuxer logic

It turns out that we do not have direct access to the digital stream containing the final audio data. The PCM54HP receives a stream that sequentially contains not only clean left and right channels, but also separate reverb data for the left and right channels. It looks something like this (all frames are 16bit, order is assumed): [RSYN1][LSYN1][REV R][REV L][RSYN2][LSYN2][RSYN1][LSYN1][REV R][REV L][RSYN2] [LSYN2] etc.

The advantage of a parallel DAC is that it works instantly, i.e. there is no delay at all in taking the current values from the (essentially) resistor assembly and the next moment doing the task of transforming a completely different picture. Edit: to tell the truth, there IS small delay required to let the output settled the final value.

The widely known CD4051 is engaged in demultiplexing all this porridge of audio data. Channel switching in the CD4051 is carried out through the control lines mixed from LA and Reverb chips SH1 SH2 SH2 (SH - Sample / Hold), as well as the INH line, which turns on and off all channels. At the output of the demuxer, three pairs of analog channels are formed, which are then mixed and undergo final processing in a low-pass filter. The LP filter should have a flat amplitude response in the 0-20kHz range and a high attenuation above 20kHz.

Bit depth and sampling frequency of MT-32 according to the declared characteristics - 15bit 32kHz. In the first version of MT-32 (the so-called "old"), the last (actually, LSB) 16th bit at the PCM54HP input is shorted to ground, and for that (15bit) reason the 14th bit fell out in the data bus itself (counting from zero). However, for us, the frame width will always be 16 bits (the 2nd MT-32 version has full 16bit bus). Theoretically, the channel switching frequency 0-1-2-3-4-5-6-7 each time triggers a 0/1 state change in control signal A, so you can expect 128kHz on this line, 64kHz on line B, and C with 32kHz respectively. But we don't know the order of the frames. Even if we sequentially record all the states of the parallel bus, it will be useless if we do not know the order of switching ABC. In practice, without a three-channel oscilloscope, you can try to catch the states of at least two of the three lines (A and C), and then record the AB and BC, A and INH sequences in order to further bring the picture into one.

So now we know the frame order: [L REV][RSYN2][LSYN2][R REV][RSYN1][LSYN1], [L REV][RSYN2][LSYN2][R REV][RSYN1][LSYN1] .. etc. If you listen to these pins in analog, it becomes clear that SYN1 is a clean signal, REV is a reverb return. SYN2 appears to be analog as well, but too quiet to be recorded legibly; but since SYN2 is also mixed into the final mix, we'll do that too. By the way, if you look at the unused outputs of the CD4051 CH4 and CH5, there will be [almost] crisp 32kHz:

The INH control signal operates at a frequency of 256kHz, which means we will need to read all ports at this frequency. Disabling all channels is necessary so that there is no false triggering on rising edges @ABC states, when INH=1 tells us that we don’t need to send anything to serial. With INH=0, we must read the bus, and depending on the states of ABC, scatter it to the appropriate output. Ideally, we need to define the beginning of frame (we take the highest INH peak for the reference frame) and mix all L / R frames into two final ones. But for the test, you can start by sending two frames with a clean non-reverberated information (RSYN1, LSYN1). At first I thought to bother with the sequence' start detection, but then I omitted this part, because, even if the logic begins to run in the middle, defining LSYN1 as the end of the sequence we will reset the counters and then start working in the correct order. The logic in this case will look something like this (I will use a pseudo-language here with a syntax that is clear to everyone):

text

Hardware part

Schematically, the plan of the entire project was drawn like this:

There is only one magic figure involved in this plan, and here, I will honestly say, giant constructions of logic which must perform the task of mixing digital streams comes to mind. I was told that I should stop doing garbage and learn a programmable FPGA. All of the DAC and INH/A/B/C signals are CMOS-level, so we need to convert them to TTL by CD4050B. By the way, we will get fixed levels of INH after CD4050:

DIT

Since we are dealing with 16 bits, a large number of DITs can be used, as they all work at least with 16-bit RJ. For these purposes, I chose DIT4192, because I have it already available after experimenting with the 18-bit DIT, but you can skip mounting 4192 if you don't have it (details below). Settings are typical:

DIT4192 Hardware mode
Mode operationSlave (SYNC and SCLK are inputs)
Format16-Bit Right-Justified
Sampling frequency32kHz
Master clock16.384MHz (512*fs)
Bit clock1.024MHz (16*2*32KHz)

Magic part

The FPGA TangNano9K was chosen for the magic part, so the "profit" plan was drawn:

And then the complete schematic of the "magic" part was done. Note the I2S connector, you can completely skip DIT4192 in schematic and use your favorite external DIT, or even just transport I2S to I2S receiver. I tested I2S with external WM8804 DIT board and it works perfectly.

Making prototypes

I started with sandwich-like breadboard, trying to split the CMOS-TTL logic from TangNano. Different methods, using couple of variants (voltage dividers) and CD4050 were tried..

.. and then, when i finally decided to use CD4050, i have projected the PCB. The PCBs were made quick at PCBway factory, and i must say their quality is awesome, even for such pet projects like mine :)

Final design assumes, that the original PCM54HP will be desoldered from MT-32 mainboard, and then socketed on second footprint right on DIT pcb. After that, MT32-DIT can be soldered or socketed on MT-32 mainboard. But for now, we'll just put on the DIT board right over PCM54HP IC.

Partlist

ReferenceTotalValuePackage
X1116.384MHzOscillator DIP-8
U1, U2, U3, U54CD4050SO-16
U41Gowin 9K
U61PCM54HP**DIP-28
U81DIT4192IPW***SSOP-28
U71AP1117-33SOT223-3_TABPIN2
U102PinHeader 1x28P2.54mm
T11PE-65612NL***PE-65612NL
SW11PWR SWSW_DIP_SPSTx01_P2.54mm
SW21CFG SW***SW_DIP_SPSTx05_P2.54mm
R1, R2, R4, R5, R6, R7, R8710K ***0402
R31300R ***0402
J11PinHeader 1x04P2.54mm
J2, J3***2PinHeader 1x02P2.54mm
J4DNP*
J51PinHeader 1x05P2.54mm
C1, C2, C3, C4, C5, C6, C7, C8, C10, C11, C12***, C13***, C14130.1uF0402
C15***110uF0402
C9110-22uFCP_EIA-7343-43

If only specific component can be skipped, it's marked within "Reference" column, otherwise all components can be skipped if mark is in "Value" column.

* - Do Not Place

** - optional, no need if DIT pcb soldered on top of the original DAC

*** - optional, no need if DIT4192 is not available and you use external DIT

Learning VERILOG

I did not have any experience in designing FPGA projects, and did not knew about verilog language anything. But it appeared, that my pseudo-language logic described above is almost verilog-like! So, after few weeks, the very first working code was written.

First verilog code:
text

The first video of clean capture (sorry for low volume, it was at night) (clean stereo, no reverb).

Mixing 6 digital channels to stereo pair

The simplest logic of audio mixing is summing the levels. This works in digital too. Remember, that actual bitwidth of "old" Roland MT-32 is 15 (LSB bit is tied to the GND. So, we can use 17-bit buffer to sum all 3 channels. Also i implemented "reverb on/off" switch tied to second button at TangNano9K devboard (first one is RESET button). OFFSET parameter used to avoid digital overflow problem when summing all channels.

text

Possible problems

Clicks

At the final stage, i found that the frequency of DTR (the flag that signals about full frame cycle pass) is slightly faster than WCLK (smth about 32.0010kHz@DTR vs exact 32.0000kHz@WCLK). I

The first reason is that you cannot operate with registers with multiple actions in one clock tick. You need pipeline. So, mixing logic with OFFSET must be separated.

Also, within this logic, you need to avoid update output data register when it might be in "read status" at serializer. Setting values need some time to be set, so we don't update the data when it is in stage of reading.

After that, recording more than 3 hours showed that the clicks were gone, completely.

Desync

Another problem can appear, there might be desync that can produce more clicks than useful audio data. The source of problem is in unstable crystal oscillator - you need to check the DIT pcb for shorts and leakages.

Digital DC offset

Updated 15.10.2025

It's seems that there's nothing we can do (at least with 1st revision of MT-32) since DAC's LSB bit is tied to ground and there is 14 bit dropped in DAC schematic. When LSB bit will be used, there will be no DC offset at all. After all, i checked the PCB and found that the Bit14(=D14) used in schematic bus between LA32/Reverb/DAC - on real PCB has no route out from LA32 and Reverb chips, and the pin 27 (D14) on LA32 has no activity on oscilloscope at all. You can slightly lower DC offset decrementing each sample value by 16384 (that the value of amplitude zero when there's no sound from MT-32), but this will give you only 6dB fix.

Updated 11.12.2025

Another update, giving a new hope. It seems, that i work with rare PCB revision (79377310 01) that is surely "old" 15-bit version, but it uses LA32 package from "new" 16-bit version. It's mentioned, that "Main Board (7937731001) is completely different from (7937731000) in circuit design. But Main Board (79377310001) from which PHONES jack (JK5) is removed is compatible with (7937731000). Only (79377310001) will be supplied fore replacement. For MT-32 (prior to SN938999) which has no PHONES jack, PHONES jack (JK5) on Main board (79377310001) must be removed."

This means, that there IS missing 14 bit in the bus, but it has to be found at bit 0 (LSB) already. Updates will be coming soon.

Post digital LPF processing

To be continued

Mounting

Bad contact problem. It was nightmare to spend hours to find the source of noisy sound. After weeks(!) of resultless tries, i found that the way i put the pcb over original DAC is not reliable at all - some pins was not connected .

Example of clean sound.

And this is what you should hear when some bits are not connected

To avoid bad contact problem, the only way is to desolder DAC and socket it on the MT32-DIT pcb. This process is very hard without proper experience. First of all, you need to replace nearby caps with lower profile equivalents. Film caps are perfectly fit this objective. Then desolder the DAC itself.

While replacing the caps, it is time to think about picking A/B/C/INH directly from CD4051 demuxer. When you solder wires directly to DIP-package pins, wires tend to break when they bend, so i decided to solder a small protoboard over CD4051 for easy access to this signals.

I used PBD (2-row) 2.54 female headers for socketing the DIT pcb in DAC place. One row, of course, needs to be removed. Why 2-row? Just because i had much more PBD headers than PBS. You can use PBS if you want. Then socket the PCM54HP on DIT pcb.

Remove the MT-32 board from the case. It's time to drill a hole and mount RCA. Find the place where you want it.

Final picture:

Links

Roland MT-32 service notes

PCM54HP datasheet

4051 datasheet

CD4050B datasheet

DIT4192 datasheet

I2S bus specification

Parts

47
QtyValueFootprintReferences
1110KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1, R2, R6, R7, R8, R9, R10, R11, R12, R13, R14
50.1uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC2, C3, C4, C5, C7
110uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1
1110RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR16
11uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC6
1210RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR15
13.3V_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP3
13.3V_WJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP4
1300RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR5
15.5V_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP20
1AIFCONF[1]Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP16
1AIFCONF[2]Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP17
1BCK_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP13
1BCK_WJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP12
1CLK0Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP8
1CLK1Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP7
1CSBJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP18
1DIT4192IPWPackage_SO:SSOP-28_3.9x9.9mm_P0.635mmU1
1FMT0Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP6
1FMT1Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP5
1I2S_CONNConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ1
1M/SJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP9
1MCLK_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP15
1MCLK_WJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP14
1PE-65612NLpe65612nl:PE65612NLT1
1RESETBJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP19
1SDATA_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP11
1SDATA_WJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP10
1WCLK_DJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP2
1WCLK_WJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1
1WM8804Package_SO:SSOP-20_5.3x7.2mm_P0.65mmU2
1spdif_ditConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1spdif_wmConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3

More from vetal-esher/MT32-DIT

1
  • 2 layers105 × 53 mmMT32-DIT v0.4, the printed circuit board in 3D

    MT32-DIT v0.4

    vetal-esher/MT32-DIT

    Digital output for Roland MT-32, D10/20/50/etc

    34 parts12

Similar boards

  • 2 layers102 × 56 mmI2S SPDIF Toslink, the printed circuit board in 3D

    I2S SPDIF Toslink

    chrissk0212/I2S_Toslink

    This revision finalizes the two output devices:

    56 parts
  • 2 layers40.5 × 25.4 mm18bit DIT, the printed circuit board in 3D

    18bit DIT

    vetal-esher/18bit-DIT

    Adding digital output for old synths

    22 parts17MIT
  • 4 layers18 × 49.5 mmMu100-dit, the printed circuit board in 3D

    Mu100-dit

    nikitalita/MU100-DIT

    An optical-out mod for Yamaha Synths. Little-to-no board modification required for MU100/MU90

    23 parts9MIT
  • 2 layers30 × 61.3 mmModuleV450, the printed circuit board in 3D

    ModuleV450

    stuartpittaway/diyBMSv4

    Version 4 of the diyBMS

    47 parts1.1k
  • 2 layers114 × 61.4 mmLHS Breakbeat, the printed circuit board in 3D

    LHS Breakbeat

    lhndo/LH-Stinger

    Fast, Precise, Cartesian, FDM 3D Printer

    47 parts1.1k
  • 2 layers80 × 35 mmV0 Display RP2040, the printed circuit board in 3D

    V0 Display RP2040

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    47 parts1.1kGPL-3.0
  • 2 layers100 × 66.7 mmMacroPad1, the printed circuit board in 3D

    MacroPad1

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    47 parts915
  • 2 layers100 × 100 mmReviung34-split L, the printed circuit board in 3D

    Reviung34-split L

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    47 parts517MIT

Questions

How big is the MT32-DIT board PCB?

It measures 35 × 35 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MT32-DIT board use?

47 parts, built around the DIT4192IPW and PE-65612NL. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the MT32-DIT board KiCad files?

From the vetal-esher/MT32-DIT repository on GitHub, at the commit this page was made from: the board is hardware/MT32-DIT-board/MT32-DIT-board.kicad_pcb and its schematic hardware/MT32-DIT-board/MT32-DIT-board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MT32-DIT board design in my own project?

Its repository states no licence, so its author keeps all rights: ask vetal-esher before reusing the design.