Method for sound conversion and program
The sound conversion method addresses pitch control issues in conventional technologies by using a trained model with an acoustic encoder and decoder to convert sound quality and control pitch independently, ensuring consistent skill representation.
Patent Information
- Application Number
- JP2023048335
- 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
Conventional sound conversion technologies fail to independently control the pitch of converted sounds, leading to inconsistencies in skill representation, especially when converting voices or instrument sounds.
A sound conversion method that includes providing pitch specification data and first acoustic feature data to a trained model, allowing for the conversion of sound quality and independent pitch control by utilizing a sound synthesis model with an acoustic encoder and decoder.
Enables the conversion of sound quality while controlling the pitch after conversion, ensuring consistent skill representation in voices or instrument sounds.
Smart Images

Figure 2024137004000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technology for converting sound. [Background technology]
[0002] Technologies for reproducing the vocal quality of a desired singer have been developed (for example, Patent Documents 1 and 2). The vocal quality of the singer to be reproduced is determined by variables set in a machine learning model and vectors 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] According to conventional sound conversion technology, the converted voice and the input voice have the same pitch, so even if the input voice is converted into the voice quality of another singer, the singing skill does not change significantly before and after conversion. Therefore, there is a demand for a method to control the pitch of the converted voice in a different way, rather than using the pitch of the input voice. The need for pitch control is not limited to voice, i.e., sounds that indicate human voices, but is also applicable to various sounds. For example, the sound of a musical instrument affects the skill of the performer.
[0005] One object of the present invention is to convert sound quality using sound conversion technology and control the pitch after conversion. [Means for solving the problem]
[0006] In one embodiment, the sound conversion method includes providing pitch designation data and first acoustic feature data of an input sound signal to a trained model, and obtaining second acoustic feature data from the trained model for generating a converted sound signal having a predetermined sound quality and a pitch based on the pitch designation data. The trained model is a model that uses the first acoustic feature data and the pitch designation data to output the second acoustic feature data. Effect of the Invention
[0007] According to the present invention, it is possible to convert sound quality using sound conversion technology and control the pitch after conversion. [Brief description of the drawings]
[0008] [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] FIG. 2 is a diagram illustrating a configuration of a sound conversion function 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] FIG. 2 is a diagram illustrating a configuration of a sound conversion function 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
[0009] 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.
[0010] [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 following embodiments, an example of the added function will be described.
[0011] First Embodiment When a conventional sound conversion device converts 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 setting the pitch of the converted voice by a pitch setting device.
[0012] [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.
[0013] 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.
[0014] 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.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 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, a speaker 95, and a pitch setting device 98.
[0019] 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.
[0020] As described above, the pitch setting device 98 is a device used to set the pitch of the voice after the voice quality conversion. In this example, the pitch setting device 98 has a plurality of operation elements each associated with a pitch, and outputs pitch information according to the operation element that is operated. Each operation element may have a shape corresponding to a piano key, for example. In this case, the pitch setting device 98 has a keyboard on which a plurality of keys are arranged. The pitch information output from the pitch setting device 98 is provided to the control unit 11 via the interface 19.
[0021] [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.
[0022] 2 is a diagram showing the configuration of a sound conversion function in an embodiment. The sound conversion function 800 includes a sound conversion unit 100, a sound providing unit 811, a pitch designation unit 881, and a sound acquisition unit 851.
[0023] 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.
[0024] The pitch designation unit 881 acquires pitch information Pd output from the pitch setting device 98, generates pitch designation data Fb based on the pitch information Pd, and provides the generated pitch designation data Fb to the sound conversion unit 100. The pitch designation data Fb is data indicating the pitch at each point in time. The pitch indicated by the pitch designation data Fb may be the pitch indicated by the pitch information Pd, or may be a pitch obtained by converting the pitch indicated by the pitch information Pd through a predetermined calculation.
[0025] 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.
[0026] 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. At this time, the sound conversion unit 100 can control the pitch of the converted sound signal ASb to the pitch indicated by the pitch designation data Fb by acquiring the pitch designation data Fb. As described above, the voice quality of the converted voice is set by applying the model variable 12c and the sound source ID 12d 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.
[0027] The sound conversion unit 100 includes a sound synthesis model 12b, an analysis unit 110, and a vocoder 180. The sound synthesis model 12b includes an acoustic encoder 121 and an acoustic decoder 125.
[0028] 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 may output 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 a pitch, similar to the pitch designation data Fb. When the analysis unit 110 has a configuration for outputting the pitch designation data Fa, it is sufficient that either the pitch designation data Fb or the pitch designation data Fa selected by the user is provided to the acoustic decoder 125.
[0029] When the user specifies the post-conversion voice quality, the variables Ve and Vd in the model variable 12c and the vector Xa in the sound source ID 12d are specified. The variables Ve, Vd and the vector Xa specify the post-conversion voice quality and are therefore an example of sound quality specification data. In the following description, at least one of the variables Ve, Vd and the vector Xa may be referred to as sound quality specification data. The specified variables Ve and Vd are set in the acoustic encoder 121 and the acoustic decoder 125 of the sound synthesis model 12b, respectively. The specified vector Xa is provided to the input layer of the acoustic decoder 125.
[0030] 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.
[0031] 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.
[0032] 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. When the pitch designation data Fa is provided to the sound synthesis model 12b instead of the pitch designation data Fb, the pitch indicated by the converted sound signal ASb is maintained as the pitch indicated by the input sound signal Asa.
[0033] 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.
[0034] FIG. 3 is a flowchart showing a sound conversion method according to an embodiment. 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 S111). The pitch designating unit 881 acquires pitch information Pd from the pitch setting device 98 and provides the pitch designation data Fb to the sound converting unit 100 (step S111). The input sound signal ASa and the pitch designation data Fb are provided to the sound converting unit 100 in parallel. The sound converting unit 100 generates a spectrum envelope SE based on the input sound signal ASa and the pitch designation data Fb (step S150). The sound converting unit 100 generates a converted sound signal ASb based on the spectrum envelope SE and the pitch designation data Fb (step S170). The sound acquiring unit 851 acquires the converted sound signal ASb from the sound converting unit 100 (step S190).
[0035] Through the above processing, the input sound signal ASa is converted into a converted sound signal ASb, which 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 is controlled to the pitch set by the pitch setting device 98, regardless of the pitch of the voice input to the microphone 91.
[0036] [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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] By using the sound conversion unit 100 including the sound synthesis model 12b trained as described above, the sound conversion device 10 in the first embodiment can convert a singing voice input via the microphone 91 into the voice quality of another singer and output the converted voice, and can control the output pitch to the pitch set by the pitch setting device 98. According to the technique of controlling the pitch in the sound conversion technology, it is possible to create a new customer experience value, in that the converted pitch can be controlled without being limited by the pitch before conversion.
[0048] 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.
[0049] <Second embodiment> In the first embodiment, the pitch of the voice after voice conversion can be set by operating a plurality of operation elements associated with pitch in the pitch setting device 98. In the second embodiment, an example will be described in which the pitch of the voice after voice conversion is set based on the pitch of a voice input by a microphone other than the microphone 91. In each of the embodiments described below, description of the same configuration as in the first embodiment will be omitted.
[0050] 5 is a diagram showing the configuration of a sound conversion function in one embodiment. In a second embodiment, a microphone 98A is connected to the sound conversion device 10 instead of a pitch setting device 98 to set the pitch. The microphone 98A converts the input sound into an electric signal and outputs it as a sound signal. The sound signal output from the microphone 98A (hereinafter referred to as a recording signal ASy) is provided to the control unit 11 via an interface 19.
[0051] The sound conversion function 800A in the second embodiment includes a pitch identification unit 882 in addition to the sound conversion function 800 in the first embodiment. The pitch identification unit 882 identifies the pitch in the recording signal ASy and outputs pitch information Pd indicating the pitch to the pitch designation unit 881. The pitch is identified based on a fundamental frequency obtained from the recording signal ASy using a known method. As in the first embodiment, the pitch designation unit 881 generates pitch designation data Fb corresponding to the pitch indicated by the pitch information Pd and provides it to the sound conversion unit 100.
[0052] In this way, the sound conversion function 800A can control the pitch of the converted sound signal ASb based on the recorded signal ASy, which is different from the recorded signal ASx to be converted. In this example, the recorded signal ASy is generated based on the voice input to the microphone 98A. Therefore, by inputting the voices of two singers using different microphones 91 and 98A, the sound conversion function 800A can convert the voice quality of one singer's voice and control the pitch of the voice with the converted voice quality by the voice of the other singer.
[0053] <Third embodiment> In the second embodiment, the pitch of the converted sound signal ASb can be controlled based on a recorded signal ASy that indicates a voice input to a microphone 98A that is different from the microphone 91. In the third embodiment, an example will be described in which the recorded signal ASy indicates the voice of one singer separated from the voices of multiple singers input to the microphone 91. In this example, the voices of two singers are input to the microphone 91.
[0054] 6 is a diagram showing the configuration of a sound conversion function in one embodiment. In the third embodiment, a sound signal (called a recording signal ASw in this embodiment) output from a microphone 91 and containing the voices of two singers is provided to a control unit 11 via an interface 19.
[0055] The sound conversion function 800B in the third embodiment includes a sound separation unit 883 in addition to the sound conversion function 800A in the second embodiment. The sound separation unit 883 analyzes the recording signal ASw and separates the voices of two singers (in this example, called singers X and Y). The features of the voices of singers X and Y are pre-registered in the sound separation unit 883. At this time, the voice of singer X is registered as the voice to be converted, and the voice of singer Y is registered as the voice to be used for pitch control.
[0056] The sound separation unit 883 analyzes the recorded signal ASw to extract a voice having a feature corresponding to singer X, and outputs it as a recorded signal ASx to the sound providing unit 811. The sound separation unit 883 analyzes the recorded signal ASw to extract a voice having a feature corresponding to singer Y, and outputs it to the pitch identification unit 882 as a recorded signal ASy.
[0057] In this way, the sound conversion function 800B can control the pitch of the converted sound signal ASb based on the recorded signal ASy, which is different from the recorded signal ASx to be converted. In this example, the recorded signal ASx and the recorded signal ASy are generated based on the voice input to the microphone 91. The sound conversion function 800B can extract the recorded signal ASx and the recorded signal ASy from the recorded signal ASw based on the voice input to the microphone 91 by registering the feature amount of the voice to be converted and the feature amount of the voice for pitch control in advance. Therefore, even if two singers use one microphone 91 instead of using different microphones, the sound conversion function 800B can convert the voice quality of one singer and control the pitch of the voice with the converted voice quality by the voice of the other singer.
[0058] <Fourth embodiment> In the fourth embodiment, an example will be described in which the pitch of a converted voice is set based on data in which the pitch is specified in a time series. In this example, this data is song data that specifies the pronunciation of the song.
[0059] FIG. 7 is a diagram showing the configuration of the sound conversion function in an embodiment. In the fourth embodiment, the sound conversion device 10 does not use the pitch setting device 98 to set the pitch, but uses the song data 12e. The song data 12e is, for example, data in MIDI format, and is data that specifies the sound content accompanying the progress of the song by specifying the pitch in time series. In this example, the song data 12e includes information on the sounds that make up the melody of the song (hereinafter referred to as melody sounds) and the sounds that make up the accompaniment (hereinafter referred to as accompaniment sounds), and includes, for example, information on the pitch, sounding period, and intensity of each sound. The information on the melody sounds and accompaniment sounds is specified by the sounding control data Md that is arranged in time series according to the sounding timing. The song data 12e may be stored in the storage unit 12, but may also be provided from a device connected via the interface 19.
[0060] The sound conversion function 800C in the fourth embodiment includes a data reading unit 884 and an accompaniment generation unit 885 in addition to the sound conversion function 800 in the first embodiment. When the control unit 11 receives an instruction to read the music data 12e by a user operation or the like, the data reading unit 884 sequentially reads out the sound generation control data Md in the music data 12e. Based on the sound generation control data Md, the data reading unit 884 outputs pitch information Pd indicating the pitch of the melody notes to the pitch designation unit 881, and outputs sound generation control data Mb corresponding to the accompaniment notes to the accompaniment generation unit 885.
[0061] 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 pitch designation unit 881 acquires the pitch information Pd and generates pitch designation data Fb indicating the pitch at each point in time according to the progress of the song.
[0062] In this way, the sound conversion function 800C can control the pitch of the converted sound signal ASb according to the progress of the song. Therefore, when a voice sung along with an accompaniment sound is input to the microphone 91, the sound conversion function 800C can change the pitch of the voice after voice quality conversion to a pitch according to the progress of the song, that is, the same pitch as the melody sound.
[0063] <Fifth embodiment> In the fifth embodiment, an example will be described in which the pitch of the voice after voice quality conversion 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.
[0064] Fig. 8 is a diagram showing the configuration of a sound conversion function in one embodiment. In the fifth embodiment, instead of a pitch setting device 98 being connected to the sound conversion device 10 in order to set the pitch, a camera 98D is connected. The camera 98D 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.
[0065] The sound conversion function 800D in the fifth embodiment includes an image analysis unit 886 in addition to the sound conversion function 800 in the first embodiment. The image analysis unit 886 analyzes the image data Gd output from the camera 98D and detects the movement of the person included in the image data Gd. The image analysis unit 886 identifies the pitch based on the type of the detected movement and outputs pitch information Pd indicating the pitch to the pitch designation unit 881. The relationship between the type of movement and the pitch 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 pitch designation unit 881 generates pitch designation data Fb according to the pitch indicated by the pitch information Pd and provides it to the sound conversion unit 100, as in the first embodiment.
[0066] In this way, the sound conversion function 800D can control the pitch of the converted sound signal ASb based on the movement of the person captured by the camera 98D. Therefore, the pitch of the voice after voice quality conversion can be controlled based on information obtained from the person captured by the camera 98D.
[0067] Sixth embodiment In the sixth embodiment, an example will be described in which the pitch of the pitch information Pd is adjusted to generate pitch designation data Fb according to the relationship between the pitch of the pitch information Pd and the converted voice quality. For example, if the converted voice quality is female and the pitch of the pitch information Pd is in a male range, pitch designation data Fb is generated that indicates a pitch that is one octave higher than the pitch information Pd.
[0068] 9 is a diagram showing the configuration of a sound conversion function in an embodiment. In addition to the sound conversion function 800 in the first embodiment, the sound conversion function 800E in the sixth embodiment includes a sound quality designation unit 817 and a pitch adjustment unit 887. In response to an instruction from a user, the sound quality designation unit 817 provides sound quality designation data corresponding to this voice quality to the sound synthesis model 12b by a sound quality designation Xq indicating the voice quality after conversion. As described above, the sound quality designation data includes the variables Ve, Vd, and the vector Xa included in the sound source ID 12d.
[0069] The sound quality designation unit 817 further outputs the range setting Xs to the pitch adjustment unit 887. 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.
[0070] The pitch adjustment unit 887 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 information Pd output from the pitch setting device 98 (referred to as the input pitch in this embodiment), and outputs the adjusted pitch as pitch information Pda. If the input pitch is included in the set range, the pitch adjustment unit 887 outputs the input pitch as is as pitch information Pda. On the other hand, if the input pitch is not included in the set range, the pitch adjustment unit 887 adjusts the input pitch by raising or lowering it in one octave increments so that it is included in the set range, and outputs the adjusted pitch as pitch information Pda. The pitch information Pda is provided to the pitch designation unit 881.
[0071] For example, even if the set pitch corresponds to the range of a female singer, the input pitch may be about one octave lower than the set pitch, such as the range of a male singer. In such a case, the pitch designation data Fb indicates a pitch adjusted one octave higher than the input pitch. This makes it possible to set the pitch designation data Fb input to the acoustic decoder 125 and the pitch designation data Fb included in the acoustic feature data AFs to a pitch within the range of a female singer, even if the input pitch is within the range of a male singer, thereby improving the quality of the conversion to the voice quality of a female singer.
[0072] The pitch adjustment amount in the pitch adjustment unit 887 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 part of the 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 a period before the start of the conversion process. That is, the sound signal used to determine 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 of the period may be applied. When the pitch is continuously adjusted during the voice conversion process, the adjustment amount may be fixed regardless of the input pitch for a predetermined time after the adjustment amount is changed.
[0073] <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.
[0074] (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 pitch designation unit 881, and a sound acquisition unit 851.
[0075] (2) At least one of the microphone 91, the speaker 95, and the pitch setting device 98 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, the speaker 95, and the pitch setting device 98 may each be connected to a different external device.
[0076] 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.
[0077] When the microphone 91 and the speaker 95 are connected to different devices via a network, the device for specifying the converted voice quality or pitch 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 or pitch may not only be the singer, but also the listener.
[0078] (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.
[0079] 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.
[0080] 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.
[0081] The related information may be information for paying a usage fee to the celebrity (such as a fixed fee, usage fee information such as a fee per unit time, or payee information), or it may be time that can be used for a specified amount of money or free of charge. In this case, money may be exchanged based on the related information.
[0082] 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.
[0083] (4) The pitch designation unit 881 may adjust the pitch indicated by the pitch information Pd to one of a plurality of predetermined pitches, and output pitch designation data Fb indicating the adjusted pitch. The plurality of predetermined pitches are, for example, pitches determined in semitone units that can be expressed by note names. For example, when the pitch information Pd indicates a pitch corresponding to between "B3" and "C4", the pitch indicated by the pitch designation data Fb is adjusted to indicate either "B3" or "C4", whichever is closer to the pitch indicated by the pitch information Pd.
[0084] (5) Sound quality designation data may be associated with the music data shown in the fourth embodiment. The sound quality designation data may be set in the sound conversion unit 100 prior to the timing of the first melody sound in the music data. The sound quality designation data may be changed according to the progress of the music.
[0085] (6) As described above, in the first embodiment, the user may be able to specify the post-conversion voice quality. A detailed description of the function of specifying the voice quality in the sound conversion function 800 is omitted. As an example for realizing the function of specifying the voice quality, it is sufficient that the sound conversion function 800 has at least a part of the functions of the sound quality specification unit 817 in the fifth 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.
[0086] 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.
[0087] (7) 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 owner's history, 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. [Explanation of symbols]
[0088] 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: Pitch setting device, 98A: Microphone, 98D: Camera, 100, 100x: Sound conversion unit, 110: Analysis unit, 121: Acoustic encoder, 123: Music score encoder , 125: acoustic decoder, 130: conversion unit, 180: vocoder, 591: sound provider, 593: music score provider, 800, 800A, 800B, 800C, 800D, 800E: sound conversion function, 811: sound provider, 817: sound quality designation unit, 851: sound acquisition unit, 881: pitch designation unit, 882: pitch identification unit, 883: sound separation unit, 884: data reading unit, 885: accompaniment generation unit, 886: image analysis unit, 887: pitch adjustment unit, 900: model training function, 910: training processing unit
Claims
1. providing pitch specification data and first acoustic feature data of the input sound signal to a trained model; Obtaining second acoustic feature data from the trained model for generating a converted sound signal having a predetermined sound quality and a pitch based on the pitch specification 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. Sound conversion method.
2. providing the input sound signal and the pitch designation data to a sound conversion unit including an analysis unit that analyzes the input sound signal to generate the first acoustic feature data and the trained model; the first acoustic feature data provided to the trained model is obtained from the input sound signal by the analysis unit; The pitch designation data provided to the sound conversion unit is provided to the trained model. The sound conversion method according to claim 1.
3. the pitch designation data is acquired in response to an operation on an operational element; The sound conversion method according to claim 1 or 2.
4. the pitch designation data is generated in accordance with the progression of a piece of music in which pitches are specified in time series; The sound conversion method according to claim 1 or 2.
5. the pitch designation data is generated based on a pitch of a sound signal different from the input sound signal; The sound conversion method according to claim 1 or 2.
6. the input sound signal includes a sound signal having a first feature extracted from a recording signal output from a microphone; the pitch designation data is generated based on the pitch of a sound signal having a second feature extracted from the recorded signal. The sound conversion method according to claim 1 or 2.
7. the input sound signal includes a sound signal output from a first microphone; the pitch designation data is generated based on the pitch of a sound signal output from a second microphone different from the first microphone. The sound conversion method according to claim 1 or 2.
8. The trained model is further provided with sound quality specification data; the pitch designation data is further generated based on a range associated with the sound quality designation data; The sound conversion method according to claim 1 or 2.
9. The sound quality designation data is associated with information designating an acoustic effect to be applied to the converted sound signal. The sound conversion method according to claim 8.
10. The pitch designation data indicates one of a plurality of predetermined pitches. The sound conversion method according to claim 1 or 2.
11. The pitch designation data is generated based on image data. The sound conversion method according to claim 1 or 2.
12. The converted sound signal is associated with a Non-Fungible Token (NFT). The sound conversion method according to claim 1 or 2.
13. A program for causing a computer to execute the sound conversion method according to claim 1 or 2.
Citation Information
Patent Citations
Information processing method and information processing system
WO2020095950A1
Audio synthesizing method and program
WO2022080395A1
