the recording memory 13 a records musical sounds audio signals but it can be configured such that the recording memory 13 a may record performance information midi data as a recoding object fig6 is a routing diagram schematically showing the flow of performance information and musical sounds when performance information is recorded stored by loop recording it is noted that sections in fig6 identical with those of the embodiment described above are appended with identical reference numbers and their description will be omitted also in this example the dsp 20 may not be indispensable unlike the electronic musical instrument 1 described above and can be realized through connecting audio signals outputted from the sound source 19 directly to the dac 21 as shown in fig6 automatic accompaniment performance information composing one of the automatic accompaniment patterns stored in the automatic accompaniment pattern memory 14 a and selected by the performer is readout by the control of the cpu 11 and supplied as a recording material it is noted that like the embodiment described above the automatic accompaniment performance information is readout only at the time of recording in the first round and its readout is stopped the automatic performance is stopped at the time of recording in the second and later rounds whereby supply of the automatic accompaniment performance information is stopped on the other hand when the performer performs with the keyboard 16 manual performance information based on the performance is supplied as a recording material also when external midi performance information is supplied from the external midi equipment 43 the external midi performance information is supplied as a recording material at the time of recording in the first round at least the automatic.