CN103996405B - music interaction method and system - Google Patents

music interaction method and system Download PDF

Info

Publication number
CN103996405B
CN103996405B CN201410234584.9A CN201410234584A CN103996405B CN 103996405 B CN103996405 B CN 103996405B CN 201410234584 A CN201410234584 A CN 201410234584A CN 103996405 B CN103996405 B CN 103996405B
Authority
CN
China
Prior art keywords
signal
music
electromyographic
sensitive
user
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.)
Active
Application number
CN201410234584.9A
Other languages
Chinese (zh)
Other versions
CN103996405A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201410234584.9A priority Critical patent/CN103996405B/en
Publication of CN103996405A publication Critical patent/CN103996405A/en
Application granted granted Critical
Publication of CN103996405B publication Critical patent/CN103996405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Auxiliary Devices For Music (AREA)

Abstract

The present invention provides a kind of music interaction method and system, and wherein, described method includes, and obtains user's sensitive signal to currently playing music track;Obtain the music signal corresponding with described music track;Described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal;Described correlation coefficient and preset first threshold value are compared, if described correlation coefficient is be more than or equal to described first threshold, it is determined that described user likes currently playing music track.Said method simplification prior art judges the process that music track is liked by user, and improves the accuracy rate identifying that music track is liked by user.

Description

Music interaction method and system
Technical field
The present invention relates to music interaction technology, particularly relate to a kind of music interaction method and system.
Background technology
Along with the development of modern society, music becomes indispensable element in people's daily life.But the kind of music and quantity get more and more, when appreciating music, player cannot meet the song of user's request by Automatic-searching, and then reduces Consumer's Experience.For example, user is when driving, if player is arranged in pocket so that user cannot change the music track oneself liked in player in time.
For this, prior art proposes a kind of method that music track in player is automatically switched, such as, obtained the mood information of user from aspects such as the expression of user's face, physical signs by sentiment analysis technology, judge user is to whether music track currently playing in player is liked according to user mood information, and then realize the music track of automatic switchover player.It is to say, sentiment analysis of the prior art is to determine that music track is liked degree by user by image and various physiological parameter.
But, when user is when carrying out strenuous exercise, can there is obvious change in physiological parameter, causes identifying that the mood information of user is inaccurate.Additionally, the process of above-mentioned identification user mood information is extremely complex, and the mood information according to user determines that user is low to the accuracy rate liked of music track.
Summary of the invention
For defect of the prior art, the present invention provides a kind of music interaction method and system, for simplifying the process judging in prior art that music track is liked by user, and improves the accuracy rate identifying that music track is liked by user.
First aspect, the present invention provides a kind of music interaction method, including:
Obtain user's sensitive signal to currently playing music track;
Obtain the music signal corresponding with described music track;
Described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal;
Described correlation coefficient and preset first threshold value are compared, if described correlation coefficient is be more than or equal to described first threshold, it is determined that described user likes currently playing music track.
Alternatively, described acquisition user's sensitive signal to currently playing music track, including:
When playing described music track, gather multiple first electromyographic signals of described user;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal;
Sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
Alternatively, described the plurality of first electromyographic signal being averaging, before obtaining the second electromyographic signal, described method also includes:
Remove the noise in the plurality of first electromyographic signal, obtain removing multiple first electromyographic signals of noise;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal, including:
Multiple first electromyographic signals of described removal noise are averaging, obtain the second electromyographic signal.
Alternatively, described employing sliding window mode obtains at least one sensitive signal in described second electromyographic signal, including:
Obtain the meansigma methods of the absolute value of described second electromyographic signal amplitude, obtain Second Threshold;
Adopting length is that the sliding window interval X2ms of X1ms slides in the time range of described second electromyographic signal, obtains N number of subwindow;
Obtain the meansigma methods of the absolute value of the second electromyographic signal amplitude of each subwindow corresponding region, obtain the first numerical value of each subwindow corresponding region;
If described first numerical value is be more than or equal to described Second Threshold, then will be greater than the initial time being equal to the subwindow belonging to the first numerical value of the described Second Threshold initial time as a sensitive signal;
The initial time of each sensitive signal is increased Ms as the termination time of this sensitive signal, obtain the sensitive signal of described second electromyographic signal;
Wherein, X2 is less than or equal to persistent period section less than the second electromyographic signal of X1, X1, and described N is normal number, and described M is less than or equal to 10.
Alternatively, described Second Threshold changes along with the change of the persistent period section of described second electromyographic signal.
Alternatively, the music signal that described acquisition is corresponding with described music track, including:
When playing described music track, gather the music signal of described music track;
Remove the noise in described music signal, obtain removing the music signal of noise.
Alternatively, described acquisition user is to, after the sensitive signal of currently playing music track, also including:
Obtain the characteristic information of described sensitive signal;
After the music signal that described acquisition is corresponding with described music track, also include:
Obtain the characteristic information of described music signal;
Described described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal, including:
The characteristic information of the characteristic information of described sensitive signal and described music signal is analyzed, obtains described sensitive signal and the correlation coefficient of described music signal.
Alternatively, the characteristic information of the described characteristic information by described sensitive signal and described music signal is analyzed, particularly as follows:
The characteristic information of the characteristic information of described sensitive signal and described music signal is carried out canonical correlation analysis.
Second aspect, the present invention provides a kind of music interaction system, including:
First acquiring unit, for obtaining user's sensitive signal to current music song;
Second acquisition unit, for obtaining the music signal corresponding with described music track;
Correlation coefficient acquiring unit, for described sensitive signal and described music signal being analyzed, obtains described sensitive signal and the correlation coefficient of described music signal;
Comparing unit, for being analyzed described sensitive signal and described music signal;
Determine unit, for determining that in described comparing unit described correlation coefficient is be more than or equal to preset first threshold value, it is determined that described user likes currently playing music track.
Alternatively, described first acquiring unit, specifically for
When playing described music track, gather multiple first electromyographic signals of described user;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal;
Sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
As shown from the above technical solution, the music interaction method and system of the present invention, by obtaining user's sensitive signal to currently playing music track, and the music signal that music track is corresponding, and then sensitive signal and music signal are analyzed, the correlation coefficient that the first threshold obtained and preset compares, when correlation coefficient is more than first threshold, can determine that user likes currently playing music track, thus, the process judging that music track is liked by user can be simplified in prior art, improve the accuracy rate identifying that music track is liked by user simultaneously.
Accompanying drawing explanation
The schematic flow sheet of the music interaction method that Figure 1A provides for one embodiment of the invention;
The schematic diagram of the music signal that Figure 1B provides for one embodiment of the invention;
The schematic flow sheet of the music interaction method that Fig. 2 provides for another embodiment of the present invention;
The schematic flow sheet of the music interaction method that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the music interaction system that Fig. 4 provides for one embodiment of the invention;
The structural representation of the music interaction system that Fig. 5 provides for another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following example are used for illustrating the present invention, but are not limited to the scope of the present invention.
Figure 1A illustrates the schematic flow sheet of the music interaction method that one embodiment of the invention provides, and as shown in Figure 1A, the music interaction method of the present embodiment is as described below.
101, user's sensitive signal to currently playing music track is obtained.
It will be appreciated that sensitive signal in the present embodiment can be the part signal that user is sensitive to this music track in the electromyographic signal of user in listening music process.
It is to say, user is in listening music process, the electromyographic signal of user can be obtained, judge user's fancy grade to currently playing music track according to electromyographic signal.
If a certain music track play is liked by user, then making corresponding action/gesture, correspondingly, then there is large change in the electromyographic signal taked, using extracting section that large change occurs in electromyographic signal as user's sensitive signal to this music track.
102, the music signal corresponding with described music track is obtained.
For example, playing device built-in in mike such as mobile terminal can be passed through and collect the music signal of currently playing music track.
With reference to shown in Figure 1B, Figure 1B illustrates the waveform diagram of a kind of music signal.It should be understood that in the present embodiment, the waveform of music signal can not be fixed, it will be appreciated that for existing any electronic signal.If additionally, the sense of rhythm of music track is very strong, then the periodicity of the music signal change that this music track is corresponding then can be clearly.
103, described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal.
For example, sensitive signal and music signal can be carried out typicality correlation analysis (CCA), and then obtain the correlation coefficient of sensitive signal and music signal.
104, described correlation coefficient and preset first threshold value are compared, if described correlation coefficient is be more than or equal to described first threshold, it is determined that described user likes currently playing music track.
Certainly, if correlation coefficient is less than first threshold, then it is appreciated that user is not as liking currently playing music track.
It should be noted that the first threshold at this place can be empirical value, by the numerical value compared with correlation coefficient that many experiments is verified.
The music interaction method of the present embodiment, by obtaining user's sensitive signal to currently playing music track, and the music signal that music track is corresponding, and then sensitive signal and music signal are analyzed, the correlation coefficient that the first threshold obtained and preset compares, when correlation coefficient is more than first threshold, can determine that user likes currently playing music track, thus, the process judging that music track is liked by user can be simplified in prior art, improve the accuracy rate identifying that music track is liked by user simultaneously.
Fig. 2 illustrates the schematic flow sheet of the music interaction method that one embodiment of the invention provides, as in figure 2 it is shown, the music interaction method of the present embodiment is as described below.
201, when playing described music track, multiple first electromyographic signals of described user are gathered.
For example, the myoelectricity harvester collection user multiple first electromyographic signals when listening music track can be adopted.
Generally, when music track is play, at least eight first electromyographic signal of zones of different on user's arm can be gathered.
202, the plurality of first electromyographic signal is averaging, obtains the second electromyographic signal.
Alternatively, before the step multiple first electromyographic signals being averaging, the noise in multiple first electromyographic signal can be removed, obtain removing multiple first electromyographic signals of noise;
Correspondingly, above-mentioned step 202 can be following not shown step 202 ':
202 ', multiple first electromyographic signals of described removal noise are averaging, obtain the second electromyographic signal.
203, sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
For example, step 203 can include following not shown sub-step 2031 to sub-step 2033:
2031, obtain the meansigma methods of the absolute value of described second electromyographic signal amplitude, obtain Second Threshold.
In the present embodiment, described Second Threshold changes along with the change of the persistent period section of described second electromyographic signal.
For example, when a certain music track is play, the persistent period section of the second electromyographic signal of collection is 0s to 5s, then Second Threshold is the meansigma methods of the absolute value of the second electromyographic signal amplitude in the 0s-5s time period;
If the time period of the second electromyographic signal gathered extends, as extended to 10s from 5s, namely the persistent period section of the second electromyographic signal is 0s to 10s, then Second Threshold is the meansigma methods of the absolute value of the second electromyographic signal amplitude in the 0s-10s time period.
2032, adopting length is that the sliding window interval X2ms of X1ms slides in the time range of described second electromyographic signal, obtains N number of subwindow.
In the present embodiment, X2 is less than or equal to persistent period section less than the second electromyographic signal of X1, X1, and described N is normal number.
For example, X2 can be 60ms, 80ms, 100ms etc., and X1 can be 30ms, 40ms, 60ms etc..The numerical value of X2, X1 is only illustrated by the present embodiment, is not limited thereof, and the numerical value of its X2, X1 can be arranged according to actual needs.
The value of above-mentioned N can be determined according to the numerical value of X2, X1.
2033, obtain the meansigma methods of the absolute value of the second electromyographic signal amplitude of each subwindow corresponding region, obtain the first numerical value of each subwindow corresponding region;
If 2034 described first numerical value are be more than or equal to described Second Threshold, then will be greater than the initial time being equal to the subwindow belonging to the first numerical value of the described Second Threshold initial time as a sensitive signal;
2035, the initial time of each sensitive signal is increased Ms as the termination time of this sensitive signal, obtain the sensitive signal of described second electromyographic signal;
Described M is less than or equal to 10, it is preferable that 4.
204, when playing described music track, the music signal of described music track is gathered.
Alternatively, remove the noise in described music signal, obtain removing the music signal of noise.
205, described sensitive signal and described music signal are carried out typicality correlation analysis analysis, obtain described sensitive signal and the correlation coefficient of described music signal.
It should be noted that the music signal in this step 205 is the music signal removing noise.
For example, the characteristic information of the characteristic information and music signal that can obtain sensitive signal is analyzed, and then obtains the phase relation of sensitive signal and music signal.
In a particular application, the envelope characteristic of described sensitive signal can be obtained, and obtain the envelope characteristic of described music signal;
Correspondingly, the envelope characteristic of described sensitive signal and described music signal envelope characteristic can be analyzed, obtain described sensitive signal and the correlation coefficient of described music signal.
Such as, the envelope characteristic of described sensitive signal and described music signal envelope characteristic can be carried out canonical correlation analysis, obtain described sensitive signal and the correlation coefficient of described music signal.
206, described correlation coefficient and preset first threshold value are compared, if described correlation coefficient is be more than or equal to described first threshold, it is determined that described user likes currently playing music track.
Certainly, if correlation coefficient is less than first threshold, then can determine that user is not as liking currently playing music track.
The music interaction method of the present embodiment, it is possible to simplify in prior art and judge the process that music track is liked by user, improves the accuracy rate identifying that music track is liked by user simultaneously.
In the present invention, owing to when user is when appreciating the music oneself liked, can carry out the behavior of corresponding similar beat sample according to the rhythm and pace of moving things of music, the frequency of beat and the frequency of music have association to a certain extent.Thus, by gathering user to the sensitive electromyographic signal of music and music signal, carry out coupling and would know that user is to whether music is liked.
Fig. 3 illustrates the schematic flow sheet of the music interaction method that one embodiment of the invention provides, as it is shown on figure 3, the music interaction method of the present embodiment is as described below.
When 301, playing a certain music track in player, gather user and listen to the multiple first electromyographic signal S1 in this music track process.
For example, surface myoelectric signal collection apparatus can be arranged at human body forearm muscle group surface, obtained the first electromyographic signal of multiple passage by surface myoelectric signal collection apparatus.
Generally can obtain the first electromyographic signal of 8 passages.
302, remove the noise of the plurality of first electromyographic signal S1, and the multiple first electromyographic signal S1 removing noise are averaging, obtain the second electromyographic signal S2.
For example, each electromyographic signal can be carried out following removal noise processed:
For each electromyographic signal, adopt the Hz noise of 50HZ to carry out trap, use FIR filter to carry out high-pass filtering process, obtain removing the first electromyographic signal of noise.
303, the sensitive signal S3 in the second electromyographic signal S2 is obtained.
Specifically, the second electromyographic signal S2 is carried out sliding window process, it is determined that the initial time t of sensitive signalstartWith end time tend
Such as, first, the meansigma methods L of the absolute value of the second electromyographic signal S2 amplitude is calculatedstart, by meansigma methods LstartAs Second Threshold;
Secondly, the sliding window interval 30ms adopting length to be 60ms slides within the time period of the second electromyographic signal S2, obtains N number of subwindow;N is normal number;
Then, calculate the meansigma methods of the absolute value of the second electromyographic signal amplitude of each subwindow corresponding region, obtain L (N);
Furthermore, compare L (N) and Second Threshold LstartSize, if L (N) >=Lstart, then using the initial time of the subwindow belonging to L (N) the time started t as sensitive signalstart, can by tend=tstart+ 4s is as the end time of sensitive signal.N takes normal number.
It should be noted that 4s here is an empirical value, this place illustrates, can be not necessarily 4s, can be selected for other parameters.
By aforesaid way, at least one sensitive signal in the second electromyographic signal can be got.
Owing to a piece of music is generally 2 to 5 minutes, thus, generally there is multiple sensitive signal in the second corresponding with a piece of music electromyographic signal.
304, the envelope characteristic in sensitive signal S3 is extracted.
305, the music signal S5 that above-mentioned music track is corresponding is gathered.
For example, can collect, by outer microphone or built-in microphone, the music signal that music track is corresponding.
306, described music signal S5 is removed noise, and obtain the envelope characteristic of the music signal S5 removing noise.
For example, the Hz noise that music signal S5 can carry out 50HZ carries out trap, and uses FIR filter to carry out high-pass filtering, and then obtains removing the music signal of noise.
307, the envelope characteristic of the envelope characteristic of described sensitive signal and the music signal S5 removing noise is carried out canonical correlation analysis (CanonicalCorrelationAnalysis is called for short CCA), obtain correlation coefficient ρ.
308, the size of correlation coefficient and the first threshold preset is compared, if correlation coefficient is be more than or equal to default first threshold, it is determined that user likes currently playing music.
Certainly, if correlation coefficient is less than first threshold, then illustrate that user does not like currently playing music.
It addition, in a particular application, also said method has been tested, for instance, 2 experimenters are tested respectively.Each being obtained result by 10 songs of audition according to said method, then 2 experimenters write the result oneself liking to listen this song on earth, as shown in following table one and table two.
Table one
Table two
By above table it can be seen that the present embodiment method judges that user is higher to the accuracy rate liked of music track.
Said method can assist user to carry out dancing study.When dance training, if dancer and music beat do not mate, adopt said method can remind dancer, help dancer better to adjust action.Furthermore it is possible to provide the user with better music experience, for instance drive or when inconvenience touching music player user, it is possible to be in time transposed to the song that user likes to listen by said method.Furthermore, said method can be applied in the public places of entertainment such as singing-hall, analyzes whether the song play meets the demand of user.Further, said method also can integrated be arranged in the Cellphone Accessories of fashion in the chips.When user dances along with music time, corresponding Cellphone Accessories are luminous or flash etc..
The structural representation of the music interaction system that Fig. 4 provides for one embodiment of the invention, as shown in Figure 4, the music interaction system in the present embodiment includes: the first acquiring unit 41, second acquisition unit 42, correlation coefficient acquiring unit 43, comparing unit 44 and determine unit 45;
Wherein, the first acquiring unit 41 is for obtaining user's sensitive signal to current music song;
Second acquisition unit 42 is for obtaining the music signal corresponding with described music track;
Correlation coefficient acquiring unit 43, for described sensitive signal and described music signal being analyzed, obtains described sensitive signal and the correlation coefficient of described music signal;
Comparing unit 44 is for being analyzed described sensitive signal and described music signal;
Determine that unit 45 is for determining that in described comparing unit 44 described correlation coefficient is be more than or equal to preset first threshold value, it is determined that described user likes currently playing music track.
Alternatively, described first acquiring unit 41 specifically for
When playing described music track, gather multiple first electromyographic signals of described user;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal;
Sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
In implementing process, aforesaid first acquiring unit 41 is additionally operable to remove the noise in the plurality of first electromyographic signal, obtain removing multiple first electromyographic signals of noise, and multiple first electromyographic signals of described removal noise are averaging, obtain the second electromyographic signal;And
Obtain the meansigma methods of the absolute value of described second electromyographic signal amplitude, obtain Second Threshold;
Adopting length is that the sliding window interval X2ms of X1ms slides in the time range of described second electromyographic signal, obtains N number of subwindow;
Obtain the meansigma methods of the absolute value of the second electromyographic signal amplitude of each subwindow corresponding region, obtain the first numerical value of each subwindow corresponding region;
If described first numerical value is be more than or equal to described Second Threshold, then will be greater than the initial time being equal to the subwindow belonging to the first numerical value of the described Second Threshold initial time as a sensitive signal;
The initial time of each sensitive signal is increased Ms as the termination time of this sensitive signal, obtain the sensitive signal of described second electromyographic signal;
Wherein, X2 is less than or equal to persistent period section less than the second electromyographic signal of X1, X1, and described N is normal number, and described M is less than or equal to 10.
In the present embodiment, described Second Threshold changes along with the change of the persistent period section of described second electromyographic signal.
Second acquisition unit 42 specifically for
When playing described music track, gather the music signal of described music track;
Remove the noise in described music signal, obtain removing the music signal of noise.
The music interaction system of the present embodiment, it is possible to for performing the technical scheme of embodiment of the method shown in above-mentioned Fig. 1 to Fig. 3, it is similar with technique effect that it realizes principle, repeats no more herein.
The music interaction system of the present embodiment can simplify in prior art the process judging that music track is liked by user, can improve the accuracy rate identifying that music track is liked by user simultaneously.
The structural representation of the music interaction system that Fig. 5 provides for one embodiment of the invention, as it is shown in figure 5, the music interaction system in the present embodiment includes: surface myoelectric acquisition module 51, music acquisition module 52 and emotion analysis module 53;
Wherein, surface myoelectric acquisition module 51 includes: surface electromyogram signal acquisition device 511 and the first emitter 512;
Music acquisition module 52 includes: music signal harvester 521 and the second emitter 522;
Emotion analysis module 53 includes: receptor 531, wave filter 532 and processor 533;
Wherein, surface electromyogram signal acquisition device 511 is used for gathering aforesaid multiple first electromyographic signal, and by the first emitter 512, multiple first electromyographic signals are sent to receptor 531, first electromyographic signal is removed noise processed by the first electromyographic signal device 532 after filtering received by receptor 531, obtain removing the first electromyographic signal of noise, and the first electromyographic signal removing noise is sent to processor 533;
Music signal harvester 521 is used for gathering aforesaid music signal, and by the second emitter 522, music signal is sent to receptor 531, music signal is removed noise processed by the music signal of reception device 532 after filtering by receptor 531, obtain removing the music signal of noise, and the music signal removing noise is sent to processor 533;
Processor according to removing the first electromyographic signal of noise and removing the music signal of noise and process, the as above description of method, analyze user's impression to current music song, obtain whether user likes the information of currently playing music track.
The first above-mentioned emitter 512 and the second emitter 522 can be all wireless transmitter, and receptor 531 is alternatively wireless receiver.Music signal harvester 521 can be mike.
The music interaction system of the present embodiment can simplify in prior art the process judging that music track is liked by user, can improve the accuracy rate identifying that music track is liked by user simultaneously.
The only electromyographic signal of above-mentioned music interaction system monitoring, compared with prior art, enhanced convenience is convenient.Secondly, above-mentioned music interaction system can apply more occasion.Prior art of comparing is easily subject to the impact of external environment, the use that the music interaction system of the present embodiment can be good in the adverse circumstances such as noisy.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of the claims in the present invention.

Claims (10)

1. a music interaction method, it is characterised in that including:
Obtain user's sensitive signal to currently playing music track;
Obtain the music signal corresponding with described music track;
Described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal;
Described correlation coefficient and preset first threshold value are compared, if described correlation coefficient is be more than or equal to described first threshold, it is determined that described user likes currently playing music track.
2. method according to claim 1, it is characterised in that the described acquisition user sensitive signal to currently playing music track, including:
When playing described music track, gather multiple first electromyographic signals of described user;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal;
Sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
3. method according to claim 2, it is characterised in that described the plurality of first electromyographic signal is averaging, before obtaining the second electromyographic signal, described method also includes:
Remove the noise in the plurality of first electromyographic signal, obtain removing multiple first electromyographic signals of noise;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal, including:
Multiple first electromyographic signals of described removal noise are averaging, obtain the second electromyographic signal.
4. method according to claim 2, it is characterised in that described employing sliding window mode obtains at least one sensitive signal in described second electromyographic signal, including:
Obtain the meansigma methods of the absolute value of described second electromyographic signal amplitude, obtain Second Threshold;
Adopting length is that the sliding window interval X2ms of X1ms slides in the time range of described second electromyographic signal, obtains N number of subwindow;
Obtain the meansigma methods of the absolute value of the second electromyographic signal amplitude of each subwindow corresponding region, obtain the first numerical value of each subwindow corresponding region;
If described first numerical value is be more than or equal to described Second Threshold, then will be greater than the initial time being equal to the subwindow belonging to the first numerical value of the described Second Threshold initial time as a sensitive signal;
The initial time of each sensitive signal is increased Ms as the termination time of this sensitive signal, obtain the sensitive signal of described second electromyographic signal;
Wherein, X2 is less than or equal to persistent period section less than the second electromyographic signal of X1, X1, and described N is normal number, and described M is less than or equal to 10.
5. method according to claim 4, it is characterised in that described Second Threshold changes along with the change of the persistent period section of described second electromyographic signal.
6. method according to claim 1, it is characterised in that the music signal that described acquisition is corresponding with described music track, including:
When playing described music track, gather the music signal of described music track;
Remove the noise in described music signal, obtain removing the music signal of noise.
7. according to the arbitrary described method of claim 1 to 6, it is characterised in that described acquisition user is to, after the sensitive signal of currently playing music track, also including:
Obtain the characteristic information of described sensitive signal;
After the music signal that described acquisition is corresponding with described music track, also include:
Obtain the characteristic information of described music signal;
Described described sensitive signal and described music signal are analyzed, obtain described sensitive signal and the correlation coefficient of described music signal, including:
The characteristic information of the characteristic information of described sensitive signal and described music signal is analyzed, obtains described sensitive signal and the correlation coefficient of described music signal.
8. method according to claim 7, it is characterised in that the characteristic information of the described characteristic information by described sensitive signal and described music signal is analyzed, particularly as follows:
The characteristic information of the characteristic information of described sensitive signal and described music signal is carried out canonical correlation analysis.
9. a music interaction system, it is characterised in that including:
First acquiring unit, for obtaining user's sensitive signal to current music song;
Second acquisition unit, for obtaining the music signal corresponding with described music track;
Correlation coefficient acquiring unit, for described sensitive signal and described music signal being analyzed, obtains described sensitive signal and the correlation coefficient of described music signal;
Comparing unit, for being analyzed described sensitive signal and described music signal;
Determine unit, for determining that in described comparing unit described correlation coefficient is be more than or equal to preset first threshold value, it is determined that described user likes currently playing music track.
10. system according to claim 9, it is characterised in that described first acquiring unit, specifically for
When playing described music track, gather multiple first electromyographic signals of described user;
The plurality of first electromyographic signal is averaging, obtains the second electromyographic signal;
Sliding window mode is adopted to obtain at least one sensitive signal in described second electromyographic signal.
CN201410234584.9A 2014-05-29 2014-05-29 music interaction method and system Active CN103996405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410234584.9A CN103996405B (en) 2014-05-29 2014-05-29 music interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410234584.9A CN103996405B (en) 2014-05-29 2014-05-29 music interaction method and system

Publications (2)

Publication Number Publication Date
CN103996405A CN103996405A (en) 2014-08-20
CN103996405B true CN103996405B (en) 2016-07-13

Family

ID=51310545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410234584.9A Active CN103996405B (en) 2014-05-29 2014-05-29 music interaction method and system

Country Status (1)

Country Link
CN (1) CN103996405B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364526A (en) * 2018-02-28 2018-08-03 上海乐愚智能科技有限公司 A kind of music teaching method, apparatus, robot and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002020080A2 (en) * 2000-09-06 2002-03-14 Mathis Stephen M Music assisted therapy
US6623427B2 (en) * 2001-09-25 2003-09-23 Hewlett-Packard Development Company, L.P. Biofeedback based personal entertainment system
CN1912862A (en) * 2006-08-25 2007-02-14 中山大学 Device and method for dynamic playing music and video according to body physiological state
CN103111006A (en) * 2013-01-31 2013-05-22 江苏中京智能科技有限公司 Intelligent mood adjustment instrument
CN203075421U (en) * 2012-07-31 2013-07-24 深圳市赛格导航科技股份有限公司 Music playing system based on emotion change
CN103729406A (en) * 2013-12-09 2014-04-16 宇龙计算机通信科技(深圳)有限公司 Searching method and system for environmental information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002020080A2 (en) * 2000-09-06 2002-03-14 Mathis Stephen M Music assisted therapy
US6623427B2 (en) * 2001-09-25 2003-09-23 Hewlett-Packard Development Company, L.P. Biofeedback based personal entertainment system
CN1912862A (en) * 2006-08-25 2007-02-14 中山大学 Device and method for dynamic playing music and video according to body physiological state
CN203075421U (en) * 2012-07-31 2013-07-24 深圳市赛格导航科技股份有限公司 Music playing system based on emotion change
CN103111006A (en) * 2013-01-31 2013-05-22 江苏中京智能科技有限公司 Intelligent mood adjustment instrument
CN103729406A (en) * 2013-12-09 2014-04-16 宇龙计算机通信科技(深圳)有限公司 Searching method and system for environmental information

Also Published As

Publication number Publication date
CN103996405A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
US9877661B2 (en) Aural heart monitoring apparatus and method
CN106464996A (en) Multifunctional headphone system for sports activities
US8622919B2 (en) Apparatus, method, and computer program for detecting a physiological measurement from a physiological sound signal
US20070118043A1 (en) Algorithms for computing heart rate and movement speed of a user from sensor data
US20040068409A1 (en) Method and apparatus for analysing gestures produced in free space, e.g. for commanding apparatus by gesture recognition
CN106464995A (en) Stand-alone multifunctional headphones for sports activities
CN110097868A (en) Play the methods, devices and systems of music
CN109256146A (en) Audio-frequency detection, device and storage medium
CN104867506A (en) Music automatic control method and device
CN108363530B (en) Electronic device, method for playing music and Related product
CN106653058B (en) Dual-track-based step detection method
CN106599123A (en) Music playing method and system for use during exercise
CN107995547A (en) Headphone device and control method
CN112995881B (en) Earphone, earphone in and out detection method and storage medium of earphone
CN105843580A (en) Adjustment method and device of vehicle-mounted player volume
CN105943080A (en) Intelligent stethophone
CN108404275A (en) Training method of sleeping and relevant device
US20170083091A1 (en) Input device, biosensor, program, computer-readable medium, and mode setting method
Salvi et al. An optimised algorithm for accurate steps counting from smart-phone accelerometry
CN106531186A (en) Footstep detecting method according to acceleration and audio information
CN106073796A (en) Audition health detecting system based on bone conduction and method
CN103996405B (en) music interaction method and system
CN108392201A (en) Brain training method and relevant device
CN108919962A (en) Auxiliary piano training method based on brain machine Data Centralized Processing
CN108416004A (en) electronic equipment, music control method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant