Acoustic analysis system, electronic musical instrument, and acoustic analysis method

JP7552740B2Active Publication Date: 2024-09-18YAMAHA CORP
5 Cites 0 Cited by

Patent Information

Application Number
JP2022579439
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-02-05
Filing Date
2022-01-21
Publication Date
2024-09-18
Estimated Expiration
2042-01-21

Smart Images

  • Figure 0007552740000015
    Figure 0007552740000015
  • Figure 0007552740000021
    Figure 0007552740000021
  • Figure 0007552740000002
    Figure 0007552740000002
Patent Text Reader

Abstract

This sound analysis system comprises: an instruction reception unit which receives instructions for a target timbre; an acquisition unit which acquires a first sound signal that includes a plurality of sound components corresponding to differing timbres; and a sound analysis unit which selects at least one reference signal from a plurality of reference signals that represent differing performance sounds. A reference rhythm pattern, which represents changes over time of the signal strength of the at least one reference signal, is similar to an analysis rhythm pattern, which represents changes over time of the strength of a sound component, from among the sound components, that corresponds to the target timbre.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to techniques for analyzing acoustic signals. [Background technology]

[0002] Techniques for analyzing the characteristics of audio signals that represent the sounds of musical pieces have been proposed in the past. For example, Patent Document 1 discloses a technique for automatically creating musical pieces using machine learning technology. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2020 / 166094 Summary of the Invention [Problem to be solved by the invention]

[0004] For example, in the context of creating a piece of music or practicing playing an instrument, a user may desire a pattern similar to a pattern repeated in a particular piece of music with a particular tone. However, it is difficult for a user to search for a suitable pattern because it requires time and musical expertise. In view of the above, one aspect of the present disclosure aims to reduce the user's effort in searching for a pattern played with a particular tone. [Means for solving the problem]

[0005] In order to solve the above problems, an acoustic analysis system according to one embodiment of the present disclosure includes an instruction receiving unit that receives an instruction for a target tone, an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different tones, and an acoustic analysis unit that selects one or more reference signals from a plurality of reference signals that represent different performance sounds, and a reference rhythm pattern that represents the temporal fluctuation in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern that represents the temporal fluctuation in intensity of an acoustic component among the plurality of acoustic components that corresponds to the target tone.

[0006] In order to solve the above problems, an electronic musical instrument according to one embodiment of the present disclosure includes an instruction receiving unit that receives an instruction for a target timbre, an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different timbres, an acoustic analysis unit that selects one or more reference signals from a plurality of reference signals representing different performance sounds, a performance device that accepts a performance by a user, and a playback control unit that causes a playback system to reproduce the performance sounds represented by the one or more selected reference signals and musical sounds corresponding to the performance accepted by the performance device, wherein a reference rhythm pattern representing the temporal fluctuations in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern representing the temporal fluctuations in intensity of the acoustic component corresponding to the target timbre among the plurality of acoustic components.

[0007] In order to solve the above problems, an acoustic analysis method according to one embodiment of the present disclosure receives an instruction for a target tone, obtains a first acoustic signal including a plurality of acoustic components corresponding to different tones, selects one or more reference signals from a plurality of reference signals representing different performance sounds, and a reference rhythm pattern representing the temporal variation in signal intensity in the one or more reference signals resembles an analyzed rhythm pattern representing the temporal variation in intensity of an acoustic component among the plurality of acoustic components that corresponds to the target tone. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram illustrating a configuration of an electronic musical instrument according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a functional configuration of an electronic musical instrument. [Diagram 3] 4 is a block diagram illustrating a specific configuration of an acoustic analysis unit. FIG. [Figure 4] FIG. [Diagram 5] FIG. 11 is an explanatory diagram regarding analysis of an analysis rhythm pattern. [Figure 6] 10 is a flowchart illustrating a specific procedure for a process of generating an analyzed rhythm pattern. [Figure 7] FIG. 11 is an explanatory diagram of the operation of a selection unit. [Figure 8] FIG. 13 is a schematic diagram illustrating an analysis image. [Figure 9] FIG. 13 is a schematic diagram illustrating an analysis image. [Figure 10] 11 is a flowchart illustrating a specific procedure of an acoustic analysis process. [Figure 11] FIG. 1 is a block diagram illustrating a configuration of an information processing system. [Figure 12] FIG. 2 is a block diagram illustrating an example of a functional configuration of an information processing system. [Figure 13] 11 is a flowchart illustrating the processing steps taken by a control device of an information processing system to establish a learned model through machine learning. [Figure 14] FIG. 10 is an explanatory diagram of generation of a basis matrix by the information processing system. [Figure 15] 11 is an explanatory diagram of generation of a reference rhythm pattern by the information processing system. [Figure 16] FIG. 11 is a block diagram illustrating a specific configuration of an acoustic analysis unit according to a second embodiment. [Figure 17] 10 is a flowchart illustrating a specific procedure of an acoustic analysis process in the second embodiment. [Figure 18] FIG. 13 is an explanatory diagram of a selection unit according to the third embodiment. [Figure 19] FIG. 13 is a block diagram illustrating the configuration of a performance system according to a fourth embodiment. [Figure 20] FIG. 13 is an explanatory diagram of a selection unit according to the fifth embodiment; [Figure 21] FIG. 1 is a block diagram illustrating a specific configuration of a trained model. [Figure 22] 13 is a flowchart illustrating a specific procedure of an acoustic analysis process in the fifth embodiment. [Diagram 23] FIG. 13 is a block diagram illustrating an example of a functional configuration of an information processing system according to a fifth embodiment. [Figure 24] FIG. 13 is a block diagram illustrating the configuration of a performance system according to a sixth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A: First embodiment 1 is a block diagram illustrating the configuration of an electronic musical instrument 10 according to an embodiment of the present disclosure. The electronic musical instrument 10 is an acoustic analysis system that realizes a function of reproducing musical tones corresponding to a performance by a user and a function of analyzing an acoustic signal S1 representing the performance tones of a specific piece of music.

[0010] The electronic musical instrument 10 comprises a control device 11, a storage device 12, a communication device 13, an operation device 14, a performance device 15, a sound source device 16, a sound output device 17, and a display device 19. The electronic musical instrument 10 may be realized as a single device, or may be realized as a plurality of devices configured separately from one another.

[0011] The control device 11 is composed of one or more processors that control each element of the electronic musical instrument 10. The control device 11 is composed of one or more types of processors, such as a CPU (Central Processing Unit), an SPU (Sound Processing Unit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), or an ASIC (Application Specific Integrated Circuit).

[0012] The storage device 12 is one or more memories that store the programs executed by the control device 11 and various data used by the control device 11. The storage device 12 is configured, for example, with a known recording medium such as a magnetic recording medium or a semiconductor recording medium, or with a combination of multiple types of recording media. Note that the storage device 12 may be a portable recording medium that is detachably attached to the electronic musical instrument 10, or a recording medium (e.g., cloud storage) to which the control device 11 can write or read via a communication network 90 such as the Internet.

[0013] The storage device 12 stores an audio signal S1 to be analyzed by the electronic musical instrument 10. The audio signal S1 is a signal including multiple audio components of musical tones produced by different musical instruments. The audio signal S1 may also include audio components of a voice produced by a singer. The audio signal S1 is stored in the storage device 12 as, for example, a music file distributed to the electronic musical instrument 10 from a music distribution device (not shown). The audio signal S1 is an example of a "first audio signal." Alternatively, the audio signal S1 may be supplied to the electronic musical instrument 10 by a playback device that reads out the audio signal S1 from a recording medium such as an optical disk.

[0014] The communication device 13 communicates with other devices via a communication network 90. ​​For example, the communication device 13 communicates with an information processing system 40, which will be described later. It does not matter whether there is a wireless section in the communication line between the communication device 13 and the communication network 90. ​​In addition, examples of the communication device 13 separate from the electronic musical instrument 10 include information terminals such as a smartphone or a tablet terminal.

[0015] The operation device 14 is an input device that accepts instructions from a user. The operation device 14 is, for example, a plurality of operators operated by the user, or a touch panel that detects contact by the user. By operating the operation device 14, the user can instruct the electronic musical instrument 10 to play a desired instrument (hereinafter referred to as a "target instrument") among a plurality of types of musical instruments. Since the timbre of musical sounds differs for each type of instrument, the instruction of an instrument by the user is an example of a "timbre instruction." Moreover, the target instrument is an example of a "target timbre."

[0016] The performance device 15 is an input device that accepts a performance by a user. Specifically, the performance device 15 is a keyboard on which a plurality of keys 151 corresponding to different pitches are arranged. The user plays a piece of music by sequentially operating the desired keys 151. In other words, the electronic musical instrument 10 is an electronic keyboard instrument.

[0017] The sound source device 16 generates an audio signal corresponding to a performance on the performance device 15. Specifically, the sound source device 16 generates an audio signal representing a tone corresponding to a key 151 pressed by a user among a plurality of keys 151 of the performance device 15. Note that the control device 11 may realize the function of the sound source device 16 by executing a program stored in the storage device 12. In other words, the sound source device 16 may be omitted.

[0018] The sound emitting device 17 emits musical tones represented by the acoustic signals generated by the sound source device 16. The sound emitting device 17 is, for example, a speaker or a headphone. In this embodiment, the sound source device 16 and the sound emitting device 17 function as a reproduction system 18 that reproduces musical tones corresponding to the performance by the user. The display device 19 displays images under the control of the control device 11. The display device 19 is, for example, a liquid crystal display panel.

[0019] 2 is a block diagram illustrating an example of the functional configuration of the electronic musical instrument 10. The control device 11 of the electronic musical instrument 10 executes a program stored in the storage device 12 to realize a plurality of functions (an acquisition unit 111, an instruction receiving unit 112, an acoustic analysis unit 113, a presentation unit 114, and a playback control unit 115). Note that the functions of the control device 11 may be realized by a plurality of devices configured separately from one another, or some or all of the functions of the control device 11 may be realized by a dedicated electronic circuit.

[0020] The acquisition unit 111 acquires the audio signal S1. Specifically, the acquisition unit 111 sequentially reads out each sample of the audio signal S1 from the storage device 12. The acquisition unit 111 may acquire the audio signal S1 from an external device with which the electronic musical instrument 10 can communicate.

[0021] The instruction receiving unit 112 receives instructions from the user to the operation device 14. Specifically, the instruction receiving unit 112 receives an instruction for a target instrument from the user, and generates instruction data D indicating the target instrument.

[0022] 3 is a block diagram illustrating an example of the functional configuration of the acoustic analysis unit 113. The acoustic analysis unit 113 includes a separation unit 1131, an analysis unit 1132, and a selection unit 1133.

[0023] 4 is an explanatory diagram of the separation unit 1131. The separation unit 1131 generates an audio signal S2 by performing sound source separation on the audio signal S1. Specifically, the separation unit 1131 separates an audio signal S2 representing an audio component corresponding to a target instrument specified by a user from a plurality of audio components corresponding to different instruments in the audio signal S1. That is, the audio signal S2 is a signal in which the audio component of the target instrument among the plurality of audio components of the audio signal S1 is relatively emphasized with respect to the audio components other than the target instrument. The audio signal S2 is an example of a "second audio signal."

[0024] A trained model M is used for generating the acoustic signal S2 by the separation unit 1131. Specifically, the separation unit 1131 inputs input data X, which is a combination of the acoustic signal S1 and instruction data D, to the trained model M, and outputs the acoustic signal S2 from the trained model M. The trained model M is a model that has learned the relationship between the combination of the acoustic signal S1 and the instruction data D, and the acoustic signal S2 by machine learning.

[0025] The trained model M is configured, for example, by a deep neural network (DNN). As the trained model M, for example, any type of neural network, such as a recurrent neural network (RNN) or a convolutional neural network (CNN), is used. The trained model M may also be configured by combining multiple types of deep neural networks. Furthermore, the trained model M may be equipped with additional elements, such as a long short-term memory (LSTM).

[0026] The trained model M is realized by a combination of a program that causes the control device 11 to execute a calculation to generate an acoustic signal S2 from input data X, which is a combination of an acoustic signal S1 and instruction data D, and a plurality of variables (e.g., weights and biases) that are applied to the calculation. The program and the plurality of variables that realize the trained model M are stored in the storage device 12. The numerical values ​​of each of the plurality of variables that define the trained model M are set in advance by machine learning.

[0027] The analysis unit 1132 in Fig. 3 generates an analyzed rhythm pattern Y by analyzing the audio signal S2. Fig. 5 is an explanatory diagram regarding the analysis of the analyzed rhythm pattern Y. In Fig. 5, the symbol f represents frequency, and the symbol t represents time. The analysis unit 1132 generates an analyzed rhythm pattern Y for each of a plurality of periods (hereinafter referred to as unit periods) T into which the audio signal S2 is divided on the time axis. The unit period T is, for example, a period of time length equivalent to a predetermined number of bars in a piece of music (for example, 1 bar, 4 bars, or 8 bars).

[0028] The analyzed rhythm pattern Y is composed of M coefficient sequences y1 to yM corresponding to different tones. The coefficient sequence ym corresponding to the m-th (m=1 to M) tone color among the M types of tones is a non-negative numeric sequence representing the temporal fluctuation of the signal intensity (e.g., amplitude or power) of the sound component of that tone color in the audio signal S2. Note that the tone color differs for each type of musical instrument and each pitch of a musical tone, for example. Therefore, the coefficient sequence ym can be said to represent the temporal fluctuation of the intensity of the sound component corresponding to the combination of the musical instrument and the pitch.

[0029] The analysis unit 1132 generates an analyzed rhythm pattern Y from the audio signal S2 by non-negative matrix factorization (NMF) using a known basis matrix B. The basis matrix B is a non-negative matrix including M frequency characteristics b1 to bM corresponding to the timbres of musical sounds produced by different musical instruments. The frequency characteristic bm corresponding to the acoustic component of the m-th musical instrument is a sequence (basis vector) of the intensity of the acoustic component on the frequency axis. Specifically, the frequency characteristic bm is, for example, an amplitude spectrum or a power spectrum. The basis matrix B generated in advance by machine learning is stored in the storage device 12.

[0030] As can be understood from the above explanation, the analyzed rhythm pattern Y is a non-negative coefficient matrix (activation matrix) that corresponds to the basis matrix B. That is, each coefficient sequence ym in the analyzed rhythm pattern Y is the time variation of the weighting value (activation) for the frequency characteristic bm in the basis matrix B. Each coefficient sequence ym can be said to be a rhythm pattern related to the m-th timbre in the audio signal S2.

[0031] 6 is a flowchart illustrating a specific procedure of the process performed by the analysis section 1132 to generate the analyzed rhythm pattern Y. The process of FIG. 6 is executed for each unit period T of the audio signal S2.

[0032] The analysis unit 1132 generates an observation matrix O for the unit period T of the acoustic signal S2 (Sa1). The observation matrix O is a non-negative matrix that represents a time series of frequency characteristics of the acoustic signal S2, as shown in Fig. 5. Specifically, a time series (spectrogram) of an amplitude spectrum or a power spectrum within the unit period T is generated as the observation matrix O.

[0033] The analysis unit 1132 calculates an analyzed rhythm pattern Y from the observation matrix O by nonnegative matrix factorization using the basis matrix B stored in the storage device 12 (Sa2). Specifically, the analysis unit 1132 calculates the analyzed rhythm pattern Y so that the product BY of the basis matrix B and the analyzed rhythm pattern Y approximates (ideally matches) the observation matrix O.

[0034] Fig. 7 is an explanatory diagram of the operation of the selection unit 1133 illustrated in Fig. 3. The storage device 12 stores N reference signals R1-RN representing different performance sounds, and N reference rhythm patterns Z1-ZN corresponding to the different reference signals Rn (n=1-N). Each reference rhythm pattern Zn is composed of M coefficient strings z1-zM corresponding to different timbres of musical sounds produced by a specific instrument. For example, the coefficient string zm of the reference rhythm pattern Zn is the mth rhythm pattern for the nth instrument.

[0035] Each of the N reference signals R1 to RN represents a part of a musical piece that is different from the others. Specifically, each reference signal Rn represents a part of the musical piece that is suitable for repeated performance (i.e., a loop material). In this embodiment, a reference rhythm pattern Zn is generated from each of the N reference signals R1 to RN.

[0036] The selection unit 1133 compares each of the N reference rhythm patterns Z1 to ZN with the analyzed rhythm pattern Y. Specifically, the selection unit 1133 calculates the similarity Qn by comparing each reference rhythm pattern Zn with the analyzed rhythm pattern Y. In the following explanation, the correlation coefficient, which is an index of the correlation between the reference rhythm pattern Zn and the analyzed rhythm pattern Y, is exemplified as the similarity Qn. Therefore, the more similar the reference rhythm pattern Zn and the analyzed rhythm pattern Y are to each other, the larger the similarity Qn will be. In other words, the similarity Qn is an index of the degree of similarity between the reference rhythm pattern Zn and the analyzed rhythm pattern Y.

[0037] The selection unit 1133 selects one or more reference signals Rn from the N reference signals R1 to RN based on the calculated similarity Qn, and outputs the selected reference signals Rn to the presentation unit 114 and the reproduction control unit 115. Specifically, the selection unit 1133 selects multiple reference signals Rn whose similarity Qn exceeds a predetermined threshold, or selects a predetermined number of reference signals Rn ranked high in descending order of similarity Qn.

[0038] As can be understood from the above explanation, the acoustic analysis section 113 (selection section 1133) selects, from the N reference signals R1 to RN, multiple reference signals Rn whose reference rhythm pattern Zn is similar to the analyzed rhythm pattern Y. Note that the selection section 1133 may select a predetermined number of reference signals Rn for each unit period T of the acoustic signal S1, or may select a predetermined number of reference signals Rn in descending order of the average similarity over all unit periods T of the acoustic signal S1.

[0039] The presentation unit 114 in Fig. 2 displays the result of the analysis by the acoustic analysis unit 113 on the display device 19. Specifically, the presentation unit 114 presents to the user a plurality of reference signals Rn selected by the selection unit 1133. The presentation unit 114 in the first embodiment displays the analysis image of Fig. 8 or Fig. 9 on the display device 19. The analysis image is an image that displays the reference signals Rn in a ranking format.

[0040] The analysis image in Fig. 8 is an image representing each reference signal Rn corresponding to a reference rhythm pattern Zn similar to the analysis rhythm pattern Y of the target instrument "Drum". Similarly, the analysis image in Fig. 9 is an image representing each reference signal Rn corresponding to a reference rhythm pattern Zn similar to the analysis rhythm pattern Y of the target instrument "Guitar".

[0041] By referring to the analysis image in FIG. 8 or FIG. 9, the user can visually grasp the reference signal Rn corresponding to the reference rhythm pattern Zn similar to the analyzed rhythm pattern Y of the target instrument among the multiple reference signals Rn. For example, by referring to the analysis image in FIG. 8, the user can confirm the reference signal Rn corresponding to the reference rhythm pattern Zn most similar to the analyzed rhythm pattern Y of the target instrument "Drum". Note that the character strings such as "DrumPattern01" in FIG. 8 and FIG. 9 are the label names of the reference signals Rn, and the numbers such as "1" added to the left of the character strings indicate the ranking according to the similarity Qn. Therefore, in FIG. 8 and FIG. 9, "DrumPattern01" and "GuitarRiff01" are the reference signals Rn with the highest similarity Qn.

[0042] 2 controls the reproduction of musical tones by the reproduction system 18. Specifically, the reproduction control unit 115 instructs the reproduction system 18 (specifically, the sound source device 16) to generate sounds in response to an operation on the performance device 15. The reproduction control unit 115 also causes the reproduction system 18 to reproduce a performance sound represented by one reference signal Rn selected by the user from the analysis image among the multiple reference signals Rn selected by the selection unit 1133.

[0043] 10 is a flow chart showing an example of a specific procedure of a process (acoustic analysis process) executed by the control device 11. For example, the acoustic analysis process is executed in response to an instruction from a user to the electronic musical instrument 10.

[0044] When the acoustic analysis process starts, the acquisition unit 111 acquires the acoustic signal S1 (Sb1). The instruction acceptance unit 112 waits for the user to specify a target instrument (Sb2: NO). When the instruction acceptance unit 112 accepts the specification of the target instrument (Sb2: YES), the separation unit 1131 separates the acoustic signal S2 from the acoustic signal S1 (Sb3).

[0045] The analysis unit 1132 generates an observation matrix O (see FIG. 5) for each of a plurality of unit periods T obtained by dividing the acoustic signal S2 on the time axis (Sb4). The analysis unit 1132 calculates an analyzed rhythm pattern Y from each observation matrix O by non-negative matrix factorization using the basis matrix B stored in the storage device 12 (Sb5).

[0046] The selection unit 1133 calculates a similarity Qn between the reference rhythm pattern Zn for each of the N reference signals R1-RN and the analyzed rhythm pattern Y (Sb6). The selection unit 1133 selects multiple reference signals Rn from the N reference signals R1-RN whose reference rhythm pattern Zn is similar to the analyzed rhythm pattern Y (Sb7).

[0047] The presentation unit 114 causes the display device 19 to display the label names identifying the reference signals Rn selected by the selection unit 1133 in descending order of similarity Qn (Sb8). The reproduction control unit 115 waits for the user to select a reference signal Rn (Sb9: NO). When the user selects one of the multiple reference signals Rn displayed on the display device 19 (Sb9: YES), the reproduction control unit 115 supplies the reference signal Rn to the reproduction system 18, thereby reproducing the performance sound represented by the reference signal Rn (Sb10).

[0048] The information processing system 40 in Fig. 1 generates a trained model M that is used by the separation unit 1131 to generate an acoustic signal S2. Fig. 11 is a block diagram illustrating an example of the configuration of the information processing system 40. The information processing system 40 includes a control device 41, a storage device 42, and a communication device 43. The information processing system 40 may be realized as a single device, or may be realized as a plurality of devices configured separately from each other.

[0049] The control device 41 is composed of one or more processors that control each element of the information processing system 40. The control device 41 is composed of one or more types of processors such as a CPU, an SPU, a DSP, an FPGA, or an ASIC. The communication device 43 communicates with the electronic musical instrument 10 via the communication network 90.

[0050] The storage device 42 is a single or multiple memories that store the programs executed by the control device 41 and various data used by the control device 41. The storage device 42 is configured with a known recording medium such as a magnetic recording medium or a semiconductor recording medium, or a combination of multiple types of recording media. In addition, a portable recording medium that is detachable from the information processing system 40 or a recording medium (e.g., cloud storage) that can be written to or read by the control device 41 via the communication network 90 may be used as the storage device 42.

[0051] 12 is a block diagram illustrating an example of a functional configuration of the information processing system 40. The control device 41 executes a program stored in the storage device 42 to function as a plurality of elements (a training data acquisition unit 51 and a learning processing unit 52) ​​for establishing a trained model M by machine learning.

[0052] The learning processing unit 52 establishes a learned model M by supervised machine learning using multiple training data TD. The training data acquisition unit 51 acquires multiple training data TD. Specifically, the training data acquisition unit 51 acquires multiple training data TD stored in the storage device 42 from the storage device 42.

[0053] Each of the multiple training data TD is composed of a combination of training input data Xt and a training audio signal S2t, as shown in Fig. 12. The training input data Xt is data in which a training audio signal S1t is combined with training instruction data Dt. The training audio signal S1t is a known signal that includes multiple audio components corresponding to different musical instruments. The training audio signal S1t is an example of a "first training audio signal."

[0054] The training instruction data Dt is data that designates one of a plurality of musical instruments. The training instruction data Dt is an example of "training instruction data." The training audio signal S2t is a known signal that represents an acoustic component that corresponds to the musical instrument indicated by the training instruction data Dt among the plurality of acoustic components of the training audio signal S1t. The training audio signal S2t is an example of a "second training audio signal."

[0055] 13 is a flowchart illustrating a specific procedure of a process (hereinafter, referred to as a learning process) Sc in which the control device 41 establishes a trained model M by machine learning. The learning process Sc is also expressed as a method of generating the trained model M.

[0056] When the learning process Sc is started, the training data acquisition unit 51 acquires any one of the multiple training data TD (hereinafter referred to as "selected training data TD") stored in the storage device 42 (Sc1). As shown in Fig. 12, the learning processing unit 52 inputs input data Xt of the selected training data TD to an initial or provisional model (hereinafter referred to as "provisional model") M0 (Sc2), and acquires an acoustic signal S2 output by the provisional model M0 in response to the input (Sc3).

[0057] The learning processing unit 52 calculates a loss function that represents the error between the acoustic signal S2 generated by the provisional model M0 and the acoustic signal S2t of the selected training data TD (Sc4). The learning processing unit 52 updates multiple variables of the provisional model M0 so that the loss function is reduced (ideally minimized) (Sc5). For example, the backpropagation method is used to update the multiple variables according to the loss function.

[0058] The learning processing unit 52 determines whether a predetermined termination condition is satisfied (Sc6). The termination condition is, for example, that the loss function falls below a predetermined threshold, or that the change amount of the loss function falls below a predetermined threshold. If the termination condition is not satisfied (Sc6: NO), the training data acquisition unit 51 selects the unselected selected training data TD as new selected training data TD (Sc1). That is, the learning processing unit 52 repeats the process of updating the multiple variables of the provisional model M0 until the termination condition is satisfied (Sc1 to Sc5). If the termination condition is satisfied (Sc6: YES), the learning processing unit 52 ends the update (Sc1 to Sc5) of the multiple variables that define the provisional model M0. The provisional model M0 at the time when the termination condition is satisfied is determined as the trained model M. That is, the multiple variables of the trained model M are determined to be the values ​​at the time when the learning process Sc is terminated.

[0059] As can be understood from the above explanation, the trained model M outputs a statistically valid acoustic signal S2 for unknown input data X, based on the underlying relationship between the input data Xt and the acoustic signal S2t in multiple selected training data TD. In other words, as described above, the trained model M is a model that has learned the relationship between the training input data Xt and the training acoustic signal S2t by machine learning.

[0060] The information processing system 40 transmits the trained model M established by the above procedure to the electronic musical instrument 10 from the communication device 43 (Sc7). Specifically, the learning processing unit 52 transmits multiple variables of the trained model M from the communication device 43 to the electronic musical instrument 10. The control device 11 of the electronic musical instrument 10 saves the trained model M received from the information processing system 40 in the storage device 12. Specifically, multiple variables that define the trained model M are stored in the storage device 12.

[0061] 1 also generates a basis matrix B and a reference rhythm pattern Zn used by the analysis section 1132 and the selection section 1133. Fig. 14 is an explanatory diagram of the generation of the basis matrix B by the information processing system 40. Fig. 15 is an explanatory diagram of the generation of the reference rhythm pattern Zn by the information processing system 40. The basis matrix B and the reference rhythm pattern Zn are generated, for example, in the following procedure.

[0062] 14, the control device 41 reads out N reference signals R1 to RN stored in the storage device 42. The control device 41 generates an observation matrix On from each reference signal Rn. The observation matrix On is a non-negative matrix that represents a time series (spectrogram) of the frequency characteristics of the reference signal Rn, similar to the above-mentioned observation matrix O.

[0063] Next, the control device 41 generates an observation matrix OT by concatenating the N observation matrices O1 to ON on the time axis. The control device 41 generates a basis matrix B from the observation matrix OT by performing nonnegative matrix factorization on the observation matrix OT. As can be understood from the above explanation, the basis matrix B includes frequency characteristics bm corresponding to all types of timbre included in the N reference signals R1 to RN.

[0064] Next, the control device 41 calculates a reference rhythm pattern Zn from each observation matrix On by nonnegative matrix factorization using the generated basis matrix B, as shown in Fig. 15. Specifically, the control device 41 calculates the reference rhythm pattern Zn so that the product BZn of the basis matrix B and the reference rhythm pattern Zn approximates (ideally matches) the observation matrix On. The information processing system 40 transmits the basis matrix B and the N reference rhythm patterns Z1-ZN generated by the above procedure from the communication device 43 to the electronic musical instrument 10. The control device 11 of the electronic musical instrument 10 stores the basis matrix B and the N reference rhythm patterns Z1-ZN received from the information processing system 40 in the storage device 12.

[0065] As described above, in the first embodiment, of the multiple reference signals Rn, a reference signal Rn whose reference rhythm pattern Zn is similar to the analyzed rhythm pattern Y of the instrument (target instrument) specified by the user is selected. This reduces the user's effort in searching for a desired rhythm pattern for the instrument specified by the user, improving the efficiency of, for example, music composition or performance practice.

[0066] Furthermore, in the first embodiment, a plurality of reference signals Rn are appropriately selected according to the similarity Qn between the reference rhythm pattern Zn of each of the N reference signals R1 to RN and the analyzed rhythm pattern Y of the instrument designated by the user.

[0067] Furthermore, in the first embodiment, it is possible to grasp the order in which the reference rhythm patterns Zn of the multiple reference signals Rn resemble the analyzed rhythm pattern Y of the target instrument. This allows the user to compose music or practice playing the music according to the order, for example.

[0068] In addition, in the first embodiment, by referring to the analysis image of Figure 8 or Figure 9, the user can visually grasp the reference signal Rn among the multiple reference signals Rn that corresponds to the reference rhythm pattern Zn that is similar to the analysis rhythm pattern Y of the target instrument.

[0069] B: Second embodiment Next, a second embodiment will be described. In each of the following examples, the elements that have the same functions and configurations as those in the first embodiment will be referred to by the same reference numerals used in the description of the first embodiment, and detailed descriptions of each will be omitted as appropriate.

[0070] 16 is a block diagram illustrating a specific configuration of the acoustic analysis unit 113 according to the second embodiment. The acoustic analysis unit 113 of the second embodiment has a configuration in which the separation unit 1131 is removed from the same elements as those of the first embodiment (the separation unit 1131, the analysis unit 1132, and the selection unit 1133). Specifically, in the first embodiment, the separation unit 1131 separate from the analysis unit 1132 generates an acoustic signal S2 in which the acoustic components of the target instrument are emphasized, whereas in the second embodiment, the analysis unit 1132 emphasizes the acoustic components of the target instrument in the process of generating the analyzed rhythm pattern Y.

[0071] FIG. 17 is a flowchart illustrating a specific procedure of the process (acoustic analysis process) executed by the control device 11 of the second embodiment.

[0072] When the acoustic analysis process starts, the acquisition unit 111 acquires the acoustic signal S1 (Sd1). The analysis unit 1132 generates an observation matrix O for each of a plurality of unit periods T into which the acoustic signal S1 is divided on the time axis (Sd2). While the observation matrix O in the first embodiment is a non-negative matrix corresponding to the acoustic signal S2 after sound source separation, the observation matrix O in the second embodiment is a non-negative matrix representing a time series of frequency characteristics of the acoustic signal S1. Specifically, a time series (spectrogram) of the amplitude spectrum or power spectrum in the unit period T is generated as the observation matrix O.

[0073] Next, the analysis unit 1132 calculates an analysis rhythm pattern Y from the observation matrix O by non-negative matrix factorization using the basis matrix B (Sd3). The basis matrix B is given labels of instrument names. Specifically, the M frequency characteristics b1 to bM constituting the basis matrix B are each associated with a label of an instrument name. In other words, it is already known which instrument's acoustic component intensity sequence the m-th frequency characteristic of the M frequency characteristics b1 to bM corresponds to.

[0074] The instruction receiving unit 112 waits for the user to specify a target instrument (Sd4: NO). When the instruction receiving unit 112 receives the specification of a target instrument (Sd4: YES), the analysis unit 1132 sets each element of one or more coefficient sequences ym corresponding to instruments other than the target instrument, among the M coefficient sequences y1 to yM constituting the analyzed rhythm pattern Y, to 0 (Sd5). As a result, the analyzed rhythm pattern Y becomes a non-negative coefficient matrix in which each element of the coefficient sequence ym corresponding to instruments other than the target instrument is 0.

[0075] After the above process is performed, the control device 11 executes the processes from step Sb6 to step Sb10, similarly to the first embodiment. Therefore, the second embodiment also achieves the same effects as the first embodiment.

[0076] C: Third embodiment FIG. 18 is an explanatory diagram of the selection unit 1133 of the third embodiment. The selection unit 1133 generates a compressed analysis rhythm pattern Y' by compressing the analysis rhythm pattern Y on the time axis. Specifically, the selection unit 1133 generates the compressed analysis rhythm pattern Y' by calculating the average or sum of multiple elements of the coefficient sequence ym for each of the M coefficient sequences y1 to yM that constitute the analysis rhythm pattern Y. Therefore, the compressed analysis rhythm pattern Y' is composed of M coefficients y'1 to y'M that correspond to different timbres. In other words, the coefficient y'm is the average or sum of multiple elements of the coefficient sequence ym. The coefficient y'm that corresponds to the m-th timbre out of the M timbres is a non-negative numerical value that indicates the intensity of the acoustic component of that timbre.

[0077] Similarly, the selection unit 1133 generates a compressed reference rhythm pattern Z'n from each of the N reference rhythm patterns Z1 to ZN. The N compressed reference rhythm patterns Z'1 to Z'N are stored in the storage device 12. The compressed reference rhythm pattern Z'n is generated by compressing the reference rhythm pattern Zn on the time axis. Specifically, the selection unit 1133 generates the compressed reference rhythm pattern Z'n by calculating the average or sum of each element of the coefficient sequence zm for each of the M coefficient sequences z1 to zM constituting the reference rhythm pattern Zn. Therefore, the compressed reference rhythm pattern Z'n is composed of M coefficients z'1 to z'M corresponding to different timbres of musical sounds produced by a specific instrument. In other words, the coefficient z'm is the average or sum of multiple elements of the coefficient sequence zm. The coefficient z'm corresponding to the m-th timbre among the M timbres is a non-negative numerical value that indicates the intensity of the acoustic component of the timbre.

[0078] The selection unit 1133 calculates the similarity Qn by comparing each of the N compressed reference rhythm patterns Z'1 to Z'N with the compressed analysis rhythm pattern Y'. As can be understood from the above explanation, whereas the selection unit 1133 in the above-mentioned forms calculates the similarity Qn by comparing the reference rhythm pattern Zn with the analysis rhythm pattern Y, the selection unit 1133 in the third embodiment calculates the similarity Qn by comparing the compressed reference rhythm pattern Z'n obtained by compressing the reference rhythm pattern Zn in the time axis direction with the compressed analysis rhythm pattern Y' obtained by compressing the analysis rhythm pattern Y in the time axis direction.

[0079] The third embodiment described above achieves the same effects as the first embodiment. The configurations of the first and second embodiments are also applicable to the third embodiment.

[0080] D: Fourth embodiment 19 is a block diagram illustrating the configuration of a performance system 100 according to the fourth embodiment. The performance system 100 includes an electronic musical instrument 10 and an information device 80. The information device 80 is, for example, a smartphone or a tablet terminal. The information device 80 is connected to the electronic musical instrument 10, for example, by wire or wirelessly.

[0081] The information device 80 is realized by a computer system including a control device 81, a storage device 82, a display device 83, and an operation device 84. The control device 81 is composed of one or more processors that control each element of the information device 80. For example, the control device 81 is composed of one or more types of processors such as a CPU, an SPU, a DSP, an FPGA, or an ASIC.

[0082] The storage device 82 is one or more memories that store the programs executed by the control device 81 and various data used by the control device 81. The storage device 82 is configured with a known recording medium such as a magnetic recording medium or a semiconductor recording medium, or a combination of multiple types of recording media. Note that a portable recording medium that is detachable from the information device 80, or a recording medium (e.g., cloud storage) to which the control device 81 can write or read via, for example, the communication network 90 may be used as the storage device 82.

[0083] The display device 83 displays an image under the control of the control device 81. The operation device 84 is an input device that accepts instructions from a user. Specifically, the operation device 84 accepts instructions for a target musical instrument from the user.

[0084] The control device 81 executes a program stored in the storage device 82 to realize the same functions (acquisition unit 111, instruction acceptance unit 112, acoustic analysis unit 113, presentation unit 114, and playback control unit 115) as the control device 11 of the electronic musical instrument 10 in the first embodiment. The reference signal Rn, basis matrix B, and trained model M used by the acoustic analysis unit 113 are stored in the storage device 82. The acoustic signal S1 is also stored in the storage device 82. On the other hand, in the electronic musical instrument 10 of the fourth embodiment, the functions exemplified in the first embodiment (acquisition unit 111, instruction acceptance unit 112, acoustic analysis unit 113, presentation unit 114, and playback control unit 115) may be omitted. The division of functions between the electronic musical instrument 10 and the information device 80 is appropriately changed from the above example. For example, some of the functions of the acquisition unit 111, the instruction reception unit 112, the acoustic analysis unit 113, the presentation unit 114, and the playback control unit 115 may be implemented in the information device 80, and the remaining functions may be implemented in the electronic musical instrument 10. In other words, it is sufficient that the performance system 100 as a whole realizes the multiple functions exemplified above.

[0085] The acquisition unit 111 acquires the acoustic signal S1 stored in the storage device 82. The instruction acceptance unit 112 accepts an instruction from the user to the operation device 84. The acoustic analysis unit 113 identifies a plurality of reference signals Rn from the acoustic signal S1 and the instruction data D, as in the first embodiment. The presentation unit 114 causes the display device 83 to display the plurality of reference signals Rn selected by the acoustic analysis unit 113. The reproduction control unit 115 supplies one reference signal Rn selected by the user from the plurality of reference signals Rn to the electronic musical instrument 10, thereby causing the reproduction system 18 to reproduce the performance sound. The presentation unit 114 and the reproduction control unit 115 may be mounted on the electronic musical instrument 10. For example, the presentation unit 114 may cause the display device 19 to display an analysis image, as in the first embodiment.

[0086] As can be understood from the above description, the fourth embodiment achieves the same effects as the first embodiment. The configurations of the second and third embodiments are also applicable to the fourth embodiment.

[0087] In the fourth embodiment, for example, the trained model M constructed by the information processing system 40 is transferred to the information device 80, and the trained model M is stored in the storage device 82. In the above configuration, the information processing system 40 may be equipped with an authentication processing unit (not shown) that authenticates the legitimacy of the user of the information device 80 (that is, that the user is a regular user registered in advance). When the legitimacy of the user is authenticated by the authentication processing unit, the trained model M is automatically transferred to the information device 80 (i.e., without requiring any instruction from the user).

[0088] E: Fifth embodiment 20 is an explanatory diagram of the selection section 1133. The selection section 1133 of the fifth embodiment receives input data Xa that is a combination of an analyzed rhythm pattern Y and a reference rhythm pattern Zn. The selection section 1133 outputs a similarity Qn that corresponds to the input data Xa.

[0089] The selection unit 1133 of the fifth embodiment uses a trained model Ma to generate the similarity Qn. Specifically, the selection unit 1133 inputs the input data Xa to the trained model Ma, and outputs the similarity Qn from the trained model Ma. The trained model Ma is a model that has learned the relationship between the combination of the analyzed rhythm pattern Y and the reference rhythm pattern Zn and the similarity Qn by machine learning.

[0090] The trained model Ma is composed of any type of deep neural network, such as a recurrent neural network or a convolutional neural network. For example, the trained model Ma is composed of a combination of a recurrent neural network and a convolutional neural network.

[0091] The trained model Ma is realized by a combination of a program that causes the control device 11 to execute a calculation to generate a similarity Qn from the input data Xa, and a plurality of variables (e.g., weights and biases) that are applied to the calculation. The program and the plurality of variables that realize the trained model Ma are stored in the storage device 12. The numerical values ​​of each of the plurality of variables that define the trained model Ma are set in advance by machine learning.

[0092] 21 is a block diagram illustrating a specific configuration of the trained model Ma. The trained model Ma includes a first model Ma1 and a second model Ma2. Input data Xa is input to the first model Ma1.

[0093] The first model Ma1 generates feature data Xaf from the input data Xa. The first model Ma1 is a trained model that has learned the relationship between the input data Xa and the feature data Xaf. The feature data Xaf is data that represents a feature according to the difference between the analyzed rhythm pattern Y and the reference rhythm pattern Zn. The first model Ma1 is, for example, configured by a convolutional neural network.

[0094] The second model Ma2 generates the similarity Qn from the feature data Xaf. The second model Ma2 is a trained model that has learned the relationship between the feature data Xaf and the similarity Qn. The second model Ma2 is configured, for example, with a recurrent neural network. The second model Ma2 may be equipped with additional elements such as a long short-term memory (LSTM) or a gated recurrent unit (GRU).

[0095] Fig. 22 is a flowchart illustrating a specific procedure of the process (acoustic analysis process) executed by the control device 11 of the fifth embodiment. In the fifth embodiment, step Sb6 in the process of the first embodiment illustrated in Fig. 10 is replaced with step Se1 and step Se2. The contents of the process from step Sb1 to step Sb5 and the contents of the process from step Sb7 to step Sb10 are the same as those in the first embodiment.

[0096] The selection unit 1133 generates input data Xa1-XaN by combining the reference rhythm pattern Zn for each of the N reference signals R1-RN with the analysis rhythm pattern Y. The selection unit 1133 inputs each piece of input data Xan (n=1-N) to the trained model Ma (Se1), and outputs a similarity Qn corresponding to each piece of input data Xa1-XaN (Se2). The fifth embodiment also achieves the same effects as the first embodiment.

[0097] The trained model Ma exemplified above is generated by the information processing system 40. Fig. 23 is a block diagram illustrating a functional configuration related to generation of the trained model Ma in the information processing system 40. The control device 41 executes a program stored in the storage device 42, thereby functioning as multiple elements (training data acquisition unit 51a and learning processing unit 52a) for establishing the trained model Ma by machine learning.

[0098] The learning processing unit 52a establishes a learned model Ma by supervised machine learning using multiple training data TDa. The training data acquisition unit 51a acquires multiple training data TDa. Specifically, the training data acquisition unit 51a acquires multiple training data TDa stored in the storage device 42 from the storage device 42.

[0099] Each of the multiple training data TDa is composed of a combination of training input data Xat and training similarity Qnt, as shown in Fig. 23. The training input data Xat is data that combines a training analyzed rhythm pattern Yt and a training reference rhythm pattern Znt. The training analyzed rhythm pattern Yt is a known coefficient matrix composed of multiple coefficient strings that correspond to different tones. The reference rhythm pattern Znt is an example of a "training reference rhythm pattern," and the analyzed rhythm pattern Yt is an example of a "training analyzed rhythm pattern."

[0100] The training reference rhythm pattern Znt is a known coefficient matrix composed of a plurality of coefficient strings corresponding to different tones of musical sounds produced by a specific musical instrument. The training similarity Qnt is a numerical value that is previously associated with the training input data Xat. Specifically, the training input data Xat is associated with the similarity Qnt between the analyzed rhythm pattern Yt in the input data Xat and the training reference rhythm pattern Znt. The similarity Qnt is an example of a "training similarity."

[0101] The learning processing unit 52a inputs the input data Xat in each of the multiple training data TDa to a provisional model, and updates multiple variables of the provisional model so that a loss function between the similarity Q output by the model and the similarity Qnt of the training data TDa is reduced (ideally minimized). That is, the trained model Ma learns the relationship between the input data Xat and the similarity Qnt. Therefore, the trained model Ma outputs a statistically valid similarity Qn for the unknown input data Xan under the potential relationship between the input data Xat and the similarity Q in the multiple input data Xat for training.

[0102] F: Sixth embodiment 24 is a block diagram illustrating the configuration of a performance system 100 according to the sixth embodiment. As in the fourth embodiment, the performance system 100 includes an electronic musical instrument 10 and an information device 80. The configurations of the electronic musical instrument 10 and the information device 80 are the same as in the fourth embodiment.

[0103] The information processing system 40 stores a plurality of trained models Ma corresponding to different music genres. In a learning process for establishing a trained model Ma corresponding to each music genre, training data TDa including input data Xat of a specific music genre is used. That is, a set of a plurality of training data TDa is prepared for each music genre, and a trained model Ma is established by a learning process for each music genre. "Music genre" refers to a category (type) in which songs are classified from a musical perspective. For example, musical categories such as rock, pop, jazz, trance, and hip hop are typical examples of music genres.

[0104] The information device 80 selectively acquires one of the multiple trained models Ma held by the information processing system 40 via the communication network 200. Specifically, the information device 80 acquires one trained model Ma corresponding to a specific music genre from the multiple trained models 60 from the information processing system 40. For example, the information device 80 refers to a genre tag included in the audio signal S1 (music file) and acquires the trained model Ma corresponding to the music genre indicated by the tag from the information processing system 40. The genre tag is tag information indicating a specific music genre that is assigned to a music file such as an MP3 file or an AAC (Advanced Audio Coding) file. Alternatively, the information device 80 estimates the music genre of the song by analyzing the audio signal S1. Any known technology is used to estimate the music genre. The information device 80 acquires the trained model Ma corresponding to the music genre from the information processing system 40. The trained model Ma acquired from the information processing system 40 is stored in the storage device 82 and is used in the process in which the selection unit 1133 outputs the similarity Qn.

[0105] As can be understood from the above description, the present modified example also achieves the same effects as the first to fifth embodiments. In addition, in the sixth embodiment, a trained model Ma is established for each music genre, so there is also the advantage that a highly accurate similarity Qn can be obtained compared to a configuration in which a common trained model Ma is used regardless of the music genre.

[0106] In the above description, a configuration in which the information processing system 40 holds multiple trained models Ma corresponding to different music genres has been exemplified, but the information device 80 may acquire and hold multiple trained models Ma from the information processing system 40. That is, multiple trained models Ma are stored in the storage device 82 of the information device 80. The acoustic analysis unit 113 selectively uses one of the multiple trained models Ma to calculate the similarity Qn.

[0107] G: Variation Although the embodiment of the present disclosure has been described above, the present disclosure is not limited to the above-mentioned embodiment and may be modified in various ways. Specific modified aspects that can be added to the above-mentioned aspects are exemplified below. Two or more aspects selected arbitrarily from the following examples may be appropriately combined within a range that is not mutually contradictory.

[0108] (1) In each of the above-described embodiments, an audio signal S2 corresponding to an instrument specified by a user is separated from a plurality of audio components corresponding to different instruments in the audio signal S1, but an audio component of a singing voice may also be separated from the plurality of audio components.

[0109] (2) In each of the above embodiments, the correlation between the reference rhythm pattern Zn and the analyzed rhythm pattern Y is exemplified as the similarity Qn, but the selection unit 1133 may also calculate the distance between the reference rhythm pattern Zn and the analyzed rhythm pattern Y as the similarity Qn. In the above configuration, the more similar the reference rhythm pattern Zn and the analyzed rhythm pattern Y are to each other, the smaller the value of the similarity Qn. Note that any distance index such as cosine distance or KL divergence may be used as the distance between the reference rhythm pattern Zn and the analyzed rhythm pattern Y.

[0110] (3) In each of the above-described embodiments, the selection unit 1133 selected multiple reference signals Rn from the N reference signals R1 to RN whose reference rhythm patterns Zn are similar to the analysis rhythm pattern Y, but the selection unit 1133 may also select one reference signal Rn.

[0111] (4) In each of the above-described embodiments, the reference signal Rn is typically a portion including sounds played on a single musical instrument, but may be a portion including sounds played on two or more different musical instruments.

[0112] (5) In the second embodiment, among the M coefficient sequences y1 to yM constituting the analysis rhythm pattern Y, the elements of one or more coefficient sequences ym corresponding to instruments other than the target instrument are set to 0. However, it is not necessary to set each element to 0.

[0113] (6) In each of the above-described embodiments, the information processing system 40 establishes the trained model M, but the functions of the information processing system 40 (the training data acquisition section 51 and the learning processing section 52) may be mounted on the information device 80 of the fourth embodiment. Also, in the above-described embodiments, the information processing system 40 generates the basis matrix B and the reference rhythm pattern Zn, but the functions of the information processing system 40 that generate the basis matrix B and the reference rhythm pattern Zn may be mounted on the information device 80 of the fourth embodiment.

[0114] (7) In each of the above-described embodiments, a deep neural network is exemplified as the trained model M, but the trained model M is not limited to a deep neural network. For example, a statistical estimation model such as a hidden Markov model (HMM) or a support vector machine (SVM) may be used as the trained model M. In addition, in each of the above-described embodiments, supervised machine learning using a plurality of training data TD is exemplified as the learning process Sc, but the trained model M may be established by unsupervised machine learning that does not require training data TD, or reinforcement learning that maximizes rewards. An example of unsupervised machine learning is machine learning using known clustering.

[0115] (8) The functions exemplified in each of the above-mentioned embodiments (the acquisition unit 111, the instruction receiving unit 112, the acoustic analysis unit 113, the presentation unit 114, and the playback control unit 115) are realized by the cooperation of one or more processors constituting the control device (11, 81) and the program stored in the storage device (12, 82), as described above. The above-mentioned programs can be provided in a form stored in a computer-readable recording medium and installed in the computer. The recording medium is, for example, a non-transitory recording medium, and a good example is an optical recording medium (optical disk) such as a CD-ROM, but also includes any known type of recording medium such as a semiconductor recording medium or a magnetic recording medium. Note that the non-transitory recording medium includes any recording medium except for a transient propagating signal, and does not exclude a volatile recording medium. In addition, in a configuration in which a distribution device distributes a program via a communication network, the recording medium that stores the program in the distribution device corresponds to the above-mentioned non-transitory recording medium.

[0116] (9) In each of the above-mentioned embodiments, the similarity Qn is calculated by comparing the analyzed rhythm pattern Y with the reference rhythm pattern Zn, but the method of calculating the similarity Qn is not limited to the above examples. For example, the selection unit 1133 may determine the similarity Qn by searching a table for the similarity Qn corresponding to a combination of a feature extracted from the audio signal S2 and a feature extracted from the reference signal Rn (hereinafter referred to as "feature data"). The table registers the similarity Qn for each of a plurality of feature data. Note that the feature of the audio signal S2 and the reference signal Rn is, for example, data representing a time series of frequency characteristics of a performance sound. For example, data representing a time series of frequency characteristics such as MFCC (Mel-Frequency Cepstrum Coefficient), MSLS (Mel-Scale Log Spectrum), or CQT (Constant-Q Transform) is exemplified as the feature.

[0117] (10) In the above-mentioned fifth embodiment, the trained model Ma for generating the similarity Qn from the input data Xa is configured by a deep neural network, but the type of the trained model Ma is not limited to the above example. For example, a statistical estimation model such as an HMM (Hidden Markov Model) or an SVM (Support Vector Machine) may be used as the trained model Ma. Specific examples of the trained model Ma are as follows:

[0118] (10-1)HMM The HMM is a statistical estimation model that interconnects multiple latent states corresponding to different values ​​of the similarity Qn. Feature data, which is a combination of features extracted from the audio signal S2 and features extracted from the reference signal Rn, is input to the HMM in a time series. The feature data is data within a section corresponding to, for example, one bar of a piece of music.

[0119] The selection unit 1133 inputs a time series of feature data to a trained model Ma configured with the HMM exemplified above. The selection unit 1133 estimates a time series of maximum likelihood similarity Qn using the HMM under the condition that a plurality of feature data are observed. A dynamic programming algorithm such as the Viterbi algorithm is used to estimate the similarity Qn.

[0120] The HMM is established by supervised machine learning using multiple training data including similarity Qn. In the machine learning, the transition probability and output probability in each latent state are iteratively updated so that the time series of the maximum likelihood similarity Qn is output for the time series of multiple feature data.

[0121] (10-2) SVM An SVM is prepared for each of all combinations of two numbers selected from the multiple numbers that the similarity Qn can take. For the SVM corresponding to the combination of two numbers, a hyperplane in a multidimensional space is established by machine learning. The hyperplane is a boundary surface that separates a space in which feature data corresponding to one of the two numbers is distributed and a space in which feature data corresponding to the other number is distributed. The trained model according to this modification is composed of multiple SVMs corresponding to different combinations of numbers (multi-class SVM).

[0122] The selection unit 1133 inputs the feature data to each of the multiple SVMs. The SVM corresponding to each combination selects one of two types of numerical values ​​related to the combination depending on which of the two spaces separated by the hyperplane the feature data exists in. Numerical value selection is performed in the same manner in each of the multiple SVMs corresponding to different combinations. The selection unit 1133 selects the numerical value that is selected the maximum number of times by the multiple SVMs, and determines the numerical value as the similarity Qn.

[0123] As can be understood from the above example, the selection unit 1133 in this modification example functions as an element that inputs feature data to a trained model and outputs a similarity Qn, which is an index of the degree of similarity between the feature extracted from the acoustic signal S2 and the feature extracted from the reference signal Rn, from the trained model.

[0124] (11) In the above-mentioned fifth embodiment, supervised machine learning using multiple training data TDa is exemplified as the learning process, but the learned model Ma may be established by reinforcement learning that maximizes the reward. For example, the learning processing unit 52a sets the reward function to "+1" when the similarity Q output by the provisional model Ma0 for the input data Xat of each training data TDa matches the similarity Qnt of the training data TDa, and sets the reward function to "-1" when they do not match. The learning processing unit 52a establishes the learned model Ma by iteratively updating multiple variables of the provisional model Ma0 so that the sum of the reward functions set for the multiple training data TDa is maximized.

[0125] (12) In the first embodiment, the acoustic signal S2 corresponding to the input data X is generated using the trained model M that has trained the relationship between the input data X including the acoustic signal S1 and the instruction data D and the acoustic signal S2, but the configuration and method for generating the acoustic signal S2 from the input data X are not limited to the above examples. For example, a reference table in which the acoustic signal S2 is associated with each of a plurality of different input data X may be used for the generation of the acoustic signal S2 by the separation unit 1131. The reference table is a data table in which the correspondence between the input data X and the acoustic signal S2 is registered, and is stored in, for example, the storage device 12. The separation unit 1131 searches the reference table for the input data X corresponding to the combination of the acoustic signal S1 and the instruction data D, and acquires the acoustic signal S2 associated with the input data X from the reference table among the plurality of acoustic signals S2.

[0126] (13) In the fifth and sixth embodiments, the similarity Qn corresponding to the input data Xa is generated using a trained model Ma that has trained the relationship between the input data Xa, including the analyzed rhythm pattern Y and the reference rhythm pattern Zn, and the similarity Qn, but the configuration and method for generating the similarity Qn from the input data Xa are not limited to the above examples. For example, a reference table in which the similarity Qn is associated with each of a plurality of different input data Xa may be used for the selection unit 1133 to generate the similarity Qn. The reference table is a data table in which the correspondence between the input data Xa and the similarity Qn is registered, and is stored in, for example, the storage device 12. The selection unit 1133 searches the reference table for the input data Xa corresponding to the combination of the analyzed rhythm pattern Y and the reference rhythm pattern Zn, and obtains the similarity Qn associated with the input data Xa from the reference table among the plurality of similarities Qn.

[0127] (14) In the above-described embodiments, the instruction receiving unit 112 receives an instruction for a target instrument from a user, but the instruction receiving unit 112 may receive an instruction for a target instrument from a source other than a user. For example, the instruction receiving unit 112 may receive an instruction for a target instrument from an external device, or may receive an instruction generated by an internal process of the electronic musical instrument 10.

[0128] (15) In each of the above embodiments, an electronic keyboard instrument is exemplified as the electronic musical instrument 10, but the form of the electronic musical instrument is not limited to the above examples. For example, the present disclosure is similarly applicable to electronic musical instruments such as electronic string instruments (e.g., electronic guitars or electronic violins), electronic drums, and electronic wind instruments (e.g., electronic saxophones, electronic clarinets, and electronic flutes).

[0129] F: Notes From the above-described exemplary embodiments, the following configurations can be understood, for example.

[0130] An acoustic analysis system according to one aspect (aspect 1) of the present disclosure includes an instruction receiving unit that receives an instruction for a target tone color, an acquisition unit that acquires a first audio signal including a plurality of audio components corresponding to different tones, and an acoustic analysis unit that selects one or more reference signals from a plurality of reference signals that represent different performance sounds, and a reference rhythm pattern that represents a temporal variation in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern that represents a temporal variation in intensity of an audio component corresponding to the target tone color among the plurality of audio components. According to the above configuration, one or more reference signals whose reference rhythm patterns are similar to the analyzed rhythm pattern of the target tone color are selected from the plurality of reference signals. This reduces the effort required for a user to search for a desired rhythm pattern for a tone color that the user has specified, and improves the efficiency of, for example, music composition or performance practice.

[0131] In a specific example (aspect 2) of aspect 1, the acoustic analysis unit includes a separation unit that separates a second acoustic signal representing the acoustic component corresponding to the target tone from the first acoustic signal, an analysis unit that calculates the analyzed rhythm pattern of the second acoustic signal, and a selection unit that selects, from the multiple reference signals, one or more reference signals whose reference rhythm pattern is similar to the analyzed rhythm pattern calculated by the analysis unit.

[0132] In a specific example (aspect 3) of aspect 2, the separation unit outputs the second acoustic signal by inputting the first acoustic signal and instruction data indicating the target tone to a trained model that has learned the relationship between a combination of a first training acoustic signal including a plurality of acoustic components corresponding to different tones and training instruction data indicating a tone, and a second training acoustic signal representing an acoustic component among the plurality of acoustic components of the first training acoustic signal that corresponds to the tone indicated by the training instruction data.

[0133] According to a specific example (aspect 4) of aspect 2 or aspect 3, the analysis unit calculates a coefficient matrix from the second acoustic signal as the analyzed rhythm pattern by non-negative matrix factorization using a basis matrix representing multiple frequency characteristics corresponding to different tones.

[0134] In a specific example (aspect 5) of aspect 2, the analysis unit calculates a coefficient matrix from the second acoustic signal by non-negative matrix factorization using a basis matrix that represents the frequency characteristics of sounds corresponding to different tones, and generates the analyzed rhythm pattern by setting each element of a coefficient sequence corresponding to a tone other than the target tone, among multiple coefficient sequences included in the calculated coefficient matrix, to 0.

[0135] According to a specific example (Aspect 6) of any of Aspects 2 to 5, the selection section calculates a similarity between the reference rhythm pattern and the analyzed rhythm pattern for each of the plurality of reference signals, and selects the one or more reference signals from the plurality of reference signals based on the similarity. In the above aspects, the one or more reference signals are appropriately selected according to the similarity between the reference rhythm pattern of each of the plurality of reference signals and the analyzed rhythm pattern of the target timbre.

[0136] In a specific example (aspect 7) of aspect 6, the selection unit outputs the similarity by inputting training input data including a training reference rhythm pattern and a training analyzed rhythm pattern into a trained model that has learned the relationship between the training similarity between the training reference rhythm pattern and the training analyzed rhythm pattern, and input data including the reference rhythm pattern and the analyzed rhythm pattern.

[0137] In a specific example (aspect 8) of aspect 7, the selection unit outputs the similarity by inputting the input data to the trained model corresponding to a specific music genre among a plurality of trained models corresponding to different music genres.

[0138] In a specific example (aspect 9) of aspect 8, a trained model corresponding to one music genre among the plurality of trained models is established by machine learning using multiple training data corresponding to the music genre.

[0139] In a specific example (Aspect 10) of any of Aspects 7 to 9, the trained model includes a first model that is configured with a convolutional neural network and that generates feature data from the input data, and a second model that is configured with a recurrent neural network and that generates a similarity from the feature data.

[0140] In a specific example (aspect 11) of any of aspects 2 to 5, the reference rhythm pattern includes a plurality of coefficient sequences corresponding to different tones, and the analyzed rhythm pattern includes a plurality of coefficient sequences corresponding to different tones, and the selection unit generates a compressed reference rhythm pattern by averaging or summing up a plurality of elements of each of the plurality of coefficient sequences in the reference rhythm pattern, generates a compressed analyzed rhythm pattern by averaging or summing up a plurality of elements of each of the plurality of coefficient sequences in the analyzed rhythm pattern, calculates a similarity between the compressed reference rhythm pattern and the compressed analyzed rhythm pattern, and selects the one or more reference signals from the plurality of reference signals based on the similarity.

[0141] In a specific example (Aspect 12) of any one of Aspects 6 to 11, the one or more reference signals are two or more reference signals, and the device further includes a presentation unit that displays information about the two or more reference signals on a display device in an order according to the similarity. In the above aspects, the user can grasp the order in which the reference rhythm patterns of the multiple reference signals are similar to the analyzed rhythm pattern of the target tone color. This allows the user to, for example, compose music or practice playing the music according to the order.

[0142] In a specific example (Aspect 13) of any of Aspects 2 to 12, the analysis unit calculates the analysis rhythm pattern for each of a plurality of unit periods into which the second acoustic signal is divided on a time axis, and the selection unit selects the one or more reference signals.

[0143] In a specific example (Aspect 14) of any one of Aspects 1 to 11, a presentation unit is further provided that presents the one or more reference signals selected by the acoustic analysis unit to a user. According to the above aspect, the user can visually grasp the one or more reference signals selected by the acoustic analysis unit.

[0144] An electronic musical instrument according to one embodiment (embodiment 15) of the present disclosure comprises an instruction receiving unit that receives an instruction for a target tone, an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different tones, an acoustic analysis unit that selects one or more reference signals from a plurality of reference signals representing different performance sounds, a performance device that accepts a performance by a user, and a playback control unit that causes a playback system to reproduce the performance sounds represented by the one or more selected reference signals and musical sounds corresponding to the performance accepted by the performance device, and a reference rhythm pattern that represents the temporal fluctuations in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern that represents the temporal fluctuations in intensity of the acoustic component corresponding to the target tone among the plurality of acoustic components.

[0145] An acoustic analysis method according to one embodiment (embodiment 16) of the present disclosure receives an instruction for a target tone, acquires a first acoustic signal including a plurality of acoustic components corresponding to different tones, selects one or more reference signals from a plurality of reference signals representing different performance sounds, and a reference rhythm pattern representing the temporal variation in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern representing the temporal variation in intensity of an acoustic component among the plurality of acoustic components that corresponds to the target tone.

[0146] A program according to one embodiment (embodiment 17) of the present disclosure causes a computer to function as an instruction receiving unit that receives an instruction for a target tone, an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different tones, and an acoustic analysis unit that selects one or more reference signals from a plurality of reference signals that represent different performance sounds, and a reference rhythm pattern representing the temporal fluctuation in signal intensity in the one or more reference signals is similar to an analyzed rhythm pattern representing the temporal fluctuation in intensity of an acoustic component among the plurality of acoustic components that corresponds to the target tone. [Explanation of symbols]

[0147] 10...electronic musical instrument, 11,81...control device, 12,82...storage device, 13...communication device, 14,84...operation device, 15...performance device, 16...sound source device, 17...sound emission device, 18...playback system, 19,83...display device, 40...information processing system, 90...communication network, 100...performance system, 111...acquisition unit, 112...instruction acceptance unit, 113...acoustic analysis unit, 114...presentation unit, 115...playback Raw control unit, 1131...separation unit, 1132...analysis unit, 1133...selection unit, D...instruction data, Dt...training instruction data, M...learned model, O...observation matrix, similarity...Qn (Q1 to QN), Rn (R1 to RN)...reference signal, S1, S2...acoustic signal, S1t, S2t...training acoustic signal, T...unit period, Y...analyzed rhythm pattern, Zn (Z1 to ZN)...reference rhythm pattern.

Claims

1. An instruction receiving unit that receives an instruction for a target tone color; an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different timbres; a separation unit that generates a second audio signal representing an audio component corresponding to the target tone by inputting the first audio signal and instruction data representing the target tone to a first trained model that has learned a relationship between a combination of a first training audio signal including a plurality of audio components corresponding to different tones and training instruction data representing a tone, and a second training audio signal representing an audio component corresponding to the tone represented by the training instruction data among the plurality of audio components of the first training audio signal; an analysis unit that calculates an analysis rhythm pattern that represents a temporal variation in intensity of an acoustic component corresponding to the target timbre in the second acoustic signal; a selection unit that compares a reference rhythm pattern that represents a temporal variation in signal intensity in each of a plurality of reference signals that represent different performance sounds with the analyzed rhythm pattern, and selects one or more of the plurality of reference signals based on a result of the comparison; An acoustic analysis system comprising:

2. The analysis unit calculates a coefficient matrix as the analyzed rhythm pattern from the second acoustic signal by non-negative matrix factorization using a basis matrix representing a plurality of frequency characteristics corresponding to different timbres. The acoustic analysis system of claim 1.

3. The selection unit is Calculating a similarity between the reference rhythm pattern and the analyzed rhythm pattern for each of the plurality of reference signals; selecting the one or more reference signals from the plurality of reference signals based on the similarity; The acoustic analysis system of claim 1.

4. The selection unit outputs the similarity by inputting training input data including a training reference rhythm pattern and a training analyzed rhythm pattern to a second trained model that has learned a relationship between the training input data including the reference rhythm pattern and the training analyzed rhythm pattern, and the training similarity between the training reference rhythm pattern and the training analyzed rhythm pattern. The acoustic analysis system of claim 3.

5. The selection unit outputs the similarity by inputting the input data to a second trained model corresponding to a specific music genre among a plurality of second trained models corresponding to different music genres. The acoustic analysis system of claim 4.

6. A second trained model corresponding to one music genre among the plurality of second trained models is established by machine learning using a plurality of training data corresponding to the music genre. The acoustic analysis system of claim 5.

7. The second trained model is a first model configured with a convolutional neural network and configured to generate feature data from the input data; and a second model configured by a recurrent neural network and generating a similarity from the feature data.

7. The acoustic analysis system according to claim 4.

8. the reference rhythm pattern includes a plurality of coefficient sequences corresponding to different timbres; the analyzed rhythm pattern includes a plurality of coefficient sequences corresponding to different timbres, The selection unit is generating a compressed reference rhythm pattern by averaging or summing up a plurality of elements of each of the plurality of coefficient sequences in the reference rhythm pattern; generating a compressed analysis rhythm pattern by averaging or summing up a plurality of elements of each of the plurality of coefficient sequences in the analysis rhythm pattern; Calculating the similarity between the compressed reference rhythm pattern and the compressed analysis rhythm pattern; Selecting the one or more reference signals from the plurality of reference signals based on the similarity. The acoustic analysis system of claim 1.

9. the one or more reference signals are two or more reference signals, The present invention further includes a presentation unit that displays information about the two or more reference signals on a display device in an order according to the similarity. The acoustic analysis system according to any one of claims 3 to 8.

10. For each of a plurality of unit periods obtained by dividing the second acoustic signal on a time axis, The analysis unit calculates the analysis rhythm pattern, The selection unit selects the one or more reference signals. The acoustic analysis system according to any one of claims 1 to 9.

11. The present invention further includes a presentation unit that presents the one or more reference signals selected by the selection unit to a user. The acoustic analysis system according to any one of claims 1 to 8.

12. An instruction receiving unit that receives an instruction for a target tone color; an acquisition unit that acquires a first acoustic signal including a plurality of acoustic components corresponding to different timbres; a separation unit that generates a second audio signal representing an audio component corresponding to the target tone by inputting the first audio signal and instruction data representing the target tone to a first trained model that has learned a relationship between a combination of a first training audio signal including a plurality of audio components corresponding to different tones and training instruction data representing a tone, and a second training audio signal representing an audio component corresponding to the tone represented by the training instruction data among the plurality of audio components of the first training audio signal; an analysis unit that calculates an analysis rhythm pattern that represents a temporal variation in intensity of an acoustic component corresponding to the target timbre in the second acoustic signal; a selection unit that compares a reference rhythm pattern that represents a temporal variation in signal intensity in each of a plurality of reference signals that represent different performance sounds with the analyzed rhythm pattern, and selects one or more of the reference signals based on a result of the comparison; a performance device that accepts performances by a user; a reproduction control unit that causes a reproduction system to reproduce performance sounds represented by the one or more selected reference signals and musical sounds corresponding to the performance received by the performance device; An electronic musical instrument comprising:

13. Accepts target tone instructions, obtaining a first acoustic signal including a plurality of acoustic components corresponding to different timbres; a first trained model that has learned a relationship between a combination of a first training audio signal including a plurality of audio components corresponding to different timbres and training instruction data indicating a timbre, and a second training audio signal indicating an audio component among the plurality of audio components of the first training audio signal that corresponds to the timbre indicated by the training instruction data, and thereby generates a second audio signal indicating the audio component corresponding to the target timbre; calculating an analyzed rhythm pattern representing a temporal variation in intensity of the sound component corresponding to the target timbre in the second sound signal; A reference rhythm pattern that represents a temporal variation in signal strength in each of a plurality of reference signals that represent different performance sounds is compared with the analyzed rhythm pattern, and one or more reference signals are selected from the plurality of reference signals based on the result of the comparison. An acoustic analysis method implemented by a computer system.

Citation Information

Patent Citations

  • Encoding method for sound signal

    JP2003255930A

  • Unit rhythm extraction method from musical acoustic signal, musical piece structure estimation method using this method, and replacing method of percussion instrument pattern in musical acoustic signal

    JP2010054802A

  • Acoustic analysis device and program

    JP2013250357A

  • Acoustic analyzer

    JP2015079110A

  • Information processing device, information processing method, and information processing program

    WO2020166094A1