There is a great book, "Musical Applications of Microprocessors" [1] which has an excellent treatment of this. In my early experiments the floating point accuracy of 8bit micros was poor enough that even tempered scales were pretty hard to do. That said, the article describes the different techniques exceptionally well.
[1] http://www.amazon.com/Musical-Applications-Microprocessors-H...