Method and device for adjusting volume
A volume and volume adjustment technology, which is applied in the direction of sound input/output, data processing input/output process, instruments, etc., can solve the problem of inconvenient operation of adjusting the volume, and achieve convenient and faster operation, increase or decrease the volume Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] A method for adjusting volume provided by an embodiment of the present invention is introduced in detail.
[0042] refer to figure 1 , showing a flow chart of a method for adjusting volume in an embodiment of the present invention, which is applied to a mobile terminal, the mobile terminal is provided with a rotary encoder, and the method includes:
[0043] Step 101, collecting signal data of the rotary encoder.
[0044] In this embodiment, the mobile terminal uses a wheel instead of a button, and the wheel is connected to a rotary encoder. When the user adjusts the volume through the wheel, the rotary encoder outputs corresponding signal data, and the mobile terminal collects the signal data of the rotary encoder. Specifically, the rotary encoder can be an RE08 encoder. The encoder is provided with an interface for connecting the working voltage, grounding and signal data output. The mobile terminal is provided with an interface for providing the working voltage, grou...
Embodiment 2
[0051] refer to figure 2 , shows a flow chart of a method for adjusting volume in another embodiment of the present invention.
[0052] Step 201, creating an analysis model for the signal data of the rotary encoder.
[0053] In this embodiment, the mobile terminal obtains the magnitude and direction of the volume adjustment by analyzing the signal data of the rotary encoder, and an analysis model can be created in advance for the signal data of the rotary encoder at the mobile terminal. The analysis model consists of a driving model and an analog input model. The function of the driving model is to convert the signal generated by the rotation into a driving event. The function of the analog input model is to simulate the driving event into a conventional input device through mapping. The step of creating the model may include: creating a device control node through the underlying software driver layer, and the application layer software collects data through the device contr...
Embodiment 3
[0069] A device for adjusting volume provided by an embodiment of the present invention is introduced in detail.
[0070] refer to image 3 , shows a block diagram of a device for adjusting volume in an embodiment of the present invention, which is deployed in a mobile terminal, wherein the mobile terminal is provided with a rotary encoder, and the device includes:
[0071] A signal data collection module 301, configured to collect signal data of the rotary encoder;
[0072] A signal data analysis module 302, configured to analyze the rotation direction and step size of the rotary encoder according to the signal data;
[0073] The volume adjustment module 303 is configured to adjust the volume according to the rotation direction and step size of the rotary encoder.
[0074] In the embodiment of the present invention, preferably, the signal data collection module is specifically configured to obtain the potential and phase of the signal from the two output channels of the rot...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


