Method and playing system for creating rhythm sensation by taking feature segment sound weight data as unit
By using feature segment sound weight data in audio processing, analyzing and calculating rhythm sound weight data, and determining rhythm sense type and parameters, the problem of difficulty in creating multiple rhythm effects in the existing technology is solved, and the sound body is maintained With the unchanged sound characteristics, multiple rhythmic effects are generated, which improves the user's multimedia entertainment experience.
Patent Information
- Application Number
- CN202411280246.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is difficult to create different rhythmic effects while keeping the sound characteristics of the vocal body unchanged. Especially when processing voice clips, the influence of noise and noise cannot be effectively considered, and the same speech sequence and different speech sequences cannot be achieved. Various rhythmic effects.
By selecting feature segments in multimedia samples as units, analyzing and calculating rhythmic sound weight data, determining rhythmic sense type and parameters, using feature segment filter coefficients and tone-weight segment filter coefficients to filter and adjust audio data to generate different rhythmic effects.
While keeping the sound characteristics of the vocal body unchanged, a variety of rhythmic types can be created, such as sound overlap, stuttering, near-echo and other effects, to improve the user's multimedia entertainment experience.
Smart Images

Figure CN119107972A_ABST
Abstract
Description
[0001] The present application relates to the technical field of audio processing, and in particular to a method and a playback system for creating a sense of rhythm using characteristic segment tone weight data as units. Background Art
[0002] The purpose of current voice changing technology is to change the sound quality of the sound source, or to simulate the effect of different sound sources. The processing of sound is mostly for commercial value, not entertainment value. There is also analysis of speech fragments. In the comparative document CN200910142537.0, "the waveform similarity superposition method is modified to determine the maximum similarity in the similarity measurement of subsequence pairs", which analyzes each sequence of speech, excessively pursues accuracy, and does not consider the influence of large noise, noise, and minor speech sequences. The rhythm effect is not the sound effect of the whole sequence. The comparative document CN200910108163.0 "inputs the original sound weight data into the audio buffer at a certain rate according to the speed change requirements", which is to perform speed change processing on the entire sound weight data. It can only be regarded as a function of audio processing technology, and cannot be regarded as creating a rhythm effect, let alone achieving different rhythm effects under the same speech sequence and different speech sequences, and the random rhythm effect has a better entertainment experience. There are also other rhythm effects produced by artificial editing. . Summary of the invention
[0003] The main purpose of the technology in this application is to use obvious characteristic fragments in multimedia sample sounds as units, and to create a large number of different rhythms to improve the user's multimedia entertainment experience.
[0004] The present application is an audio processing technology, in particular, a method and a playback system for creating a sense of rhythm using feature segment tone weight data as a unit, comprising the following main steps: 1) selecting samples and extracting sample features; 2) parsing basic data related to the feature segment; 3) determining the sense of rhythm type and sense of rhythm parameters; 4) calculating the sense of rhythm tone weight data; 5) playing the sense of rhythm tone weight data; 6) ending.
[0005] The sample must be a non-silent multimedia file and meet the requirements of data conversion and calculation.
[0006] The sample selection method includes: network search files, local files, system resource libraries, and on-site recording. It is particularly suitable for multimedia themes with obvious characteristics such as sketches, crosstalk, songs, animal calls, and character speech. The sample can be an entire file, a file fragment, or a sentence of voice.
[0007] The sample features include: audio sampling rate, audio weight data, playback time, number of channels, and other data that have an impact on the calculation of audio weight data.
[0008] When the number of channels is greater than 1, the audio weight data uses the audio weight data of the sample first channel.
[0009] The basic data related to the characteristic segments include the number of characteristic segments, characteristic segment tone weight data, the number of general segments and general segment tone weight data.
[0010] This application is not limited to the type of sound, and only the clips with more obvious sound-heavy effects in the sample are selected for processing.
[0011] To this end, it is necessary to determine the characteristic segment screening coefficient and the tone weight general segment screening coefficient to calculate the characteristic segment screening value and the tone weight general segment screening value.
[0012] Among them, 1.0>feature segment screening coefficient>sound weight general segment screening coefficient>0.0.
[0013] The characteristic segment screening coefficient is used to screen the segments with more obvious sound weight in the sound. When there are more noises, a larger coefficient can be selected.
[0014] The feature segment screening value is equal to the maximum sound weight value of the sample multiplied by the feature segment screening coefficient.
[0015] The sound weight general segment screening coefficient is used to eliminate sound segments that affect the characteristic segment and the sense of rhythm. The larger the coefficient is, the more sound segments are eliminated, and the smaller the impact of general sound weight data is.
[0016] The sound weight general segment screening value is equal to the maximum sound weight value of the sample multiplied by the sound weight general segment screening coefficient.
[0017] The number of characteristic segments refers to the number of segments composed of audio weight data that are continuously greater than the characteristic segment screening value in the sample audio weight data.
[0018] The characteristic segment audio weight data refers to the audio weight data of each characteristic segment being connected by the following adjacent data in the order of characteristic segments: 1) audio weight data that is continuously greater than the characteristic segment screening value; 2) audio weight data that is continuously greater than the audio weight general segment screening value.
[0019] The general segment audio weight data is composed of other audio weight data of the sample in segments, and the number of segments is the general number of segments.
[0020] The sense of rhythm type is determined by a sense of rhythm type creation model, and the sense of rhythm parameter is determined by a sense of rhythm parameter creation model.
[0021] The rhythm type creation model refers to selecting a creation model to determine the initial rhythm type corresponding to each feature segment, and creating all the rhythm types that can be included in sequence from high to low according to the rhythm type priority.
[0022] The rhythm type, the initial type that can be created and the priority are: no effect < basic effect < additional effect < combined effect.
[0023] The basic effect refers to taking one characteristic segment of sound weight data as one calculation unit, and adjusting and calculating the sound weight data according to the corresponding rhythmic parameter, so that the number of characteristic segments included in the playing effect is one.
[0024] The additional effect refers to taking N feature segment sound weight data as a calculation unit, and after adjusting and calculating the sound weight data according to the corresponding sense of rhythm parameters, the number of feature segments included in the playback effect is N+SN, where N≥1, SN≥1, and when N>1, the feature segments are continuous.
[0025] The combined effect refers to taking M characteristic segment tone weight data as a unit, M≥1, and the rhythm type created by one characteristic segment at least involves a basic effect and an additional effect.
[0026] The rhythm parameter creation model refers to a method for selecting and confirming the categories and sizes of the rhythm parameters involved for all rhythm types of the created feature segments.
[0027] The rhythm parameter category refers to a calculation parameter of the rhythm type corresponding to the sound weight data with a feature segment sound weight data as a unit, including feature segment participation coefficients KA and KB, sound weight coefficients KC and KD, and sound length coefficients KE and KF.
[0028] The rhythm parameter category refers to a unit of NM characteristic segment tone weight data, NM≥1, and includes the corresponding characteristic segment participation number KN and repeated playback coefficient KG according to the corresponding rhythm playback effect.
[0029] The sizes of the rhythmic parameters are all subject to threshold limits.
[0030] The KA represents the playback weight influence coefficient of the feature segment sound weight data with the selected feature segment as the unit. If KA<0, in the rhythm playback, only the rhythm sound weight data corresponding to the feature segment is played, and the general segment sound weight data is not played.
[0031] The KB represents the selected feature segment as a unit. When the created sense of rhythm type and the rhythm type involved in creating the sense of rhythm type are ultimately ineffective, KB=0, and the corresponding feature segment tone weight data does not participate in the calculation.
[0032] The KC represents a unit of the selected feature segment and uses a proportional coefficient to adjust all the tone weight values thereof.
[0033] The KD represents adding an adjustment value to all the sound weight values of the selected feature segment as a unit, and KC is a coefficient that affects the size of the adjustment value, which can be calculated with reference to the maximum sound weight value of the feature segment.
[0034] The KE represents that the length of the selected feature segment is adjusted by a proportional coefficient.
[0035] The characteristic segment sound length refers to the playback time length corresponding to the characteristic segment in the sample, which is determined by the number of sound weight data contained in the characteristic segment and the audio sampling rate.
[0036] The KF represents the use of a proportional coefficient to adjust the rhythmic sound length of the selected feature segment as a unit.
[0037] The rhythmic sound length is calculated using the rhythmic parameters, and the actual playing time corresponding to the rhythmic characteristic segment is obtained.
[0038] The KN represents the number of feature segments contained in a selected group of continuous feature segments.
[0039] The repeat play coefficient KG represents a parameter related to the number of times of playing in rhythmic playing with the selected feature segment as a unit.
[0040] The rhythm parameters mentioned above all have threshold limits.
[0041] The relationship between the sense of rhythm type and the feature segment is: taking NN feature segment tone weight data as calculation units and combining corresponding sense of rhythm parameters, a sense of rhythm type composed of MM feature segments can be created, where NN≥1 and MM≥NN.
[0042] When NN>1, NN feature segments are continuous.
[0043] According to the sequence of feature segments, as well as all rhythm sense types and corresponding rhythm sense parameters created by each feature segment, the corresponding sound weight data of each feature segment contained in the rhythm sense is calculated. The general formula is: VVI=KC*VI+KD*VV, where VVI is the sound weight value corresponding to the rhythm sense, VI is the sound weight value of the feature segment, and VV is the calculation reference value, which can be the maximum sound weight value of the corresponding feature segment; When the calculated value of the tone weight is less than zero, it is replaced by zero.
[0044] Calculate the rhythmic sound length: TT=KE*T0, where T0 is the characteristic segment sound length.
[0045] When KE>1.0, the rhythmic sound weight data is linearly interpolated to the corresponding duration according to the uniform distribution principle.
[0046] When KE<1.0, the rhythmic sound weight data is reduced to the corresponding duration according to the uniform distribution principle.
[0047] Calculate the actual playing time of the rhythm: YTT=KF*TT, where YTT is the actual playing end time of the rhythm.
[0048] When KF>1, the sound weight data exceeding the corresponding duration range of the sense of rhythm duration is supplemented with a value of 0.
[0049] Number of times the feature segment is played: MN=KG, where MN represents the number of times the corresponding feature segment in the rhythm needs to be played in the rhythm, taking the feature segment as a unit.
[0050] When the number of channels is greater than 1, the same rhythmic sound weight data calculation method is used to match and calculate the rhythmic sound weight data corresponding to the sound weight data of other channels.
[0051] When the number of channels is greater than 1, the rhythmic sound weight data corresponding to the sound weight data of other channels are matched and calculated by using the same feature segment distribution, rhythmic sense type and rhythmic sense parameter.
[0052] The playing rhythmic sound weight data is playing the rhythmic sound weight data according to the playing effect corresponding to the rhythmic type.
[0053] In the playback effect, the rhythmic sound weight data and the general segment sound weight data corresponding to the characteristic segment are played in sample order, and when KA meets the set conditions, only the rhythmic sound weight data is played.
[0054] The playback effect corresponds to the rhythm type, and there is a default playback effect.
[0055] In the default playback effects, the default playback effects of some additional effects corresponding to the subdivided rhythm effects are as follows: The default playback effect of the overlapping sound effect is the playback effect corresponding to the characteristic segment corresponding to the rhythm parameter, the characteristic segment participation number = 1, and the repeated playback coefficient KG = 2.
[0056] The default playback effect of the stuttering effect is the playback effect corresponding to the characteristic segment corresponding to the rhythm parameter, the characteristic segment participation number = 1, and the repeated playback coefficient KG>2.
[0057] The default playback effect of the near-echo effect is that in the rhythmic parameters corresponding to the feature segment, the repeated playback coefficient KG=NN, NN>1, taking NN consecutive feature segments as units, a group of identical rhythmic sound weight data is added as auxiliary rhythmic sound weight data, and a repeated playback interval is set. The repeated playback interval is equal to the rhythmic sound length corresponding to the first feature segment. After each interval time of playing the rhythmic sound weight data, the auxiliary rhythmic sound weight data is played once.
[0058] The default playback effect of the near-echo effect is that in the rhythmic parameters corresponding to the feature segment, the repeated playback coefficient KG=MM, MM>1, and MM consecutive feature segments are used as units. The calculated rhythmic sound weight data is played once, and then the number of participating feature segments is subtracted from the beginning and repeated playback is performed until the number of participating feature segments returns to zero.
[0059] When the sample contains video data, the following should be considered: 1) keep the correspondence between each video frame and the characteristic segment audio weight data consistent as much as possible; 2) keep the playback times of the corresponding characteristic segment audio weight data consistent under different rhythmic playback effects; 3) when repeatedly playing the rhythmic audio weight data, determine the video frame to play according to the first reference to the corresponding audio weight data.
[0060] The end mentioned in this application represents ending the rhythm playback by user instructions or system instructions.
[0061] If the total duration of the multimedia sample is relatively long, you can create a sense of rhythm by dividing it into time segments.
[0062] The above rhythm type names are based on the main playback effects and are used for different user choices. They do not affect the cross-calculation and partial changes due to the process. Each rhythm type and rhythm parameter category can be specifically formulated or modified according to the user's rhythm needs.
[0063] According to user needs, the general segment of the sample's sound weight and the sound weight data corresponding to the created sense of rhythm, as well as the corresponding video data can be recombined and output as a new multimedia file.
[0064] In this application, according to data creation and calculation requirements, the calculation units involved above are numerical values or arrays.
[0065] Compared with the prior art, the beneficial effects achieved by the present application are: selecting samples and extracting sample features, parsing basic data related to feature segments, determining the type of rhythm and rhythm parameters, calculating rhythm sound weight data, and playing the rhythm sound weight data until the rhythm playback ends. The present application retains the main audio features of the sound-emitting body, and can create a variety of rhythm types without changing the sample sound weight data: basic effects, additional effects, and combined effects. Additional effects include: overlapping effects, stuttering effects, near echo effects, and far echo effects. On the premise of keeping the sound-emitting body unchanged, users can create a large number of different rhythm effects with one sample when enjoying skits, songs, crosstalk, voice and other multimedia, greatly improving the user's multimedia entertainment experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings are used to provide further understanding of the present application and constitute a part of the specification. They are used to explain the present application together with the embodiments of the present application and do not constitute a limitation of the present application.
[0067] Figure 1 This is a schematic diagram of the best basic steps of a method and a playback system for creating a sense of rhythm using characteristic segment tone weight data as a unit in the present application. DETAILED DESCRIPTION
[0068] In order to make the technical personnel in this field better understand the present application scheme, the following will be combined with the embodiments of the present application. Figure 1 , the technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0069] See also Figure 1 , describing the best technical solution provided by this application.
[0070] exist Figure 1 In the method of creating a sense of rhythm using characteristic segment tone weight data as a unit and the best basic steps of the playback system are: S1. Select samples and extract sample features: The sample is a non-silent multimedia file.
[0071] The sample features, such as audio sampling rate, audio weight data, playback time, and number of channels, are used to create a table corresponding to the sample features, and compare all the sample audio weight data to obtain the maximum sample audio weight.
[0072] When the number of channels is greater than 1, the audio weight data uses the audio weight data of the sample first channel.
[0073] The pure audio voice file of “Be careful when reversing” is selected as the sample.
[0074] S2. Basic data related to parsing feature segments The basic data include the number of characteristic segments, characteristic segment tone weight data, the number of general segments and general segment tone weight data.
[0075] To this end, it is necessary to determine the characteristic segment screening coefficient and the tone weight general segment screening coefficient to calculate the characteristic segment screening value and the tone weight general segment screening value.
[0076] In this case, the characteristic segment screening coefficient is taken as 0.7, and the general segment screening coefficient of sound weight is taken as 0.2, which are multiplied by the maximum sound weight of the sample to obtain the corresponding characteristic segment screening value VVA and the general segment screening value VVB. Then the number of segments composed of sample sound weight data greater than VVA is 5. Sound weight data with continuous sound weight values greater than VVA and adjacent continuous sound weight values greater than VVB are connected in segments to form each segment of characteristic segment sound weight data. Then the number of characteristic segments is 5, and the corresponding number of general segments is 6. The remaining sound weight data is composed of general segment sound weight data in segments. In this way, the characteristic segment sound weight data and general segment sound weight data tables are established.
[0077] S3. Determine the rhythm type and rhythm parameters The sense of rhythm type is determined by the sense of rhythm type creation model, and the sense of rhythm parameters are determined by the sense of rhythm parameter creation model.
[0078] Select the random model to create the rhythm type and the corresponding rhythm parameters.
[0079] The rhythm type creation model determines the initial rhythm type corresponding to each feature segment according to the creation model, and creates all the rhythm types that can be included in sequence from high to low according to the rhythm type priority.
[0080] The rhythm type, the initial type that can be created and the priority are: no effect < basic effect < additional effect < combined effect.
[0081] The basic effect refers to taking one characteristic segment of sound weight data as one calculation unit, and adjusting and calculating the sound weight data according to the corresponding rhythmic parameter, so that the number of characteristic segments included in the playing effect is one.
[0082] The additional effect refers to taking N characteristic segment sound weight data as a calculation unit, and after adjusting and calculating the sound weight data according to the corresponding sense of rhythm parameters, the number of characteristic segments included in the playback effect is N+1, where N≥1. When N>1, the characteristic segments are continuous.
[0083] The combined effect refers to taking M characteristic segment tone weight data as a unit, M≥1, and the rhythm type created by one characteristic segment at least involves a basic effect and an additional effect.
[0084] The rhythm parameter creation model refers to a method for selecting and confirming the categories and sizes of the rhythm parameters involved for all rhythm types of the created feature segments.
[0085] The rhythm parameter category refers to a calculation parameter of the rhythm type corresponding to the sound weight data with a feature segment sound weight data as a unit, including feature segment participation coefficients KA and KB, sound weight coefficients KC and KD, and sound length coefficients KE and KF.
[0086] The rhythm parameter category refers to a unit of NM characteristic segment tone weight data, NM≥1, and includes the corresponding characteristic segment participation number KN and repeated playback coefficient KG according to the corresponding rhythm playback effect.
[0087] The sizes of the rhythmic parameters are all subject to threshold limits.
[0088] According to the number of characteristic segments and the corresponding created sense of rhythm types and sense of rhythm parameters, a sense of rhythm type form and a sense of rhythm parameter form are established.
[0089] According to the custom model, select the combined effect, create a stuttering effect for the fourth feature segment, repeat the playback number to 5, and set the basic effect rhythm parameter KE=0.8, and select the default values for other coefficients.
[0090] S4. Calculate the rhythmic sound weight data S4-1. When KB meets the set conditions, the corresponding feature segment tone weight data does not participate in the calculation.
[0091] S4-2. Calculate the sound weight data corresponding to each characteristic segment included in the sense of rhythm. The general formula is: VVI=KC*VI+KD*VV, where VVI is the sound weight value corresponding to the sense of rhythm, VI is the sound weight value of the characteristic segment, and VV is the calculation reference value, such as the maximum sound weight value of the corresponding characteristic segment.
[0092] S4-3. Calculate the duration of the rhythm: TT=KE*T0.
[0093] The T0 is the duration of the feature segment playing, which is determined by the amount of audio weight data contained in the feature segment and the audio sampling rate. TT is the duration of the feature segment playing once in the rhythm.
[0094] When KE>1.0, the rhythmic sound weight data is linearly interpolated to the corresponding duration according to the uniform distribution principle.
[0095] When KE<1.0, the rhythmic sound weight data is reduced to the corresponding duration according to the uniform distribution principle.
[0096] S4-4. Actual playing time of the sense of rhythm: YTT=KF*TT, where YTT is the actual end time of playing the sense of rhythm.
[0097] When KF>1, the sound weight data exceeding the corresponding duration range of the sense of rhythm duration is supplemented with a value of 0.
[0098] S4-5. Number of times the feature segment is played: MN=KG, where MN is the number of times the corresponding feature segment needs to be played in the rhythm.
[0099] According to the calculation principle of this step, the corresponding rhythmic sound weight data is calculated according to the relevant data form to obtain the rhythmic sound weight data form.
[0100] Except for the fourth feature segment which calculates the sense of rhythm data, other feature segments do not participate in the sense of rhythm calculation, and the coefficient KE participates in the calculation.
[0101] S5. Playing rhythmic sound weight data The playing rhythmic sound weight data is playing the rhythmic sound weight data according to the playing effect corresponding to the rhythmic type.
[0102] In the playback effect, the rhythmic sound weight data and the general segment sound weight data corresponding to the characteristic segment are played in sample order, and when KA meets the set conditions, only the rhythmic sound weight data is played.
[0103] According to the playing principle of this step, the corresponding rhythmic tone weight data form is played, and the general segment tone weight data form is played as needed.
[0104] Therefore, the multimedia sample with the content of "Please pay attention when reversing" will produce the playback effect of "Please pay attention when reversing" after rhythm creation and calculation, where the playback duration of "Note" is 80% of the corresponding feature segment duration.
[0105] S6. End.
[0106] The rhythm playback ends according to the user's instruction or the system's instruction, that is, the user chooses to end.
[0107] By changing the sample, rhythm type, rhythm creation model, and corresponding rhythm parameter category and parameter size, different rhythm effects can be obtained according to the above steps. For example, if the content is "Please pay attention when reversing", the playback effect content can also be "Please pay attention when reversing", "Please pay attention when reversing".
[0108] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0109] The above is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as above with a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application. .
Claims
1. A method and a playback system for creating a sense of rhythm using characteristic segment tone weight data as a unit, characterized in that: The system includes the following main steps: S1. Select samples and extract sample features: The sample is a non-silent multimedia file; The sample characteristics, such as audio sampling rate, audio weight data, playback time, and number of channels; When the number of channels is greater than 1, the sound weight data adopts the sound weight data of the first channel of the sample; S2. Basic data related to parsing feature segments: The basic data includes the number of characteristic segments, characteristic segment tone weight data, the number of general segments and general segment tone weight data; S3. Determine the rhythm type and rhythm parameters: The rhythm type is determined by a rhythm type creation model, and the rhythm parameter is determined by a rhythm parameter creation model; The rhythm type creation model determines the initial rhythm type corresponding to each feature segment according to the creation model, and creates all the rhythm types that can be included in order from high to low according to the rhythm type priority; The rhythm type, the initial type and priority that can be created are: no effect < basic effect < additional effect < combined effect; The basic effect refers to the number of characteristic segments included in the playback effect after the characteristic segment sound weight data is adjusted and calculated by the corresponding rhythmic parameter, with one characteristic segment sound weight data as one calculation unit; The additional effect refers to taking N characteristic segment sound weight data as a calculation unit, and adjusting and calculating the sound weight data according to the corresponding rhythmic sense parameter, the number of characteristic segments included in the playback effect is N+SN, where N≥1, SN≥1, and when N>1, the characteristic segments are continuous; The combination effect refers to a rhythm type created by M characteristic segment sound weight data as a unit, M≥1, wherein one characteristic segment at least involves a basic effect and an additional effect; The rhythm parameter creation model refers to a method for selecting and confirming the types and sizes of rhythm parameters involved for all rhythm types of the created feature segments; The rhythmic parameter category refers to the calculation parameters of the rhythmic type corresponding to the sound weight data, taking a characteristic segment sound weight data as a unit, including characteristic segment participation coefficients KA and KB, sound weight coefficients KC and KD, and sound length coefficients KE and KF; The rhythm parameter category refers to NM characteristic segment tone weight data as a unit, NM≥1, according to the corresponding rhythm playback effect, including the corresponding characteristic segment participation number KN and the repeated playback coefficient KG; The rhythm parameter values are all subject to threshold limits; S4. Calculate the rhythmic sound weight data: S4-1, KB meets the set conditions, and the corresponding feature segment sound weight data does not participate in the calculation; S4-2. Calculate the sound weight data corresponding to each characteristic segment included in the sense of rhythm. The general formula is: VVI=KC*VI+KD*VV, where VVI is the sound weight value corresponding to the sense of rhythm, VI is the sound weight value of the characteristic segment, and VV is the calculation reference value, such as the maximum sound weight value of the corresponding characteristic segment; S4-3. Calculate the duration of the rhythm: TT=KE*T0; T0 is the duration of the feature segment playback, which is determined by the number of tone weight data contained in the feature segment and the audio sampling rate, and TT is the duration of the feature segment playback once in the rhythm sense; When KE>1.0, the rhythmic sound weight data is linearly interpolated to the corresponding duration according to the uniform distribution principle; When KE<1.0, the rhythmic sound weight data is reduced to the corresponding duration according to the uniform distribution principle; S4-4, actual playing time of the rhythm: YTT=KF*TT, where YTT is the actual playing end time of the rhythm; When KF>1, the sound weight data exceeding the corresponding duration range of the rhythm duration TT is supplemented with a value of 0; S4-5, the number of times the feature segment is played: MN=KG, where MN is the number of times the corresponding feature segment needs to be played in the rhythm; S5, play rhythmic sound weight data: The playing of the rhythmic sound weight data is playing the rhythmic sound weight data according to the playing effect corresponding to the rhythmic type; The playing effect is to play the rhythmic sound weight data and general segment sound weight data corresponding to the characteristic segment in sample order, and only play the rhythmic sound weight data when KA meets the set conditions; S6. End.
2. The method and playback system according to claim 1, characterized in that: The S2 comprises the following steps: S2-1, select the characteristic segment screening coefficient and the sound weight general segment screening coefficient, where 1.0>characteristic segment screening coefficient>sound weight general segment screening coefficient>0.0; S2-2. Calculate the feature segment screening value and the tone weight general segment screening value: The feature segment screening value is equal to the maximum sound weight value of the sample multiplied by the feature segment screening coefficient; The sound weight general segment screening value is equal to the maximum sound weight value of the sample multiplied by the sound weight general segment screening coefficient; S2-3. Determine the number of feature segments: The number of characteristic segments refers to the number of segments of the sample audio weight data that are continuously greater than the characteristic segment screening value; S2-4, determine the sound weight data of each characteristic segment: The characteristic segment tone weight data refers to the tone weight data of each characteristic segment connected by the following adjacent data in the order of characteristic segments: 1) The audio weight data is continuously greater than the screening value of the characteristic segment; 2) The audio weight data is continuously greater than the screening value of the general segment; S2-5. The general segment audio weight data is composed of other audio weight data of the sample in segments, and the number of segments is the general number of segments.
3. The method and playback system according to claim 1, characterized in that: The additional effects may be subdivided into types including: overlapping sound effect, stuttering effect, near echo effect, and far echo effect.
4. The method and playback system according to claim 1, characterized in that: The creation model includes a random creation model and a customized creation model.
5. The method and playback system according to claim 1, characterized in that: When the number of channels is greater than 1, the rhythmic sound weight data corresponding to the sound weight data of other channels are matched and calculated by using the same feature segment distribution, rhythmic sense type and rhythmic sense parameter.
6. The method and playback system according to claim 1 and claim 3, characterized in that: The default playback effect of the overlapping sound effect is the playback effect corresponding to the characteristic segment corresponding to the rhythm parameter, the characteristic segment participation number = 1, and the repeated playback coefficient KG = 2.
7. The method and playback system according to claim 1 and claim 3, characterized in that: The default playback effect of the stuttering effect is the playback effect corresponding to the characteristic segment corresponding to the rhythm parameter, the characteristic segment participation number = 1, and the repeated playback coefficient KG>2.
8. The method and playback system according to claim 1 and claim 3, characterized in that: The default playback effect of the near-echo effect is that in the rhythmic parameters corresponding to the feature segment, the repeated playback coefficient KG=NN, NN>1, taking NN consecutive feature segments as units, a group of identical rhythmic sound weight data is added as auxiliary rhythmic sound weight data, and a repeated playback interval is set. The repeated playback interval is equal to the rhythmic sound length corresponding to the first feature segment. After each interval time of playing the rhythmic sound weight data, the auxiliary rhythmic sound weight data is played once.
9. The method and playback system according to claim 1 and claim 3, characterized in that: The default playback effect of the near-echo effect is that in the rhythmic parameters corresponding to the feature segment, the repeated playback coefficient KG=MM, MM>1, and MM consecutive feature segments are used as units. The calculated rhythmic sound weight data is played once, and then the number of participating feature segments is subtracted from the beginning and repeated playback is performed until the number of participating feature segments returns to zero.
Citation Information
Patent Citations
Method for time scaling of a sequence of input signal values
CN101620856B
Audio speed changing method
CN101630522A
