Technically Bach was writing for microtonal music - his well tempered clavier was written to show how songs need to be played in the correct keys to sound right. He was against the systems of the day where some keys could not be used, but his preferred system had each key usable but sounding different. Playing them on a modern equal tempered instrument fails to capture what he was trying to show.