4 ms·
Yamaha DX7 reverse-engineering, part III: Inside the log-sine ROM
- sharmin123 5y agoLearn Ethical Hacking And Save The World: Hacking Benefits: https://www.hackerslist.co/learn-ethical-hacking-and-save-the-world-hacking-benefits/ https://www.hackerslist.co/learn-ethical-hacking-and-save-th...
- bobowzki 5y agoKen Shirrif's content is so good he's consistently hitting the HN frontpage on a weekly basis.
- djmips 5y agoHere's some earlier work on the opl3 https://github.com/gtaylormb/opl3_fpga/blob/master/docs/opl3math/opl3math.pdf https://github.com/gtaylormb/opl3_fpga/blob/master/docs/opl3...
- jacquesm 5y agoAnthony just released his annotated DX-7 ROM listing, aided by Ken's work: https://github.com/ajxs/yamaha_dx7_rom_disassembly https://github.com/ajxs/yamaha_dx7_rom_disassembly
- mountain_peak 5y agoKen's site is fantastic for education; my kids and I regularly re-visit the 'rare' chip that turned out to be a touch-tone generator, and (as an owner of classic synths) this series is better than that. I don't have a DX7, but do have the 'competition' - a Casio CZ-101, which uses phase distortion to work around Stanford patents (I think). I'm secretly hoping one day Ken will pop the top of a classic CEM or SSM chip, which were (are?) the mainstay of many classic synths. I also wonder if Ken prefers his MG-1 over the DX7 sound...
- erosenbe0 5y agoI really appreciate Ken's content. It is always fascinating to learn how these chips were engineered with minimal simulation (not to mention design tooling) by comparison to what is available today.
- iso1631 5y agoIt amazes me how much memory they didn't have > The ROM and associated logic take a 10-bit input address representing a quarter of the sine wave > A technique called delta encoding is used to reduce the size of the ROM. The idea of delta encoding is that if values change slowly, the difference between two values is considerably smaller than the value itself. > Overall, the log-sine circuit generates 1024 14-bit values Typical audio today is 16bit 48khz, although 24 bit and 96khz isn't unheard of for professional use. A single sine wave at 10Hz would thus require 4,800 samples, and require 9,600 bytes. Tiny amount of data. Even at high fidelity you're talking under 30 kbytes. At just 1024 samples (rather than 4800), and 14 bits (rather than 16), you'd need less than 2kbytes of memory. The ROM only stores 668 bytes - less than the length of this comment in ASCII.
- TheOtherHobbes 5y agoWaveform tables are still usually stored as a 2^n bytes, where n is a relatively small number. The rate is changed by resampling. So this was a known and standard digital synthesis technique, even then. The clever part is the log arithmetic and the use of symmetry. The really clever part is doing it in custom ICs. Yamaha already had custom ICs in its organs and analogue synths, but I still don't know who taped out and then fabbed a relatively state of the art digital design in 1983. Someone in management decided to make a huge investment in the DX line, and it paid off. Imagine if the project had bombed and the company was left with a couple of hundred thousand unwanted chips. But the whole project was a triumph. It wasn't just outstanding engineering, it was a very ballsy business move.
- jacquesm 5y agoSpot on, this must have been an enormous gamble, because it is not one but two of these 64 pin monsters. Unfortunately the other one (which I've already desoldered, it's lying right in front of me) is cast in plastic rather than with a removable lid so it will take some more magic to get that one to give up its secrets.
- djmips 5y ago
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]
- TheDesolate0 5y agoThanks, Ken!