CN103578514A - Song playing method and device - Google Patents

Song playing method and device Download PDF

Info

Publication number
CN103578514A
CN103578514A CN201210272521.3A CN201210272521A CN103578514A CN 103578514 A CN103578514 A CN 103578514A CN 201210272521 A CN201210272521 A CN 201210272521A CN 103578514 A CN103578514 A CN 103578514A
Authority
CN
China
Prior art keywords
track
audio frame
frame
audio track
player
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.)
Pending
Application number
CN201210272521.3A
Other languages
Chinese (zh)
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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201210272521.3A priority Critical patent/CN103578514A/en
Publication of CN103578514A publication Critical patent/CN103578514A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The invention discloses a song playing method and device, and relates to the field of the voice frequency. The problem that an existing playing device cannot play music and human voice at the same time is solved. The song playing method comprises the steps of reading a voice frequency frame of a first audio track, reading a voice frequency frame of a second audio track, carrying out overlap on the voice frequency frame of the first audio track and the voice frequency frame of the second audio track to obtain a mixed frame, and playing the mixed frame. Due to the fact that the voice frequency frame of the first audio track and the voice frequency frame of the second audio track are overlapped to be played together, a user can hear the effect of synthesis of the voice frequency frame of the first audio track and the voice frequency frame of the second audio track; if the first audio track is a music audio track, and the second audio track is a human voice audio track, the song playing device can play singing of a singer and the sound of an accompaniment at the same time, the user can sing a song with the same rhythm as the singing of the singer under the guiding of the singer, and entertainment and study of the user are facilitated. The song playing device can be a TTplayer, a Foobar2000 player, a Bailie player, a WinMP3Exp player, a Winamp player, a KuGoo player, an mp3 player, a Thunder player and the like.

Description

Playback of songs method and apparatus
Technical field
The present invention relates to a kind of playback of songs method and apparatus, relate in particular to a kind of song of the former vocal accompaniment dough softening realization of twin track that regulates with singing method and apparatus.
Background technology
First introduce twin track technology: band plays separately, and with sound pick-up outfit, accompaniment tone is recorded on an independent track; Then singer is with earphone, listens the accompaniment recording of band and sings, and song is recorded on another track parallel with accompaniment track.OK a karaoke club 0K has adopted twin track technology exactly.
At present, can record and store the CD of high image quality video data and high tone quality voice data, and the CD writer that the video recording in above-mentioned CD and voice data can be regenerated and record comes out, and be widely used.
As shown in Figure 1, CD comprises: directory area and data area.In data area, can mark off the track of a plurality of recording video datas and voice data, as: track 1, track 2, track 3, track 4 and track 5.Track 1, track 3 and track 5 stored video datas, be called and look rail; Track 2 (track 2) and track 4 (track 4) stores audio data, be called track.
Existing player is realized the method for twin track technology: the voice data that reads track 2; Play the voice data of track 2; The voice data output of track 2 is complete, reads the voice data of track 4; Play the voice data of track 4.If it is complete that the voice data of track 2 is not exported, user wants to listen the music of track 4, and first user stops reading the voice data of track 2; Then just can read the voice data of track 4; Play the voice data of track 4.
Take track 2 as music track; Track 4 is that people's sound rail is example, and existing player can only be play separately music or voice (can switch back and forth between the two), but cannot play music and voice simultaneously.
Summary of the invention
Embodiments of the invention provide a kind of playback of songs method and apparatus,
For achieving the above object, embodiments of the invention adopt following technical scheme:
A method, comprising:
Read the audio frame of the first track;
Read the audio frame of the second track;
Audio frame stack by the audio frame of the first track and the second track, obtains hybrid frame;
Play described hybrid frame.
A device, comprising:
Frame read module, for reading the audio frame of the first track and the audio frame of the second track;
Laminating module, for by the audio frame stack of the audio frame of the first track and the second track, obtains hybrid frame;
Playing module, for playing described hybrid frame.
The audio frame of the present invention's the first track is play together with stacking up with the audio frame of the second track, and user can hear the effect that the two is synthetic.If the first track is music track; The second track behaviour sound rail, the present invention can play singer's performance and accompaniment sound simultaneously.Can only between voice and music, switch and compare with prior art, user can be under original singer's leading, and sings out the song with the identical rhythm of original singer, facilitates consumer entertainment and study.
Accompanying drawing explanation
Fig. 1 is compact disk structure schematic diagram;
Fig. 2 is the process flow diagram of playback of songs method of the present invention;
Fig. 3 is the structural representation of playback of songs device embodiment 1 of the present invention;
Fig. 4 is the structural representation of playback of songs device embodiment 2 of the present invention;
Fig. 5 is the structural representation of playback of songs device embodiment 3 of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiment of the present invention playback of songs method is described in detail.
As shown in Figure 2, a kind of playback of songs method, comprising:
201, read the audio frame of the first track;
202, read the audio frame of the second track;
203, by the audio frame stack of the audio frame of the first track and the second track, obtain hybrid frame;
204, play described hybrid frame.
The audio frame of the present invention's the first track is play together with stacking up with the audio frame of the second track, and user can hear the effect that the two is synthetic.If the first track is music track; The second track behaviour sound rail, the present invention can play singer's performance and accompaniment sound simultaneously.Can only between voice and music, switch and compare with prior art, user can be under original singer's leading, and sings out the song with the identical rhythm of original singer, facilitates consumer entertainment and study.
201, read the audio frame of the first track
User is video or the audio file with digital signal form storage by player plays, relates generally to herein and uses player plays twin track audio file.In player listed files, find target twin track file, activate this twin track file: as shown in Figure 2, player reads the audio frame of track 2, this track 2 is music track.
202, read the audio frame of the second track
As shown in Figure 2, when player reads the audio frame of track 2, read the audio frame of track 4.Track 4 is people's sound rail.
203, by the audio frame stack of the audio frame of the first track and the second track, obtain hybrid frame
Audio frame stack by the audio frame of track 2 and track 4, obtains hybrid frame.
204, play described hybrid frame.
Play hybrid frame, this hybrid frame not only comprises singer's performance but also comprise accompaniment sound.
The present invention can play singer's performance and accompaniment sound simultaneously.Can only between voice and music, switch and compare with prior art, user can be under original singer's leading, and sings out the song with the identical rhythm of original singer, facilitates consumer entertainment and study.
In step 203, by the audio frame stack of the audio frame of the first track and the second track, obtain also comprising before hybrid frame: the audio frame of buffer memory the first track and the audio frame of the second track.
Under normal circumstances, the data of the audio frame of the audio frame of the first track and the second track are all regular.When the data of the audio frame of the first track are irregular or the data of the audio frame of the second track are irregular or the data of the audio frame of the first track and the audio frame of the second track are all irregular, the audio frame of the audio frame of the first track and the second track can be input to buffer and process, obtain the audio frame of the first track and the audio frame of the second track of rule.
Irregular audio frame shows as, synchronization (professional term is timestamp), and the audio frame length that two tracks can be got is unequal, and the unequal audio frame of length can not carry out audio mixing.In order to obtain regular audio frame, can be handled as follows: the data buffering of the first track or the second track is got off in buffer zone, according to the time point of the second track or the first track and current subaudio frequency frame data length, from buffer zone, get isometric data, mix.
Before the described hybrid frame step of described broadcasting, also comprise: the decibel that regulates and controls the first track audio frame; Regulate and control the decibel of the second track audio frame.
Domestic consumer is difficult to as professional singer, holds the performance rhythm of a song.If user wishes to accompany, sound is large, sings sound little, the first track audio frame can be transferred to 80% decibel, and the audio frame of the second track is transferred to 20% decibel.Like this, domestic consumer just can imitate original singer's rhythm very soon, and can under original singer's leading, sing out the song with the identical rhythm of original singer's rhythm.In like manner, also the first track audio frame can be transferred to 20% decibel, the audio frame of the second track is transferred to 80% decibel.
The present invention can also, when audio plays frame, regulate and control the decibel of first and second track audio frame.
The present invention also provides a kind of playback of songs device, and as shown in Figure 3, this playback of songs device comprises:
Frame read module, for reading the audio frame of the first track and the audio frame of the second track;
Laminating module, for by the audio frame stack of the audio frame of the first track and the second track, obtains hybrid frame;
Playing module, for playing described hybrid frame.
Laminating module of the present invention stacks up the audio frame of the audio frame of the first track and the second track, and after playing module broadcasts the hybrid frame after stack, user can hear the effect that the two is synthetic.If the first track is music track; The second track behaviour sound rail, the present invention can play singer's performance and accompaniment sound simultaneously.Can only between voice and music, switch and compare with prior art, user can be under original singer's leading, and sings out the song with the identical rhythm of original singer, facilitates consumer entertainment and study.
Under normal circumstances, the data of the audio frame of the audio frame of the first track and the second track are all regular.When the data of the audio frame of the first track are irregular or the data of the audio frame of the second track are irregular or the data of the audio frame of the first track and the audio frame of the second track are all irregular, in order to process irregular audio frame, as shown in Figure 4, the present invention can also be further improved on the basis of embodiment 1:
Between frame read module and laminating module, cache module is set, changes cache module for the audio frame of buffer memory the first track and the audio frame of the second track.
For the decibel to twin track audio frequency, control respectively, as shown in Figure 5, the present invention can also be further improved on the basis of embodiment 2:
Regulation and control module is set between playing module and laminating module, and this regulation and control module is for regulating and controlling the decibel of the first track audio frame and the decibel of the second track audio frame.
Playing device of the present invention can also, by regulation and control module when audio plays frame, regulate and control the decibel of first and second track audio frame.Playing device of the present invention can be: 1,000 hark, the player such as Foobar2000, hundred hunts, WinMP3Exp, Winamp, KuGoo, mp3, sudden peal of thunder.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.

Claims (7)

1. a playback of songs method, is characterized in that, comprising:
Read the audio frame of the first track;
Read the audio frame of the second track;
Audio frame stack by the audio frame of the first track and the second track, obtains hybrid frame;
Play described hybrid frame.
2. playback of songs method according to claim 1, is characterized in that, in the described stack of the audio frame by the audio frame of the first track and the second track, obtains also comprising before hybrid frame step: the audio frame of buffer memory the first track and the audio frame of the second track.
3. playback of songs method according to claim 1, is characterized in that, before the described hybrid frame step of described broadcasting, also comprises:
Regulate and control the decibel of the first track audio frame;
Regulate and control the decibel of the second track audio frame.
4. playback of songs method according to claim 1, is characterized in that, described the first track is music track; Described the second track behaviour sound rail.
5. a playback of songs device, is characterized in that, comprising:
Frame read module, for reading the audio frame of the first track and the audio frame of the second track;
Laminating module, for by the audio frame stack of the audio frame of the first track and the second track, obtains hybrid frame;
Playing module, for playing described hybrid frame.
6. playback of songs device according to claim 5, is characterized in that, also comprises:
Cache module, for the audio frame of buffer memory the first track and the audio frame of the second track.
7. playback of songs device according to claim 5, is characterized in that, also comprises:
Regulation and control module, for regulating and controlling the decibel of the first track audio frame and the decibel of the second track audio frame.
CN201210272521.3A 2012-08-01 2012-08-01 Song playing method and device Pending CN103578514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210272521.3A CN103578514A (en) 2012-08-01 2012-08-01 Song playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210272521.3A CN103578514A (en) 2012-08-01 2012-08-01 Song playing method and device

Publications (1)

Publication Number Publication Date
CN103578514A true CN103578514A (en) 2014-02-12

Family

ID=50050143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210272521.3A Pending CN103578514A (en) 2012-08-01 2012-08-01 Song playing method and device

Country Status (1)

Country Link
CN (1) CN103578514A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318933A (en) * 2014-08-26 2015-01-28 北京洛哈技术有限公司 Original and accompaniment switching method and device
CN105161120A (en) * 2015-08-27 2015-12-16 广州酷狗计算机科技有限公司 Original and accompanying singing switching method and apparatus
CN106782576A (en) * 2017-02-15 2017-05-31 合网络技术(北京)有限公司 audio mixing method and device
CN107454506A (en) * 2017-07-26 2017-12-08 苏飞 Audio playing apparatus, system and system building method
CN112885318A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Multimedia data generation method and device, electronic equipment and computer storage medium
CN114428600A (en) * 2020-10-29 2022-05-03 深圳Tcl新技术有限公司 Audio track gain adjustment method and device, intelligent terminal and storage medium
CN114766050A (en) * 2020-03-06 2022-07-19 爱歌睿钉有限公司 Method and apparatus for decomposing, recombining and playing audio data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262759A (en) * 1988-08-30 1990-03-02 Matsushita Electric Ind Co Ltd Musical player
CN1924992A (en) * 2006-09-12 2007-03-07 东莞市步步高视听电子有限公司 Kara Ok human voice playing method
CN101160615A (en) * 2005-04-25 2008-04-09 索尼株式会社 Musical content reproducing device and musical content reproducing method
CN101267222A (en) * 2007-03-13 2008-09-17 智多微电子(上海)有限公司 Device for controlling multi-channel sound signal volume adjustment in mobile device sound mixing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262759A (en) * 1988-08-30 1990-03-02 Matsushita Electric Ind Co Ltd Musical player
CN101160615A (en) * 2005-04-25 2008-04-09 索尼株式会社 Musical content reproducing device and musical content reproducing method
CN1924992A (en) * 2006-09-12 2007-03-07 东莞市步步高视听电子有限公司 Kara Ok human voice playing method
CN101267222A (en) * 2007-03-13 2008-09-17 智多微电子(上海)有限公司 Device for controlling multi-channel sound signal volume adjustment in mobile device sound mixing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318933A (en) * 2014-08-26 2015-01-28 北京洛哈技术有限公司 Original and accompaniment switching method and device
CN105161120A (en) * 2015-08-27 2015-12-16 广州酷狗计算机科技有限公司 Original and accompanying singing switching method and apparatus
CN105161120B (en) * 2015-08-27 2017-05-31 广州酷狗计算机科技有限公司 Original vocal accompaniment changing method and device
CN106782576A (en) * 2017-02-15 2017-05-31 合网络技术(北京)有限公司 audio mixing method and device
CN106782576B (en) * 2017-02-15 2020-05-22 合一网络技术(北京)有限公司 Audio mixing method and device
CN107454506A (en) * 2017-07-26 2017-12-08 苏飞 Audio playing apparatus, system and system building method
CN112885318A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Multimedia data generation method and device, electronic equipment and computer storage medium
CN114766050A (en) * 2020-03-06 2022-07-19 爱歌睿钉有限公司 Method and apparatus for decomposing, recombining and playing audio data
CN114428600A (en) * 2020-10-29 2022-05-03 深圳Tcl新技术有限公司 Audio track gain adjustment method and device, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103578514A (en) Song playing method and device
Bartlett et al. Practical Recording Techniques: The step-by-step approach to professional audio recording
CN102969010B (en) Recording transcriber and recording reproducting method
WO2007066819A1 (en) Music edit device and music edit method
KR101518294B1 (en) Media Recorded with Multi-Track Media File, Method and Apparatus for Editing Multi-Track Media File
US8670577B2 (en) Electronically-simulated live music
CN101751967A (en) Multimedia file producing and playing method, multimedia file producing device and player
CN101751983A (en) Synchronous accompaniment audio file manufacture method and synchronous accompaniment MP3 player
CN101814308A (en) Reproduction device and reproduction method
KR101029483B1 (en) Equipment and method manufacture ucc music use a file audio multi-channel
JP4107212B2 (en) Music playback device
CN103594105B (en) A kind of method that the CD of use laser disc carries out playing on auto-play piano
US20090192636A1 (en) Media Modeling
CN202339704U (en) Multifunctional carry-on karaoke player
JP2001283516A (en) Method for writing reproducible data on data carrier
CN201910901U (en) Multifunctional karaoke earphone
KR101464797B1 (en) Apparatus and method for making and playing audio for object based audio service
JP2007179604A (en) Music player, reproduction control method, and program
KR100462595B1 (en) Auto equalizing controller using ID-Tag and method thereof
CN202996293U (en) Music playing device with recording function
KR101218801B1 (en) Media File Editing Device, Media File Editing Service Providing Method, and Web-Server Used Therein
RU30456U1 (en) Player
CN201378076Y (en) Player
KR100932778B1 (en) Medium recorded with multi track media file, playing method, and media device thereof
KR20130082483A (en) Omission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140212