Indeed - Adams certainly put that one tree in that particular field.
In looking for something else about Douglas Adams, I stumbled over a BBC recording of a
Desert Island Discs interview he did in 1994. It covers a number of the areas we have been discussing, such as his interest in new technology, and he also reveals the particular work by Bach that he was playing while he wrote
Dirk Gently's Holistic Detective Agency and had in mind when he refers in the book to a particular work by Bach. It is 40 minutes well spent if you are interested. Here's the link:
https://www.bbc.co.uk/sounds/play/p0093qxj