CN108766407A - Audio connection method and device - Google Patents

Audio connection method and device Download PDF

Info

Publication number
CN108766407A
CN108766407A CN201810463718.2A CN201810463718A CN108766407A CN 108766407 A CN108766407 A CN 108766407A CN 201810463718 A CN201810463718 A CN 201810463718A CN 108766407 A CN108766407 A CN 108766407A
Authority
CN
China
Prior art keywords
audio
trifle
transition
optional
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810463718.2A
Other languages
Chinese (zh)
Other versions
CN108766407B (en
Inventor
李胜存
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN201810463718.2A priority Critical patent/CN108766407B/en
Publication of CN108766407A publication Critical patent/CN108766407A/en
Application granted granted Critical
Publication of CN108766407B publication Critical patent/CN108766407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • G10H1/0025Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/031Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
    • G10H2210/056Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal for extraction or identification of individual instrumental parts, e.g. melody, chords, bass; Identification or separation of instrumental parts by their characteristic voices or timbres
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/031Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
    • G10H2210/076Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal for extraction of timing, tempo; Beat detection
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/101Music Composition or musical creation; Tools or processes therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/101Music Composition or musical creation; Tools or processes therefor
    • G10H2210/125Medley, i.e. linking parts of different musical pieces in one single piece, e.g. sound collage, DJ mix
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/571Chords; Chord sequences
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/011Files or data streams containing coded musical information, e.g. for transmission
    • G10H2240/016File editing, i.e. modifying musical data files or streams as such
    • G10H2240/021File editing, i.e. modifying musical data files or streams as such for MIDI-like files or data streams
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/121Musical libraries, i.e. musical databases indexed by musical parameters, wavetables, indexing schemes using musical parameters, musical rule bases or knowledge bases, e.g. for automatic composing methods
    • G10H2240/131Library retrieval, i.e. searching a database or selecting a specific musical piece, segment, pattern, rule or parameter set
    • G10H2240/141Library retrieval matching, i.e. any of the steps of matching an inputted segment or phrase with musical database contents, e.g. query by humming, singing or playing; the steps may include, e.g. musical analysis of the input, musical feature extraction, query formulation, or details of the retrieval process

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Auxiliary Devices For Music (AREA)

Abstract

The invention discloses a kind of audio connection method and devices, belong to field of audio processing.Method includes the first audio obtained for audio connection, and First Transition trifle is determined in the first audio;Information is allocated according to the chord of the first audio, determines the corresponding chordal information of First Transition trifle;According to the chordal information of First Transition trifle, obtained and the matched second transition trifle of First Transition trifle and its corresponding second audio from audio repository;The first audio and the second audio are attached using default transition algorithm based on First Transition trifle, the second transition trifle.Two audios by being attached by the present invention in the transition trifle with identical chordal information, so that the audio that connection obtains disclosure satisfy that harmony music theory and meet sense of hearing musicality, two audio quick and smooth connections are achieved the purpose that, improve the efficiency and intelligent of audio connection, and the optional range of audio is big, flexibility is good.

Description

Audio connection method and device
Technical field
The present invention relates to field of audio processing, more particularly to a kind of audio connection method and device.
Background technology
Musical composition includes many types, and one of which needs the audio fragment of different songs connecting into an audio, For example, song skewered just belongs to such musical composition.
By taking song skewered as an example, it is usually by the process that two audios of different songs connect into an audio:Creator Rule of thumb two different audios of artificial selection, and according to the tie point of artificial empirically determined two audios, pass through people Work manipulates recording device or the two audios are attached by audio clips device at tie point.
In the implementation of the present invention, when inventor has found to connect different audios using the prior art, whole process is equal Manual hand manipulation is needed, this audio connection method efficiency is low, flexibility is poor, not smart enough.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of audio connection method and devices.It is described Technical solution is as follows:
In a first aspect, a kind of audio connection method is provided, the method includes:
The first audio for audio connection is obtained, and determines First Transition trifle in first audio;
Information is allocated according to the chord of first audio, determines the corresponding chordal information of the First Transition trifle;
According to the chordal information of the First Transition trifle, obtained from audio repository matched with the First Transition trifle Second transition trifle and its corresponding second audio, the First Transition trifle and second transition chord letter having the same Breath;
Based on the First Transition trifle, the second transition trifle, using default transition algorithm, by first audio It is attached with second audio.
In one possible implementation, for each audio in the audio repository, the audio is carried out and String is allocated, and the chordal information of each trifle in the audio is obtained.
In one possible implementation, chord is carried out to the audio to allocate, including:
Melody identification is carried out to the audio, determines the melody characteristics of the audio;
According to the melody characteristics, beat identification is carried out to the audio, obtains the beat of the audio;
According to the beat of the audio, trifle division is carried out to the audio;
According to the melody characteristics of the audio, trifle division information, rule is allocated according to default chord, is the audio Each trifle generates corresponding chordal information.
In one possible implementation, First Transition trifle is determined in first audio, including:
According to the spectrum identification information of first audio, at least one optional transition trifle is determined in first audio Contextual location;
Based on the contextual location of at least one optional transition trifle, from least one optional transition trifle Choose the conduct First Transition trifle.
In one possible implementation, it according to the chordal information of the First Transition trifle, is obtained from audio repository With the second transition trifle of matched second audio of the First Transition trifle, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, Obtain the matching transition trifle and its optional audio of corresponding level-one that there is identical chordal information with the First Transition trifle;
The matching transition trifle is determined as the second transition trifle, the optional audio of the level-one is determined as described Second audio.
In one possible implementation, it according to the chordal information of the First Transition trifle, is obtained from audio repository With the second transition trifle of matched second audio of the First Transition trifle, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, Obtain has multiple matching transition trifles of identical chordal information and its corresponding multiple level-ones can with the First Transition trifle Select audio;
According to default screening conditions, the optional audio of target is obtained from the optional audio of the multiple level-one, the target can It is to meet the optional audio of level-one of the default screening conditions to select audio;
The optional audio of the target is determined as second audio, the corresponding matching transition of the optional audio of target is small Section is determined as the second transition trifle;
Wherein, the default screening conditions include one or more in following several:Audio melody tonality is identical, audio Tonality meet time harmonious condition, the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference exists In preset range.
In one possible implementation, it is based on the First Transition trifle, the second transition trifle, using default First audio and second audio are attached by transition algorithm, including:
First audio is subjected to processing of fading out in the first mixing trifle, second audio is small in the second mixing It carries out fading in processing in section;Or, second audio is carried out processing of fading out in the second mixing trifle, by described first Audio carries out fading in processing in the first mixing trifle;
To first audio and second audio in the first mixing trifle and the second mixing trifle into Row mixing, the audio after being connected;
Wherein, the first mixing trifle is the First Transition trifle, and the second mixing trifle is second mistake Cross trifle;Alternatively, it is described first mixing trifle include the First Transition trifle and its before or after at least one trifle, It is described second mixing trifle include the second transition trifle and its before or after at least one trifle.
Second aspect, provides a kind of audio connector, and described device includes:
Acquisition module obtains the first audio for audio connection, and determines that First Transition is small in first audio Section;
Determining module determines that the First Transition trifle corresponds to for allocating information according to the chord of first audio Chordal information;
Matching module obtains and described first for the chordal information according to the First Transition trifle from audio repository The matched second transition trifle of transition trifle and its corresponding second audio, the First Transition trifle and second transition tool There is identical chordal information;
Transition link block, for based on the First Transition trifle, the second transition trifle, being calculated using default transition First audio and second audio are attached by method.
In one possible implementation, described device further includes:
Chord allocates module, for for each audio in the audio repository, carrying out chord to the audio and allocating, Obtain the chordal information of each trifle in the audio.
In one possible implementation, the chord is allocated module and is used for:Melody identification is carried out to the audio, really The melody characteristics of the fixed audio;According to the melody characteristics, beat identification is carried out to the audio, obtains the section of the audio It claps;According to the beat of the audio, trifle division is carried out to the audio;It is divided according to the melody characteristics of the audio, trifle Information allocates rule according to default chord, is that each trifle of the audio generates corresponding chordal information.
In one possible implementation, the acquisition module is used for:According to the spectrum identification information of first audio, The contextual location of at least one optional transition trifle is determined in first audio;Based at least one optional transition The contextual location of trifle chooses the conduct First Transition trifle from least one optional transition trifle.
In one possible implementation, the matching module is used for:By the chordal information of the First Transition trifle It is matched with the chordal information of the included audio of the audio repository, obtains and believe with identical chord with the First Transition trifle The matching transition trifle and its optional audio of corresponding level-one of breath;It is small that the matching transition trifle is determined as second transition Section, is determined as second audio by the optional audio of the level-one.
In one possible implementation, the matching module is used for:By the chordal information of the First Transition trifle It is matched with the chordal information of the included audio of the audio repository, obtains and believe with identical chord with the First Transition trifle The multiple matching transition trifles and its corresponding optional audio of multiple level-ones of breath;According to default screening conditions, from the multiple one Obtain the optional audio of target in the optional audio of grade, the optional audio of target be meet the default screening conditions level-one it is optional Audio;The optional audio of the target is determined as second audio, the corresponding matching transition trifle of the optional audio of target It is determined as the second transition trifle;
Wherein, the default screening conditions include one or more in following several:Audio melody tonality is identical, audio Tonality meet time harmonious condition, the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference exists In preset range.
In one possible implementation, the transition link block is used for:
First audio is subjected to processing of fading out in the first mixing trifle, second audio is small in the second mixing It carries out fading in processing in section;Or, second audio is carried out processing of fading out in the second mixing trifle, by described first Audio carries out fading in processing in the first mixing trifle;
To first audio and second audio in the first mixing trifle and the second mixing trifle into Row mixing, the audio after being connected;
Wherein, the first mixing trifle is the First Transition trifle, and the second mixing trifle is second mistake Cross trifle;Alternatively, it is described first mixing trifle include the First Transition trifle and its before or after at least one trifle, It is described second mixing trifle include the second transition trifle and its before or after at least one trifle.
The third aspect, provides a kind of computer equipment, and the computer equipment includes processor and memory, described to deposit At least one instruction is stored in reservoir, described instruction is loaded by the processor and executed to realize such as first aspect and first Performed operation in any possible realization method of aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that is stored in the storage medium At least one instruction, described instruction are loaded by processor and are executed to realize as first aspect and first aspect are any possible Performed operation in realization method.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Using the chordal information of audio transition trifle, transition trifle of the matching with identical chordal information in audio repository, By the way that two audios are attached in the transition trifle with identical chordal information so that the audio connected disclosure satisfy that Harmony music theory and meet sense of hearing musicality, has achieved the purpose that two audio quick and smooths connections, improved the efficiency of audio connection With it is intelligent, and the optional range of audio is big, and flexibility is good.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow chart of audio connection method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of audio connection method provided in an embodiment of the present invention;
Fig. 3 is that the chord of provided in an embodiment of the present invention one first song audio is allocated and spectrum information schematic diagram;
Fig. 4 is a kind of block diagram of audio connector provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of audio connection method provided in an embodiment of the present invention, as shown in Figure 1, including following step Suddenly:
101, the first audio for audio connection is obtained, and determines First Transition trifle in first audio.
102, information is allocated according to the chord of first audio, determines the corresponding chordal information of First Transition trifle.
103, it according to the chordal information of the First Transition trifle, is obtained from audio repository matched with the First Transition trifle Second transition trifle and its corresponding second audio, the First Transition trifle and the second transition chordal information having the same.
104, the First Transition trifle, the second transition trifle are based on, using default transition algorithm, by first audio and Second audio is attached.
Method provided in an embodiment of the present invention, using the chordal information of audio transition trifle, being matched in audio repository has The transition trifle of identical chordal information is made by being attached two audios in the transition trifle with identical chordal information The audio that must be connected disclosure satisfy that harmony music theory and meet sense of hearing musicality, reach the mesh of two audio quick and smooths connection , the efficiency and intelligent of audio connection is improved, and the optional range of audio is big, flexibility is good.
In one possible implementation, for each audio in the audio repository, chord volume is carried out to the audio Match, obtains the chordal information of each trifle in the audio.
In one possible implementation, chord is carried out to the audio to allocate, including:
Melody identification is carried out to the audio, determines the melody characteristics of the audio;
According to the melody characteristics, beat identification is carried out to the audio, obtains the beat of the audio;
According to the beat of the audio, trifle division is carried out to the audio;
According to the melody characteristics of the audio, trifle division information, rule is allocated according to default chord, for each of the audio Trifle generates corresponding chordal information.
In one possible implementation, First Transition trifle is determined in first audio, including:
According to the spectrum identification information of first audio, the upper of at least one optional transition trifle is determined in first audio Hereafter position;
Based on the contextual location of at least one optional transition trifle, chosen from least one optional transition trifle One conduct First Transition trifle.
In one possible implementation, according to the chordal information of the First Transition trifle, obtained from audio repository with Second transition trifle of matched second audio of the First Transition trifle, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, is obtained There is the matching transition trifle and its optional audio of corresponding level-one of identical chordal information with the First Transition trifle;
The matching transition trifle is determined as the second transition trifle, the optional audio of the level-one is determined as second sound Frequently.
In one possible implementation, according to the chordal information of the First Transition trifle, obtained from audio repository with Second transition trifle of matched second audio of the First Transition trifle, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, is obtained There are multiple matching transition trifles of identical chordal information and its corresponding optional audio of multiple level-ones with the First Transition trifle;
According to default screening conditions, the optional audio of target, the optional sound of the target are obtained from the optional audio of multiple level-one Frequency is the optional audio of level-one for meeting the default screening conditions;
The optional audio of the target is determined as second audio, the corresponding matching transition trifle of the optional audio of the target determines For the second transition trifle;
Wherein, the default screening conditions include it is several following in it is one or more:Audio melody tonality is identical, audio Tonality meets time harmonious condition, and the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference is pre- If in range.
In one possible implementation, it is based on the First Transition trifle, the second transition trifle, using default transition First audio and second audio are attached by algorithm, including:
First audio is subjected to processing of fading out in the first mixing trifle, by second audio in the second mixing trifle It carries out fading in processing;Or, second audio is carried out processing of fading out in the second mixing trifle, by first audio this It carries out fading in processing in one mixing trifle;
First audio and second audio are mixed in the first mixing trifle and the second mixing trifle, obtained Audio after to connection;
Wherein, which is the First Transition trifle, which is the second transition trifle;Or Person, this first mixing trifle include the First Transition trifle and its before or after at least one trifle, this second mixing it is small Section include the second transition trifle and its before or after at least one trifle.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Before specific embodiment of the present invention is introduced, first to audio connection flow shown in following step 201 to 205 The executive agent and application scenarios of journey are explained:
The executive agent of following whole flow process is server, and a kind of application scenarios can be that server uses the above method pair The audio that can be smoothly connected in music libraries is attached, and obtains multiple audios by connection, for music class application, Then server provides browsing, broadcasting and the service for downloading a large amount of self-control skewered songs for music class application.Another application scenarios In, server can be interacted with user terminal, for example, first audio can be that user chooses, by user in step 203 Terminal is uploaded to server, and server obtains first audio from user terminal, and user is provided using the above method Audio is chosen matched audio and is attached;In this scene, it is personalized fixed that music class application server can be provided The service of song skewered processed, the service show user by user terminal.
Fig. 2 is that a kind of flow chart of audio connection method provided in an embodiment of the present invention includes the following steps referring to Fig. 2:
201, for each audio in audio repository, chord is carried out to the audio and is allocated, each in the audio is obtained The chordal information of trifle.
In embodiments of the present invention, audio repository includes a large amount of or the music file of magnanimity, by each music in the present embodiment File is known as an audio.Wherein, the file format of audio may include WAV, MP3, WAM, MID etc., the present embodiment to this not It is construed as limiting.Wherein, music file includes song files and pure tone music file etc., and the present embodiment does not limit the content of music file It is fixed.
Wherein, carrying out the process that chord is allocated for each audio in audio repository includes the following steps a1 to step a4:
Step a1, melody identification is carried out to the audio, determines the melody characteristics of the audio.
The step includes:Theme identification is carried out to audio, obtains the theme information of the audio;According to the main rotation of audio Information is restrained, determines the tonality of the audio.
Wherein, the melody characteristics of audio include the theme information of audio and the tonality of audio.
Wherein, after carrying out theme identification to audio the corresponding note files of the audio can be generated, in the note files Including the duration of each note, the pitch information of each note and the strong and weak information of each note in audio.Wherein, note Duration indicates the beat length of note, for example, the duration of note is a bat, half bat etc..Certainly, if in audio repository Through there are the corresponding note files of the audio, then the theme identification step can be skipped, directly according to known note files Obtain the theme information of the audio.It should be noted that the information for including in Note files is referred to as the theme of the audio Information.
Wherein it is determined that the process of audio tonality may include:According to the theme information of audio, identified using default tonality Algorithm determines the tonality of the audio.Wherein, the process for presetting tonality recognizer can be by the audio start note (or knot Shu Yinfu), the keynote of the audio is determined;According to the interval relation between the pitch of keynote and keynote and adjacent note, determining should The tonality of audio.For example, audio start note or terminate note be 1 (do), if 1 pitch be C, and with adjacent note it Between interval relation be big tuning journey --- complete complete half complete complete half, then the tonality of audio is c major.
Step a2, according to the melody characteristics of the audio, beat identification is carried out to the audio, obtains the beat and speed of the audio Degree.
Wherein, include to the process of audio progress beat identification:According to the melody characteristics of the audio, obtain in the audio The duration of continuous note and strong or weak relation;By the duration of the continuous note and strong or weak relation and the progress of default beat classification information Match, obtains the beat of the audio;The ratio of total duration of the continuous note and total duration is determined as to the speed of the audio.
Wherein, it includes multiple beats and the corresponding matching condition of each beat to preset beat classification information, when this is continuous When the duration of note and strong or weak relation meet a certain matching condition, the corresponding beat of the matching condition is determined as to the section of the audio It claps.The default beat classification information can be correspondence as shown in Table 1, but be not limited to the limitation classified shown in table 1, than Such as, classification can also include mixing beat.It should be noted that during matched, the number of continuous note can basis The note number indicated in beat classification information is adjusted flexibly, so that it is identical to compare both sides' note number.
Table 1
Wherein, the speed of audio refers to the rate of audio cadence, claps or drills for one minute for example, playing within one minute 88 one Play 88 minims etc..
It should be noted that if detecting the audio, there are corresponding midi files, no longer execute the identification of step 2 Step directly extracts the beat and speed of the audio from the midi files of the audio.Wherein, midi files include audio Beat information and velocity information.
Step a3, according to the beat of the audio, trifle division is carried out to the audio.
It is a bat with 4 dieresis for example, if the beat of the audio is four or four bats, every 4 bat divides a trifle, and Small shackle mark is added to the audio.
Step a4, according to the melody characteristics of the audio, trifle division information, rule is allocated according to default chord, for the sound Each trifle of frequency generates corresponding chordal information.
In the present embodiment, server determines each trifle included by the audio, example according to trifle division information Such as, according to small shackle mark, each trifle included by the audio is determined.For each trifle, chord volume is carried out to the trifle Include with the process of chordal information for generating the trifle:According to the tonality of the audio, rule is allocated according to default chord, generating should The chordal information of trifle.
Wherein, it includes but not limited to following items rule that default chord, which allocates rule,:1, big tuning frequency allocates big reconciliation string, Ditty audio allocates ditty chord;2, it originates trifle and ending trifle allocates tonic chord.3, a trifle before ending up is matched Dominant seventh chord belongs to chord, for example, it is adjusted to G7 or G greatly, it is small to be adjusted to E7 or Em;4, the previous chord of dominant seventh chord should match subordinate Chord;5, the Note Melodic Fragment in trifle obviously tends to a certain chord and just mixes the chord.
It should be noted that default chord allocates the regular Note Melodic Fragment for containing trifle and the trifle and adjacent trifle Conversion relations etc. feature.
It should be noted that the chord that server stores the audio for each audio correspondence allocates information, the sum of audio String allocates the contextual location and corresponding chordal information that information includes each trifle.
202, the first audio for audio connection is obtained, and determines First Transition trifle in the first audio.
In the present embodiment, the determination of the first audio includes following three kinds of embodiments:
In the first embodiment, audio is randomly selected from audio repository as first audio.
In the second embodiment, audio repository includes hot music library, and audio conduct is chosen from hot music library First audio.It in the specific implementation can for example, audio connection can be carried out to each audio in hot music library To be carried out at the same time audio connection processing to multiple audios, the present embodiment is only introduced for carrying out audio connection to an audio.
In the third mode, which is chosen by user in audio repository, i.e., needs to carry out by what user chose The audio of audio connection is as first audio;By user from local upload progress sound can also be needed by what user uploaded The audio of frequency connection is as first audio.It should be noted that when first audio is uploaded by user, according to step 201 Method similarly carries out chord to first audio and allocates.
In the present embodiment, determine that the process of First Transition trifle is in the first audio:According to the spectrum of first audio Identification information determines the contextual location of at least one optional transition trifle in the first audio;Based at least one optional mistake The contextual location for crossing trifle chooses one as First Transition trifle from least one optional transition trifle.
It should be noted that the corresponding spectrum identification information of each audio can also be stored in music libraries, each audio Compose the contextual tagging that identification information includes at least at least one optional transition trifle in the audio.One optional transition trifle Contextual tagging is used to indicate the start time point and end time point of the optional transition trifle, and the contextual tagging is for indicating The contextual location of the optional transition trifle in audio.For example, contextual tagging can be 1 point of 50 seconds to 1 point table such as 57 seconds Show form., which also can automatically be added by being manually added according to preset algorithm, this implementation to this not It is construed as limiting.
Wherein, server determines that the process of at least one optional transition trifle includes from the first audio:Server obtains Spectrum identification information corresponding with the first audio, according to spectrum identification information at least one optional transition trifle contextual tagging, Using the start time point of contextual tagging instruction and end time point as the contextual location of optional transition trifle.
Wherein, the type of optional transition trifle can include but is not limited to be transferred to refrain, prelude convolution, introduction ensemble etc. easily In the trifle for the audio connection for carrying out meeting human ear musicality.The type that identification information can also include optional transition trifle is composed to believe Breath.In the present embodiment, when the optional transition trifle determined in the first audio is multiple, a transition trifle is chosen as the The mode of one transition trifle may include following two:First way randomly selects one from multiple optional transition trifles.The Two kinds of modes are small by multiple optional transition according to the type information and type priority grade of optional transition trifle in spectrum identification information The highest optional transition trifle of type priority grade is as the First Transition trifle in section.Wherein, can pre-set different type can The priority for selecting transition trifle, for the audio of different melody, the ordering scenario of type priority grade can be different.
It should be noted that can also include the nodulose type of institute and contextual tagging in audio in spectrum identification information. The spectrum identification information can be automatically generated by server according to audio trifle division information and melody characteristics, can also be by manually compiling It is uploaded to server after volume, then final spectrum mark is generated by manually carrying out audit modification alternatively, first being automatically generated by server Know information, the present embodiment is not construed as limiting the generating mode for composing identification information.
203, information is allocated according to the chord of the first audio, determines the corresponding chordal information of First Transition trifle.
In the present embodiment, server is allocated according to the contextual location of First Transition trifle in the chord of the first audio It is matched in information, the chordal information of the contextual location will be met as the chordal information of the First Transition trifle.
204, it according to the chordal information of First Transition trifle, is obtained and First Transition trifle matched second from audio repository Transition trifle and its corresponding second audio.
Wherein, First Transition trifle and the second transition chordal information having the same.
In embodiments of the present invention, which includes following two embodiments:
In the first embodiment, it according to the chordal information of First Transition trifle, is obtained and the first mistake from audio repository The process for crossing the matched second transition trifle of trifle and its corresponding second audio includes:By the chordal information of First Transition trifle It is matched with the chordal information of the included audio of audio repository, obtains the matching that there is identical chordal information with First Transition trifle Transition trifle and its optional audio of corresponding level-one;The matching transition trifle is determined as the second transition trifle, level-one is optional Audio is determined as the second audio.
It should be noted that for each audio for including in audio repository, the audio institute is stored in the audio repository The correspondence of nodulose chordal information and the audio.
It should be noted that in this kind of embodiment, server stops continuing when getting a matching result The matching transition trifle that matching obtains is determined directly as the second transition trifle, is matched by trifle chordal information by matching, It can quickly navigate to the second transition trifle with identical chordal information, and then determine corresponding second audio, enhance The efficiency matched is, it can be achieved that audio real-time matching.Certainly, it after getting a matching result, can also continue to match, obtain more A matching result, to obtain multiple second transition trifles and corresponding multiple second audios, in this way, subsequently can be by first Audio carries out audio with the second multiple and different audios and connect, to obtain based on harmony music theory and meet a variety of of sense of hearing musicality Different audio connection effects.
It should be noted that can be carried out according to the sequence of audio repository sound intermediate frequency temperature from high to low during matched Matching, so that the result of audio connection allows more users to like.
In the second embodiment, it according to the chordal information of First Transition trifle, is obtained and the first mistake from audio repository The process for crossing the matched second transition trifle of trifle and its corresponding second audio includes:By the chordal information of First Transition trifle It is matched with the chordal information of the included audio of audio repository, obtain has the multiple of identical chordal information with First Transition trifle Matching transition trifle and its corresponding optional audio of multiple level-ones;According to default screening conditions, from the optional audio of multiple level-ones Obtain the optional audio of target, wherein the optional audio of target is to meet the optional audio of level-one for presetting screening conditions;Target is optional Audio is determined as the second audio, and the corresponding matching transition trifle of the optional audio of target is determined as the second transition trifle.
Wherein, default screening conditions include one or more in following several:Audio melody tonality is identical, the tune of audio Property meet time harmonious condition, the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference is default In range.
Wherein, secondary harmonious condition includes two kinds, the first is the identical scale of audio but big ditty difference namely two sounds The scale sequence of frequency is identical, but big ditty difference, such as c major are identical with Am minor scale sequences;Second refers to five degree The keynote of the tune of dominant, such as c major and the big tune of G, the big tune of G is five degree of dominants of c major.
Wherein, audio cadence speed difference refers within a preset range that the tempo of two audios is same or similar, such as Speed is to clap within one minute 96 to clap with one minute 92.Audio similar in two tempos links up can be more harmonious.Wherein, in advance If range can determine the discrimination of tempo according to human ear, rule of thumb it can also pre-set or change, this implementation Example is not construed as limiting this.
Explanation is further expalined to above-mentioned steps with reference to Fig. 3:
The chord for being illustrated in figure 3 a first song audio is allocated and spectrum information schematic diagram.As seen from Figure 3, the audio Tonality be A major, beat be four or four clap, wherein the first count of each trifle be retake.It is identified in each trifle Be the chord allocated of corresponding trifle such as A, Bm, D, E, A7.For example, in the first audio representated by Fig. 3, chooses and turn The first trifle (i.e. the 17th trifle) for entering refrain is used as First Transition trifle, and the chordal information of the First Transition trifle is E chords, When then being matched in music libraries, selection is equally the matching transition trifle of E chords.In one embodiment, by this With transition trifle as the second transition trifle;By the first audio the second audio corresponding with the matching transition trifle, determining Montage is carried out in transition trifle to plug into.Further, in another embodiment, when carrying out Audio Matching, if by sound The factors such as tonality, beat, speed and the transition trifle contextual location of frequency are taken into account, and more harmonious sound can be matched Frequency melody.It that is to say, using above-mentioned default screening conditions as matched condition.In the specific implementation, it can choose above-mentioned default One in screening conditions is matched, can also choose in above-mentioned default screening conditions it is multinomial matched, when selection The condition that second audio meets in above-mentioned default screening conditions is more, and what the first audio and the second audio linked up seamlessly transits Sense is stronger, reduces the indisposed sense of linking result.
205, it is based on First Transition trifle, the second transition trifle, using default transition algorithm, by the first audio and the second sound Frequency is attached.
In the present embodiment, which includes the following steps b1 and b2:
Step b1, the first audio is subjected to processing of fading out in the first mixing trifle, the second audio is small in the second mixing It carries out fading in processing in section;Or, the second audio is carried out processing of fading out in the second mixing trifle, the first audio is mixed first It closes and carries out fading in processing in trifle.
Wherein, it refers to the loudness by audio since 0 ing to fade in processing, according to a fixed step size by it is weak it is gradual become by force, when reaching When audio script loudness size stop variation, for user's sense of hearing angle be audio volume from scratch, from it is small gradually Become larger, then a volume is kept persistently to play.Processing of fading out refers to according to a fixed step size by the loudness of audio by gradually becoming by force It is weak, 0 is eventually become, the volume of as audio is tapered into from original sound volume for user's sense of hearing angle, is finally disappeared.
Step b2, the first audio and the second audio are mixed in the first mixing trifle and the second mixing trifle, is obtained Audio after to connection.
Wherein, in the first embodiment, the first mixing trifle is First Transition trifle, and the second mixing trifle is second Transition trifle namely this kind of connection type are the progress transition connections in transition trifle.In second in embodiment, first is mixed Close trifle include First Transition trifle and its before or after at least one trifle, second mixing trifle include the second transition it is small Section and its before or after at least one trifle.Second of embodiment carries out extension company in the adjacent trifle of transition trifle It connects, including five kinds of situations, is respectively:1, the first mixing trifle includes First Transition trifle and its at least one trifle before, Second mixing trifle includes the second transition trifle and its at least one trifle before.2, the first mixing trifle includes First Transition Trifle and its at least one trifle later, the second mixing trifle include the second transition trifle and its later at least one small Section.3, the first mixing trifle includes First Transition trifle and its at least one trifle before, and the second mixing trifle includes second Transition trifle and its at least one trifle later.4, first mixing trifle include First Transition trifle and its later at least one A trifle, the second mixing trifle includes the second transition trifle and its at least one trifle before.5, the first mixing trifle includes First Transition trifle and its at least one trifle before and at least one trifle after it, the second mixing trifle includes second Transition trifle and its at least one trifle before and at least one trifle after it.
It should be noted that step b1 illustrates when being attached to the first audio and the second audio, it can be by the first sound Frequency is placed on before the second audio, and the second audio can also be placed on before the first audio, and two audios of the present embodiment pair connect The sequencing connect is not construed as limiting.
Method provided in an embodiment of the present invention, using the chordal information of audio transition trifle, being matched in audio repository has The transition trifle of identical chordal information is made by being attached two audios in the transition trifle with identical chordal information The audio that must be connected disclosure satisfy that harmony music theory and meet sense of hearing musicality, reach the mesh of two audio quick and smooths connection , the efficiency and intelligent of audio connection is improved, and the optional range of audio is big, flexibility is good.
Further, on the basis of matched based on transition trifle chord, by the tonality of audio, beat, tempo, mistake It crosses the factors such as the contextual location of trifle to be included in together in matched condition, further increases the smoothed of two audios connection Sense is crossed, the indisposed sense of connection result is reduced.
Fig. 4 is a kind of block diagram of audio connector provided in an embodiment of the present invention, as shown in figure 4, including acquisition module 401, determining module 402, matching module 403 and transition link block 404.
Wherein, acquisition module, the first audio for obtaining audio connection, and First Transition is determined in first audio Trifle;Determining module determines the corresponding chord letter of the First Transition trifle for allocating information according to the chord of first audio Breath;Matching module obtains and the First Transition trifle for the chordal information according to the First Transition trifle from audio repository The the second transition trifle and its corresponding second audio matched, the First Transition trifle and second transition chord letter having the same Breath;Transition link block, for based on the First Transition trifle, the second transition trifle, using default transition algorithm, by this One audio and second audio are attached.
In one possible implementation, which further includes:
Chord allocates module, for for each audio in the audio repository, carrying out chord to the audio and allocating, obtain The chordal information of each trifle in the audio.
In one possible implementation, which allocates module and is used for:Melody identification is carried out to the audio, determining should The melody characteristics of audio;According to the melody characteristics, beat identification is carried out to the audio, obtains the beat of the audio;According to the sound The beat of frequency carries out trifle division to the audio;According to the melody characteristics of the audio, trifle division information, according to default chord Rule is allocated, corresponding chordal information is generated for each trifle of the audio.
In one possible implementation, which is used for:According to the spectrum identification information of first audio, at this The contextual location of at least one optional transition trifle is determined in first audio;Based on the upper of at least one optional transition trifle The conduct First Transition trifle is chosen in hereafter position from least one optional transition trifle.
In one possible implementation, which is used for:By the chordal information of the First Transition trifle and it is somebody's turn to do The chordal information of the included audio of audio repository is matched, and the matching for having identical chordal information with the First Transition trifle is obtained Transition trifle and its optional audio of corresponding level-one;The matching transition trifle is determined as the second transition trifle, by the level-one Optional audio is determined as second audio.
In one possible implementation, which is used for:By the chordal information of the First Transition trifle and it is somebody's turn to do The chordal information of the included audio of audio repository is matched, and obtain has the multiple of identical chordal information with the First Transition trifle Matching transition trifle and its corresponding optional audio of multiple level-ones;According to default screening conditions, from the optional audio of multiple level-one The optional audio of middle acquisition target, the optional audio of the target are to meet the optional audio of level-one of the default screening conditions;By the target Optional audio is determined as second audio, and it is small that the corresponding matching transition trifle of the optional audio of the target is determined as second transition Section;
Wherein, the default screening conditions include it is several following in it is one or more:Audio melody tonality is identical, audio Tonality meets time harmonious condition, and the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference is pre- If in range.
In one possible implementation, which is used for:
First audio is subjected to processing of fading out in the first mixing trifle, by second audio in the second mixing trifle It carries out fading in processing;Or, second audio is carried out processing of fading out in the second mixing trifle, by first audio this It carries out fading in processing in one mixing trifle;
First audio and second audio are mixed in the first mixing trifle and the second mixing trifle, obtained Audio after to connection;
Wherein, which is the First Transition trifle, which is the second transition trifle;Or Person, this first mixing trifle include the First Transition trifle and its before or after at least one trifle, this second mixing it is small Section include the second transition trifle and its before or after at least one trifle.
Device provided in an embodiment of the present invention, using the chordal information of audio transition trifle, being matched in audio repository has The transition trifle of identical chordal information is made by being attached two audios in the transition trifle with identical chordal information The audio that must be connected disclosure satisfy that harmony music theory and meet sense of hearing musicality, reach the mesh of two audio quick and smooths connection , the efficiency and intelligent of audio connection is improved, and the optional range of audio is big, flexibility is good.
It should be noted that:The device for the audio connection that above-described embodiment provides is when carrying out audio connection, only with above-mentioned The division progress of each function module, can be as needed and by above-mentioned function distribution by different for example, in practical application Function module is completed, i.e., the internal structure of server is divided into different function modules, with complete it is described above whole or Person's partial function.In addition, the audio connector that above-described embodiment provides belongs to same design with audio connection method embodiment, Its specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 5 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 501 and one or more memory 502, wherein at least one finger is stored in the memory 502 It enables, at least one instruction is loaded by the processor 501 and executed to realize the side of above-mentioned each embodiment of the method offer Method.Certainly, which can also have the components such as wired or wireless network interface, keyboard and input/output interface, so as to Input and output are carried out, which can also be including other for realizing the component of functions of the equipments, and this will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium, such as the memory including instruction are additionally provided, Above-metioned instruction can be executed by the processor in terminal to complete the audio connection method in above-described embodiment.For example, the calculating Machine readable storage medium storing program for executing can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices Deng.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (16)

1. a kind of audio connection method, which is characterized in that the method includes:
The first audio for audio connection is obtained, and determines First Transition trifle in first audio;
Information is allocated according to the chord of first audio, determines the corresponding chordal information of the First Transition trifle;
According to the chordal information of the First Transition trifle, obtained and the First Transition trifle matched second from audio repository Transition trifle and its corresponding second audio, the First Transition trifle and the second transition chordal information having the same;
Based on the First Transition trifle, the second transition trifle, using default transition algorithm, by first audio and institute The second audio is stated to be attached.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
For each audio in the audio repository, chord is carried out to the audio and is allocated, each in the audio is obtained The chordal information of trifle.
3. according to the method described in claim 2, it is characterized in that, to the audio carry out chord allocate, including:
Melody identification is carried out to the audio, determines the melody characteristics of the audio;
According to the melody characteristics, beat identification is carried out to the audio, obtains the beat of the audio;
According to the beat of the audio, trifle division is carried out to the audio;
According to the melody characteristics of the audio, trifle division information, rule is allocated according to default chord, is each of described audio Trifle generates corresponding chordal information.
4. according to the method described in claim 1, it is characterized in that, determine First Transition trifle in first audio, packet It includes:
According to the spectrum identification information of first audio, the upper of at least one optional transition trifle is determined in first audio Hereafter position;
Based on the contextual location of at least one optional transition trifle, chosen from least one optional transition trifle One conduct First Transition trifle.
5. according to the method described in claim 1, it is characterized in that, according to the chordal information of the First Transition trifle, from sound The second transition trifle with matched second audio of the First Transition trifle is obtained in frequency library, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, is obtained There is the matching transition trifle and its optional audio of corresponding level-one of identical chordal information with the First Transition trifle;
The matching transition trifle is determined as the second transition trifle, the optional audio of the level-one is determined as described second Audio.
6. according to the method described in claim 1, it is characterized in that, according to the chordal information of the First Transition trifle, from sound The second transition trifle with matched second audio of the First Transition trifle is obtained in frequency library, including:
The chordal information of the First Transition trifle is matched with the chordal information of the included audio of the audio repository, is obtained There are multiple matching transition trifles of identical chordal information and its corresponding optional sound of multiple level-ones with the First Transition trifle Frequently;
According to default screening conditions, the optional audio of target, the optional sound of target are obtained from the optional audio of the multiple level-one Frequency is the optional audio of level-one for meeting the default screening conditions;
The optional audio of the target is determined as second audio, the corresponding matching transition trifle of the optional audio of target is true It is set to the second transition trifle;
Wherein, the default screening conditions include one or more in following several:Audio melody tonality is identical, the tune of audio Property meet time harmonious condition, the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference is default In range.
7. according to the method described in claim 1, it is characterized in that, small based on the First Transition trifle, second transition Section, using default transition algorithm, first audio and second audio are attached, including:
First audio is subjected to processing of fading out in the first mixing trifle, by second audio in the second mixing trifle It carries out fading in processing;Or, second audio is carried out processing of fading out in the second mixing trifle, by first audio It carries out fading in processing in the first mixing trifle;
First audio and second audio are mixed in the first mixing trifle and the second mixing trifle It closes, the audio after being connected;
Wherein, the first mixing trifle is the First Transition trifle, and the second mixing trifle is that second transition is small Section;Alternatively, it is described first mixing trifle include the First Transition trifle and its before or after at least one trifle, it is described Second mixing trifle include the second transition trifle and its before or after at least one trifle.
8. a kind of audio connector, which is characterized in that described device includes:
Acquisition module obtains the first audio for audio connection, and determines First Transition trifle in first audio;
Determining module, for allocating information according to the chord of first audio, determine the First Transition trifle it is corresponding and String information;
Matching module obtains and the First Transition for the chordal information according to the First Transition trifle from audio repository The matched second transition trifle of trifle and its corresponding second audio, the First Transition trifle and second transition have phase Same chordal information;
Transition link block, for based on the First Transition trifle, the second transition trifle, using default transition algorithm, First audio and second audio are attached.
9. device according to claim 8, which is characterized in that described device further includes:
Chord allocates module, for for each audio in the audio repository, carrying out chord to the audio and allocating, obtain The chordal information of each trifle in the audio.
10. device according to claim 9, which is characterized in that the chord is allocated module and is used for:The audio is carried out Melody identifies, determines the melody characteristics of the audio;According to the melody characteristics, beat identification is carried out to the audio, is obtained The beat of the audio;According to the beat of the audio, trifle division is carried out to the audio;It is special according to the melody of the audio Sign, trifle division information, rule is allocated according to default chord, is that each trifle of the audio generates corresponding chordal information.
11. device according to claim 8, which is characterized in that the acquisition module is used for:According to first audio Identification information is composed, the contextual location of at least one optional transition trifle is determined in first audio;Based on it is described at least The contextual location of one optional transition trifle chooses a conduct described first from least one optional transition trifle Transition trifle.
12. device according to claim 8, which is characterized in that the matching module is used for:By the First Transition trifle Chordal information matched with the chordal information of the included audio of the audio repository, acquisition have with the First Transition trifle The matching transition trifle and its optional audio of corresponding level-one of identical chordal information;The matching transition trifle is determined as described The optional audio of the level-one is determined as second audio by the second transition trifle.
13. device according to claim 8, which is characterized in that the matching module is used for:By the First Transition trifle Chordal information matched with the chordal information of the included audio of the audio repository, acquisition have with the First Transition trifle Multiple matching transition trifles of identical chordal information and its corresponding optional audio of multiple level-ones;According to default screening conditions, from The optional audio of target is obtained in the multiple optional audio of level-one, the optional audio of target is to meet the default screening conditions The optional audio of level-one;The optional audio of the target is determined as second audio, corresponding of the optional audio of target It is determined as the second transition trifle with transition trifle;
Wherein, the default screening conditions include one or more in following several:Audio melody tonality is identical, the tune of audio Property meet time harmonious condition, the contextual location of transition trifle is identical, and the beat of audio is identical, and audio cadence speed difference is default In range.
14. device according to claim 8, which is characterized in that the transition link block is used for:
First audio is subjected to processing of fading out in the first mixing trifle, by second audio in the second mixing trifle It carries out fading in processing;Or, second audio is carried out processing of fading out in the second mixing trifle, by first audio It carries out fading in processing in the first mixing trifle;
First audio and second audio are mixed in the first mixing trifle and the second mixing trifle It closes, the audio after being connected;
Wherein, the first mixing trifle is the First Transition trifle, and the second mixing trifle is that second transition is small Section;Alternatively, it is described first mixing trifle include the First Transition trifle and its before or after at least one trifle, it is described Second mixing trifle include the second transition trifle and its before or after at least one trifle.
15. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory In be stored at least one instruction, described instruction is loaded by the processor and is executed to realize as claim 1 to right is wanted Ask the operation performed by 7 any one of them audio connection methods.
16. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and executed to realize such as claim 1 to claim 7 any one of them audio connection method Performed operation.
CN201810463718.2A 2018-05-15 2018-05-15 Audio connection method and device Active CN108766407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810463718.2A CN108766407B (en) 2018-05-15 2018-05-15 Audio connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810463718.2A CN108766407B (en) 2018-05-15 2018-05-15 Audio connection method and device

Publications (2)

Publication Number Publication Date
CN108766407A true CN108766407A (en) 2018-11-06
CN108766407B CN108766407B (en) 2023-03-24

Family

ID=64007837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810463718.2A Active CN108766407B (en) 2018-05-15 2018-05-15 Audio connection method and device

Country Status (1)

Country Link
CN (1) CN108766407B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046217A (en) * 2019-12-17 2020-04-21 腾讯科技(深圳)有限公司 Combined song generation method, device, equipment and storage medium
CN111081209A (en) * 2019-12-19 2020-04-28 中国地质大学(武汉) Chinese national music mode identification method based on template matching
CN111785238A (en) * 2020-06-24 2020-10-16 腾讯音乐娱乐科技(深圳)有限公司 Audio calibration method, device and storage medium
CN112825244A (en) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 Dubbing music audio generation method and apparatus
CN113140202A (en) * 2021-04-25 2021-07-20 北京灵动音科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
WO2023010949A1 (en) * 2021-07-31 2023-02-09 华为技术有限公司 Method and apparatus for processing audio data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0791914A1 (en) * 1996-02-26 1997-08-27 Yamaha Corporation Karaoke apparatus providing customized medley play by connecting plural music pieces
CN1643570A (en) * 2002-03-28 2005-07-20 皇家飞利浦电子股份有限公司 Media player with 'DJ' mode
JP2007292847A (en) * 2006-04-21 2007-11-08 Victor Co Of Japan Ltd Musical piece editing/reproducing device
JP2010224243A (en) * 2009-03-24 2010-10-07 Xing Inc Karaoke device, method of controlling karaoke device, and control program of karaoke device
CN102576524A (en) * 2009-06-01 2012-07-11 音乐策划公司 System and method of receiving, analyzing, and editing audio to create musical compositions
CN102568482A (en) * 2010-11-12 2012-07-11 索尼公司 Information processing apparatus, musical composition section extracting method, and program
CN107481706A (en) * 2017-08-08 2017-12-15 腾讯音乐娱乐(深圳)有限公司 song Skewered method and device
CN107705778A (en) * 2017-08-23 2018-02-16 腾讯音乐娱乐(深圳)有限公司 Audio-frequency processing method, device, storage medium and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0791914A1 (en) * 1996-02-26 1997-08-27 Yamaha Corporation Karaoke apparatus providing customized medley play by connecting plural music pieces
CN1643570A (en) * 2002-03-28 2005-07-20 皇家飞利浦电子股份有限公司 Media player with 'DJ' mode
JP2007292847A (en) * 2006-04-21 2007-11-08 Victor Co Of Japan Ltd Musical piece editing/reproducing device
JP2010224243A (en) * 2009-03-24 2010-10-07 Xing Inc Karaoke device, method of controlling karaoke device, and control program of karaoke device
CN102576524A (en) * 2009-06-01 2012-07-11 音乐策划公司 System and method of receiving, analyzing, and editing audio to create musical compositions
CN102568482A (en) * 2010-11-12 2012-07-11 索尼公司 Information processing apparatus, musical composition section extracting method, and program
CN107481706A (en) * 2017-08-08 2017-12-15 腾讯音乐娱乐(深圳)有限公司 song Skewered method and device
CN107705778A (en) * 2017-08-23 2018-02-16 腾讯音乐娱乐(深圳)有限公司 Audio-frequency processing method, device, storage medium and terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
I-TING LIU,等: "MUSIC CUT AND PASTE: A PERSONALIZED MUSICAL MEDLEY GENERATING SYSTEM", 《2013 INTERNATIONAL SOCIETY FOR MUSIC INFORMATION RETRIEVAL》 *
ZHENGSHAN SHI,等: "MedleyAssistant – A system for personalized music medley creation", 《MILC》 *
周军: "怎样提高歌曲即兴伴奏织体的选择能力", 《音乐知识》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112825244A (en) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 Dubbing music audio generation method and apparatus
CN112825244B (en) * 2019-11-21 2024-04-12 阿里巴巴集团控股有限公司 Music audio generation method and device
CN111046217A (en) * 2019-12-17 2020-04-21 腾讯科技(深圳)有限公司 Combined song generation method, device, equipment and storage medium
CN111046217B (en) * 2019-12-17 2024-05-31 腾讯科技(深圳)有限公司 Combined song generation method, device, equipment and storage medium
CN111081209A (en) * 2019-12-19 2020-04-28 中国地质大学(武汉) Chinese national music mode identification method based on template matching
CN111081209B (en) * 2019-12-19 2022-06-07 中国地质大学(武汉) Chinese national music mode identification method based on template matching
CN111785238A (en) * 2020-06-24 2020-10-16 腾讯音乐娱乐科技(深圳)有限公司 Audio calibration method, device and storage medium
CN111785238B (en) * 2020-06-24 2024-02-27 腾讯音乐娱乐科技(深圳)有限公司 Audio calibration method, device and storage medium
CN113140202A (en) * 2021-04-25 2021-07-20 北京灵动音科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113140202B (en) * 2021-04-25 2024-06-18 北京灵动音科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
WO2023010949A1 (en) * 2021-07-31 2023-02-09 华为技术有限公司 Method and apparatus for processing audio data

Also Published As

Publication number Publication date
CN108766407B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN108766407A (en) Audio connection method and device
CA2764042C (en) System and method of receiving, analyzing, and editing audio to create musical compositions
US9355627B2 (en) System and method for combining a song and non-song musical content
US8779268B2 (en) System and method for producing a more harmonious musical accompaniment
US9251776B2 (en) System and method creating harmonizing tracks for an audio input
US9177540B2 (en) System and method for conforming an audio input to a musical key
US9257053B2 (en) System and method for providing audio for a requested note using a render cache
US8069036B2 (en) Method and apparatus for processing audio for playback
CA2929213C (en) System and method for enhancing audio, conforming an audio input to a musical key, and creating harmonizing tracks for an audio input
CN106023969B (en) Method for applying audio effects to one or more tracks of a music compilation
US9459828B2 (en) Musically contextual audio advertisements
TW200818116A (en) Taste profile production apparatus, taste profile production method and computer readable medium storing profile production programs
US10146867B2 (en) Methods for generating a mix of music tracks
CN110599985A (en) Audio content generation method, server side equipment and client side equipment
GB2571340A (en) Method of combining audio signals
CN108182227A (en) Audio accompaniment recommends method, apparatus and computer readable storage medium
CA2843438A1 (en) System and method for providing audio for a requested note using a render cache
CN112037739B (en) Data processing method and device and electronic equipment
CN112420002A (en) Music generation method, device, electronic equipment and computer readable storage medium
JP2019101148A (en) Communication karaoke system
JP2004206747A (en) Device, method and program for music mixing
US20240153475A1 (en) Music management services
JP4735221B2 (en) Performance data editing apparatus and program
CN117690397A (en) Melody processing method, melody processing device, melody processing apparatus, melody processing storage medium, and melody processing program product
CN109584845A (en) Automatic dub in background music method and system, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant