News for hackers. Stuff that matters.
Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by raphlinus on Sunday November 28, 2021 @02:13PM (#29371877)
The specific thing I've found least documented, yet most important for the distinctive percussive attacks of the DX7, is a random variation of the pitch envelope for the first few milliseconds of the note. That's almost short enough it could be done in the firmware, but I believe it might be in the hardware. It's not present in the msfa source, but might have been recovered by later Dexed authors (I haven't carefully looked at their code).

If you get to the envelope hardware, you'll find it's just as clever as the exponential and sine generators. There's some info at [1], but it doesn't capture every single thing I found - there are cases where there is a slight amount of additional noise in the amplitude, I'm not sure whether intentional to give more character or an unintentional artifact. That's also missing from the msfa source.

[1]: https://github.com/google/music-synthesizer-for-android/blob...

ETA: Also see https://levien.com/dx7-envelope.html for a somewhat interactive JavaScript implementation of the envelope algorithm. This accurately emulates the envelope shape and quantization of the DX7 (ie it uses the same reduced number of bits to drive its state machine), but I do not claim it is bit-perfect.

Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by analog31 on Sunday November 28, 2021 @02:23PM (#29371992)
Interesting, hammond organs had a similar effect due to bad key contacts and leaky capacitors. Simulated by Korg of course.
Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by mb_72 on Monday November 29, 2021 @02:26AM (#29377303)
Actually, the key-click occurred not for those reasons explicitly, but "...was caused by the audio signal being routed directly through the key contacts. As a key was depressed, the nine contacts under the key closed against their respective busbars at slightly different times and bounced as they closed. The sine waves from the constantly running generators would be connected at random points in their oscillation."

(from https://www.dairiki.org/HammondWiki/KeyClick)

This happened even in brand-new organs.

Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by djmips on Sunday November 28, 2021 @11:39PM (#29376440)
Do you have more information on this (Hammond) effect and how to simulate?
Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by chuchurocka on Monday November 29, 2021 @09:36AM (#29380305)
https://www.dairiki.org/HammondWiki/KeyClick is a pretty good starting point
Re:The Yamaha DX7 synthesizer's clever exponential circuit, ... by kens on Sunday November 28, 2021 @02:19PM (#29371944)
I haven't looked at the envelope chip, but I hope to examine it at some point.