an electronic musical instrument of a digital processing type comprises a first rom storing frequency information corresponding to respective notes for producing tones with pitches of the equally tempered scale , a second rom storing correction data for the frequency information to shift the pitch to bring to just intonation relationship , a chord detector for identifying the root note , and a pitch adjusting circuit for modifying the frequency information of the chord constituent notes other than the root note in accordance with the correction data read out from the second rom . thus the tones are produced in just intonation relationship when they constitute a chord and otherwise in a normal equally tempered scale .