An electronic musical instrument includes: a memory (202) that stores a trained acoustic model (306) obtained by performing machine learning (305) on training musical score data (311) and training singing voice data (312) of a singer; and at least one processor (205), wherein the at least one processor (205): in accordance with a user operation on an operation element in a plurality of operation elements (101), inputs prescribed lyric data (215a) and pitch data (215b) corresponding to the user operation of the operation element to the trained acoustic model (306), and digitally synthesizes and outputs inferred singing voice data (217) that infers a singing voice of the singer on the basis of at least a portion of acoustic feature data (317) output by the trained acoustic model (306), and on the basis of instrument sound waveform data (220) that are synthesized in accordance with the pitch data (215b) corresponding to the user operation of the operation element.
ELECTRONIC MUSICAL INSTRUMENT, ELECTRONIC MUSICAL INSTRUMENT CONTROL METHOD, AND STORAGE MEDIUM