WO2018161349A1 - 音乐播放方法、装置及音乐播放设备 - Google Patents

音乐播放方法、装置及音乐播放设备 Download PDF

Info

Publication number
WO2018161349A1
WO2018161349A1 PCT/CN2017/076294 CN2017076294W WO2018161349A1 WO 2018161349 A1 WO2018161349 A1 WO 2018161349A1 CN 2017076294 W CN2017076294 W CN 2017076294W WO 2018161349 A1 WO2018161349 A1 WO 2018161349A1
Authority
WO
WIPO (PCT)
Prior art keywords
music
information
beat
playing
motion
Prior art date
Application number
PCT/CN2017/076294
Other languages
English (en)
French (fr)
Inventor
谢冠宏
吴思颖
夏波
Original Assignee
万魔声学科技有限公司
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 万魔声学科技有限公司 filed Critical 万魔声学科技有限公司
Priority to CN201780000127.5A priority Critical patent/CN107004035B/zh
Priority to PCT/CN2017/076294 priority patent/WO2018161349A1/zh
Publication of WO2018161349A1 publication Critical patent/WO2018161349A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • G06F16/636Filtering based on additional data, e.g. user or group profiles by using biological or physiological data

Definitions

  • Embodiments of the present invention relate to the field of music playing technologies, and in particular, to a music playing method, device, and music playing device.
  • the inventors have found that at least the following problems exist in the related art: the music played by the current music player has fixed beats, tones, and playback rates, and if the user wants to select music suitable for the current sports situation, Manually selecting different tracks requires a temporary suspension of motion to operate the music player, which is inconvenient to operate and has a low user experience.
  • the embodiment of the invention provides a music playing method, device and music playing device capable of playing suitable music according to the movement condition of an athlete, and has convenient operation and high user experience.
  • an embodiment of the present invention provides a music playing method, where the method includes:
  • the motion information is acquired, and the music in the preset music library is played according to the motion information and the beat information of the music.
  • the acquiring the motion information, playing the music in the preset music library according to the motion information and the beat information of the music including:
  • the sports section is acquired Matching degree of the information with the beat information of the currently playing music
  • the matching degree is less than the first preset matching degree threshold, the current music is stopped to be played, and the music with the highest matching degree of the beat information and the sports rhythm information is selected in the preset music library according to the motion rhythm information;
  • the currently played music is adjusted according to the motion tempo information, and then played, so that the beat information of the currently played music matches the motion tempo information.
  • the acquiring the motion information, playing the music in the preset music library according to the motion information and the beat information of the music including:
  • the acquiring the beat information of the music in the preset music library, and assigning the music in the music library to the label indicating the beat information includes:
  • Segmenting the music in the preset music library acquiring beat information of each music piece, and assigning a label for indicating the beat information to each music piece;
  • the motion rhythm information is obtained, and the music segment with the highest matching degree of the beat information and the motion rhythm information is selected in the preset music library according to the motion rhythm information.
  • the beat information includes a music beat
  • Playing the music of different beat information in the preset music library during the playing time period including:
  • the music is played in a fast-to-slow order according to the music beat during each segment time of the playing time period.
  • an embodiment of the present invention provides a music playing device, where the device includes:
  • a label distribution module configured to acquire beat information of music in the preset music library, and assign a label for indicating music to the music in the music library;
  • the music playing module is configured to acquire motion information, and play the music in the preset music library according to the motion information and the beat information of the music.
  • the music playing module includes:
  • a matching confirmation sub-module configured to acquire motion rhythm information and beat information of the currently played music, and confirm whether the beat information of the currently played music matches the motion rhythm information
  • a matching degree obtaining sub-module configured to acquire a matching degree between the motion rhythm information and the beat information of the currently played music if the beat information of the currently played music does not match the motion rhythm information
  • a first music playing submodule configured to stop playing the current music if the matching degree is less than the first preset matching degree threshold, and select beat information in the preset music library according to the motion rhythm information to match the motion rhythm information The highest level of music to play;
  • a second music playing sub-module configured to: after the matching degree is greater than or equal to the first preset matching degree threshold, adjust the currently played music according to the motion rhythm information, and then play, so that the beat information of the currently playing music Matches the motion rhythm information.
  • the music playing module includes:
  • the command acquires a submodule for obtaining a motion mode selection command
  • a play time confirmation submodule configured to determine a play time period and a segmentation performed on the play time period according to the motion mode selection command
  • the third music playing sub-module is configured to play music of different beat information in the preset music library during the playing time period.
  • the label distribution module includes:
  • a label distribution sub-module configured to segment the music in the preset music library, acquire beat information of each music piece, and assign a label for indicating the beat information to each music piece;
  • the music playing module includes:
  • the fourth music playing sub-module is configured to acquire the motion rhythm information, and select, according to the motion rhythm information, the music segment with the highest matching degree of the beat information and the motion rhythm information in the preset music library to play.
  • the beat information includes a music beat
  • the third music playing submodule is further configured to:
  • the music is played in a fast-to-slow order according to the music beat during each segment time of the playing time period.
  • an embodiment of the present invention provides a music playing device, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described above.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instruction is executed by the music playing device, the music playing device is caused to perform the above method.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions for causing a music playing device to execute The music playing method as described above.
  • the embodiment of the present invention can play suitable music according to the movement condition of the athlete, without manual operation by the user, and the operation is convenient and the user experience is high.
  • 1a, 1b, 1c, and 1d are application environments of a music playing method and apparatus according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a music playing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another music playing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a music playing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another music playing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a music playing device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a music playing device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a music playing device according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a music playing device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of hardware of a music playing device according to an embodiment of the present invention.
  • the embodiment of the invention provides a music playing method and device.
  • the above method and device can realize playing a suitable music according to the movement condition of the athlete.
  • the following describes the application environment of the above method and device.
  • the music playing method and apparatus may include a user 10, and an motion information acquiring apparatus 20 for acquiring user motion information.
  • a music playback device 30 that plays music for the user.
  • the user 10 can interact with the music playing device 30 through any suitable type of one or more user interaction devices, for example, the mouse, the button, the remote controller, the touch screen, the somatosensory camera, or the smart device.
  • the wearable device controls the music playback device 30 to perform one or more operations by inputting an instruction.
  • the motion information acquiring device 20 and the music playing device 30 can be communicatively connected via a wired or wireless network, such as the Internet, a local area network, or a wired cable. After the motion information acquisition device acquires the motion information of the athlete, it can be sent to the music playback device through the network.
  • a wired or wireless network such as the Internet, a local area network, or a wired cable.
  • the motion information includes, but is not limited to, a motion rhythm (refers to the number of periodic actions completed in a unit time, such as a step frequency), a heart rate, and the like.
  • a motion rhythm refers to the number of periodic actions completed in a unit time, such as a step frequency
  • a heart rate refers to the number of periodic actions completed in a unit time, such as a step frequency
  • the motion information acquiring device 20 may be a sensor component, which may be mechanical, such as a microswitch; or may be electronic, such as an accelerometer, a pressure sensor, a photosensor, an audio sensor, or the like.
  • the information acquiring device may be built in a certain sports device (for example, a treadmill), may be worn on the human body as a wearable device, or may be built in the music playing device 30, in some aspects of the music playing method and device of the present invention.
  • the motion information acquiring device 20 can also be omitted.
  • the music playback device 30 may be any suitable type of music playback device that provides one or more audio content, such as an MP3 player, an MP4 player, a smart phone, a tablet, a personal computer, a laptop, a personal speaker. , CD player or other smart / non-smart devices.
  • the music playback device is coupled to at least one storage medium for storing audio data, which may be a memory within the music playback device, or a storage medium on the Internet, and may retrieve audio files from the storage medium.
  • the music playback device may also be a combination of one or more electronic devices, such as a smartphone and an analog to digital converter (DAC) connected thereto.
  • DAC analog to digital converter
  • FIG. 1(a), 1(b), 1(c), and 1(d) show four application scenarios for playing music suitable for a sports situation to a user through the music playing device 20, wherein FIG. 1 ( a), FIG. 1(b), FIG. 1(c) include the motion information acquiring device 20, and FIG. 1(d) does not include the motion information acquiring device 20.
  • FIG. 2 is a schematic flowchart diagram of an embodiment of a music playing method according to an embodiment of the present invention. The method is applied to a music playing device, and the method includes:
  • Step 101 Acquire a beat information of music in a preset music library, and assign a label for indicating music to the music in the music library;
  • the preset music library may be stored locally in the music playing device or may be stored on the server, and the music playing device may acquire the music in the preset music library through the network.
  • the music playing device calculates the beat information (such as music beat, pitch, play rate, etc.) of the song, and assigns a label indicating the beat information to it.
  • Step 102 Acquire motion information, and play music in the preset music library according to the motion information and the beat information of the music.
  • the motion information may be information such as an athlete's exercise rhythm, heart rate, or the like, or may be an exerciser's choice of a sport mode.
  • the music player may select information based on the athlete's exercise rhythm, heart rate, or the athlete's choice of exercise mode.
  • the command in the preset music library, finds music with suitable beat information.
  • the embodiment of the invention can play suitable music according to the movement condition of the athlete, without manual operation by the user, convenient operation and high user experience.
  • the music suitable for the exercise state of the athlete can be directly selected according to the beat information recorded in the label, and the running speed can be improved without recalculating the beat information.
  • the motion information may be motion rhythm information, such as a step frequency (step frequency is the number of steps per minute pedal).
  • step frequency is the number of steps per minute pedal.
  • Step 201 Acquire a beat information of music in a preset music library, and assign a label for indicating music to the music in the music library;
  • Step 202 Acquire motion tempo information and beat information of the currently played music, and confirm whether the beat information of the currently played music matches the motion tempo information;
  • the motion information acquiring means detects the motion rhythm of the athlete and then transmits to the music playing device, the music playing device generates BPM information (ie, music beat) according to the motion rhythm of the athlete, and then determines whether the BPM information is related to the music beat of the song being played. Consistently, if they are consistent, the beat information of the currently playing music matches the motion rhythm information of the athlete. If not, the beat information of the currently played music does not match the motion rhythm information of the athlete.
  • the matching degree may be a difference between a music beat calculated according to a motion rhythm and a music beat of a currently playing music, and the larger the difference is, the smaller the matching degree is, and the smaller the difference is. The greater the degree of matching.
  • Step 204 If the matching degree is less than the first preset matching degree threshold, stop playing the current music, and select the matching degree of the beat information and the motion rhythm information in the preset music library according to the motion rhythm information. The highest music segment is played;
  • the music in the preset music library is searched for the beat information and the music rhythm information is matched. Play.
  • Step 205 If the matching degree is greater than or equal to the first preset matching degree threshold, adjust the currently played music according to the motion rhythm information, and then play, so that the beat information of the currently playing music and the motion rhythm information Match.
  • the music playback is not re-selected, but the current music is played according to the exercise rhythm.
  • the music beat is fine-tuned.
  • the difference between the exercise rhythm of the athlete and the music beat of the currently playing music is large, a song suitable for the exercise rhythm is reselected, and if the difference is not large, the played music is finely adjusted according to the exercise rhythm, thereby avoiding When the difference is too big, the music changes so much that the music loses the beauty of the music and becomes noise, which improves the user experience.
  • the music in the preset music library is assigned a label of the beat information according to each music segment, as shown in FIG. 4, the method includes:
  • Step 301 segment the music in the preset music library, obtain the beat information of each music segment, and assign a label for indicating the beat information to each music segment;
  • the music in the preset music library is segmented, and the music may be segmented according to the music piece, or segmented according to time, for example, every 20 seconds.
  • Step 302 Acquire motion tempo information, and select a music segment with the highest matching degree of the beat information and the motion tempo information in the preset music library according to the motion tempo information.
  • This embodiment still takes the music beat information as an example of the music beat, and the motion information acquiring device detects the motion rhythm of the athlete and then transmits it to the music playing device, and the music playing device generates the BPM information (ie, the music beat) according to the motion rhythm of the athlete. Then, in the preset music library, the music piece whose music beat is closest to the BPM information is selected for playing. Finally, the effect formed in the athlete's ear is to play together the pieces of music together, so that the music beat of the music is close to the movement rhythm of the athlete to the maximum extent, and the purpose of maximizing the pleasure of the athlete is achieved.
  • the motion information acquiring device detects the motion rhythm of the athlete and then transmits it to the music playing device, and the music playing device generates the BPM information (ie, the music beat) according to the motion rhythm of the athlete. Then, in the preset music library, the music piece whose music beat is closest to the BPM information is selected for playing.
  • the effect formed in the athlete's ear is
  • the music may be played according to the selection of the movement mode by the athlete, as shown in FIG. 5, the method includes:
  • Step 401 Acquire a beat information of music in a preset music library, and assign a label for indicating music to the music in the music library;
  • Step 402 Acquire a motion mode selection command.
  • Step 403 Determine a playing time period and a segmentation performed on the playing time period according to the motion mode selection command.
  • Step 404 Play music of different beat information in the preset music library during the playing time period.
  • the motion information refers to the motion mode selected by the athlete, and therefore, the application scenario of the embodiment does not require the motion information acquiring device.
  • the choice of the exercise mode of the athlete can be set directly on the music playing device.
  • a plurality of menus may be set on the music playing device, and the player selects the motion mode by selecting the menu, and then the music playing device plays the corresponding music according to the motion mode.
  • the menu content is "from slow to fast within 30 minutes (referring to music beats from slow to fast) and then from fast to slow (referring to music beats from fast to slow) playing 8 songs" or "playing from slow to fast within 10 minutes” Three songs.”
  • the program interface can also be set on the music playing device, and the athlete can select different motion modes by operating the program interface, and then the music playing device plays the corresponding music according to the motion mode.
  • the athlete can set a play time on the program interface and divide the play time into several segments, play a few songs, play in a fast to slow order according to music beats, or play in a slow to fast order according to music beats, etc. information.
  • an athlete wants to play 8 songs in 30 minutes, the first 15 minutes to play songs in slow to fast order, and 15 minutes to play songs in order of fast and slow. Then the athlete can set the playing time to 30 minutes, play 8 songs, divide the playing time into two paragraphs, play the songs in the order of slow to fast according to the music beat, and the order of the music beats from fast to slow. Play the song.
  • the final playback effect will be a song that gradually speeds up the music beat from the start of the sport to 15 minutes, and the song that is gradually slowed down during the 15 minutes of exercise to play the music beat, then the music beat is played 5 minutes before and 5 minutes after the exercise. Slow songs.
  • the method further includes: performing a voice prompt for the motion situation, and the prompting content, for example, when the motion rhythm is inconsistent with the music beat, the voice reminds the athlete to slow down to the athlete. Speed up the pace. Or suggest how many calories the athlete exercise consumes.
  • the embodiment of the present invention further provides a music playing device, where the music playing device 500 includes:
  • a label distribution module 501 configured to acquire beat information of music in a preset music library, and assign a label for indicating music to the music in the music library;
  • the music playing module 502 is configured to acquire motion information, and play the music in the preset music library according to the motion information and the beat information of the music.
  • the embodiment of the invention can play suitable music according to the movement condition of the athlete, without manual operation by the user, convenient operation and high user experience.
  • the music suitable for the exercise state of the athlete can be directly selected according to the beat information recorded in the label, and the running speed can be improved without recalculating the beat information.
  • the music playing device 600 includes:
  • the label distribution module 601 and the music playing module 602, the music playing module 602 includes:
  • a matching confirmation sub-module 6021 configured to acquire motion rhythm information and beat information of the currently played music, and confirm whether the beat information of the currently played music matches the motion rhythm information
  • the matching degree acquisition sub-module 6022 is configured to acquire a matching degree between the motion rhythm information and the beat information of the currently played music if the beat information of the currently played music does not match the motion rhythm information;
  • the first music playing sub-module 6023 is configured to stop playing the current music if the matching degree is less than the first preset matching degree threshold, and select the beat information and the motion rhythm information in the preset music library according to the motion rhythm information. The most compatible music is played;
  • the second music playing sub-module 6024 is configured to: if the matching degree is greater than or equal to the first preset matching degree threshold, adjust the currently played music according to the motion rhythm information, and then play, so that the beat of the currently playing music is performed. The information matches the motion rhythm information.
  • the matching confirmation sub-module 6021 acquires the motion rhythm information and the beat information of the currently played music, and confirms whether the beat information of the currently played music matches the motion rhythm information; if the beat information of the currently played music does not match the motion rhythm information, The matching degree obtaining sub-module 6022 acquires a matching degree between the motion rhythm information and the beat information of the currently played music;
  • the first music playing sub-module 6023 stops playing the current music, and selects the highest matching degree between the beat information and the motion rhythm information in the preset music library according to the motion rhythm information.
  • the music is played; if the matching degree is greater than or equal to the first preset matching degree threshold, the second music playing sub-module 6024 adjusts the currently played music according to the motion rhythm information, and then plays, so that the beat of the currently playing music is made.
  • the information matches the motion rhythm information.
  • the music playback apparatus 700 includes:
  • the label distribution module 701 includes:
  • a label distribution sub-module 7011 configured to segment the music in the preset music library, acquire beat information of each music segment, and assign a label for indicating the beat information to each music segment;
  • the music playing module 702, the music playing module 7021 includes:
  • the fourth music playing sub-module is configured to acquire the motion rhythm information, and select, according to the motion rhythm information, the music segment with the highest matching degree of the beat information and the motion rhythm information in the preset music library to play.
  • the music playing device 800 includes:
  • the label distribution module 801 and the music playing module 802, the music playing module 802 includes:
  • the command acquisition submodule 8021 is configured to acquire a motion mode selection command.
  • a play time confirmation sub-module 8022 configured to determine a play time period and a segmentation performed on the play time period according to the motion mode selection command
  • the third music playing sub-module 8023 is configured to play music of different beat information in the preset music library during the playing time period.
  • the beat information includes a music beat
  • the third music playing submodule is further configured to:
  • the music is played in a fast-to-slow order according to the music beat during each segment time of the playing time period.
  • the above-mentioned music playing device can execute the music playing method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the executing method.
  • the music playing method provided by the embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing the hardware structure of a music playing device according to an embodiment of the present invention. As shown in FIG. 10, the music playing device 900 includes:
  • One or more processors 901 and memory 902, one processor 901 is taken as an example in FIG.
  • the processor 901 and the memory 902 can be connected by a bus or other means, and the connection in FIG. 901 is exemplified by a bus connection.
  • the memory 902 is a non-volatile computer readable storage medium and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the music playing method in the embodiment of the present invention. / unit (for example, the tag assignment module 501 and the music play module 502 shown in FIG. 6).
  • the processor 901 executes various functional applications and data processing of the music playing device by executing non-volatile software programs, instructions, and units stored in the memory 902, that is, implementing the music playing method of the above method embodiment.
  • the memory 902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the music playback device, and the like.
  • memory 902 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 902 can optionally include memory remotely located relative to processor 901 that can be connected to the music playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more units are stored in the memory 902, and when executed by the one or more processors 901, perform a music playing method in any of the above method embodiments, for example, performing the above described FIG. Method steps 101 to 102, method steps 201 to 205 in FIG. 3, method steps 301 to 302 in FIG. 4, and method steps 401 to 404 in FIG.
  • the music playing device can perform the music playing method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the executing method.
  • the music playing method provided by the embodiment of the present invention.
  • Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the above
  • the method steps 101 to 102 in FIG. 2, the method steps 201 to 205 in FIG. 3, the method steps 301 to 302 in FIG. 4, and the method steps 401 to 404 in FIG. 5 are implemented in FIG. Functions of modules 501-502, modules 601-602 and sub-modules 6021-6024 in FIG. 7, modules 701-702 and sub-modules 7011 and 7021 in FIG. 8, and modules 801-802 and sub-modules 8021-8023 in FIG. .
  • the music playing device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MI D and UMPC devices, etc., such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may be or It may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware.
  • a person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Library & Information Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Physiology (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

本发明实施例公开了一种音乐播放方法、装置及音乐播放设备,所述方法包括:获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。本发明实施例能够根据运动者的运动状况播放适合的音乐,无需用户手动操作,操作方便、用户体验高。

Description

音乐播放方法、装置及音乐播放设备 技术领域
本发明实施例涉及音乐播放技术领域,特别涉及一种音乐播放方法、装置及音乐播放设备。
背景技术
音乐作为一门艺术,能使人心情愉悦,很多爱好体育锻炼的人喜欢在运动时听音乐。音乐能影响运动者的运动节奏,同时还会影响运动的效果,合适的音乐能够带来更好的运动效果。
实现本发明过程中,发明人发现相关技术中至少存在如下问题:目前的音乐播放器播放的音乐其节拍、音调、播放速率等都是固定的,如果用户想选择适合当前运动情况的音乐只能手动选择不同的曲目,需要暂时中止运动来操作音乐播放器,操作不便,用户体验低。
发明内容
本发明实施例提供一种能根据运动者的运动状况播放适合的音乐的音乐播放方法、装置及音乐播放设备,操作方便、用户体验高。
第一方面,本发明实施例提供了一种音乐播放方法,所述方法包括:
获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
可选的,所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节 奏信息与当前播放音乐的节拍信息的匹配度;
如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;
如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
可选的,所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
获取运动方式选择命令;
根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
在播放时间段内播放预设曲库中不同节拍信息的音乐。
可选的,所述获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签,包括:
将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
可选的,所述节拍信息包括音乐节拍;
所述在播放时间段内播放预设曲库中不同节拍信息的音乐,包括:
在播放时间段的各个分段时间内按照音乐节拍由慢到快的顺序播放音乐;或者,
在播放时间段的各个分段时间内按照音乐节拍由快到慢的顺序播放音乐。
第二方面,本发明实施例提供了一种音乐播放装置,所述装置包括:
标签分配模块,用于获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
音乐播放模块,用于获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
可选的,所述音乐播放模块包括:
匹配确认子模块,用于获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
匹配度获取子模块,用于如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
第一音乐播放子模块,用于如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;
第二音乐播放子模块,用于如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
可选的,所述音乐播放模块包括:
命令获取子模块,用于获取运动方式选择命令;
播放时间确认子模块,用于根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
第三音乐播放子模块,用于在播放时间段内播放预设曲库中不同节拍信息的音乐。
可选的,所述标签分配模块包括:
标签分配子模块,用于将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
所述音乐播放模块包括:
第四音乐播放子模块,用于获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
可选的,所述节拍信息包括音乐节拍;
所述第三音乐播放子模块还用于:
在播放时间段的各个分段时间内按照音乐节拍由慢到快的顺序播放音乐;或者,
在播放时间段的各个分段时间内按照音乐节拍由快到慢的顺序播放音乐。
第三方面,本发明实施例提供了一种音乐播放设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的方法。
第四方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被音乐播放设备执行时,使所述音乐播放设备执行上述的方法。
第五方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使音乐播放设备执行如上所述的音乐播放方法。
本发明实施例的有益效果是:本发明实施例能够根据运动者的运动状况播放适合的音乐,无需用户手动操作,操作方便、用户体验高。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1a、1b、1c、1d是本发明实施例提供的音乐播放方法和装置的应用环境 的示意图;
图2是本发明实施例提供的一种音乐播放方法的流程示意图;
图3是本发明实施例提供的另一种音乐播放方法的流程示意图;
图4是本发明实施例提供的一种音乐播放方法的流程示意图;
图5是本发明实施例提供的另一种音乐播放方法的流程示意图;
图6是本发明实施例提供的音乐播放装置的结构示意图;
图7是本发明实施例提供的音乐播放装置的结构示意图;
图8是本发明实施例提供的音乐播放装置的结构示意图;
图9是本发明实施例提供的音乐播放装置的结构示意图;
图10是本发明实施例提供的音乐播放设备的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供了一种音乐播放方法和装置,上述方法和装置可以实现根据运动者的运动情况播放适合的音乐,以下举例说明上述方法和装置的应用环境。
图1是本发明实施例提供的音乐播放方法和装置的应用环境的示意图,该音乐播放方法和装置在实际应用中,可以包括用户10,以及用于获取用户运动信息的运动信息获取装置20和为用户播放音乐的音乐播放设备30。
其中,所述用户10可以通过任何合适的类型的、一种或者多种用户交互设备与音乐播放设备30交互,例如,这些用户交互设备可以是鼠标、按键、遥控器、触摸屏、体感摄像头或者智能可穿戴设备,通过输入指令控制音乐播放设备30进行一种或者多种操作。
运动信息获取装置20和音乐播放设备30可以通过有线或者无线网络进行通信连接,例如因特网、局域网或者有线线缆。运动信息获取装置获取了运动者的运动信息后可以通过网络发送给音乐播放设备。
所述运动信息包括但不限于运动节奏(指单位时间内完成的周期性动作的次数,例如步频)、心率等。
运动信息获取装置20可以为传感器组件,所述的传感器组件可以是机械式的,例如微动开关;也可以是电子式的,例如加速度传感器、压力传感器、光电传感器、音频传感器等。
所述信息获取装置可以内置于某一运动设备(例如跑步机)内,也可以作为穿戴装置穿戴在人体上,也可以内置在音乐播放设备30内,在本发明音乐播放方法和装置的某些应用场合,也可以省略运动信息获取装置20。
所述音乐播放设备30可以是任何合适的,提供一个或者多个音频内容的各类型音乐播放设备,例如,MP3播放器、MP4播放器、智能手机、平板电脑、个人电脑、手提电脑、个人音响、CD机或者其它智能/非智能设备。音乐播放设备耦合至至少一个用于存储音频数据的存储介质中,这些存储介质可以是音乐播放设备内的存储器,也可以是互联网上的存储介质,并可以从存储介质中获取音频文件。此外,该音乐播放设备还可以是一种或者多种电子设备的组合,例如,智能手机以及与其连接的模数转换器(DAC)。
图1(a)、图1(b)、图1(c)和图1(d)示出了四种通过音乐播放设备20向用户播放适合运动情况的音乐的应用场景,其中,图1(a)、图1(b)、图1(c)包括运动信息获取装置20,图1(d)不包括运动信息获取装置20。
下面结合具体实施例对本发明音乐播放方法和装置作进一步阐述。
图2为本发明提供的一种音乐播放方法的一个实施例的流程示意图,所述方法应用于音乐播放设备,所述方法包括:
步骤101:获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
所述预设曲库可以存储在音乐播放设备本地,也可以存储在服务器上,音乐播放设备可以通过网络获取预设曲库中的乐曲。当预设曲库中新增一首歌曲时,音乐播放设备即计算该歌曲的节拍信息(例如音乐节拍、音调、播放速率等),并为其分配表示节拍信息的标签。
步骤102:获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
所述运动信息可以是运动者的运动节奏、心率等信息,也可以是运动者对运动方式的选择,音乐播放设备会根据运动者的运动节奏、心率等信息,或者运动者对运动方式的选择指令,在预设曲库中的查找具有适合节拍信息的音乐。
本发明实施例能够根据运动者的运动状况播放适合的音乐,无需用户手动操作,操作方便、用户体验高。为曲库中的音乐分配节拍信息标签,可以直接根据标签记载的节拍信息选择适合运动者运动状况的音乐,无需重新计算节拍信息,可以提高运行速度。
可选的,所述运动信息可以为运动节奏信息,例如步频(步频为每分钟脚踏的步数)。如图3所示,为本发明提供的一种音乐播放方法的另一实施例的流程示意图,在该实施例中,所述方法包括:
步骤201:获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
步骤202:获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
该实施例以音乐节拍信息为音乐节拍(即BPM=Beats Per Minute,每分钟节拍数的单位)为例来说明。运动信息获取装置检测运动者的运动节奏然后发送给音乐播放设备,音乐播放设备根据运动者的运动节奏生成BPM信息(即音乐节拍),然后判断所述BPM信息是否与正在播放的歌曲的音乐节拍一致,如果一致,则当前播放音乐的节拍信息匹配运动者的运动节奏信息,如果不一致,则当前播放音乐的节拍信息不匹配运动者的运动节奏信息。
203:如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
在实际应用中,所述匹配度可以为根据运动节奏计算的音乐节拍与当前播放音乐的音乐节拍的差值,该差值越大二者的匹配度越小,该差值越小二者的匹配度越大。
步骤204:如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度 最高的音乐段进行播放;
如果运动者的运动节奏与当前播放歌曲的音乐节拍差异较大(例如运动者慢跑,播放的是快歌),则重新在预设曲库中搜索节拍信息与所述运动节奏信息匹配的音乐进行播放。
步骤205:如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
如果运动者的运动节奏与当前播放歌曲的音乐节拍差异较小(例如运动者慢跑,播放的是稍快一点的慢歌),则不重新选择音乐播放,而是根据运动节奏对当前播放音乐的音乐节拍进行微调。
本发明实施例当运动者的运动节奏与当前播放音乐的音乐节拍差异较大时,重新选择一首适合运动节奏的歌曲,如果差异不大则根据运动节奏对播放的音乐进行微调,这样可以避免差异过大时音乐变奏厉害,使音乐失去了音乐的美感而成为噪音,提高了用户体验。
可选的,在所述音乐播放方法的某些实施例中,预设曲库中的音乐按各个音乐段分配节拍信息的标签,如图4所示,所述方法包括:
步骤301:将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
其中,对预设曲库中的音乐进行分段,可以根据音乐的乐段进行分段,或者根据时间进行分段,例如每20秒分为一段。
步骤302:获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
该实施例仍以音乐节拍信息为音乐节拍为例来说明,运动信息获取装置检测运动者的运动节奏然后发送给音乐播放设备,音乐播放设备根据运动者的运动节奏生成BPM信息(即音乐节拍),然后在预设曲库中选择音乐节拍最接近该BPM信息的音乐段进行播放。最后在运动者耳中形成的效果是将各个音乐段串在一起进行播放,使音乐的音乐节拍最大限度的接近运动者的运动节奏,起到了最大限度愉悦运动者的目的。
可选的,在所述音乐播放方法的其他实施例中,可以根据运动者对运动方式的选择播放音乐,如图5所示,所述方法包括:
步骤401:获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
步骤402:获取运动方式选择命令;
步骤403:根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
步骤404:在播放时间段内播放预设曲库中不同节拍信息的音乐。
该实施例仍以音乐节拍信息为音乐节拍为例来说明,在该实施例中,所述运动信息指的是运动者选择的运动方式,因此,该实施例的应用场景不需要运动信息获取装置,运动者对运动方式的选择可以直接在音乐播放设备上设置。
在实际应用中,可以在音乐播放设备上设置多个菜单,运动者通过对菜单的选择完成运动方式的选择,然后音乐播放设备根据该运动方式播放相应的音乐。例如菜单内容为“30分钟内由慢到快(指音乐节拍由慢到快)再由快到慢(指音乐节拍由快到慢)播放8首歌”或者“10分钟内由慢到快播放三首歌”。
可选的,还可以在音乐播放设备上设置程序界面,运动者可以通过对程序界面的操作选择不同的运动方式,然后音乐播放设备根据该运动方式播放相应的音乐。例如,运动者可以在程序界面上设置播放时间以及将所述播放时间分成几段,播放几首歌曲,是按音乐节拍由快到慢的顺序播放还是按音乐节拍由慢到快的顺序播放等信息。
例如,运动者想选择30分钟时间内播放8首歌,前15分钟按音乐节拍由慢到快的顺序播放歌曲,后15分钟按音乐节拍由快到慢的顺序播放歌曲。那么运动者可以设置播放时间为30分钟,播放8首歌,将该播放时间分为两段,前一段按音乐节拍由慢到快的顺序播放歌曲,后一段按音乐节拍由快到慢的顺序播放歌曲。
最后播放的效果将是从运动开始至15分钟期间播放音乐节拍逐步加快的歌曲,运动15分钟至完成期间播放音乐节拍逐步变慢的歌曲,那么在运动前5分钟和后5分钟播放音乐节拍较为缓慢的歌曲。
可选的,在所述方法的某些实施例中,所述方法还包括:将运动情况进行语音提示,提示的内容例如运动节奏与音乐节拍不一致时,语音提醒运动者跑慢了要运动者加快脚步。或者提示运动者运动消耗了多少卡路里等。
相应的,如图6所示,本发明实施例还提供了一种音乐播放装置,所述音乐播放装置500包括:
标签分配模块501,用于获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
音乐播放模块502,用于获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
本发明实施例能够根据运动者的运动状况播放适合的音乐,无需用户手动操作,操作方便、用户体验高。为曲库中的音乐分配节拍信息标签,可以直接根据标签记载的节拍信息选择适合运动者运动状况的音乐,无需重新计算节拍信息,可以提高运行速度。
可选的,如图7所示,在所述装置的其他实施例中,所述音乐播放装置600包括:
标签分配模块601和音乐播放模块602,所述音乐播放模块602包括:
匹配确认子模块6021,用于获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
匹配度获取子模块6022,用于如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
第一音乐播放子模块6023,用于如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;
第二音乐播放子模块6024,用于如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
所述匹配确认子模块6021获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;如果当前播放音乐的节拍信息不匹配所述运动节奏信息,匹配度获取子模块6022获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
如果所述匹配度小于第一预设匹配度阀值,第一音乐播放子模块6023停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;如果所述匹配度大于或者等于第一预设匹配度阀值,第二音乐播放子模块6024根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
可选的,如图8所示,在所述装置的其他实施例中,所述音乐播放装置700包括:
标签分配模块701,所述标签分配模块701包括:
标签分配子模块7011,用于将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
音乐播放模块702,所述音乐播放模块7021包括:
第四音乐播放子模块,用于获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
可选的,如图9所示,在所述装置的其他实施例中,所述音乐播放装置800包括:
标签分配模块801和音乐播放模块802,所述音乐播放模块802包括:
命令获取子模块8021,用于获取运动方式选择命令;
播放时间确认子模块8022,用于根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
第三音乐播放子模块8023,用于在播放时间段内播放预设曲库中不同节拍信息的音乐。
可选的,在所述装置的某些实施例中,所述节拍信息包括音乐节拍;
所述第三音乐播放子模块还用于:
在播放时间段的各个分段时间内按照音乐节拍由慢到快的顺序播放音乐;或者,
在播放时间段的各个分段时间内按照音乐节拍由快到慢的顺序播放音乐。
需要说明的是,上述音乐播放装置可执行本发明实施例所提供的音乐播放方法,具备执行方法相应的功能模块和有益效果。未在音乐播放装置实施例中详尽描述的技术细节,可参见本发明实施例所提供的音乐播放方法。
图10是本发明实施例提供的音乐播放设备的硬件结构示意图,如图10所示,该音乐播放设备900包括:
一个或多个处理器901以及存储器902,图9中以一个处理器901为例。
处理器901和存储器902可以通过总线或者其他方式连接,图901中以通过总线连接为例。
存储器902作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的音乐播放方法对应的程序指令/单元(例如,附图6所示的标签分配模块501和音乐播放模块502)。处理器901通过运行存储在存储器902中的非易失性软件程序、指令以及单元,从而执行音乐播放设备的各种功能应用以及数据处理,即实现上述方法实施例音乐播放方法。
存储器902可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据音乐播放设备使用所创建的数据等。此外,存储器902可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器902可选包括相对于处理器901远程设置的存储器,这些远程存储器可以通过网络连接至音乐播放设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个单元存储在所述存储器902中,当被所述一个或者多个处理器901执行时,执行上述任意方法实施例中的音乐播放方法,例如,执行以上描述的图2中的方法步骤101至步骤102、图3中的方法步骤201至步骤205、图4中的方法步骤301至步骤302、图5中的方法步骤401至步骤404, 实现图6中的模块501-502、图7中的模块601-602和子模块6021-6024、图8中的模块701-702和子模块7011和7021、以及图9中的模块801-802和子模块8021-8023的功能。
上述音乐播放设备可执行本发明实施例所提供的音乐播放方法,具备执行方法相应的功能模块和有益效果。未在音乐播放设备实施例中详尽描述的技术细节,可参见本发明实施例所提供的音乐播放方法。
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图2中的方法步骤101至步骤102、图3中的方法步骤201至步骤205、图4中的方法步骤301至步骤302、图5中的方法步骤401至步骤404,实现图6中的模块501-502、图7中的模块601-602和子模块6021-6024、图8中的模块701-702和子模块7011和7021、以及图9中的模块801-802和子模块8021-8023的功能。
本申请实施例的音乐播放设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MI D和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有音乐播放功能的电子装置。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也 可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (13)

  1. 一种音乐播放方法,其特征在于,所述方法包括:
    获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
    获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
  2. 根据权利要求1所述的方法,其特征在于,所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
    获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
    如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
    如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;
    如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
  3. 根据权利要求1所述的方法,其特征在于,所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
    获取运动方式选择命令;
    根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
    在播放时间段内播放预设曲库中不同节拍信息的音乐。
  4. 根据权利要求1所述的方法,其特征在于,所述获取预设曲库中音乐的 节拍信息,为曲库中的音乐分配用以表示节拍信息的标签,包括:
    将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
    所述获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐,包括:
    获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
  5. 根据权利要求3所述的方法,其特征在于,所述节拍信息包括音乐节拍;
    所述在播放时间段内播放预设曲库中不同节拍信息的音乐,包括:
    在播放时间段的各个分段时间内按照音乐节拍由慢到快的顺序播放音乐;或者,
    在播放时间段的各个分段时间内按照音乐节拍由快到慢的顺序播放音乐。
  6. 一种音乐播放装置,其特征在于,所述装置包括:
    标签分配模块,用于获取预设曲库中音乐的节拍信息,为曲库中的音乐分配用以表示节拍信息的标签;
    音乐播放模块,用于获取运动信息,根据运动信息和音乐的节拍信息播放所述预设曲库中的音乐。
  7. 根据权利要求6所述的装置,其特征在于,所述音乐播放模块包括:
    匹配确认子模块,用于获取运动节奏信息与当前播放音乐的节拍信息,并确认当前播放音乐的节拍信息是否匹配所述运动节奏信息;
    匹配度获取子模块,用于如果当前播放音乐的节拍信息不匹配所述运动节奏信息,获取所述运动节奏信息与当前播放音乐的节拍信息的匹配度;
    第一音乐播放子模块,用于如果所述匹配度小于第一预设匹配度阀值,则停止播放当前音乐,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐进行播放;
    第二音乐播放子模块,用于如果所述匹配度大于或者等于第一预设匹配度阀值,则根据所述运动节奏信息调整当前播放的音乐后进行播放,以使当前播放音乐的节拍信息与所述运动节奏信息相匹配。
  8. 根据权利要求6所述的装置,其特征在于,所述音乐播放模块包括:
    命令获取子模块,用于获取运动方式选择命令;
    播放时间确认子模块,用于根据运动方式选择命令确定播放时间段以及对所述播放时间段进行的分段;
    第三音乐播放子模块,用于在播放时间段内播放预设曲库中不同节拍信息的音乐。
  9. 根据权利要求6所述的装置,其特征在于,所述标签分配模块包括:
    标签分配子模块,用于将预设曲库中的音乐进行分段,获取各个音乐段的节拍信息,并为各个音乐段分配用以表示节拍信息的标签;
    所述音乐播放模块包括:
    第四音乐播放子模块,用于获取运动节奏信息,根据运动节奏信息在预设曲库中选取节拍信息与所述运动节奏信息匹配度最高的音乐段进行播放。
  10. 根据权利要求8所述的装置,其特征在于,所述节拍信息包括音乐节拍;
    所述第三音乐播放子模块还用于:
    在播放时间段的各个分段时间内按照音乐节拍由慢到快的顺序播放音乐;或者,
    在播放时间段的各个分段时间内按照音乐节拍由快到慢的顺序播放音乐。
  11. 一种音乐播放设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5的任一 项所述的方法。
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被音乐播放设备执行时,使所述音乐播放设备执行权利要求1-5的任一项所述的方法。
  13. 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使音乐播放设备执行权利要求1-5的任一项所述的方法。
PCT/CN2017/076294 2017-03-10 2017-03-10 音乐播放方法、装置及音乐播放设备 WO2018161349A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000127.5A CN107004035B (zh) 2017-03-10 2017-03-10 音乐播放方法、装置及音乐播放设备
PCT/CN2017/076294 WO2018161349A1 (zh) 2017-03-10 2017-03-10 音乐播放方法、装置及音乐播放设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/076294 WO2018161349A1 (zh) 2017-03-10 2017-03-10 音乐播放方法、装置及音乐播放设备

Publications (1)

Publication Number Publication Date
WO2018161349A1 true WO2018161349A1 (zh) 2018-09-13

Family

ID=59436009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076294 WO2018161349A1 (zh) 2017-03-10 2017-03-10 音乐播放方法、装置及音乐播放设备

Country Status (2)

Country Link
CN (1) CN107004035B (zh)
WO (1) WO2018161349A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107998595A (zh) * 2017-11-27 2018-05-08 轻奔智能科技(上海)有限公司 跑步机上通过预设音乐bpm变化控制速度的控制方法
CN108042973A (zh) * 2017-11-27 2018-05-18 轻奔智能科技(上海)有限公司 跑步机上通过音乐bpm变速带动跑步的控制方法
CN111125816A (zh) * 2019-12-05 2020-05-08 深圳智锐通科技有限公司 一种智能绿道的设计方法和装置
CN113050848A (zh) * 2019-12-26 2021-06-29 佛山市云米电器科技有限公司 音乐播放方法、系统、设备及计算机可读存储介质
CN111506765B (zh) * 2020-04-03 2023-09-05 咪咕音乐有限公司 控制乐曲播放节奏的方法、装置、电子设备及存储介质
CN112837707A (zh) * 2021-01-29 2021-05-25 苏州车萝卜汽车电子科技有限公司 多媒体播放控制方法、装置、设备和存储介质
CN113742514B (zh) * 2021-09-03 2023-11-24 林飞鹏 一种音乐精准搜索方法及装置
CN113703713A (zh) * 2021-09-15 2021-11-26 上海探寻信息技术有限公司 一种结合心率和步频得切歌方法、装置、介质及设备

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105304101A (zh) * 2015-10-29 2016-02-03 长沙相对音乐文化创作服务有限公司 通过侦测人体动作频率来实现与其匹配音乐播放的方法
CN105549740A (zh) * 2015-12-10 2016-05-04 广州酷狗计算机科技有限公司 一种播放音频数据的方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953045A (zh) * 2005-09-09 2007-04-25 曹坚 使数字音乐播放器按运动节奏播放相应节奏音乐的方法
JP2010531159A (ja) * 2007-06-14 2010-09-24 ハーモニックス・ミュージック・システムズ・インコーポレイテッド ロックバンド疑似体験システム及び方法。
KR101118344B1 (ko) * 2011-07-20 2012-03-09 (주)네오위즈게임즈 리듬 게임 장치, 게임 방법 및 기록매체
CN105824885A (zh) * 2016-03-10 2016-08-03 北京睿步科技有限公司 一种音乐智能推送方法
CN106372248A (zh) * 2016-09-22 2017-02-01 广东远峰电子科技股份有限公司 一种音乐播放方法及装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105304101A (zh) * 2015-10-29 2016-02-03 长沙相对音乐文化创作服务有限公司 通过侦测人体动作频率来实现与其匹配音乐播放的方法
CN105549740A (zh) * 2015-12-10 2016-05-04 广州酷狗计算机科技有限公司 一种播放音频数据的方法和装置

Also Published As

Publication number Publication date
CN107004035B (zh) 2021-02-23
CN107004035A (zh) 2017-08-01

Similar Documents

Publication Publication Date Title
WO2018161349A1 (zh) 音乐播放方法、装置及音乐播放设备
US11114128B2 (en) Systems and methods of interactive exercising
US11256471B2 (en) Media content selection based on physiological attributes
US9235203B1 (en) Mobile device audio playback
US20220253272A1 (en) System for Managing Transitions Between Media Content Items
US9984153B2 (en) Electronic device and music play system and method
US20170161380A1 (en) Server and music service providing system and method
US11079918B2 (en) Adaptive audio and video channels in a group exercise class
CN104460981A (zh) 基于生物统计参数给出音频
US20150142147A1 (en) Audio system for rhythm-based activity
US20150258415A1 (en) Physiological rate coaching by modifying media content based on sensor data
US11048748B2 (en) Search media content based upon tempo
BRPI0707119A2 (pt) aparelho de reprodução de conteúdo, método de reprodução de conteúdo, e, programa
US10055413B2 (en) Identifying media content
CN104618446A (zh) 一种实现多媒体推送的方法和装置
US10031720B2 (en) Controlling audio tempo based on a target heart rate
JP5471980B2 (ja) 運動支援装置、運動支援システム、運動支援方法およびプログラム
CN106572386A (zh) 一种基于时间的背景音乐的选取方法及系统
JP2014123085A (ja) カラオケにおいて歌唱に合わせて視聴者が行う身体動作等をより有効に演出し提供する装置、方法、およびプログラム
WO2024019817A1 (en) Customized dialogue support
JP2023121414A (ja) 選曲装置、選曲方法及びプログラム
TW201535294A (zh) 用以輔助健身的多媒體編輯方法
CN108090195A (zh) 一种歌曲播放方法和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17899613

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899613

Country of ref document: EP

Kind code of ref document: A1