Method for converting sound and program
The sound conversion method dynamically adjusts sound quality and pitch using a trained model to align with usage scenarios, addressing the limitations of static settings and enhancing the adaptability and quality of sound conversion technologies.
Patent Information
- Application Number
- JP2023048371
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing sound conversion technologies do not effectively link sound quality settings to changing usage situations, limiting the adaptability and customer experience value.
A sound conversion method that adjusts sound quality settings based on usage situations by using a trained model to generate converted sound signals with specified acoustic features and pitch, allowing for dynamic adaptation of voice quality and pitch to match target characteristics.
Enables flexible sound quality adjustments according to usage scenarios, enhancing customer experience by ensuring the converted sound aligns with desired voice qualities and pitches, thereby improving the adaptability and quality of sound conversion.
Smart Images

Figure 2024137023000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technology for converting sound. [Background technology]
[0002] Technologies for reproducing the voice of a desired singer have been developed (for example, Patent Documents 1 and 2). The singer to be reproduced is determined by changing parameter values set in a machine learning model or by changing vector values provided to the machine learning model. According to Patent Document 1, a technology for converting one's own voice into a voice that imitates the vocal quality of another singer has also been realized. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2022 / 080395 [Patent Document 2] International Publication No. 2020 / 095950 Summary of the Invention [Problem to be solved by the invention]
[0004] It is desired to create new customer experience value by utilizing such sound conversion technology. For example, with sound conversion technology, setting the voice quality after conversion is an important element. On the other hand, when the usage situation changes after the voice quality is set, it may be necessary for at least a part of the setting to be linked to the change. This is not limited to voice, i.e., sounds that indicate human voices, but is similar to various sounds. Therefore, it is not limited to the setting of voice quality, but is also similar to the setting of sound quality, which is a broader concept that includes voice quality.
[0005] One object of the present invention is to link at least a part of the settings for post-conversion sound quality in accordance with the usage situation. [Means for solving the problem]
[0006] A sound conversion method in one embodiment includes providing first acoustic feature data of an input sound signal and pitch designation data based on the input sound signal to a trained model for which sound quality designation data is set, and acquiring second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data. The trained model is a model that outputs the second acoustic feature data using the first acoustic feature data and the pitch designation data. The pitch designation data is data indicating a pitch obtained by adjusting the pitch of the input sound signal based on the relationship between the pitch of a target sound signal that is to be subjected to a pitch adjustment amount determination and a range associated with the sound quality designation data.
[0007] A sound conversion method in one embodiment includes providing first acoustic feature data of an input sound signal to a trained model in which sound quality designation data is set, and acquiring second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data. The trained model is a model that uses the first acoustic feature data to output the second acoustic feature data. The sound quality designation data is set in the trained model based on the sound quality of a target sound signal that is to be analyzed for sound quality.
[0008] A sound conversion method in one embodiment includes providing first acoustic feature data of an input sound signal to a trained model in which sound quality designation data is set, and acquiring second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data. The trained model is a model that uses the first acoustic feature data to output the second acoustic feature data. The sound quality designation data is set in the trained model based on data for specifying sound quality that changes with the progress of a song.
[0009] A sound conversion method in one embodiment includes providing first acoustic feature data of an input sound signal to a trained model to which sound quality designation data is set, acquiring second acoustic feature data from the trained model for generating a converted sound signal having sound quality based on the sound quality designation data, and using related information of the sound quality designation data to execute a process different from the process for generating the converted sound signal from the input sound signal. The trained model is a model that outputs the second acoustic feature data using the first acoustic feature data and the sound quality designation data. Effect of the Invention
[0010] According to the present invention, when setting the post-conversion sound quality, at least a part of the settings can be linked in accordance with the usage situation. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating a hardware configuration of a sound conversion device according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a sound conversion function according to an embodiment. [Diagram 3] 1 is a flowchart illustrating a sound conversion method according to an embodiment. [Figure 4] FIG. 2 illustrates a configuration of a model training function in one embodiment. [Diagram 5] FIG. 2 is a diagram illustrating a configuration of a sound conversion function according to an embodiment. [Figure 6] 1 is a flowchart illustrating a sound conversion method according to an embodiment. [Figure 7] FIG. 2 is a diagram illustrating a configuration of a sound conversion function according to an embodiment. [Figure 8] 1 is a flowchart illustrating a sound conversion method according to an embodiment. [Figure 9] FIG. 2 is a diagram illustrating a configuration of a sound conversion function according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. The embodiments shown below are merely examples, and the present invention is not to be interpreted as being limited to these embodiments. In the drawings referred to in the multiple embodiments described below, the same parts or parts having similar functions are given the same or similar symbols (symbols with A, B, etc. added after the numbers), and repeated explanations may be omitted. In order to clarify the explanation, the drawings may be described in a schematic manner with some of the configurations omitted from the drawings.
[0013] [overview] The sound conversion device in one embodiment has a function for converting a sound signal input to a microphone into another sound quality and outputting the converted sound. For example, the sound conversion device converts a singing voice input to a microphone into a voice having a voice quality of another singer. In the following description, the sound input to the microphone and the sound output by conversion are exemplified as a singing voice, but are not limited to a singing voice and may be other sounds such as the sound of an instrument, or may be a voice other than singing, such as dictation or conversation. Therefore, it is understood that the voice quality in the following description is an example of sound quality. Various functions may be added to the sound conversion device in association with the voice conversion process. In each of the embodiments shown below, an example of the added function will be described.
[0014] First Embodiment In the conventional sound conversion device, when converting an input voice into a voice having a voice quality of another singer, the pitch of the input voice is reproduced in the converted voice. In the first embodiment, a case will be described in which an example of a function added to the sound conversion device is a function of adjusting the converted pitch according to the converted voice quality.
[0015] [Configuration of the sound conversion device] 1 is a diagram showing the hardware configuration of a sound conversion device in one embodiment. A sound conversion device 10 in the first embodiment includes a control unit 11, a storage unit 12, a display unit 13, an operation unit 14, a communication unit 18, and an interface 19.
[0016] The control unit 11 is an example of a computer equipped with a processor such as a CPU and a storage device such as a RAM. The control unit 11 realizes functions for executing various processes in the sound conversion device 10 by executing programs with the CPU. The programs executed by the CPU include a program 12a stored in the storage unit 12. The functions realized in the sound conversion device 10 include a sound conversion function described later, and in this example, further include a model training function.
[0017] The storage unit 12 is a storage device such as a non-volatile memory or a hard disk drive. The storage unit 12 stores various data such as a program 12a, a sound synthesis model 12b, a model variable 12c, and a sound source ID 12d. The various data stored in the storage unit 12 may be provided to the sound conversion device by being downloaded from an external server via a network and stored in the storage unit 12. These data may be provided in a state recorded on a non-transient computer-readable recording medium (e.g., a magnetic recording medium, an optical recording medium, a magneto-optical recording medium, a semiconductor memory, etc.). In this case, the sound conversion device 10 may be provided with a device for reading the recording medium. The storage unit 12 can also be considered as an example of a recording medium.
[0018] The sound synthesis model 12b is a computation model used when converting the voice quality of a singing voice into another voice quality. In this example, the sound synthesis model 12b has two computation models. The two computation models correspond to an audio encoder 121 and an audio decoder 125 described later (see FIG. 2). A known machine learning model is applied as each computation model. Different models may be applied as the two computation models. The known machine learning model is, for example, a model using a neural network using a CNN (Convolutional Neural Network), an RNN (Recurrent Neural Network), or the like.
[0019] The model variable 12c and the sound source ID 12d include information obtained by machine learning the voice quality of the singing voice in the sound synthesis model 12b. Therefore, the sound synthesis model 12b can be used as a trained model for synthesizing a voice having a voice quality of a predetermined singer by applying the model variable 12c and the sound source ID 12d. The trained model is a model obtained by performing training for synthesizing a voice having a voice quality of a predetermined singer, so it can also be called a trained model.
[0020] The sound synthesis model 12b corresponds to a configuration including an acoustic encoder and an acoustic decoder in International Publication No. 2022 / 080395 (hereinafter simply referred to as "Patent Document 1"). The model variables 12c include variables applied to the machine learning model, and include, for example, information equivalent to a coefficient in a neural network. The model variables 12c correspond to the model variables in Patent Document 1. The sound source ID 12d includes a vector provided to the input layer of the machine learning model, and includes, for example, information equivalent to an embedding vector in a multidimensional space. The sound source ID 12d corresponds to the sound source ID in Patent Document 1 and corresponds to the singer data in International Publication No. 2020 / 095950 (hereinafter simply referred to as "Patent Document 2"). Details of the sound synthesis model 12b, the model variables 12c, and the sound source ID 12d will be described later.
[0021] The display unit 13 is a display having a display area that displays various screens according to the control of the control unit 11. The operation unit 14 is an operation device that outputs a signal according to a user's operation to the control unit 11. The communication unit 18 is a communication module for communicating with other devices connected to a network such as the Internet under the control of the control unit 11. The interface 19 includes a module for connecting to other devices wirelessly or by wire. In this example, the devices connected to the interface 19 include a microphone 91 and a speaker 95.
[0022] The microphone 91 converts the input sound into an electric signal and outputs it as a sound signal. The sound signal output from the microphone 91 is provided to the control unit 11 via the interface 19. The speaker 95 emits the input sound signal into space as sound. The sound signal input to the speaker 95 is provided by the control unit 11 via the interface 19.
[0023] [Sound conversion function] Next, a description will be given of a sound conversion function realized by the control unit 11 executing the program 12a. At least some of the sound conversion functions described below may be realized by another device connected to the sound conversion device 10 via a network. The sound conversion function may be realized by cooperation between a plurality of devices connected via a network.
[0024] 2 is a diagram showing the configuration of the sound conversion function in one embodiment. The sound conversion function 800 includes the sound conversion unit 100, a sound providing unit 811, a sound quality designation unit 817, and a sound acquisition unit 851.
[0025] The sound providing unit 811 provides the sound signal output from the microphone 91 to the sound converting unit 100. Hereinafter, the sound signal output from the microphone 91 will be referred to as a recorded signal ASx, and the sound signal provided by the sound providing unit 811 to the sound converting unit 100 will be referred to as an input sound signal ASa. The input sound signal ASa may be the same as the recorded signal ASx, or may be a sound signal obtained by applying a predetermined signal processing to the recorded signal ASx.
[0026] The sound quality specification unit 817 provides sound quality specification data corresponding to this voice quality to the sound synthesis model 12b by a sound quality specification Xq indicating the voice quality after conversion in response to an instruction from a user, etc. The sound quality specification data specifies the voice quality after conversion, and includes at least one of the variables Ve and Vd in the model variable 12c and the vector Xa included in the sound source ID 12d. The variables Ve and Vd are set in the acoustic encoder 121 and the acoustic decoder 125 of the sound synthesis model 12b, respectively. The vector Xa is provided to the input layer of the acoustic decoder 125.
[0027] The sound quality designation unit 817 further outputs the range setting Xs to the pitch adjustment unit 150. The range setting Xs is information indicating the singer's range corresponding to the converted voice quality. The correspondence between the voice quality and the range is registered in advance. In other words, the range setting Xs is associated in advance with the sound quality designation data specified by the voice quality.
[0028] The sound acquisition unit 851 acquires the sound signal output from the sound conversion unit 100 and provides it to the speaker 95. Hereinafter, the sound signal output from the sound conversion unit 100 will be referred to as a converted sound signal ASb, and the sound signal output from the sound acquisition unit 851 will be referred to as an output sound signal ASz.
[0029] The sound conversion unit 100 synthesizes a converted sound signal ASb by converting the voice indicated by the input sound signal ASa into the voice quality of a predetermined singer. As described above, the voice quality of the converted voice is set by applying sound quality designation data to the sound synthesis model 12b included in the sound conversion unit 100. The sound conversion unit 100 has a configuration similar to the function of the voice synthesizer disclosed in Patent Document 1. Therefore, in the following description of the configuration of the sound conversion unit 100, detailed description of some components will be omitted.
[0030] The sound conversion unit 100 includes a sound synthesis model 12b, an analysis unit 110, a pitch adjustment unit 150, and a vocoder 180. The sound synthesis model 12b includes an acoustic encoder 121 and an acoustic decoder 125.
[0031] The analysis unit 110 analyzes the input sound signal ASa and outputs acoustic feature data AF at each time point. In this example, the acoustic feature data AF corresponds to a frequency spectrum obtained from the input sound signal ASa by frequency analysis using a predetermined frame. The analysis unit 110 outputs pitch designation data Fa indicating a fundamental frequency obtained from the input sound signal ASa using a known method. The fundamental frequency indicated by the pitch designation data Fa corresponds to the pitch of the input sound signal ASa. Therefore, the pitch designation data Fa is data indicating the pitch.
[0032] The pitch adjustment unit 150 adjusts the input pitch based on the relationship between the range indicated by the range setting Xs (referred to as the set range in this embodiment) and the pitch indicated by the pitch designation data Fa (referred to as the input pitch in this embodiment), and outputs the adjusted input pitch as pitch designation data Fb. The pitch designation data Fb is generated as data indicating a pitch similar to the pitch designation data Fa, since the pitch indicated by the pitch designation data Fa is adjusted. When the input pitch is included in the set range, the pitch adjustment unit 150 outputs the pitch designation data Fb indicating the input pitch without adjusting the pitch (setting the amount of pitch adjustment to 0). On the other hand, when the input pitch is not included in the set range, the pitch adjustment unit 150 adjusts the input pitch by raising or lowering it by one octave so that it is included in the set range, and outputs the pitch designation data Fb indicating the adjusted pitch.
[0033] The pitch adjustment amount in the pitch adjustment unit 150 may be varied according to the input pitch during the voice conversion process, or may be varied according to the input pitch during a part of the period, and the adjustment amount may be fixed during the other period. The part of the period may be included in the period during which the conversion process is being performed, such as the period from the start of the conversion process until a predetermined time has elapsed. The part of the period may be the period before the conversion process is started. The period before the conversion process is started corresponds to the period before the singing voice for converting the voice quality is input to the microphone 91. For example, by inputting the voice of the singer to the microphone 91 in advance during this period, the pitch adjustment unit 150 can determine the adjustment amount of the input pitch in advance during the period during which the voice quality is not converted. That is, the sound signal (target sound signal) used as the target for determining the adjustment amount may correspond to at least a part of the sound signal to be converted, or may be a sound signal that is not to be converted. When the adjustment amount is fixed, the last adjustment amount during the period during which the adjustment amount can be varied may be applied, or the adjustment amount during the longest period during that period may be applied. When the pitch is adjusted continuously during the voice conversion process, the adjustment amount may be fixed for a predetermined time after the adjustment amount is changed, regardless of the input pitch.
[0034] The acoustic encoder 121 generates intermediate feature data MF at each time point based on the acoustic feature data AF provided to the input layer, and outputs the intermediate feature data MF to the output layer. The intermediate feature data MF includes information corresponding to phonemes. The acoustic encoder 121 is a machine learning model that has learned the correlation between frequency spectra and phonemes. A variable Ve obtained as a result of learning is set in the acoustic encoder 121. The variable Ve is included in the model variable 12c together with a variable Vd, which will be described later.
[0035] The acoustic decoder 125 generates acoustic feature data AFs at each time point based on the intermediate feature data MF and pitch designation data Fb provided to the input layer, and outputs the data to the output layer. The acoustic feature data AFs includes information that can generate a frequency spectrum, and in this example includes a spectrum envelope SE and pitch designation data Fb. The spectrum envelope SE is output to the output layer, and the pitch designation data Fb provided to the input layer may be used as is. The acoustic feature data AFs may be a frequency spectrum generated based on the spectrum envelope SE and pitch designation data Fb. The acoustic decoder 125 is a machine learning model that learns the correlation between the vector Xa, the combination of pitch and phoneme, and the spectrum envelope. A variable Vd obtained as a result of learning is set in the acoustic decoder 125. Even if the set variable Vd is not changed in the acoustic decoder 125, the voice quality after conversion can be changed by changing the vector Xa provided to the input layer.
[0036] The vocoder 180 generates a converted sound signal ASb based on the acoustic feature data AFs. The converted sound signal ASb is generated by converting a frequency spectrum obtained from the acoustic feature data AFs into a time domain sound signal. The voice quality indicated by the converted sound signal ASb is obtained by converting the voice quality indicated by the input sound signal ASa into a voice quality set in the sound conversion unit 100. The pitch indicated by the converted sound signal ASb is the pitch indicated by the pitch designation data Fb.
[0037] As described above, the input pitch is adjusted by the pitch adjustment unit 150 in conjunction with the voice quality setting according to the pitch of the voice input to the microphone 91, so that the following can be realized. For example, when the set pitch corresponds to the vocal range of a female singer, the input pitch of a male singer is often about one octave lower than the set vocal range. In such a case, the pitch designation data Fb indicates a pitch obtained by adjusting the input pitch one octave higher. As a result, even for a male singer, the pitch designation data Fb input to the acoustic decoder 125 and the pitch designation data Fb included in the acoustic feature data AFs can be set to a pitch included in the vocal range of a female singer, thereby improving the quality of conversion when converting to the voice quality of a female singer.
[0038] Next, a description will be given of a sound conversion method executed in the sound conversion function 800. The sound conversion method described here starts when the control unit 11 executes the program 12a.
[0039] 3 is a flowchart showing a sound conversion method according to an embodiment. The sound quality specification unit 817 sets sound quality specification data in the sound synthesis model 12b based on a user's instruction (step S110). The sound providing unit 811 acquires a recording signal ASx from the microphone 91 and provides an input sound signal ASa to the sound conversion unit 100 (step S130). The pitch adjustment unit 150 adjusts the input pitch, generates pitch specification data Fb indicating the adjusted pitch, and provides the data to the audio decoder 125 (step S140).
[0040] The sound conversion unit 100 generates a spectrum envelope SE based on the input sound signal ASa and the pitch designation data Fb (step S150). The sound conversion unit 100 generates a converted sound signal ASb based on the spectrum envelope SE and the pitch designation data Fb (step S170). The sound acquisition unit 851 acquires the converted sound signal ASb from the sound conversion unit 100 (step S190).
[0041] Through the above processing, the input sound signal ASa is converted into a converted sound signal ASb that indicates a voice whose voice quality has been converted into that of another singer and whose pitch corresponds to the pitch designation data Fb. The converted sound signal ASb is supplied to the speaker 95 as the output sound signal ASz, so that the voice input to the microphone 91 is converted into the voice quality of the other singer and output from the speaker 95. At this time, the voice output from the speaker 95 has the pitch of the voice input to the microphone 91 adjusted to a pitch suitable for the converted singer's voice quality.
[0042] [Model training function] Next, a model training function that is realized by the control unit 11 executing a predetermined program stored in the storage unit 12 will be described. At least some of the model training functions described below may be realized by another device connected to the sound conversion device 10 via a network. The model training function may be realized by cooperation between a plurality of devices connected via a network. The model training function includes a function for training the sound synthesis model 12b so that the voice of a predetermined singer can be synthesized, and in this example, includes updating variables Ve and Vd set in the sound synthesis model 12b.
[0043] A publicly known method can be used for the training method of the sound synthesis model 12b described below, for example, the method disclosed in Patent Document 1 and Patent Document 2 can be used. Even if the configuration of the sound conversion unit 100, particularly the configuration of the sound synthesis model 12b, is not the same as the machine learning model disclosed in these documents, a person skilled in the art can understand the detailed processing of the model training function by referring to the documents. Therefore, the model training function will be briefly described below.
[0044] 4 is a diagram showing the configuration of the model training function in one embodiment. The model training function 900 includes a sound conversion unit 100x, a sound providing unit 591, a musical score providing unit 593, and a training processing unit 910.
[0045] The musical score providing unit 593 provides the sound converting unit 100x with musical score data SDt corresponding to the singing piece used for training. The musical score data SDt includes information on the sounds and lyrics that constitute the melody of the singing piece, including, for example, information on the pitch, pronunciation period, and intensity of each sound, and information on the phonemes corresponding to each sound. The sound providing unit 591 provides the training sound signal ASt to the sound converting unit 100x. The sound signal ASt includes the singing voice of a singer with a voice quality to be learned, and is used for training the sound synthesis model 12b. This singing voice is a voice obtained by singing the singing piece shown in the musical score data SDt. The musical score data SDt and the sound signal ASt may be stored in the storage unit 12, for example.
[0046] The sound conversion unit 100x includes an analysis unit 110, a conversion unit 130, and a sound synthesis model 12b. The analysis unit 110, like the analysis unit 110 in the sound conversion unit 100, analyzes the sound signal ASt and outputs acoustic feature data AF and pitch designation data Fa at each time point. The conversion unit 130 acquires the score data SDt and outputs the score feature data SF and pitch designation data Fs at each time point. The score feature data SF includes information indicating the pitch, intensity, phoneme, etc. at each time point obtained from the score data SDt. The pitch designation data Fs includes information indicating the pitch at each time point obtained from the score data SDt.
[0047] The acoustic encoder 121 generates intermediate feature data MF2 based on the acoustic feature data AF, similar to the acoustic encoder 121 in the sound conversion unit 100. The intermediate feature data MF2 includes information indicating phonemes at each time point, similar to the intermediate feature data MF.
[0048] The score encoder 123 generates intermediate feature data MF1 based on the score feature data SF using a known machine learning model, similar to the acoustic encoder 121. The intermediate feature data MF1 includes information indicating phonemes at each time point, similar to the intermediate feature data MF. The score encoder 123 is a machine learning model that learns the correlation between the information included in the score feature data SF and the information included in the intermediate feature data MF1 through training. A variable Vs obtained as a result of learning is set in the score encoder 123. The sound synthesis model 12b may further have a function of synthesizing voice based on the score data, similar to Patent Documents 1 and 2, in which case the variable Vs may be included in the model variable 12c together with the variables Ve and Vd.
[0049] The acoustic decoder 125 generates acoustic feature data AFs based on the vector Xa, the intermediate feature data MF2 (which may be MF1) and the pitch designation data Fa (which may be Fs). The vector Xa is identification information corresponding to a singer of the voice quality to be learned.
[0050] The training processing unit 910 determines the variables Ve, Vs, and Vd so that the intermediate feature data MF1 and the intermediate feature data MF2 match, and so that the acoustic feature data AF and the frequency spectrum obtained from the acoustic feature data AFs match. By determining and updating the variables Ve, Vs, and Vd in this manner, the sound synthesis model 12b is trained.
[0051] The above-mentioned model training method is an example equivalent to the basic training shown in Patent Document 1, but a method equivalent to the auxiliary training described in Patent Document 1 can also be applied. Also, a method equivalent to the supplementary processing shown in Patent Document 2 can be applied. According to the supplementary processing, by changing the vector Xa in the sound source ID 12d without changing the variables Ve, Vs, and Vd in the model variables 12c, it is possible to accommodate conversion to the voice quality of a new singer. In this case, the training processing unit 910 may include a process of determining the vector Xa in the sound source ID instead of determining the variables Ve, Vs, and Vd.
[0052] In this way, the model training function 900 can generate a trained model for synthesizing a voice having the vocal quality of a specified singer in the sound synthesis model 12b by training the sound synthesis model 12b using the musical score data SDt and the sound signal ASt.
[0053] The sound conversion device 10 in the first embodiment uses the sound conversion unit 100 including the sound synthesis model 12b trained as described above to convert the singing voice input through the microphone 91 into the voice quality of another singer and output it, and adjusts the pitch to suit the converted voice quality of the singer. In this way, the technique of adjusting the pitch in the sound conversion technology can create a new customer experience value, in that the converted pitch can be controlled to a range according to the voice quality without being limited by the pitch before conversion.
[0054] In this example, the sound signal used in the sound conversion device 10 is assumed to be the voice of a singer, but as described above, it may be a sound other than the voice of a singer, such as the sound of a musical instrument. When the sound signal used in the sound conversion device 10 indicates the sound of a musical instrument, the type of musical instrument may be converted instead of the sound quality. The types of musical instruments before and after the conversion may be the same type of musical instrument or different types of musical instruments. Sound conversion in the same type of musical instrument may be, for example, converting the sound of a certain wind instrument to the sound of another wind instrument. Specifically, the sound of a flute may be converted to the sound of a trumpet. Conversion in a different type of musical instrument may be, for example, converting the sound of a wind instrument to the sound of a string instrument. Specifically, the sound of a saxophone may be converted to the sound of a guitar. The conversion of voice quality and the conversion of the type of musical instrument can be one example of the conversion of sound quality.
[0055] <Second embodiment> In the second embodiment, an example will be described in which the converted voice quality is set based on the recording signal ASx. In each embodiment described below, a description of the same configuration as in the first embodiment will be omitted.
[0056] 5 is a diagram showing the configuration of a sound conversion function in an embodiment. A sound conversion function 800A in the second embodiment has a sound conversion unit 100A, a sound quality analysis unit 815, and a sound quality designation unit 817A. Compared to the sound conversion unit 100 in the first embodiment, the sound conversion unit 100A does not have a pitch adjustment unit 150. Therefore, the pitch designation data Fa output from the analysis unit 110 is provided to the audio decoder 125. As a result, the audio feature data AFs output from the audio decoder 125 includes the spectrum envelope SE and the pitch designation data Fa.
[0057] The sound quality analysis unit 815 analyzes the sound quality (corresponding to the voice quality in this example) of the recording signal ASx. The sound quality analysis unit 815 generates a vector Xb indicating the voice quality obtained by the analysis. The vector Xb is information similar to the vector Xa in the sound source ID 12d described above, and corresponds to a vector corresponding to the voice quality of the singer who input the voice to the microphone 91.
[0058] The sound quality analysis unit 815 generates the vector Xb by a method equivalent to the supplementary process shown in Patent Document 2. That is, the sound quality analysis unit 815 executes a process equivalent to the sound signal ASt in the model training function 900 being the recorded signal ASx, and the training processing unit 910 determining the vector Xa without changing the variables Ve, Vs, and Vd. The sound quality analysis unit 815 generates the vector Xa thus determined as the vector Xb.
[0059] The sound quality specification unit 817A compares the vector Xb with a plurality of candidate vectors Xa in a vector space, and selects one vector Xa having a predetermined relationship. The plurality of candidate vectors Xa are vectors corresponding to a plurality of convertible voice qualities, respectively. The vector Xa having the predetermined relationship may be, for example, a vector that is closest to the vector Xb in the vector space, or a vector that is randomly selected from vectors that exist within a predetermined distance range from the vector Xb. This predetermined relationship may be specified by the user. The sound quality specification unit 817A generates a sound quality instruction Xq for providing the selected vector Xa to the audio decoder 125. By providing the selected vector Xa to the audio decoder 125, sound quality specification data related to the voice input from the microphone 91 is set in the sound synthesis model 12b.
[0060] The sound quality specification unit 817A may generate a new vector Xa by modifying the vector Xb using a predetermined calculation method, instead of the selected vector Xa, and provide the new vector Xa to the audio decoder 125. By changing the predetermined calculation method, it is also possible to change the distance in the vector space between the vectors Xb and Xb.
[0061] The sound quality specification unit 817A may generate in advance a sound quality instruction Xq for setting the model variable 12c in the sound synthesis model 12b in response to an instruction from a user, etc. In this case, the sound quality analysis unit 815 may determine the vector Xa without changing the model variable 12c thus set.
[0062] The period during which the sound quality analysis unit 815 generates the vector Xb and the sound quality specification unit 817A generates the sound quality instruction Xq based on the vector Xb may be during the voice conversion process, may be a period from the start of the conversion process until a predetermined time has elapsed, or may be a period before the conversion process is started. The period before the conversion process is started corresponds to a period before the singing voice for converting the voice quality is input to the microphone 91. For example, by inputting the voice of the singer to the microphone 91 in advance during this period, the sound quality analysis unit 815 can generate the vector Xb during a period when the voice quality is not converted, and the sound quality specification unit 817A can generate the sound quality instruction Xq. That is, the sound signal (target sound signal) used as the target of voice quality analysis to generate the sound quality instruction Xq may correspond to at least a part of the sound signal to be converted, or may be a sound signal that is not the target of conversion.
[0063] Next, a sound conversion method executed in the sound conversion function 800A will be described. The sound conversion method to be described here starts when the control unit 11 executes the program 12a.
[0064] 6 is a flowchart showing a sound conversion method in one embodiment. The sound quality analysis unit 815 acquires the recorded signal ASx from the microphone 91 and analyzes the sound quality (corresponding to voice quality in this example) of the recorded signal ASx (step S105). The sound quality designation unit 817 acquires the vector Xb from the sound quality analysis unit 815 and sets sound quality designation data in the sound synthesis model 12b based on the vector Xb (step S110). The sound providing unit 811 acquires the recorded signal ASx from the microphone 91 and provides the input sound signal ASa to the sound conversion unit 100 (step S130).
[0065] The sound conversion unit 100 generates a spectral envelope SE based on the input sound signal ASa (step S150). The sound conversion unit 100 generates a converted sound signal ASb based on the spectral envelope SE (step S170). The sound acquisition unit 851 acquires the converted sound signal ASb from the sound conversion unit 100 (step S190).
[0066] Through the above process, the input sound signal ASa is converted into a converted sound signal ASb that indicates a voice whose voice quality has been converted into the voice quality of another singer. The converted sound signal ASb is supplied to the speaker 95 as the output sound signal ASz, so that the voice input to the microphone 91 is converted into the voice quality of another singer and output from the speaker 95. According to the sound conversion function 800A, sound quality designation data is determined to be set in the sound synthesis model 12b in conjunction with the voice quality of the recording signal ASx so that the voice is converted into a voice quality related to the voice input from the microphone 91. Therefore, the singer who inputs his / her voice to the microphone 91 can automatically set the converted voice quality according to the voice quality of his / her own voice, without having to designate the converted voice quality.
[0067] <Third embodiment> In the third embodiment, an example of setting the converted sound quality based on data including information that specifies the sound quality in a time series will be described. In this example, this data is song data that specifies the pronunciation of the song. In this example, an example of setting the converted voice quality will be described as an example of the sound quality.
[0068] Fig. 7 is a diagram showing the configuration of a sound conversion function in an embodiment. In the third embodiment, song data 12e is used to set sound quality (voice quality in this example). The song data 12e is, for example, data in MIDI format, and includes data that specifies the pronunciation content as the song progresses by specifying the pitch in a time series. The song data 12e further includes data that specifies the post-conversion voice quality as the song progresses by specifying the voice quality that changes in a time series.
[0069] In this example, the data defining the pronunciation content in the song data 12e includes information on the sounds constituting the melody of the song (hereinafter referred to as melody sounds) and the sounds constituting the accompaniment (hereinafter referred to as accompaniment sounds), for example, information on the pitch, pronunciation period, and intensity of each sound. The data for identifying the voice quality in the song data 12e includes, for example, information for identifying the voice quality. The data for identifying the voice quality may be, for example, information for identifying the singer. When converting the sound of an instrument, the song data 12e may include data for identifying the type of instrument after conversion, and this data may be information for identifying the performer. These pieces of information are defined by the control data Md arranged in chronological order according to the progress of the song. The song data 12e may be stored in the storage unit 12, but may also be provided from an external device connected via the interface 19.
[0070] The sound conversion function 800B in the third embodiment includes a sound quality designation unit 817B, a data reading unit 884, and an accompaniment generation unit 885. The sound conversion function 800B includes the sound conversion unit 100A in the second embodiment. When the control unit 11 receives an instruction to read the music data 12e by a user's operation or the like, the data reading unit 884 sequentially reads the control data Md in the music data 12e. Based on the control data Md, the data reading unit 884 outputs sound quality information Pq indicating the voice quality to the sound quality designation unit 817B, and outputs sound production control data Mb corresponding to the accompaniment sounds to the accompaniment generation unit 885. The sound production control data Mb may include data corresponding to not only the accompaniment sounds but also the melody sounds.
[0071] The accompaniment generation unit 885 generates a sound signal indicating an accompaniment sound based on the sound generation control data Mb. The sound signal generated by the accompaniment generation unit 885 is output to a sound output device such as a speaker 95. The sound quality designation unit 817B acquires sound quality information Pq to generate a sound quality instruction Xq indicating a voice quality at each point in time according to the progress of the song, and sets the sound quality designation data in the sound synthesis model 12b in the sound conversion unit 100A.
[0072] Next, a sound conversion method executed in the sound conversion function 800B will be described. The sound conversion method to be described here starts when the control unit 11 executes the program 12a.
[0073] 8 is a flowchart showing a sound conversion method according to an embodiment. The data reading unit 884 reads out the music data 12e (step S107). The sound quality designation unit 817 acquires sound quality information Pq from the data reading unit 884, and sets sound quality designation data in the sound synthesis model 12b based on the sound quality information Pq (step S110). The sound providing unit 811 acquires a recording signal ASx from the microphone 91, and provides the input sound signal ASa to the sound converting unit 100 (step S130).
[0074] The sound conversion unit 100 generates a spectral envelope SE based on the input sound signal ASa (step S150). The sound conversion unit 100 generates a converted sound signal ASb based on the spectral envelope SE (step S170). The sound acquisition unit 851 acquires the converted sound signal ASb from the sound conversion unit 100 (step S190).
[0075] In this way, the sound conversion function 800B can control the sound quality of the converted sound signal ASb in conjunction with the progression of the song. Therefore, when the voice sung along with the accompaniment sound is input to the microphone 91, the sound conversion function 800B can change the converted voice quality to a voice quality that corresponds to the progression of the song. For example, in a duet song in which two singers take turns singing, the converted voice quality can be set to the voice quality of each singer that corresponds to the progression of the song. In a song in which the singer does not change, data specifying the voice quality may be included as the control data Md in the period before the part to be sung begins.
[0076] <Fourth embodiment> In the fourth embodiment, an example will be described in which the converted voice quality is set based on image data obtained by an imaging device such as a camera. In this example, this image data is obtained by imaging a person. The imaged person may be the singer or may be a person other than the singer.
[0077] Fig. 9 is a diagram showing the configuration of a sound conversion function in one embodiment. In the fourth embodiment, a camera 98 is connected to the sound conversion device 10 in order to set the voice quality. The camera 98 outputs data obtained by capturing an image as image data Gd. The image data may be data of a moving image or data of a still image generated at predetermined time intervals. The image data Gd is provided to the control unit 11 via an interface 19.
[0078] The sound conversion function 800C in the fourth embodiment includes an image analysis unit 886. The sound conversion function 800C includes the sound conversion unit 100A in the second embodiment. The image analysis unit 886 analyzes the image data Gd output from the camera 98 and detects the movement of the person included in the image data Gd. The image analysis unit 886 identifies the voice quality based on the type of the detected movement, and outputs sound quality information Pq indicating the voice quality to the sound quality designation unit 817C. The relationship between the type of movement and the voice quality may be specified in advance in a table or the like. The detected information is not limited to dynamic information indicating a movement such as a gesture, but may be static information at a specific timing such as a hand sign. The sound quality designation unit 817C generates a sound quality instruction Xq indicating the voice quality at each time point by acquiring the sound quality information Pq, and sets the sound quality designation data to the sound synthesis model 12b in the sound conversion unit 100A.
[0079] In this way, the sound conversion function 800C can control the voice quality of the converted sound signal ASb in conjunction with the movement of the person captured by the camera 98. Therefore, the converted voice quality can be controlled by information obtained from the person captured by the camera 98.
[0080] <Modification> The present invention is not limited to the above-described embodiment, and includes various other modified examples. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to the case where all the configurations described are included. In addition, a part of the configuration of one embodiment may be replaced with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is possible to add, delete, or replace other configurations with respect to a part of the configuration of each embodiment. Some modified examples will be described below. Unless otherwise specified, the modified examples described below will be described as examples of modified first embodiment, but can also be applied as examples of modified other embodiments. A combination of multiple modified examples can also be applied to each embodiment.
[0081] (1) The sound conversion unit 100 of the sound conversion function 800 may be realized in an external device instead of in the sound conversion device 10. The external device may be, for example, a device connected to the sound conversion device 10 via a network, or may be a device connected via the interface 19. In this case, the sound conversion function 800 may include a sound providing unit 811, a sound quality designation unit 817, and a sound acquisition unit 851.
[0082] (2) At least one of the microphone 91 and the speaker 95 may be connected to an external device instead of being connected to the sound conversion device 10. The external device may be, for example, a device connected to the sound conversion device 10 via a network. The microphone 91 and the speaker 95 may each be connected to a different external device.
[0083] When the speaker 95 is connected to an external device, the recording signal ASx output from the microphone 91 may be output from another speaker connected to the sound conversion device 10 so as to be heard as a monitor sound. By outputting such a monitor sound, even if a delay occurs in generating the converted sound signal ASb, the singer can hear the recording signal ASx with almost no delay, so that the singer does not feel uncomfortable when singing.
[0084] When the microphone 91 and the speaker 95 are connected to different devices via a network, the device for specifying the converted voice quality may be either the device connected to the microphone 91 or the device connected to the speaker 95. In other words, the person who can specify the voice quality may not only be the singer, but also the listener.
[0085] (3) When the user specifies the converted voice quality, sound quality designation data corresponding to the voice quality is set in the sound conversion unit 100, and an acoustic effect corresponding to the voice quality may be applied to the converted sound signal ASb. In this case, it is sufficient that information designating the acoustic effect to be applied is associated with data for designating the voice quality, i.e., the sound quality designation data. When sound quality designation data is set in the sound conversion unit 100, the sound acquisition unit 958 applies the acoustic effect associated with the sound quality designation data to the converted sound signal ASb and outputs it as the output sound signal ASz.
[0086] Information (related information) associated with the sound quality designation data may be information different from the information designating the sound effect. The related information may be, for example, information related to the voice quality according to the sound quality designation data. The related information may be used by the control unit 11 to execute a process (related process) different from the process for generating the converted sound signal ASb from the input sound signal Asa (the process executed in the sound conversion unit 100). Several examples of the related information and the related process are shown below.
[0087] When the voice quality according to the sound quality designation data indicates the voice quality of a certain celebrity (e.g., a voice actor, announcer, entertainer, virtual character, etc.), the related information may include information related to the celebrity. The information related to the celebrity may be, for example, an image of the celebrity, a description of the celebrity, and a URL of a website selling merchandise related to the celebrity. Such related information may be provided to the user by being displayed on the display unit 13, for example.
[0088] The related information may be information for paying a usage fee to the celebrity (such as a fixed fee, fee per unit time, or payment destination information), or may be information about the time available for use by paying a certain amount or free of charge. In this case, money may be exchanged based on the related information.
[0089] The voice quality according to the sound quality designation data may be as generalized as possible, taking into consideration privacy protection and the like. The generalized voice quality may be, for example, a voice quality obtained by averaging the voices of a number of people. Conversion to such a voice quality may be used when converting the voice of a call center operator. In such a case, the related information may include information for supporting the conversation of the operator, such as a list of sentences to be used in the conversation, a list of items to be confirmed, and the like. Such related information may be provided to the user, for example, by being displayed on the display unit 13.
[0090] (4) The pitch designation data Fa may indicate a pitch adjusted to one of a plurality of predetermined pitches. The plurality of predetermined pitches are, for example, pitches determined in semitone units that can be expressed by note names. For example, when the fundamental frequency obtained from the input sound signal ASa indicates a pitch corresponding to a pitch between "B3" and "C4", the analysis unit 110 adjusts the pitch indicated by the pitch designation data Fa to indicate either "B3" or "C4" whichever is closer to the obtained fundamental frequency. In this way, when the pitch indicated by the pitch designation data Fa is adjusted, the pitch designation data Fb also indicates a pitch adjusted to one of a plurality of pitches.
[0091] (5) The converted sound signal ASb or the output sound signal ASz may be stored as sound data in a storage device such as the storage unit 12. At this time, the sound data may be associated with an NFT (Non-Fungible Token). In this case, the NFT includes, for example, information for identifying the sound data, the owner of the NFT, and information on the history of the owner, and is recorded in the blockchain network. This makes it possible to determine the authenticity of the sound data by clarifying the source of the user who generated the sound data and the data used for the conversion (for example, sound quality designation data), and to limit the time for which the sound data can be used.
[0092] (6) As an example of how to realize the function of specifying voice quality, the sound conversion function 800 may have at least a part of the functions of the sound quality specification unit 817 in the first embodiment. At least a part of the functions is a function of providing sound quality specification data to the sound synthesis model 12b by the sound quality instruction Xq.
[0093] If the voice quality specified by the user is intended to be converted into a voice other than singing (hereinafter, may be referred to as dictation voice), the pitch designation data Fa may be provided to the audio decoder 125 instead of the pitch designation data Fb. In this case, the sound quality designation unit 817 may set the sound conversion unit 100 so that the pitch designation data Fa is provided to the audio decoder 125. If the voice quality that the user can designate is only a voice quality intended to be converted into dictation voice, the sound conversion function 800 may not have a function related to the pitch designation data Fb, for example, the pitch adjustment unit 150. [Explanation of symbols]
[0094] 10: Sound conversion device, 11: Control unit, 12: Memory unit, 12a: Program, 12b: Sound synthesis model, 12c: Model variable, 12d: Singer data, 12e: Song data, 13: Display unit, 14: Operation unit, 18: Communication unit, 19: Interface, 91: Microphone, 95: Speaker, 98: Camera, 100, 100x: Sound conversion unit, 110: Analysis unit, 121: Acoustic encoder, 123: Musical score encoder, 125: Acoustic decoder, 130: conversion unit, 150: pitch adjustment unit, 180: vocoder, 591: sound provider, 593: sheet music provider, 800, 800A, 800B, 800C: sound conversion function, 811: sound provider, 815: sound quality analysis unit, 851: sound acquisition unit, 817, 817A, 817B, 817C: sound quality designation unit, 884: data reading unit, 885: accompaniment generation unit, 886: image analysis unit, 900: model training function, 910: training processing unit
Claims
1. providing first acoustic feature data of an input sound signal and pitch designation data based on the input sound signal to a trained model to which sound quality designation data has been set; Obtaining second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data; Including, the trained model is a model that outputs the second acoustic feature data using the first acoustic feature data and the pitch designation data, the pitch designation data is data indicating a pitch obtained by adjusting the pitch of the input sound signal based on a relationship between a pitch of a target sound signal that is a target for determining a pitch adjustment amount and a range associated with the sound quality designation data; Sound conversion method.
2. the pitch designation data includes a pitch obtained by adjusting the pitch of the input sound signal in units of one octave. The sound conversion method according to claim 1.
3. the pitch designation data indicates a pitch obtained by adjusting the pitch of the input sound signal to one of a plurality of predetermined pitches; The sound conversion method according to claim 2.
4. Providing first acoustic feature data of the input sound signal to a trained model in which sound quality designation data is set; Obtaining second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data; Including, the trained model is a model that uses the first acoustic feature data to output the second acoustic feature data, The sound quality designation data is set in the trained model based on the sound quality of a target sound signal that is to be analyzed for sound quality. Sound conversion method.
5. The sound quality designation data to be set in the trained model is generated based on the sound quality of the target sound signal, or the sound quality designation data to be set in the trained model is selected from a plurality of candidates based on the sound quality of the target sound signal. The sound conversion method according to claim 4.
6. the target sound signal corresponds to at least a portion of the input sound signal; The sound conversion method according to any one of claims 1 to 5.
7. obtaining the target sound signal before first acoustic feature data of the input sound signal is provided to the trained model; The sound conversion method according to any one of claims 1 to 5.
8. Providing first acoustic feature data of the input sound signal to a trained model in which sound quality designation data is set; Obtaining second acoustic feature data from the trained model for generating a converted sound signal having sound quality according to the sound quality designation data; Including, the trained model is a model that uses the first acoustic feature data to output the second acoustic feature data, The sound quality designation data is set in the trained model based on data for specifying sound quality that changes with the progress of a song. Sound conversion method.
9. The sound quality designation data is associated with information designating an acoustic effect to be applied to the converted sound signal. A sound conversion method according to any one of claims 1 to 5 and 8.
10. The trained model is further provided with pitch assignment data; the converted sound signal has a pitch based on the pitch designation data, the pitch designation data indicates a pitch obtained by adjusting the pitch of the input sound signal to one of a plurality of predetermined pitches; The sound conversion method according to any one of claims 4, 5 and 8.
11. Providing first acoustic feature data of the input sound signal to a trained model in which sound quality designation data is set; Obtaining second acoustic feature data from the trained model for generating a converted sound signal having sound quality based on the sound quality designation data; executing a process different from a process for generating the converted sound signal from the input sound signal by using information related to the sound quality designation data; Including, The trained model is a model that outputs the second acoustic feature data using the first acoustic feature data and the sound quality designation data. Sound conversion method.
12. A Non-Fungible Token (NFT) is associated with the converted sound signal. A sound conversion method according to any one of claims 1 to 5, 8 and 11.
13. A program for causing a computer to execute the sound conversion method according to any one of claims 1 to 5, 8 and 11.
Citation Information
Patent Citations
Information processing method and information processing system
WO2020095950A1
Audio synthesizing method and program
WO2022080395A1
