CN105139875A - Audio playing method and device based on altitude change in movement time - Google Patents
Audio playing method and device based on altitude change in movement time Download PDFInfo
- Publication number
- CN105139875A CN105139875A CN201510614483.9A CN201510614483A CN105139875A CN 105139875 A CN105139875 A CN 105139875A CN 201510614483 A CN201510614483 A CN 201510614483A CN 105139875 A CN105139875 A CN 105139875A
- Authority
- CN
- China
- Prior art keywords
- state
- sea level
- level elevation
- climber
- 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.)
- Granted
Links
Landscapes
- Electric Clocks (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The invention provides an audio playing method and a device based on altitude change in movement time. The method comprises steps of dividing audio into different types; setting responding audio types of the sub-intervals; performing initial altitude detection and corresponding audio playing; after some intervals, re-detecting the altitude and calculating judging direction states, speed states and trend states; and playing the corresponding audio according to the new state. According to the invention, by providing the automatic playing selection and switching technology, intelligence of the audio playing device is further improved and demands of various sports lovers can be satisfied.
Description
Technical field
The present invention relates to a kind of audio frequency playing method based on sea level elevation change during motion and device, belong to the application of Audiotechnica at Sports Field.
Background technology
People usually like listening to the music while move when moving, such as run, when climbing the mountain, by listen to the music or the audio frequency of some other type as chirping of birds etc., the enjoyment of motion can be increased, eliminate the tired of motion, the mood of adjustment sporter (mainly climber), and then the efficiency promoting motion, improve the effect of motion.But the music that current people listen when moving and audio frequency be mostly realize selection one group of music after shuffle or played in order, but people usually tend to when being in different motion state listen different genres of music or audio frequency.To climb the mountain, when going up a hill, climber's physical demands is comparatively large, if now listen strong audio frequency magnificent, is then conducive to climber and holds on, crest a hill, and comparatively light when going down the hill, climber usually likes listening audio frequency more easily.But when using current audio playing apparatus, the music of listening when people move and audio frequency be selection one group of music after shuffle or played in order, when motion state changes, if people expect music or the audio frequency of listening other type, current technology cannot realize automatically switching, can only manual switchover play music or audio frequency, this is concerning the inconvenience brought sporter in use, and sporter needs to distract attention at the volley and frees hand to switch music, makes motion there is potential safety hazard.Namely the present invention is for addressing this problem and proposing.
Summary of the invention
The present invention proposes a kind of audio frequency playing method based on sea level elevation change during motion and device, and object is that sea level elevation change when can move according to climber selects suitable audio frequency to play automatically.
Technical scheme of the present invention provides a kind of audio frequency playing method based on sea level elevation change during motion, performs following steps:
Step 1, audio classification, comprise audio frequency is divided into dissimilar;
Step 2, motion state is arranged, and comprises and arranges audio types corresponding to often kind of motion state;
Step 3, sea level elevation detects and correspondingly audio frequency is play, and comprises following sub-step,
Step 3.1, it is n that note detects number of times, and initialization n=1, carries out sea level elevation initial detecting, detects the sea level elevation H(1 of current climber present position);
Step 3.2, audio frequency initial play;
Step 3.3, after certain interval of time t, makes n=n+1, re-starts sea level elevation and detects, detect the sea level elevation H(n of current climber present position);
Step 3.4, motion state calculates and judges, comprises first according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) equals 0, then climber is in level road state, enters step 3.5;
If DelH (n) is greater than 0, then climber is in the state of going up a hill, if DelH (n) is less than 0, then climber is in state, carries out following calculating, realizes carrying out speed state and trend condition adjudgement, then enters step 3.5;
If sea level elevation H (n) the corresponding time is T (n), the corresponding time of H (n-1) is T (n-1), calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in state at a slow speed, if VH (n) is not less than V1 and be less than V2, then climber is in middling speed state, if VH (n) is not less than V2, then climber is in fast state; Wherein, V1, V2 are corresponding predetermined threshold value;
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in acceleration mode, if AH (n) equals 0, then climber is at the uniform velocity state, if AH (n) is less than 0, then climber is in deceleration regime;
Step 3.5, judge that whether time T (n) corresponding state of current detection is different with last time T (n-1) corresponding state detected, if difference, the audio types corresponding according to new state plays, if audio types is identical, does not switch; Then step 3.3 is returned, until stop flow process.
And described audio frequency obtains from the input of other electronic equipments, or from web download acquisition, or obtained by recording, or obtained by the making of audio frequency Core Generator.
And the corresponding relation of described motion state and audio types is one to one, or one-to-many, or many-one.
The present invention is also corresponding provides a kind of audio playing apparatus based on sea level elevation change during motion, comprises with lower module:
Audio classification module, dissimilar for audio frequency is divided into;
Motion state arranges module, for arranging audio types corresponding to often kind of motion state;
Sea level elevation detection module, for carrying out sea level elevation detection;
Timing module, for determining the time that sea level elevation detects;
Motion state computing module, for the time obtained according to the sea level elevation obtained by sea level elevation detection module and timing module, calculates the motion state that climber is current;
Audio playing module, carries out correspondingly audio frequency broadcasting for arranging module acquired results according to motion state computing module and motion state.
And it is as follows that audio frequency plays the course of work,
It is n that sea level elevation detection module note detects number of times, and initialization n=1, carries out sea level elevation initial detecting, detects the sea level elevation H(1 of current climber present position);
Audio playing module carries out audio frequency initial play;
Sea level elevation detection module, after certain interval of time t, makes n=n+1, re-starts sea level elevation and detects, detect the sea level elevation H(n of current climber present position);
Motion state computing module judges current sea level elevation H(n) corresponding state, comprise first according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement
If DelH (n) equals 0, then climber is in level road state, and order audio playing module works;
If DelH (n) is greater than 0, then climber is in the state of going up a hill, if DelH (n) is less than 0, then climber is in state, carry out following calculating, realize carrying out speed state and trend condition adjudgement, then order audio playing module works;
If the corresponding time of timing module gained sea level elevation H (n) is T (n), the corresponding time of sea level elevation H (n-1) is T (n-1), calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in state at a slow speed, if VH (n) is not less than V1 and be less than V2, then climber is in middling speed state, if VH (n) is not less than V2, then climber is in fast state; Wherein, V1, V2 are corresponding predetermined threshold value;
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in acceleration mode, if AH (n) equals 0, then climber is at the uniform velocity state, if AH (n) is less than 0, then climber is in deceleration regime;
Audio playing module judges that whether time T (n) corresponding state of current detection is different with last time T (n-1) corresponding state detected, if difference, the result that arranges arranging module according to new state and motion state plays corresponding audio types, if audio types is identical, does not switch; Then order sea level elevation detection module works, until stop.
And described audio frequency obtains from the input of other electronic equipments, or from web download acquisition, or obtained by recording, or obtained by the making of audio frequency Core Generator.
And the corresponding relation of described 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 based on sea level elevation change during motion and device, select to play suitable audio frequency by the sea level elevation change detecting climber, and without the need to user's manual switchover, bring better audio experience to climber, the security of climber's motion can be improved simultaneously.The buyer of portable audio playing apparatus is much sports fan, and the automatic selection that the present invention proposes switches play-back technology and can further improve the intelligent of audio playing apparatus, meets the demand of numerous sports fan.Numerous climber has and moves while the custom of listening to the music, and therefore the present invention will have great marketable value.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention system schematic;
Fig. 2 is the real-time overhaul flow chart of embodiment of the present invention method.
Embodiment
Below in conjunction with drawings and Examples, technical solution of the present invention is specifically described.
See Fig. 1, the embodiment of the present invention provides a kind of audio playing apparatus based on sea level elevation, comprises with lower module:
Audio classification module, dissimilar for being divided into by audio frequency, number of types M, M are not less than 2, audio types is outputted to motion state and arranges module.
During concrete enforcement, audio frequency can input from other electronic equipments, or obtains from web download, or is obtained by recording, or is made by audio frequency Core Generator.Classification by manually classifying, also can be classified automatically.The foundation of automatic classification can have multiple, and include but not limited to rhythm, melody, musical instrument, style etc., title, singer etc. also can as parts for foundation, and the attribute that can carry according to audio file is classified.Can download some head in advance, such as 20 is first, and the audio frequency of the nature sound such as the music of different-style type and some record chirping of birds, is divided into M1 " light music ", M2 " march ", M3 " symphony " and M4 " nature " four audio types respectively by it.
Motion state arranges module, for arranging audio types corresponding when climber is in different motion Status Type; Motion state type and audio types and corresponding relation are outputted to audio playing module.
The motion state type of climber can be divided three classes: direction state, speed state and trend state, direction state can be set to Types Below: F1 " state of going up a hill ", F2 " state of going down the hill ", F3 " level road state ", speed state can be set to Types Below: S1 " fast state ", S2 " middling speed state ", S3 " at a slow speed state ", and trend state can be set to Types Below: Q1 " acceleration mode ", Q2 " deceleration regime ", Q3 " at the uniform velocity state ".State set { F1S1Q1, F1S1Q2, the F1S1Q3 of climber is constituted after three kinds of classification states are comprehensive, F1S2Q1, F1S2Q2, F1S2Q3, F1S3Q1, F1S3Q2, F1S3Q3, F2S1Q1, F2S1Q2, F2S1Q3, F2S2Q1, F2S2Q2, F2S2Q3, F2S3Q1, F2S3Q2, F2S3Q3, F3}, such as comprehensive state F1S1Q1 is the situation being simultaneously in F1 " state of going up a hill ", S1 " fast state " and Q1 " acceleration mode ", and during level road state F3, height above sea level does not change, so without the need to considering speed state and trend state.In set, each state may correspond to a kind of audio types, also can the corresponding a kind of audio types of various states, or the corresponding multiple audio types of a kind of state.Namely the corresponding relation of described motion state and audio types is one to one, or one-to-many, or many-one is all feasible.During concrete enforcement, can corresponding relation be set by the user, also directly can adopt the corresponding relation of acquiescence.
Such as only consider speed state: S1 " fast state ", S2 " at a slow speed state ", S3 " middling speed state "; Audio types corresponding to three states is set to respectively: the corresponding M3 of S1 corresponding M2 and M4, S2 corresponding M1 and M4, S3.Then F1S1Q1, F1S1Q2, F1S1Q3, F2S1Q1, F2S1Q2, F2S1Q3 meet S1 " fast state ", and the situation of corresponding M2 and M4, S2 " at a slow speed state ", S3 " middling speed state " in like manner.During concrete enforcement, can be reduced to and only judge speed state.
Sea level elevation detection module, for detecting the sea level elevation of the current present position of climber, exports current sea level elevation to audio playing module.Concrete detection can adopt prior art, utilizes existing detecting sensor to obtain altitude information, can with reference to the smart mobile phone with sea level elevation measuring ability.
For detecting the sea level elevation H (n) of the current present position of climber, output to motion state computing module, n represents the record value of this n-th sea level elevation of moving.
Timing module, for determining current record time T (n), export current record time T (n) to motion state computing module, n represents the record value of this n-th writing time of moving.Current record time T (n) namely detects the time of the sea level elevation H (n) obtaining the current present position of climber.
Described timing module, its current record time determined can adopt absolute time, as Beijing time, Greenwich Mean Time, also can record relative time, as the time that current relative mountain-climbing starts.Embodiment determines current record time T (n) according to Beijing time, exports current record time T (n) to motion state computing module, and n detects the sea level elevation obtaining the current present position of climber n-th time for identifying in this motion.
Motion state computing module, for the time obtained according to the sea level elevation obtained by sea level elevation detection module and timing module, calculates the motion state that climber is current, and motion state is outputted to audio playing module.
Described motion state computing module, record the sea level elevation H (n) inputted by sea level elevation detection module and current record time T (n) inputted by timing module, and judge its direction state according to formula (1) calculating sea level elevation change DelH (n), the wherein sea level elevation that records for T (n-1) moment writing time of H (n-1)
DelH (n)=H (n)-H (n-1) formula (1)
If DelH (n) is greater than 0, then climber is in " state of going up a hill ", if DelH (n) is less than 0, then climber is in " state of going down the hill ", if DelH (n) equals 0, then climber is in " level road state ";
If climber is in " level road state ", then do not calculate speed state and trend state, directly judge whether motion state changes; If climber is not in " level road state ", then judge its speed state according to formula (2) calculating sea level elevation pace of change VH (n),
VH (n)=ABS (DelH (n)/(T (n)-T (n-1))) formula (2)
Wherein, ABS() function takes absolute value.
If VH (n) is less than V1, then climber is in " at a slow speed state ", if VH (n) is not less than V1 and be less than V2, then climber is in " middling speed state ", if VH (n) is not less than V2, then climber is in " fast state ", wherein V1 is the criteria for classifying of " at a slow speed state " and " middling speed state ", wherein V2 is the criteria for classifying of " middling speed state " and " fast state ", V1 and V2 can be arranged according to own bodies quality by climber oneself, also can be obtained by statistics, or adopt default value.In embodiment, it is per minute that V1=5 rice is set, V2=10 rice is per minute, if VH (n) be less than 5 meters per minute, then climber is in " at a slow speed state ", if VH (n) be not less than 5 meters per minute and be less than 10 meters per minute, then climber is in " middling speed state ", if VH (n) be not less than 10 meters per minute, then climber is in " fast state ".
Calculate sea level elevation change acceleration A H (n) according to formula (3) again and judge its trend state,
AH (n)=VH (n)-VH (n-1) formula (3)
If AH (n) is greater than 0, then climber is in " acceleration mode ", if AH (n) equals 0, then climber is in " at the uniform velocity state ", if AH (n) is less than 0, then climber is in " deceleration regime ";
In above-mentioned calculating, n>1, namely only records height above sea level during first record, does not carry out motion state calculating.During first record, audio frequency can shuffle, also can give tacit consent to according to a certain pattern, as " state of going up a hill ", play.When calculating AH (n) for the first time, if VH (0)=0, AH (1)=VH (1)-VH (0).
Audio playing module, for the motion state that basis is obtained by motion state computing module, the motion state type of module and audio types and corresponding relation are set with motion state, obtain the audio types that current motion state is corresponding, and play the audio frequency of this audio types.
Further, audio playing module is according to the motion state obtained by motion state computing module, the motion state type of module and audio types and corresponding relation are set with motion state, play according to the audio types that the direction state of climber, speed state and trend condition selecting are suitable.Namely state set { F1S1Q1, F1S1Q2, F1S1Q3, F1S2Q1 is specifically belonged to according to current state, F1S2Q2, F1S2Q3, F1S3Q1, F1S3Q2, F1S3Q3, F2S1Q1, F2S1Q2, F2S1Q3, F2S2Q1, F2S2Q2, F2S2Q3, F2S3Q1, F2S3Q2, any in F2S3Q3, F3}, then the default of module is set according to motion state obtains audio types corresponding to current motion state.
During concrete enforcement, can obtain motion state according to by motion state computing module, the former motion state stored with audio playing module contrasts, and if the same continues to play original audio frequency, if difference, is switched to new audio types, and plays.For adapting to the sea level elevation residing for climber in real time, the present invention proposes: when climber climbs the mountain, sea level elevation detection module detects the sea level elevation of climber at set intervals, current sea level elevation is outputted to motion state computing module, motion state computing module carries out condition adjudgement according to current sea level elevation and timing module gained current time, if the new state that motion state computing module obtains is different with previous status, then export new state to audio playing module, be switched to new state respective audio type, and play.The information interaction between motion state computing module to audio playing module can be reduced like this, raise the efficiency.Specific works mode is as follows,
First sea level elevation detection module remembers that detecting number of times is n, and initialization n=1, carries out sea level elevation initial detecting, comprises the sea level elevation H(1 detecting current climber present position), input audio playing module; Timing module determination current record time T (1), exports current record time T (1) to motion state computing module;
Audio playing module carries out audio frequency initial play;
Sea level elevation detection module re-starts sea level elevation and detects, and after being included in certain interval of time t, makes n=n+1, detects the sea level elevation H(n of current climber present position); Timing module determination current record time T (n), exports current record time T (n) to motion state computing module;
Motion state computing module is according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) equals 0, then climber is in " level road state ", and order audio playing module works;
If DelH (n) is greater than 0, then climber is in " state of going up a hill ", if DelH (n) is less than 0, then climber is in " state of going down the hill ", carry out following calculating, realize carrying out speed state and trend condition adjudgement, then order audio playing module works:
According to timing module institute writing time, if the respective record time of sea level elevation H (n) is T (n), the respective record time of H (n-1) is T (n-1), calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in " at a slow speed state ", if VH (n) is not less than V1 and be less than V2, then climber is in " middling speed state ", if VH (n) is not less than V2, then climber is in " fast state ";
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in " acceleration mode ", if AH (n) equals 0, then climber is in " at the uniform velocity state ", if AH (n) is less than 0, then climber is in " deceleration regime ";
Then judge that whether time T (n) corresponding state detected is different from last time T (n-1) corresponding state detected, if different, by current state input audio playing module; If identical, then do not export;
The audio playing module audio types corresponding according to current state is play, if audio types is identical, does not need to switch; Then notify that sea level elevation detection module re-starts sea level elevation and detects, until quit work.
During concrete enforcement, module can be added on the equipment such as existing mp3, mp4, mobile phone and realize device provided by the present invention, software engineering also can be adopted to realize corresponding flow process and automatically run.A kind of audio frequency playing method based on sea level elevation change during motion that the embodiment of the present invention provides, comprises the following steps:
Step 1, audio classification, comprise and be divided into by audio frequency dissimilar, number of types M, M are generally not less than 2.
Step 2, motion state is arranged, and comprises and arranges audio types corresponding to often kind of motion state.
Step 3, sea level elevation detects and correspondingly audio frequency is play, and comprises following sub-step,
Step 3.1, carries out sea level elevation initial detecting, detects the sea level elevation H(1 of current climber present position);
During concrete enforcement, can remember that detecting number of times is n, initialization n=1, step 3.1 carries out sea level elevation detection first, obtains sea level elevation H(n), i.e. H(1).
Step 3.2, audio frequency initial play, audio frequency can shuffle, also can give tacit consent to according to a certain pattern, as " state of going up a hill ", play.
Step 3.3, after certain interval of time t, make n=n+1, re-start sea level elevation to detect, detect the sea level elevation H(n of current climber present position), when specifically implementing, t value can be arranged voluntarily by user or adopt the default setting preset, to adjust the time interval between twice sea level elevation detection, can be set so that height above sea level residing for tracking in time user the smaller time.
Step 3.4, motion state calculates and judges, comprises first according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) equals 0, then climber is in " level road state ", enters step 3.5;
If DelH (n) is greater than 0, then climber is in " state of going up a hill ", if DelH (n) is less than 0, then climber is in " state of going down the hill ", carries out following calculating, realizes carrying out speed state and trend condition adjudgement:
Calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in " at a slow speed state ", if VH (n) is not less than V1 and be less than V2, then climber is in " middling speed state ", if VH (n) is not less than V2, then climber is in " fast state ";
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in " acceleration mode ", if AH (n) equals 0, then climber is in " at the uniform velocity state ", if AH (n) is less than 0, then climber is in " deceleration regime ".
Step 3.5, judge that whether time T (n) corresponding state detected is different from last time T (n-1) corresponding state detected, if difference, the audio types corresponding according to new state plays, if audio types is identical, does not switch;
Then step 3.3 is returned, until stop flow process.During concrete enforcement, can by user's manual-lock, also can work as when automatically detecting that a period of time T height above sea level does not change and close, T value can be default settings, also can be arranged by user.
The invention provides the technical scheme that those skilled in the art can realize.Above embodiment is used for illustrative purposes only, but not limitation of the present invention, person skilled in the relevant technique; without departing from the spirit and scope of the present invention; can also make various conversion or modification, therefore all equivalent technical schemes, all fall into protection scope of the present invention.
Claims (7)
1. based on an audio frequency playing method for sea level elevation change during motion, it is characterized in that, perform following steps:
Step 1, audio classification, comprise audio frequency is divided into dissimilar;
Step 2, motion state is arranged, and comprises and arranges audio types corresponding to often kind of motion state;
Step 3, sea level elevation detects and correspondingly audio frequency is play, and comprises following sub-step,
Step 3.1, it is n that note detects number of times, and initialization n=1, carries out sea level elevation initial detecting, detects the sea level elevation H(1 of current climber present position);
Step 3.2, audio frequency initial play;
Step 3.3, after certain interval of time t, makes n=n+1, re-starts sea level elevation and detects, detect the sea level elevation H(n of current climber present position);
Step 3.4, motion state calculates and judges, comprises first according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement,
If DelH (n) equals 0, then climber is in level road state, enters step 3.5;
If DelH (n) is greater than 0, then climber is in the state of going up a hill, if DelH (n) is less than 0, then climber is in state, carries out following calculating, realizes carrying out speed state and trend condition adjudgement, then enters step 3.5;
If sea level elevation H (n) the corresponding time is T (n), the corresponding time of H (n-1) is T (n-1), calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in state at a slow speed, if VH (n) is not less than V1 and be less than V2, then climber is in middling speed state, if VH (n) is not less than V2, then climber is in fast state; Wherein, V1, V2 are corresponding predetermined threshold value;
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in acceleration mode, if AH (n) equals 0, then climber is at the uniform velocity state, if AH (n) is less than 0, then climber is in deceleration regime;
Step 3.5, judge that whether time T (n) corresponding state of current detection is different with last time T (n-1) corresponding state detected, if difference, the audio types corresponding according to new state plays, if audio types is identical, does not switch; Then step 3.3 is returned, until stop flow process.
2. according to claim 1 based on the audio frequency playing method of sea level elevation change during motion, it is characterized in that: described audio frequency obtains from the input of other electronic equipments, or obtain from web download, or pass through recording acquisition, or make acquisition by audio frequency Core Generator.
3. according to claim 1 or 2 based on the audio frequency playing method of sea level elevation change during motion, it is characterized in that: the corresponding relation of described motion state and audio types is for one to one, or one-to-many, or many-one.
4., based on an audio playing apparatus for sea level elevation change during motion, it is characterized in that, comprise with lower module:
Audio classification module, dissimilar for audio frequency is divided into;
Motion state arranges module, for arranging audio types corresponding to often kind of motion state;
Sea level elevation detection module, for carrying out sea level elevation detection;
Timing module, for determining the time that sea level elevation detects;
Motion state computing module, for the time obtained according to the sea level elevation obtained by sea level elevation detection module and timing module, calculates the motion state that climber is current;
Audio playing module, carries out correspondingly audio frequency broadcasting for arranging module acquired results according to motion state computing module and motion state.
5., according to claim 1 based on the audio frequency broadcast system of sea level elevation change during motion, it is characterized in that: it is as follows that audio frequency plays the course of work,
It is n that sea level elevation detection module note detects number of times, and initialization n=1, carries out sea level elevation initial detecting, detects the sea level elevation H(1 of current climber present position);
Audio playing module carries out audio frequency initial play;
Sea level elevation detection module, after certain interval of time t, makes n=n+1, re-starts sea level elevation and detects, detect the sea level elevation H(n of current climber present position);
Motion state computing module judges current sea level elevation H(n) corresponding state, comprise first according to new sea level elevation H(n) detect with last the numerical value H(n-1 obtained), calculate DelH (n)=H (n)-H (n-1), travel direction condition adjudgement
If DelH (n) equals 0, then climber is in level road state, and order audio playing module works;
If DelH (n) is greater than 0, then climber is in the state of going up a hill, if DelH (n) is less than 0, then climber is in state, carry out following calculating, realize carrying out speed state and trend condition adjudgement, then order audio playing module works;
If the corresponding time of timing module gained sea level elevation H (n) is T (n), the corresponding time of sea level elevation H (n-1) is T (n-1), calculate VH (n)=ABS (DelH (n)/(T (n)-T (n-1))), if VH (n) is less than V1, then climber is in state at a slow speed, if VH (n) is not less than V1 and be less than V2, then climber is in middling speed state, if VH (n) is not less than V2, then climber is in fast state; Wherein, V1, V2 are corresponding predetermined threshold value;
Calculate sea level elevation change acceleration A H (n)=VH (n)-VH (n-1) again, if AH (n) is greater than 0, then climber is in acceleration mode, if AH (n) equals 0, then climber is at the uniform velocity state, if AH (n) is less than 0, then climber is in deceleration regime;
Audio playing module judges that whether time T (n) corresponding state of current detection is different with last time T (n-1) corresponding state detected, if difference, the result that arranges arranging module according to new state and motion state plays corresponding audio types, if audio types is identical, does not switch; Then order sea level elevation detection module works, until stop.
6. according to claim 5 or 6 based on motion time sea level elevation change audio playing apparatus, it is characterized in that: described audio frequency obtains from the input of other electronic equipments, or obtain from web download, or pass through recording acquisition, or make acquisition by audio frequency Core Generator.
7. according to claim 5 or 6 based on the audio playing apparatus of sea level elevation change during motion, it is characterized in that: the corresponding relation of described motion state and audio types is for one to one, or one-to-many, or many-one.
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 true CN105139875A (en) | 2015-12-09 |
CN105139875B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106687958A (en) * | 2016-12-08 | 2017-05-17 | 深圳市汇顶科技股份有限公司 | Audio playing device, system and method |
Citations (8)
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 |
CN104714648A (en) * | 2015-03-25 | 2015-06-17 | 广东欧珀移动通信有限公司 | Method and device for switching music playing scenes |
CN104867506A (en) * | 2015-04-08 | 2015-08-26 | 小米科技有限责任公司 | Music automatic control method and device |
-
2015
- 2015-09-24 CN CN201510614483.9A patent/CN105139875B/en active Active
Patent Citations (9)
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 |
US20150258372A1 (en) * | 2007-02-14 | 2015-09-17 | 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 |
CN104714648A (en) * | 2015-03-25 | 2015-06-17 | 广东欧珀移动通信有限公司 | Method and device for switching music playing scenes |
CN104867506A (en) * | 2015-04-08 | 2015-08-26 | 小米科技有限责任公司 | Music automatic control method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106687958A (en) * | 2016-12-08 | 2017-05-17 | 深圳市汇顶科技股份有限公司 | Audio playing device, system and method |
Also Published As
Publication number | Publication date |
---|---|
CN105139875B (en) | 2017-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190332348A1 (en) | Cadence and Media Content Phase Alignment | |
US10254824B2 (en) | Systems and methods for output of content based on sensing an environmental factor | |
US20170235540A1 (en) | Cadence Determination and Media Content Selection | |
JP4264752B2 (en) | Audio signal player and playback method | |
US20160343410A1 (en) | Repetitive-Motion Activity Enhancement Based Upon Media Content Selection | |
US11113346B2 (en) | Search media content based upon tempo | |
JP2015058363A (en) | Audio representation device based on biomedical measurement parameter | |
US20190347291A1 (en) | Search Media Content Based Upon Tempo | |
JP2007215784A (en) | Content reproduction apparatus, audio reproduction machine, and content reproduction method | |
CN101004938B (en) | Apparatus and method for reproducing audio signal | |
CN105578258B (en) | A kind of method and device of video pre-filtering and video playback | |
CN104166716B (en) | A kind of method and device for assessing media file | |
KR102255152B1 (en) | Contents processing device and method for transmitting segments of variable size and computer-readable recording medium | |
CN105766001A (en) | System and method for audio processing using arbitrary triggers | |
CN101197180B (en) | Player and method for playing media file | |
CN105832320A (en) | Method and system for automatically selecting music to play according to exercise state of user | |
CN105139875A (en) | Audio playing method and device based on altitude change in movement time | |
Chiarandini et al. | A system for dynamic playlist generation driven by multimodal control signals and descriptors | |
CN106448710B (en) | A kind of calibration method and music player devices of music play parameters | |
CN101370216B (en) | Emotional processing and playing method for mobile phone audio files | |
CN106648540A (en) | Music switching method and device | |
CN105225680B (en) | Audio frequency playing method and device with horizontal displacement is changed based on height above sea level | |
CN105139876A (en) | Altitude-based audio playing method and device | |
US20150242467A1 (en) | Parameter based media categorization | |
CN104503587B (en) | A kind of method and electronic equipment of editor's audio |
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 |