CN105139875B - The audio frequency playing method and device of height above sea level change during based on motion - Google Patents

The audio frequency playing method and device of height above sea level change during based on motion Download PDF

Info

Publication number
CN105139875B
CN105139875B CN201510614483.9A CN201510614483A CN105139875B CN 105139875 B CN105139875 B CN 105139875B CN 201510614483 A CN201510614483 A CN 201510614483A CN 105139875 B CN105139875 B CN 105139875B
Authority
CN
China
Prior art keywords
height above
state
sea level
above sea
audio
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
CN201510614483.9A
Other languages
Chinese (zh)
Other versions
CN105139875A (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.)
Hubei University of Arts and Science
Original Assignee
Hubei University of Arts and Science
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 Hubei University of Arts and Science filed Critical Hubei University of Arts and Science
Priority to CN201510614483.9A priority Critical patent/CN105139875B/en
Publication of CN105139875A publication Critical patent/CN105139875A/en
Application granted granted Critical
Publication of CN105139875B publication Critical patent/CN105139875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of audio frequency playing method and device based on height above sea level change when moving, including audio is divided into different type, the corresponding audio types of every kind of motion state are set;Height above sea level is detected and correspondingly audio is played, including carrying out height above sea level initial detecting and playing, after certain interval of time, height above sea level detection is re-started, calculating judges direction state, speed state and trend state, according to the new corresponding audio types of state plays.The switching play-back technology proposed by the present invention that automatically selects can further improve the intelligent of audio playing apparatus, meet the demand of numerous sports fans.

Description

The audio frequency playing method and device of height above sea level change during based on motion
Technical field
The present invention relates to a kind of audio frequency playing method and device based on height above sea level change when moving, belong to Audiotechnica In the application of Sports Field.
Background technology
People often like in motion and listen music while moving, such as when running, climbing the mountain, by listen music or The audio of some other type such as chirping of birds etc., can increase the enjoyment of motion, eliminate the tired of motion, adjust sporter(Mainly It is climber)Mood, and then promote motion efficiency, improve motion effect.But the music listened during current people's motion and Audio is mostly to realize shuffle or played in order after one group of music of selection, but people are when in different motion state Often tend to listen different genres of music or audio.Exemplified by climbing the mountain, when going up a hill, climber's physical demands is larger, if Strong audio magnificent is now listened, then is conducive to climber to hold on, crests a hill, lighter when going down the hill, climber is normal Often like listening more easily audio.But during using current audio playing apparatus, the music and audio that people listen when moving are choosings Shuffle or played in order after one group of music are selected, when motion state changes, people are if it is desire to listen another type of Music or audio, current technology can not realize automatic switchover, can only manual switching play music or audio, this is to sporter For bring using upper inconvenience, and sporter needs to distract attention and free hand to switch music during exercise, makes It must move and there is potential safety hazard.The present invention is to propose to solve this problem.
The content of the invention
The present invention proposes a kind of audio frequency playing method and device based on height above sea level change when moving, it is therefore intended that can Height above sea level change when being moved according to climber automatically selects suitable audio and played out.
Technical scheme provides a kind of audio frequency playing method based on height above sea level change when moving, and performs following Step:
Step 1, audio classification, including audio is divided into different type;
Step 2, motion state is set, including sets the corresponding audio types of every kind of motion state;
Step 3, height above sea level detection and correspondingly audio broadcasting, including following sub-step,
Step 3.1, note detection number of times is n, initializes n=1, carries out height above sea level initial detecting, detects current climber institute Locate the height above sea level H of position(1);
Step 3.2, audio initial play;
Step 3.3, after certain interval of time t, n=n+1 is made, height above sea level detection is re-started, detects current climber The height above sea level H of present position(n);
Step 3.4, motion state, which is calculated, judges, including first according to new height above sea level H(n)Obtained with last time detection Numerical value H(n-1), calculating DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) is equal to 0, climber is in level road state, into step 3.5;
If DelH (n) is more than 0, climber is in state of going up a hill, if DelH (n) is less than 0, climber is in down Mountain state, carries out following calculating, realizes and carry out speed state and trend condition adjudgement, subsequently into step 3.5;
If height above sea level H (n) the corresponding times are T (n), H (n-1) the corresponding time is T (n-1), calculates VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, climber is in state at a slow speed, if VH (n) is not less than V1 and less than V2, then climber is in middling speed state, if VH (n) is not less than V2, climber is in fast state;Wherein, V1, V2 are corresponding predetermined threshold value;
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, is climbed the mountain Person is in acceleration mode, if AH (n) is equal to 0, climber is at the uniform velocity state, if AH (n) is less than at 0, climber In deceleration regime;
Step 3.5, time T (n) the corresponding states shape corresponding to the time T (n-1) of last time detection of current detection is judged Whether state is different, according to the new corresponding audio types of state plays if different, does not switch if audio types are identical; Step 3.3 is then back to, until stopping flow.
Moreover, the audio is to input to obtain from other electronic equipments, or downloads acquisition from network, or obtained by recording Take, or acquisition is made by audio Core Generator.
Moreover, the corresponding relation of the motion state and audio types is one-to-one or one-to-many, or many-one.
The present invention correspondingly provides a kind of audio playing apparatus based on height above sea level change when moving, including following mould Block:
Audio classification module, for audio to be divided into different type;
Motion state setup module, for setting the corresponding audio types of every kind of motion state;
Height above sea level detection module, for carrying out height above sea level detection;
Timing module, the time for determining height above sea level detection;
Motion state computing module, for being obtained according to the height above sea level and timing module that are obtained by height above sea level detection module The time arrived, calculating obtains the current motion state of climber;
Audio playing module, for carrying out phase according to motion state computing module and motion state setup module acquired results Should ground audio broadcasting.
Moreover, the audio broadcasting course of work is as follows,
Height above sea level detection module note detection number of times is n, initializes n=1, carries out height above sea level initial detecting, detection is current The height above sea level H of climber present position(1);
Audio playing module carries out audio initial play;
Height above sea level detection module makes n=n+1 after certain interval of time t, re-starts height above sea level detection, and detection is worked as The height above sea level H of preceding climber present position(n);
Motion state computing module judges current height above sea level H(n)Corresponding state, including first according to new height above sea level Spend H(n)The numerical value H obtained with last detection(n-1), DelH (n)=H (n)-H (n-1) is calculated, travel direction state is sentenced It is disconnected,
If DelH (n) is equal to 0, climber is in level road state, the work of order audio playing module;
If DelH (n) is more than 0, climber is in state of going up a hill, if DelH (n) is less than 0, climber is in down Mountain state, carries out following calculating, realizes and carry out speed state and trend condition adjudgement, then order audio playing module works;
If height above sea level H (n) the corresponding time is T (n) obtained by timing module, height above sea level H (n-1) the corresponding time is T (n-1), calculates VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, climber is in slow Fast state, if VH (n) is not less than V1 and less than V2, climber is in middling speed state, if VH (n) is not less than V2, steps on Mountain person is in fast state;Wherein, V1, V2 are corresponding predetermined threshold value;
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, is climbed the mountain Person is in acceleration mode, if AH (n) is equal to 0, climber is at the uniform velocity state, if AH (n) is less than at 0, climber In deceleration regime;
Audio playing module judges time T (n) corresponding states and time T (n-1) phase of last time detection of current detection Answer state whether different, corresponding sound is played according to the setting result of new state and motion state setup module if different Frequency type, does not switch if audio types are identical;Then order height above sea level detection module works, until stopping.
Moreover, the audio is to input to obtain from other electronic equipments, or downloads acquisition from network, or obtained by recording Take, or acquisition is made by audio Core Generator.
Moreover, the corresponding relation of the motion state and audio types is one-to-one or one-to-many, or many-one.
The present invention proposes the audio frequency playing method and device of height above sea level change during based on motion, by detecting climber Height above sea level change selection play suitable audio, without user's manual switching, more preferable sense of hearing body is brought to climber Test, while the security of climber's motion can be improved.The buyer of portable audio playing apparatus is much sports fan, The switching play-back technology proposed by the present invention that automatically selects can further improve the intelligent of audio playing apparatus, meet numerous motions The demand of fan.Numerous climbers, which have, to move while listening the custom of music, therefore the present invention is by with great market Value.
Brief description of the drawings
Fig. 1 is embodiment of the present invention system schematic;
Fig. 2 is the real-time overhaul flow chart of present invention method.
Embodiment
Technical solution of the present invention is specifically described below in conjunction with drawings and Examples.
Referring to Fig. 1, the embodiment of the present invention provides a kind of audio playing apparatus based on height above sea level, including with lower module:
Audio classification module, for audio to be divided into different type, audio types are output to by number of types M, M not less than 2 Motion state setup module.
During specific implementation, audio can be inputted from other electronic equipments, either downloaded from network and obtained or obtained by recording Take, or made by audio Core Generator.Classification can also automatically be classified by manually being classified.Automatic point The foundation of class can have a variety of, including but not limited to rhythm, melody, musical instrument, style etc., title, singer etc. can also be used as according to According to a part, the attribute that can be carried according to audio file classified.Some head can be downloaded in advance, and such as 20 is first, different The audio of the nature sound such as the music of stylistic category and some record chirping of birds, is respectively divided into M1 " light music ", M2 and " is carried out Song ", four audio types of M3 " symphony " and M4 " nature ".
Motion state setup module, corresponding audio types during for setting climber to be in different motion Status Type; Motion state type and audio types and corresponding relation are output to audio playing module.
The motion state type of climber can be divided into three classes:Direction state, speed state and trend state, direction state It may be configured as with Types Below:F1 " state of going up a hill ", F2 " state of going down the hill ", F3 " level road state ", speed state may be configured as following Type:S1 " fast state ", S2 " middling speed state ", S3 " state at a slow speed ", trend state may be configured as with Types Below:Q1 " accelerates State ", Q2 " deceleration regime ", Q3 " at the uniform velocity state ".The state set of climber is constituted after three kinds of classification state synthesis {F1S1Q1, F1S1Q2, F1S1Q3, F1S2Q1, F1S2Q2, F1S2Q3, F1S3Q1, F1S3Q2, F1S3Q3, F2S1Q1, F2S1Q2, F2S1Q3, F2S2Q1, F2S2Q2, F2S2Q3, F2S3Q1, F2S3Q2, F2S3Q3, F3 }, Such as comprehensive state F1S1Q1 is the situation while in F1 " state of going up a hill ", S1 " fast state " and Q1 " acceleration mode ", is put down Height above sea level does not change during line state F3, so need not consider speed state and trend state.The state of each in set can be right A kind of audio types are answered, can also a kind of a kind of various states correspondingly audio types, or a variety of audio types of state correspondence.I.e. The corresponding relation of the motion state and audio types is one-to-one or one-to-many, or many-one is feasible.Specific implementation When, corresponding relation can be set by the user, can also be directly using the corresponding relation of acquiescence.
For example only consider speed state:S1 " fast state ", S2 " state at a slow speed ", S3 " middling speed state ";Three states pair The audio types answered are respectively set to:S1 correspondence M2 and M4, S2 correspondence M1 and M4, S3 correspondence M3.Then F1S1Q1, F1S1Q2, F1S1Q3, F2S1Q1, F2S1Q2, F2S1Q3 meet S1 " fast state ", correspondence M2 and M4, S2 " state at a slow speed ", S3 The situation of " middling speed state " is similarly.During specific implementation, it can be reduced to only judge speed state.
Height above sea level detection module, for detecting that climber is presently in the height above sea level of position, exports current height above sea level Highly arrive audio playing module.Specific detection can use prior art, and altitude information is obtained using existing detection sensor, can With reference to the smart mobile phone that function is detected with height above sea level.
For detecting that climber is presently in the height above sea level H (n) of position, motion state computing module is output to, n is represented The record value of n-th of height above sea level of this motion.
Timing module, for determining that current record time T (n), output current record time T (n) to motion state are calculated Module, n represents the record value of n-th of record time of this motion.Current record time T (n) be detection obtain climber work as The height above sea level H (n) of preceding present position time.
The timing module, the current record time of its determination can use absolute time, such as Beijing time, Greenwich Time, relative time can also be recorded, the time that such as current relative mountain-climbing starts.Embodiment determines current note according to Beijing time Record time T (n), output current record time T (n) arrive motion state computing module, and n is used to identify n-th in this motion and examined Measure the height above sea level that climber is presently in position.
Motion state computing module, for being obtained according to the height above sea level and timing module that are obtained by height above sea level detection module The time arrived, calculating obtains the current motion state of climber, and motion state is output into audio playing module.
The motion state computing module, records the height above sea level H (n) that is inputted by height above sea level detection module and by timing The current record time T (n) of module input, and according to formula(1)Height above sea level change DelH (n) is calculated to judge its direction shape State, wherein H (n-1) are the height above sea level recorded at (n-1) moment record time T,
DelH (n)=H (n)-H (n-1) formula(1)
If DelH (n) is more than 0, climber is in " state of going up a hill ", if DelH (n) is less than 0, climber is in " state of going down the hill ", if DelH (n) is equal to 0, climber is in " level road state ";
If climber is in " level road state ", speed state and trend state are not calculated, motion state is directly judged Whether change;If climber is not in " level road state ", according still further to formula(2)Height above sea level pace of change VH (n) is calculated to come Judge its speed state,
VH (n)=ABS (DelH (n)/(T (n)-T (n-1))) formula(2)
Wherein, ABS()Function is to take absolute value.
If VH (n) is less than V1, climber is in " state at a slow speed ", if VH (n) is stepped on not less than V1 and less than V2 Mountain person is in " middling speed state ", if VH (n) is not less than V2, climber is in " fast state ", and wherein V1 is " shape at a slow speed The criteria for classifying of state " and " middling speed state ", wherein V2 is the criteria for classifying of " middling speed state " and " fast state ", and V1 and V2 can be with It is configured, can also be obtained by statistics, or use default value according to own bodies quality by climber oneself.Embodiment In, set V1=5 meter it is per minute, V2=10 meter are per minute, if VH (n) per minute less than 5 meters, climber is in " shape at a slow speed State ", if VH (n) is per minute not less than 5 meters and per minute less than 10 meters, climber is in " middling speed state ", if VH (n) Per minute not less than 10 meters, then climber is in " fast state ".
According still further to formula(3)Calculate height above sea level change acceleration A H (n) and judge its trend state,
AH (n)=VH (n)-VH (n-1) formula(3)
If AH (n) is more than 0, climber is in " acceleration mode ", if AH (n) is equal to 0, climber is in " even Fast state ", if AH (n) is less than 0, climber is in " deceleration regime ";
In above-mentioned calculating, n>1, i.e., first record when only record height above sea level, calculated without motion state.First record When, audio be able to can also be given tacit consent to according to a certain pattern with shuffle, such as " state of going up a hill ", play out.AH is calculated for the first time (n) when, if VH (0)=0, AH (1)=VH (1)-VH (0).
Audio playing module, for being set according to the motion state obtained by motion state computing module, and motion state The motion state type of module and audio types and corresponding relation, obtain the corresponding audio types of current motion state, and play The audio of the audio types.
Further, audio playing module is according to the motion state obtained by motion state computing module, and motion state The motion state type of setup module and audio types and corresponding relation, according to the direction state of climber, speed state and become The suitable audio types of gesture condition selecting are played out.I.e. according to current state be specifically belong to state set F1S1Q1, F1S1Q2, F1S1Q3, F1S2Q1, F1S2Q2, F1S2Q3, F1S3Q1, F1S3Q2, F1S3Q3, F2S1Q1, F2S1Q2, F2S1Q3, F2S2Q1, F2S2Q2, F2S2Q3, F2S3Q1, F2S3Q2, F2S3Q3, F3 } in it is any, Default further according to motion state setup module obtains the corresponding audio types of current motion state.
During specific implementation, motion state can be obtained according to by motion state computing module, be stored with audio playing module Former motion state is contrasted, and if the same continues to play original audio, new audio types are switched to if different, And play.To adapt to the height above sea level residing for climber in real time, the present invention is proposed:When climber climbs the mountain, height above sea level detection mould Block detects the height above sea level of climber at regular intervals, and current height above sea level is output into motion state computing module, fortune The dynamic state computation module time current according to obtained by current height above sea level and timing module carries out condition adjudgement, if motion The new state that state computation module is obtained is different with original state, then exports new state to audio playing module, is switched to new State respective audio type, and play out.Motion state computing module can so be reduced between audio playing module Information exchange, improves efficiency.Specific works mode is as follows,
Height above sea level detection module remembers that detection number of times is n first, initializes n=1, carries out height above sea level initial detecting, including Detect the height above sea level H of current climber present position(1), input audio playing module;When timing module determines current record Between T (1), output current record time T (1) arrive motion state computing module;
Audio playing module carries out audio initial play;
Height above sea level detection module re-starts height above sea level detection, is included in after certain interval of time t, makes n=n+1, examines Survey the height above sea level H of current climber present position(n);Timing module determines current record time T (n), exports current record Time T (n) arrives motion state computing module;
Motion state computing module is according to new height above sea level H(n)The numerical value H obtained with last detection(n-1), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) is equal to 0, climber is in " level road state ", the work of order audio playing module;
If DelH (n) is more than 0, climber is in " state of going up a hill ", if DelH (n) is less than 0, climber is in " state of going down the hill ", carries out following calculating, realizes and carry out speed state and trend condition adjudgement, then order audio playing module work Make:
Time is recorded according to timing module, if height above sea level H (n) the respective record time is T (n), H (n-1) phase The time should be recorded for T (n-1), VH (n)=ABS (DelH (n)/(T (n)-T (n-1))) is calculated, if VH (n) is less than V1, Climber is in " state at a slow speed ", if VH (n) is not less than V1 and less than V2, climber is in " middling speed state ", if VH (n) it is not less than V2, then climber is in " fast state ";
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, is climbed the mountain Person is in " acceleration mode ", if AH (n) is equal to 0, climber is in " at the uniform velocity state ", if AH (n) is less than 0, climbs the mountain Person is in " deceleration regime ";
Then whether not time T (n) corresponding states and last time T (n-1) corresponding state detected of detection are judged Together, if it is different, current state is inputted into audio playing module;If identical, do not export;
Audio playing module is played out according to the corresponding audio types of current state, is not required to if audio types are identical Switching;Then notify that height above sea level detection module re-starts height above sea level detection, until being stopped.
During specific implementation, add module dress provided by the present invention can be realized in the equipment such as existing mp3, mp4, mobile phone Put, it would however also be possible to employ software engineering realizes corresponding flow automatic running.When one kind that the embodiment of the present invention is provided is based on motion The audio frequency playing method of height above sea level change, comprises the following steps:
Step 1, audio classification, including audio is divided into different type, number of types M, M are typically no less than 2.
Step 2, motion state is set, including sets the corresponding audio types of every kind of motion state.
Step 3, height above sea level detection and correspondingly audio broadcasting, including following sub-step,
Step 3.1, height above sea level initial detecting is carried out, the height above sea level H of current climber present position is detected(1);
During specific implementation, it is n that can remember detection number of times, initializes n=1, and step 3.1 is progress height above sea level detection first, Obtain height above sea level H(n), i.e. H(1).
Step 3.2, audio initial play, audio be able to can also be given tacit consent to according to a certain pattern with shuffle, such as " go up a hill State ", is played out.
Step 3.3, after certain interval of time t, n=n+1 is made, height above sea level detection is re-started, detects current climber The height above sea level H of present position(n), during specific implementation, t values can voluntarily be set by user or be set using acquiescence set in advance Put, to adjust the time interval between height above sea level detection twice, the smaller time can be set to track user in time Residing height above sea level.
Step 3.4, motion state, which is calculated, judges, including first according to new height above sea level H(n)Obtained with last time detection Numerical value H(n-1), calculating DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) is equal to 0, climber is in " level road state ", into step 3.5;
If DelH (n) is more than 0, climber is in " state of going up a hill ", if DelH (n) is less than 0, climber is in " state of going down the hill ", carries out following calculating, realizes and carry out speed state and trend condition adjudgement:
VH (n)=ABS (DelH (n)/(T (n)-T (n-1))) is calculated, if VH (n) is less than V1, climber is in " state at a slow speed ", if VH (n) is not less than V1 and less than V2, climber is in " middling speed state ", if VH (n) is not less than V2, then climber is in " fast state ";
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, is climbed the mountain Person is in " acceleration mode ", if AH (n) is equal to 0, climber is in " at the uniform velocity state ", if AH (n) is less than 0, climbs the mountain Person is in " deceleration regime ".
Step 3.5, judging time T (n) corresponding states and time T (n-1) corresponding state of last time detection of detection is No difference, according to the new corresponding audio types of state plays if different, does not switch if audio types are identical;
Step 3.3 is then back to, until stopping flow.During specific implementation, it be able to can also be worked as certainly by user's manual-lock Dynamic detect when a period of time T height above sea level does not change is closed, and T values can be default settings, can also be set by user.
The invention provides the technical scheme that those skilled in the art can realize.Above example is only for the explanation present invention It is used, rather than limitation of the present invention, person skilled in the relevant technique, do not departing from the feelings of the spirit and scope of the present invention Under condition, various conversion or modification, therefore all equivalent technical schemes can also be made, protection scope of the present invention is both fallen within.

Claims (6)

1. a kind of audio frequency playing method based on height above sea level change when moving, it is characterised in that perform following steps:
Step 1, audio classification, including audio is divided into different type;
Step 2, motion state is set, including sets the corresponding audio types of every kind of motion state;
Step 3, height above sea level detection and correspondingly audio broadcasting, including following sub-step,
Step 3.1, note detection number of times is n, initializes n=1, carries out height above sea level initial detecting, is detected residing for current climber The height above sea level H (1) of position;
Step 3.2, audio initial play;
Step 3.3, after certain interval of time t, n=n+1 is made, height above sea level detection is re-started, detects current climber institute Locate the height above sea level H (n) of position;
Step 3.4, motion state, which is calculated, judges, including the number obtained first according to new height above sea level H (n) with last detection Value H (n-1), calculating DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) is equal to 0, climber is in level road state, into step 3.5;
If DelH (n) is more than 0, climber is in state of going up a hill, if DelH (n) is less than 0, climber is in shape State, carries out following calculating, realizes and carry out speed state and trend condition adjudgement, subsequently into step 3.5;
If height above sea level H (n) the corresponding times are T (n), H (n-1) the corresponding time is T (n-1), calculates VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, climber is in state at a slow speed, if VH (n) is not less than V1 and small In V2, then climber is in middling speed state, if VH (n) is not less than V2, climber is in fast state;Wherein, V1, V2 are Corresponding predetermined threshold value;
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, climber is in Acceleration mode, if AH (n) is equal to 0, climber is at the uniform velocity state, if AH (n) is less than 0, climber, which is in, slows down State;
Step 3.5, judging time T (n) corresponding states and time T (n-1) corresponding state of last time detection of current detection is No difference, according to the new corresponding audio types of state plays if different, does not switch if audio types are identical;Then Return to step 3.3, until stopping flow.
2. the audio frequency playing method of height above sea level change when according to claim 1 based on motion, it is characterised in that:The sound Frequency is to input to obtain from other electronic equipments, or downloads acquisition from network, or is obtained by recording, or passes through audio Core Generator Make and obtain.
3. the audio frequency playing method according to claim 1 or claim 2 based on height above sea level change when moving, it is characterised in that:Institute The corresponding relation of motion state and audio types is stated to be one-to-one or one-to-many, or many-one.
4. a kind of audio playing apparatus based on height above sea level change when moving, it is characterised in that including with lower module:
Audio classification module, for audio to be divided into different type;
Motion state setup module, for setting the corresponding audio types of every kind of motion state;
Height above sea level detection module, for carrying out height above sea level detection;
Timing module, the time for determining height above sea level detection;
Motion state computing module, for what is obtained according to the height above sea level and timing module that are obtained by height above sea level detection module Time, calculating obtains the current motion state of climber;
Audio playing module, for being carried out correspondingly according to motion state computing module and motion state setup module acquired results Audio is played;
The audio broadcasting course of work is as follows,
Height above sea level detection module note detection number of times is n, initializes n=1, carries out height above sea level initial detecting, detection is currently stepped on The height above sea level H (1) of mountain person present position;
Audio playing module carries out audio initial play;
Height above sea level detection module makes n=n+1 after certain interval of time t, re-starts height above sea level detection, and detection is current The height above sea level H (n) of climber present position;
Motion state computing module judges current height above sea level H (n) corresponding states, including first according to new height above sea level H (n) the numerical value H (n-1) obtained with last detection, calculating DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) is equal to 0, climber is in level road state, the work of order audio playing module;
If DelH (n) is more than 0, climber is in state of going up a hill, if DelH (n) is less than 0, climber is in shape State, carries out following calculating, realizes and carry out speed state and trend condition adjudgement, then order audio playing module works;Design When height above sea level H (n) obtained by module the corresponding time be T (n), height above sea level H (n-1) corresponding time is T (n-1), is calculated VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, climber is in state at a slow speed, if VH (n) not less than V1 and less than V2, then climber is in middling speed state, if VH (n) is not less than V2, climber is in quick shape State;Wherein, V1, V2 are corresponding predetermined threshold value;
Height above sea level change acceleration A H (n)=VH (n)-VH (n-1) is calculated again, if AH (n) is more than 0, climber is in Acceleration mode, if AH (n) is equal to 0, climber is at the uniform velocity state, if AH (n) is less than 0, climber, which is in, slows down State;
Audio playing module judges time T (n) corresponding states of current detection shape corresponding to the time T (n-1) of last time detection Whether state is different, and corresponding audio class is played according to the setting result of new state and motion state setup module if different Type, does not switch if audio types are identical;Then order height above sea level detection module works, until stopping.
5. the audio playing apparatus of height above sea level change when according to claim 4 based on motion, it is characterised in that:The sound Frequency is to input to obtain from other electronic equipments, or downloads acquisition from network, or is obtained by recording, or passes through audio Core Generator Make and obtain.
6. the audio playing apparatus of height above sea level change when according to claim 4 based on motion, it is characterised in that:The fortune The corresponding relation of dynamic state and audio types is one-to-one or one-to-many, or many-one.
CN201510614483.9A 2015-09-24 2015-09-24 The audio frequency playing method and device of height above sea level change during based on motion Active CN105139875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510614483.9A CN105139875B (en) 2015-09-24 2015-09-24 The audio frequency playing method and device of height above sea level change during based on motion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510614483.9A CN105139875B (en) 2015-09-24 2015-09-24 The audio frequency playing method and device of height above sea level change during based on motion

Publications (2)

Publication Number Publication Date
CN105139875A CN105139875A (en) 2015-12-09
CN105139875B true CN105139875B (en) 2017-07-11

Family

ID=54725194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510614483.9A Active CN105139875B (en) 2015-09-24 2015-09-24 The audio frequency playing method and device of height above sea level change during based on motion

Country Status (1)

Country Link
CN (1) CN105139875B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106687958A (en) * 2016-12-08 2017-05-17 深圳市汇顶科技股份有限公司 Audio playing device, system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor montoring of athletic performance
US20080103022A1 (en) * 2006-10-31 2008-05-01 Motorola, Inc. Method and system for dynamic music tempo tracking based on exercise equipment pace
CN101583403A (en) * 2006-09-07 2009-11-18 耐克国际有限公司 Athletic performance sensing and/or tracking systems and methods
US20120203360A1 (en) * 2007-02-14 2012-08-09 Nike, Inc. Collection and display of athletic information
CN102955897A (en) * 2011-08-10 2013-03-06 索尼公司 Information processing apparatus, information processing method, program, and recording medium
CN103256925A (en) * 2013-04-26 2013-08-21 房凤梅 Multifunctional compass
CN104867506A (en) * 2015-04-08 2015-08-26 小米科技有限责任公司 Music automatic control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714648B (en) * 2015-03-25 2017-09-26 广东欧珀移动通信有限公司 A kind of switching method and apparatus of music scene

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor montoring of athletic performance
CN101583403A (en) * 2006-09-07 2009-11-18 耐克国际有限公司 Athletic performance sensing and/or tracking systems and methods
US20080103022A1 (en) * 2006-10-31 2008-05-01 Motorola, Inc. Method and system for dynamic music tempo tracking based on exercise equipment pace
US20120203360A1 (en) * 2007-02-14 2012-08-09 Nike, Inc. Collection and display of athletic information
CN102955897A (en) * 2011-08-10 2013-03-06 索尼公司 Information processing apparatus, information processing method, program, and recording medium
CN103256925A (en) * 2013-04-26 2013-08-21 房凤梅 Multifunctional compass
CN104867506A (en) * 2015-04-08 2015-08-26 小米科技有限责任公司 Music automatic control method and device

Also Published As

Publication number Publication date
CN105139875A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
JP4264752B2 (en) Audio signal player and playback method
CN1748242B (en) Audio reproduction apparatus, method, computer program
JP2007215784A (en) Content reproduction apparatus, audio reproduction machine, and content reproduction method
CN101120343A (en) Electronic device and method for selecting content items
US20220067114A1 (en) Search media content based upon tempo
CN107666496A (en) Application content method for pushing and device
CN105892628A (en) Music recommendation method and device as well as bicycle
US10372757B2 (en) Search media content based upon tempo
CN103716729B (en) Export the method and electronic equipment of audio
CN105304101A (en) Method for realizing matching music playing by detecting motion frequency of human body
CN101197180B (en) Player and method for playing media file
CN107316641A (en) A kind of sound control method and electronic equipment
CN105139875B (en) The audio frequency playing method and device of height above sea level change during based on motion
CN105832320A (en) Method and system for automatically selecting music to play according to exercise state of user
CN204465846U (en) Audio output apparatus
CN106325807A (en) Method and system for automatically performing adaptive regulation on volume during music switching process
CN105225680B (en) Audio frequency playing method and device with horizontal displacement is changed based on height above sea level
CN107301871A (en) A kind of adaptive method for playing music
CN106448710B (en) A kind of calibration method and music player devices of music play parameters
Chiarandini et al. A system for dynamic playlist generation driven by multimodal control signals and descriptors
CN101370216B (en) Emotional processing and playing method for mobile phone audio files
JP2007167472A (en) Reproducing machine and reproducing method of audio signal
CN105245955B (en) Visual aid playback method and device based on height above sea level variation and horizontal displacement
CN104503587B (en) A kind of method and electronic equipment of editor's audio
CN107577740A (en) The method and apparatus for determining next broadcasting content

Legal Events

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