CN110035352B - Method for displaying sound effect, flexible device and storage medium - Google Patents
Method for displaying sound effect, flexible device and storage medium Download PDFInfo
- Publication number
- CN110035352B CN110035352B CN201910133859.2A CN201910133859A CN110035352B CN 110035352 B CN110035352 B CN 110035352B CN 201910133859 A CN201910133859 A CN 201910133859A CN 110035352 B CN110035352 B CN 110035352B
- Authority
- CN
- China
- Prior art keywords
- frequency
- deformation
- audio signal
- frequency ranges
- flexible device
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000000694 effects Effects 0.000 title claims abstract description 79
- 230000005236 sound signal Effects 0.000 claims abstract description 125
- 238000005070 sampling Methods 0.000 claims abstract description 25
- 230000000875 corresponding effect Effects 0.000 claims description 61
- 238000004590 computer program Methods 0.000 claims description 13
- 230000001276 controlling effect Effects 0.000 claims description 8
- 230000002596 correlated effect Effects 0.000 claims description 4
- 210000005069 ears Anatomy 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000001228 spectrum Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000001747 exhibiting effect Effects 0.000 description 4
- 238000005452 bending Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 210000000697 sensory organ Anatomy 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/02—Casings; Cabinets ; Supports therefor; Mountings therein
- H04R1/028—Casings; Cabinets ; Supports therefor; Mountings therein associated with devices performing functions other than acoustics, e.g. electric candles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/22—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention provides a method for showing a sound effect, flexible equipment and a storage medium, relates to the technical field of communication, and aims to solve the problem that when a user is in a noisy environment, the sound effect of showing an audio signal to the user by terminal equipment is poor. The method comprises the following steps: acquiring M frequency values obtained by sampling a target audio signal to be played by the flexible equipment; determining K first frequency ranges to which the M frequency values belong from N preset first frequency ranges, wherein each first frequency range in the K first frequency ranges corresponds to at least one frequency value in the M frequency values, the N first frequency ranges correspond to N deformation regions of the flexible equipment one by one, and each deformation region corresponds to one deformation quantity; and controlling K deformation areas of the flexible equipment corresponding to the K first frequency ranges to deform according to the corresponding deformation quantity respectively in the process of playing the target audio signal by the flexible equipment. The method can be applied to the scene that the flexible equipment plays the audio signal.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for showing sound effect, flexible equipment and a storage medium.
Background
With the continuous development of terminal technology, terminal devices generally have a function of playing music.
Currently, a terminal device may play music through an audio output module (e.g., a speaker) of the terminal device to display sound effects of the music to a user. Specifically, when the terminal device plays music through the speaker, the user can listen to the music played by the terminal device through his/her ear, thereby distinguishing the sound effects of the music (e.g., high pitch, middle pitch, low pitch, etc. in the music) to enjoy the music.
However, when the user is in a noisy environment, since the music played by the terminal device through the audio output module may not be clearly transmitted to the user's ear, the user may not clearly recognize the sound effect of the music. That is, in some scenarios, the terminal device may present music to the user with poor sound effect.
Disclosure of Invention
The embodiment of the invention provides a method for showing a sound effect, which aims to solve the problem that when a user is in a noisy environment, the sound effect of showing an audio signal to the user by a terminal device is poor.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for displaying sound effect, where the method may be applied to a flexible device, and the method may include: obtaining M frequency values, determining K first frequency ranges to which the M frequency values belong from N preset first frequency ranges, and controlling each deformation region in the K deformation regions of the flexible device to deform according to the corresponding deformation amount in the process of playing the target audio signal by the flexible device. The M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible equipment, and M is a positive integer; each first frequency range in the K first frequency ranges respectively corresponds to at least one frequency value in the M frequency values, the N first frequency ranges are in one-to-one correspondence with the N deformation regions, each deformation region in the N deformation regions respectively corresponds to one deformation quantity, and K is an integer less than or equal to N; the K deformation regions are deformation regions corresponding to the K first frequency ranges in the N deformation regions.
In a second aspect, embodiments of the present invention provide a flexible device, which includes an obtaining module, a determining module, and a control module. The acquisition module is used for acquiring M frequency values, wherein the M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible equipment, and M is a positive integer; the determining module is used for determining K first frequency ranges to which the M frequency values obtained by the obtaining module belong from N preset first frequency ranges, each first frequency range in the K first frequency ranges corresponds to at least one frequency value in the M frequency values, the N first frequency ranges correspond to N deformation regions of the flexible equipment one to one, each deformation region in the N deformation regions corresponds to one deformation quantity, N is a positive integer, and K is an integer smaller than or equal to N; and the control module is used for controlling each deformation area in the K deformation areas of the flexible equipment to deform according to the corresponding deformation amount in the process of playing the target audio signal by the flexible equipment, wherein the K deformation areas are the deformation areas corresponding to the K first frequency ranges determined by the determination module in the N deformation areas.
In a third aspect, an embodiment of the present invention provides a flexible device, which includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for exhibiting sound effect provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the method for displaying sound effect provided in the first aspect are implemented.
In the embodiment of the present invention, M frequency values (the M frequency values are frequency values obtained by sampling a target audio signal to be played by a flexible device) may be obtained, K first frequency ranges (each of the K first frequency ranges corresponds to at least one frequency value of the M frequency values) to which the M frequency values belong are determined from N preset first frequency ranges (the N first frequency ranges correspond to N deformation regions of the flexible device one by one), and each of K deformation regions of the flexible device (the K deformation regions are deformation regions of the N deformation regions of the flexible device corresponding to the K first frequency ranges) is controlled to deform according to a corresponding deformation amount in a process of playing the target audio signal by the flexible device. By the scheme, in the process of playing the target audio signal (such as music) by the flexible equipment, the flexible equipment can control the deformation area of the flexible equipment to deform according to the corresponding deformation quantity according to the frequency value of the target audio signal, so that the sound effect of the audio signal played by the flexible equipment can be displayed to a user by the flexible equipment through deformation. As such, when the user is in a noisy environment, even if the user cannot distinguish the sound effect of the audio signal (e.g., treble, midrange, bass, etc. in the audio signal) by hearing, the user can sense the deformation of the flexible apparatus by sense to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a method for displaying sound effect according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram illustrating a method for showing sound effect according to an embodiment of the present invention;
FIG. 4 is a schematic view of a demarcated area of a flexible device according to an embodiment of the present invention;
FIG. 5 is a third schematic diagram illustrating a method for displaying sound effect according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a flexible device provided in an embodiment of the present invention;
fig. 7 is a hardware schematic diagram of a flexible device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first frequency range and the second frequency range, etc. are used to distinguish between different frequency ranges, rather than to describe a particular order of frequency ranges.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides a method for showing sound effect, flexible equipment and a storage medium, which can acquire M frequency values (the M frequency values are frequency values obtained by sampling target audio signals to be played by the flexible equipment), and K first frequency ranges to which the M frequency values belong are determined from N preset first frequency ranges (the N first frequency ranges correspond to the N deformation areas of the flexible device one by one) (each of the K first frequency ranges corresponds to at least one of the M frequency values), and in the process of playing the target audio signal by the flexible device, controlling each deformation area of K deformation areas (the K deformation areas are the deformation areas corresponding to the K first frequency ranges in the N deformation areas of the flexible device) of the flexible device to deform according to the corresponding deformation amount. By the scheme, in the process of playing the target audio signal (such as music) by the flexible equipment, the flexible equipment can control the deformation area of the flexible equipment to deform according to the corresponding deformation quantity according to the frequency value of the target audio signal, so that the sound effect of the audio signal played by the flexible equipment can be displayed to a user by the flexible equipment through deformation. As such, when the user is in a noisy environment, even if the user cannot distinguish the sound effect of the audio signal (e.g., treble, midrange, bass, etc. in the audio signal) by hearing, the user can sense the deformation of the flexible apparatus by sense to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied by the method for presenting sound effect provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for presenting a sound effect provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for presenting a sound effect may be run based on the android operating system shown in fig. 1. Namely, the processor or the terminal can realize the method for displaying the sound effect provided by the embodiment of the invention by running the software program in the android operating system.
The flexible device in embodiments of the present invention may be a device having a flexible screen. The device may be a terminal device, and the terminal device may be a mobile terminal or a non-mobile terminal. By way of example, the mobile terminal may be a mobile phone, a tablet computer, a child watch, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the method for displaying sound effect provided by the embodiment of the present invention may be the flexible device, or may also be a functional module and/or a functional entity capable of implementing the method for displaying sound effect in the flexible device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a flexible device as an example to exemplarily describe the method for exhibiting sound effect provided by the embodiment of the present invention.
In the embodiment of the present invention, when a user uses a flexible device to play an audio signal (e.g., music, etc.), the flexible device may show a sound effect of the audio signal to the user by obtaining frequency values of the audio signal, determining K first frequency ranges to which the frequency values belong (the K first frequency ranges correspond to K deformation regions of the flexible device one to one), and controlling each of the K deformation regions of the flexible device to deform according to a corresponding deformation amount. So, in the scene that the user can't distinguish audio signal's audio effect through the sense of hearing, because flexible equipment can show audio signal's audio effect to the user through taking place deformation, consequently the user can experience flexible equipment's deformation through the sense organ to distinguish audio signal's audio effect, thereby can improve in this scene, flexible equipment shows audio signal's audio effect to the user. That is, in this scenario, the flexible device may be better used to present the acoustics effect of the audio signal by means other than outputting sound (e.g., deformation of the flexible device in the embodiment of the present invention).
The following describes an exemplary method for displaying sound effect according to an embodiment of the present invention with reference to the accompanying drawings.
As shown in fig. 2, an embodiment of the invention provides a method for exhibiting sound effect, which may include the following steps S201 to S203.
S201, the flexible device obtains M frequency values.
The M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible device, and M is a positive integer.
In the embodiment of the invention, in order to enable the flexible device to control the deformation region of the flexible device to generate corresponding deformation according to the frequency of the target audio signal in real time in the process of playing the target audio signal by the flexible device, so as to display the sound effect of the target audio signal to a user in real time, the embodiment of the invention can sample the target audio signal in real time. Moreover, when the playing time corresponding to the target audio signal is long, the embodiment of the invention can process the sampling points once after sampling the preset number of sampling points. Therefore, the processing performance of the flexible equipment can be balanced on the basis of ensuring that the flexible equipment deforms in a deformation area to show the sound effect to a user in real time.
In the embodiment of the present invention, the preset number may be 1024 or any other possible numerical value that meets the actual use requirement, and the embodiment of the present invention is not limited. That is, in the embodiment of the present invention, the flexible device may process each 1024 sampling points of the target audio signal after sampling the 1024 sampling points. Specifically, the method for processing the sampling point by the flexible device will be described in detail in S202 below, and will not be described herein again.
Optionally, in the embodiment of the present invention, the target audio signal may be any possible audio signal such as music, a recording, a voice, and the like, and may be determined specifically according to an actual use requirement, which is not limited in the embodiment of the present invention. In this embodiment of the present invention, the target audio signal may specifically be an audio clip in an audio signal to be played by the flexible device, that is, the flexible device may execute the method provided in the embodiment of the present invention by using each audio clip in the audio signal to be played by the flexible device as a unit. Therefore, the sound effect of the audio signal can be displayed to a user in real time in the process of playing the audio signal by the flexible equipment.
It should be noted that, in the embodiment of the present invention, an example of sampling and processing an audio segment by a flexible device is described. In a specific implementation, for each audio clip in the audio signal to be played by the flexible device, the flexible device needs to execute the method provided by the embodiment of the present invention, that is, in a process of playing the audio signal by the flexible device, the flexible device can circularly execute the method provided by the embodiment of the present invention, so as to display the sound effect of the audio signal to the user in real time.
In this embodiment of the present invention, in a process of playing an audio signal by a flexible device, taking an audio clip (for example, the above-mentioned target audio signal) in the audio signal as an example, the flexible device may perform frequency detection on the target audio signal through a sound detection unit in the flexible device, so as to sample the target audio signal. Specifically, in a case where the target audio signal is an analog audio signal, the flexible device may convert the analog audio signal into a digital audio signal, perform fourier transform on the digital audio signal to obtain a frequency spectrum of the digital audio signal, and then sample the frequency spectrum to obtain a result of sampling the target audio signal, for example, the flexible device may sample the frequency spectrum to obtain the M frequency values.
Of course, it can be understood that, in the embodiment of the present invention, in the case that the target audio signal is a digital audio signal, the flexible device may directly perform fourier transform on the digital audio signal to obtain a frequency spectrum of the digital audio signal, and then sample the frequency spectrum to obtain a result of sampling the target audio signal, for example, the flexible device may sample the frequency spectrum to obtain the M frequency values.
Optionally, in the embodiment of the present invention, with reference to fig. 2, as shown in fig. 3, the above S201 may be specifically implemented by the following S201a and S201 b.
S201a, the flexible device samples the target audio signal to obtain T frequency values.
In the embodiment of the present invention, the target audio signal may include various frequency values, for example, frequency values within a range of human auditory frequencies may be included, and frequency values outside the range of human auditory frequencies may be included. That is, the result of the flexible device sampling the target audio signal may include frequency values within the range of human auditory frequencies, and may also include frequency values outside the range of human auditory frequencies. In order to remove frequency values outside the range of human auditory frequencies, the flexible device may obtain frequency values within the range of human auditory frequencies, i.e., the above-mentioned M frequency values, from the T frequency values after sampling the target audio signal to obtain T frequency values.
S201b, the flexible device obtains M frequency values belonging to a preset second frequency range from the T frequency values.
Wherein T is a positive integer greater than or equal to M, and the second frequency range may be used to indicate a human auditory frequency range, i.e., the second frequency range may be 20Hz (hertz) -20KHz (kilohertz).
Optionally, in an embodiment of the present invention, the second frequency range may specifically be 100Hz to 20 KHz. In this way, the ultra-low sound (e.g., frequency value in the range of 20Hz-99 Hz) which is inconvenient for human ears to hear can be removed, so that the sound effect of the audio signal presented to the user by the flexible device can be improved.
In the embodiment of the invention, when the flexible equipment shows the sound effect of the target audio signal to the user, the flexible equipment can remove the frequency value outside the range of the auditory frequency of the human ear, so that the flexible equipment only processes the frequency value within the range of the auditory frequency of the human ear without processing the frequency value outside the range of the auditory frequency of the human ear, and further the invalid processing of the frequency value outside the range of the auditory frequency of the human ear by the flexible equipment can be avoided.
S202, the flexible device determines K first frequency ranges to which the M frequency values belong from the preset N first frequency ranges.
Each of the K first frequency ranges corresponds to at least one of the M frequency values, the N first frequency ranges correspond to the N deformation regions one to one, each of the N deformation regions corresponds to one deformation amount, and K is an integer less than or equal to N.
In the embodiment of the present invention, after the flexible device obtains M frequency values of the target audio signal, the flexible device may determine a first frequency range to which the M frequency values belong in N preset first frequency ranges, that is, the K first frequency ranges. Then, the flexible device can determine K deformation regions of the flexible device corresponding to the K first frequency ranges, so that the flexible device can control the K deformation regions to deform according to the corresponding deformation amounts, and the sound effect of the target audio signal is displayed to the user. In this way, the flexible device can present the sound effect of the audio signal played by the flexible device to the user.
Optionally, in this embodiment of the present invention, the N first frequency ranges may be frequency ranges obtained by dividing a human ear hearing frequency range, where N may be a preset numerical value, and may be used to represent the number of the divided frequency ranges.
It can be understood that the value of N may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
For example, assuming that the human auditory frequency range is 20Hz-20KHz and N is 20, the 20 first frequency ranges may be frequency ranges divided by 20Hz-20 KHz. Specifically, the average division of 20Hz-20KHz into 20 parts can be used to divide 20Hz-20 KHz. Specifically, the frequency range after dividing 20Hz to 20KHz may be: 20Hz-1KHz, 1KHz-2KHz, 2KHz-3KHz, … 19KHz-20 KHz.
Optionally, in this embodiment of the present invention, the flexible device may include N deformation regions. Specifically, when the flexible device is a device having a flexible screen, the N deformation regions may be N regions on the flexible screen. That is, it can be understood that the N deformation regions constitute the flexible screen.
In the embodiment of the present invention, N deformation regions of the flexible device correspond to the N first frequency ranges one by one, that is, one deformation region corresponds to one first frequency range.
It is understood that, in the embodiment of the present invention, a possible manner may be that the number of the deformation regions of the flexible device is determined, and then the number of the first frequency ranges is determined according to the number of the deformation regions of the flexible device. Another possible way is: the number of the first frequency ranges may be determined, and then the number of the deformation regions of the flexible device may be determined according to the number of the first frequency ranges. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, assuming that the flexible device is a device having a flexible screen, and a length of a certain side of the flexible screen (for example, a longer side of the flexible screen) is 15cm (centimeter), and assuming that the number of the first frequency ranges is determined first, then the number of deformation regions of the flexible device is determined according to the number of the first frequency ranges, and assuming that the number N of the first frequency ranges is 20, after determining that the number N of the first frequency ranges is 20, the side of the flexible screen may be divided into 20 regions (as shown in (a) of fig. 4), that is, a region block with a side length of 0.75cm (centimeter) is one deformation region (as shown in (b) of fig. 4).
Optionally, in the embodiment of the present invention, as shown in fig. 5 in combination with fig. 2, the above S202 may be specifically implemented by the following S202 a.
S202a, the flexible device determines, for each of the M frequency values, a frequency range to which one frequency value belongs from the preset N first frequency ranges, so as to determine K first frequency ranges from the N first frequency ranges.
In this embodiment of the present invention, after the flexible device obtains M frequency values, the flexible device may determine, according to each of the M frequency values, a frequency range to which the frequency value belongs from N preset first frequency ranges, so as to determine, from the N preset first frequency ranges, K first frequency ranges to which the M frequency values belong.
It is understood that, in the embodiment of the present invention, the K first frequency ranges may be all of the N first frequency ranges (i.e., K ═ N), or may be some of the N first frequency ranges (i.e., K < N). And, each of the K first frequency ranges corresponds to at least one of the M frequency values.
Exemplarily, assuming that M is 5, that is, the flexible device obtains 5 frequency values, and the 5 frequency values are 500Hz, 900Hz, 2.5KHz, 6KHz and 8KHz, and assuming that N is 20, and the preset 20 first frequency ranges are 20Hz-1KHz, 1KHz-2KHz, 2KHz-3KHz and … 19KHz-20KHz, respectively, then the flexible device may determine that 500Hz and 900H belong to the range of 20Hz-1KHz, 2.5KHz belongs to the range of 2KHz-3KHz, 6KHz belongs to the range of 6KHz-7KHz and 8KHz belongs to the range of 8KHz-9KHz, that is, the flexible device may determine, according to each frequency value of the 5 frequency values, a frequency range to which each frequency value of the 5 frequency values belongs from the preset 20 first frequency ranges, that is, the above-mentioned 20Hz-1KHz, 2-3 KHz, 2KHz, The 4 first frequency ranges of 6KHz-7KHz and 8KHz-9KHz, so that the flexible device can determine that the 5 frequency values belong to the 4 first frequency ranges (i.e., K ═ 4 as described above).
In the embodiment of the invention, when the flexible device displays the sound effect of the target audio signal to the user, the flexible device can determine K first frequency ranges to which the frequency values belong in the N first frequency ranges according to the obtained frequency values of the target audio signal, so that the flexible device can determine K corresponding deformation regions in the N deformation regions of the flexible device according to the K first frequency ranges.
S203, in the process that the flexible device plays the target audio signal, the flexible device controls each deformation area in the K deformation areas of the flexible device to deform according to the corresponding deformation amount.
And the K deformation areas are deformation areas corresponding to the K first frequency ranges in the N deformation areas.
Optionally, in an embodiment of the present invention, each of the N first frequency ranges corresponds to a preset frequency value, and the preset frequency value corresponding to one first frequency range may be used to indicate a deformation amount of the deformation region corresponding to one first frequency range.
Optionally, in the embodiment of the present invention, the preset frequency value corresponding to a first frequency range may be any positive integer of 100 and 1000.
Optionally, in this embodiment of the present invention, the N preset frequency values corresponding to the N first frequency ranges may be preset in the flexible device by a manufacturer of the flexible device; a setup interface may also be provided by the manufacturer of the flexible device and set up by the user through the setup interface.
Optionally, in the embodiment of the present invention, after the flexible device determines the K first frequency ranges to which the M frequency values belong, the flexible device may calculate deformation amounts of the K deformation regions corresponding to the K first frequency ranges according to preset frequency values corresponding to the K first frequency ranges, so as to control the K deformation regions to deform according to the corresponding deformation amounts.
In the embodiment of the invention, the flexible equipment is independently controlled when controlling the deformation of the K deformation areas, namely the flexible equipment respectively controls each deformation area in the K deformation areas to deform according to the deformation amount corresponding to the deformation area. Therefore, the flexible device can deform by controlling the K deformation areas so as to show the sound effect of the target audio signal to a user. In the process that the flexible equipment controls the deformation area to deform, a user can feel the deformation of the flexible equipment through sense organ so as to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
Optionally, in this embodiment of the present invention, the flexible device may calculate the deformation amounts of the K deformation regions corresponding to the K first frequency ranges through the following formula. Wherein the formula may be: and the deformation quantity is the preset frequency value and the deformation coefficient.
Optionally, in the embodiment of the present invention, the deformation coefficient may be preset in the flexible device by a manufacturer of the flexible device, and the deformation coefficient may be 0.01.
It is understood that, in the embodiment of the present invention, the deformation coefficient may be a bending coefficient, which is used to indicate a degree of change of bending when the flexible device is deformed.
For example, taking one of the K first frequency ranges as an example, assuming that the preset frequency value corresponding to the first frequency range is 500, the deformation amount of the deformation region corresponding to the first frequency range may be 500 × 0.01 — 5. Specifically, when the deformation region is deformed, the deformation amount of the deformation region may be 5.
Optionally, in this embodiment of the present invention, the deformation amount of each deformation region in the flexible device is positively correlated with the corresponding value of the first frequency range. I.e. can be understood as: the larger the value of a first frequency range, the larger the amount of deformation of the deformation region corresponding to the first frequency range.
Illustratively, taking deformation region N1 and deformation region N2 in the flexible device as an example, assume that the first frequency range corresponding to deformation region N1 is P1, the first frequency range corresponding to deformation region N2 is P2, and the values in P1 are all greater than those in P2, so that if P1> P2, the deformation amount of deformation region N1 corresponding to P1 is greater than that of deformation region N2 corresponding to P2. Wherein, the above-mentioned values of P1 being greater than those of P2 means that any one of P1 is greater than any one of P2.
In the embodiment of the present invention, the flexible device may determine, according to the obtained frequency value of the target audio signal to be played, a deformation region corresponding to the first frequency range to which the frequency value belongs, so that each deformation region in the deformation region of the flexible device may deform according to the corresponding deformation amount. As such, when the user is in a noisy environment, even if the user cannot distinguish the sound effect of the audio signal (e.g., treble, midrange, bass, etc. in the audio signal) by hearing, the user can sense the deformation of the flexible apparatus by sense to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
When the user can not distinguish the sound effect of the music (such as high pitch, middle pitch, low pitch and the like in the music) through the loudspeaker, the user can clearly distinguish the sound effect of the music by feeling the deformation of the deformation area of the flexible equipment.
It should be noted that, in the embodiment of the present invention, the methods for exhibiting sound effects shown in the above drawings are all exemplarily described by combining one drawing in the embodiment of the present invention. In specific implementation, the method for displaying sound effect shown in each of the above drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and will not be described herein again.
As shown in FIG. 6, an embodiment of the present invention provides a flexible device 300, which may include an obtaining module 301, a determining module 302, and a controlling module 303. The obtaining module 301 is configured to obtain M frequency values, where the M frequency values are frequency values obtained by sampling a target audio signal to be played by a flexible device, and M is a positive integer; a determining module 302, configured to determine, from preset N first frequency ranges, K first frequency ranges to which the M frequency values obtained by the obtaining module 301 belong, where each of the K first frequency ranges corresponds to at least one frequency value of the M frequency values, the N first frequency ranges correspond to N deformation regions of the flexible device one to one, each of the N deformation regions corresponds to one deformation amount, N is a positive integer, and K is an integer less than or equal to N; the control module 303 is configured to control each of K deformation regions of the flexible device to deform according to a corresponding deformation amount in a process of playing the target audio signal by the flexible device, where the K deformation regions are deformation regions of the N deformation regions corresponding to the K first frequency ranges determined by the determining module 302.
Optionally, in the flexible device provided in the embodiment of the present invention, the obtaining module 301 is specifically configured to sample a target audio signal to obtain T frequency values; obtaining M frequency values belonging to a preset second frequency range from the T frequency values, wherein the second frequency range is used for indicating the auditory frequency range of the human ear; the N first frequency ranges are frequency ranges obtained by dividing the second frequency range, and T is a positive integer greater than or equal to M.
Optionally, in the flexible device provided in the embodiment of the present invention, the determining module 302 is specifically configured to determine, for each frequency value of the M frequency values acquired by the acquiring module 301, a frequency range to which one frequency value belongs from preset N first frequency ranges, so as to determine K first frequency ranges from the N first frequency ranges.
Optionally, in the flexible device provided in the embodiment of the present invention, each of the N first frequency ranges corresponds to a preset frequency value, and the preset frequency value corresponding to one of the first frequency ranges is used to indicate a deformation amount of the deformation region corresponding to the one of the first frequency ranges.
Optionally, in the flexible device provided in the embodiment of the present invention, the deformation amount of each deformation region is positively correlated with the corresponding value of the first frequency range.
The flexible device provided by the embodiment of the present invention can implement each process implemented by the flexible device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the present invention provides a flexible device, where the flexible device may obtain M frequency values (where the M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible device), determine, from preset N first frequency ranges (where the N first frequency ranges are in one-to-one correspondence with N deformation regions of the flexible device), K first frequency ranges (where each of the K first frequency ranges corresponds to at least one of the M frequency values), to which the M frequency values belong, and control, in a process of playing the target audio signal by the flexible device, each of K deformation regions of the flexible device (where the K deformation regions are deformation regions corresponding to the K first frequency ranges among the N deformation regions of the flexible device) to deform according to a corresponding deformation amount. By the scheme, in the process of playing the target audio signal (such as music) by the flexible equipment, the flexible equipment can control the deformation area of the flexible equipment to deform according to the corresponding deformation quantity according to the frequency value of the target audio signal, so that the sound effect of the audio signal played by the flexible equipment can be displayed to a user by the flexible equipment through deformation. As such, when the user is in a noisy environment, even if the user cannot distinguish the sound effect of the audio signal (e.g., treble, midrange, bass, etc. in the audio signal) by hearing, the user can sense the deformation of the flexible apparatus by sense to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
Fig. 7 is a schematic diagram of a hardware structure of a flexible device for implementing various embodiments of the present invention. The flexible device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the flexible device configuration shown in fig. 7 does not constitute a limitation of flexible devices, which may include more or fewer components than shown, or some components in combination, or a different arrangement of components. In the embodiment of the present invention, the flexible device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain M frequency values, determine K first frequency ranges to which the M frequency values belong from the preset N first frequency ranges, and control each of the K deformation regions of the flexible device to deform according to a corresponding deformation amount in the process of playing the target audio signal by the flexible device. The M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible equipment, and M is a positive integer; each first frequency range in the K first frequency ranges respectively corresponds to at least one frequency value in the M frequency values, the N first frequency ranges are in one-to-one correspondence with the N deformation regions, each deformation region in the N deformation regions respectively corresponds to one deformation quantity, and K is an integer less than or equal to N; the K deformation regions are deformation regions corresponding to the K first frequency ranges in the N deformation regions.
The embodiment of the present invention provides a flexible device, where the flexible device may obtain M frequency values (where the M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible device), determine, from preset N first frequency ranges (where the N first frequency ranges are in one-to-one correspondence with N deformation regions of the flexible device), K first frequency ranges (where each of the K first frequency ranges corresponds to at least one of the M frequency values), to which the M frequency values belong, and control, in a process of playing the target audio signal by the flexible device, each of K deformation regions of the flexible device (where the K deformation regions are deformation regions corresponding to the K first frequency ranges among the N deformation regions of the flexible device) to deform according to a corresponding deformation amount. By the scheme, in the process of playing the target audio signal (such as music) by the flexible equipment, the flexible equipment can control the deformation area of the flexible equipment to deform according to the corresponding deformation quantity according to the frequency value of the target audio signal, so that the sound effect of the audio signal played by the flexible equipment can be displayed to a user by the flexible equipment through deformation. As such, when the user is in a noisy environment, even if the user cannot distinguish the sound effect of the audio signal (e.g., treble, midrange, bass, etc. in the audio signal) by hearing, the user can sense the deformation of the flexible apparatus by sense to clearly distinguish the sound effect of the audio signal. Therefore, in a scene that the user cannot distinguish the sound effect of the audio signal through hearing (for example, the user is in a noisy environment), the sound effect of the audio signal displayed to the user by the flexible device can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The flexible device provides wireless broadband internet access to the user via the network module 102, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the flexible device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The flexible device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the flexible device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the attitude of the flexible device (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the flexible device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 7, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the flexible device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the flexible device, which is not limited herein.
The interface unit 108 is an interface for connecting an external device to the flexible apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the flexible apparatus 100 or may be used to transmit data between the flexible apparatus 100 and an external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the flexible device, connects various parts of the entire flexible device using various interfaces and lines, and performs various functions of the flexible device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the flexible device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The flexible device 100 may further include a power source 111 (e.g., a battery) for supplying power to the various components, and optionally, the power source 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the flexible device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides a flexible device, which includes the processor 110, the memory 109, and a computer program stored in the memory 109 and capable of being executed on the processor 110 as shown in fig. 7, and when the computer program is executed by the processor 110, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A method for displaying sound effect is applied to flexible equipment, wherein the flexible equipment comprises N deformation areas, N is an integer greater than 1, and the method comprises the following steps:
obtaining M frequency values, wherein the M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible equipment, the M frequency values are all frequency values within the hearing range of human ears, and M is a positive integer;
determining K first frequency ranges to which the M frequency values belong from preset N first frequency ranges, wherein each first frequency range in the K first frequency ranges corresponds to at least one frequency value in the M frequency values, the N first frequency ranges correspond to the N deformation regions one to one, each deformation region in the N deformation regions corresponds to one deformation quantity, and K is an integer greater than 1 and less than or equal to N;
and in the process of playing the target audio signal by the flexible equipment, controlling each deformation area in K deformation areas of the flexible equipment to deform according to the corresponding deformation quantity, wherein the K deformation areas are the deformation areas corresponding to the K first frequency ranges in the N deformation areas.
2. The method of claim 1, wherein said obtaining M frequency values comprises:
sampling the target audio signal to obtain T frequency values;
obtaining the M frequency values belonging to a preset second frequency range from the T frequency values, wherein the second frequency range is used for indicating an auditory frequency range of a human ear;
the N first frequency ranges are frequency ranges obtained by dividing the second frequency range, and T is a positive integer greater than or equal to M.
3. The method according to claim 1 or 2,
the determining K first frequency ranges to which the M frequency values belong from preset N first frequency ranges includes:
for each of the M frequency values, a frequency range to which one frequency value belongs is determined from preset N first frequency ranges, so as to determine the K first frequency ranges from the N first frequency ranges.
4. The method according to claim 1 or 2,
each of the N first frequency ranges corresponds to a preset frequency value, and the preset frequency value corresponding to one first frequency range is used for indicating a deformation amount of the deformation region corresponding to the one first frequency range.
5. The method of claim 4,
and the deformation quantity of each deformation area is positively correlated with the value of the corresponding first frequency range.
6. The flexible device is characterized by comprising an acquisition module, a determination module and a control module;
the acquisition module is used for acquiring M frequency values, wherein the M frequency values are frequency values obtained by sampling a target audio signal to be played by the flexible equipment, the M frequency values are all frequency values within an auditory range of human ears, and M is a positive integer;
the determining module is configured to determine, from N preset first frequency ranges, K first frequency ranges to which the M frequency values obtained by the obtaining module belong, where each of the K first frequency ranges corresponds to at least one of the M frequency values, the N first frequency ranges correspond to N deformation regions of the flexible device one to one, each of the N deformation regions corresponds to one deformation amount, N is an integer greater than 1, and K is an integer greater than 1 and less than or equal to N;
the control module is configured to control each of K deformation regions of the flexible device to deform according to a corresponding deformation amount in a process of playing the target audio signal by the flexible device, where the K deformation regions are deformation regions of the N deformation regions corresponding to the K first frequency ranges determined by the determination module.
7. The flexible device of claim 6,
the acquisition module is specifically configured to sample the target audio signal to obtain T frequency values; obtaining the M frequency values belonging to a preset second frequency range from the T frequency values, wherein the second frequency range is used for indicating an auditory frequency range of a human ear; the N first frequency ranges are frequency ranges obtained by dividing the second frequency range, and T is a positive integer greater than or equal to M.
8. Flexible device according to claim 6 or 7,
the determining module is specifically configured to determine, for each of the M frequency values, a frequency range to which one frequency value belongs from N preset first frequency ranges, so as to determine the K first frequency ranges from the N first frequency ranges.
9. The flexible device of claim 6 or 7, wherein each of the N first frequency ranges corresponds to a preset frequency value, and the preset frequency value corresponding to one first frequency range is used for indicating the deformation amount of the deformation region corresponding to the one first frequency range.
10. The flexible apparatus of claim 9, wherein the amount of deformation of each deformation region is positively correlated with the value of its corresponding first frequency range.
11. A flexible device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of presenting sound-effect effects as claimed in any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for representing audio effects of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910133859.2A CN110035352B (en) | 2019-02-22 | 2019-02-22 | Method for displaying sound effect, flexible device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910133859.2A CN110035352B (en) | 2019-02-22 | 2019-02-22 | Method for displaying sound effect, flexible device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110035352A CN110035352A (en) | 2019-07-19 |
CN110035352B true CN110035352B (en) | 2020-09-29 |
Family
ID=67234971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910133859.2A Active CN110035352B (en) | 2019-02-22 | 2019-02-22 | Method for displaying sound effect, flexible device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110035352B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103416043A (en) * | 2011-03-21 | 2013-11-27 | 苹果公司 | Electronic devices with flexible displays |
CN107566641A (en) * | 2017-08-31 | 2018-01-09 | 维沃移动通信有限公司 | A kind of multimedia file broadcasting control method and mobile terminal |
CN108319445A (en) * | 2018-02-02 | 2018-07-24 | 维沃移动通信有限公司 | A kind of audio frequency playing method and mobile terminal |
CN108571925A (en) * | 2017-03-10 | 2018-09-25 | 上海敏传智能科技有限公司 | A kind of flexible display deformation sensory perceptual system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101245375B1 (en) * | 2011-06-08 | 2013-03-20 | 주식회사 팬택 | Active Flexible Display, Apparatus and Method for Controlling Active Flexible Display |
US8947627B2 (en) * | 2011-10-14 | 2015-02-03 | Apple Inc. | Electronic devices having displays with openings |
KR20130106946A (en) * | 2012-03-21 | 2013-10-01 | 삼성전자주식회사 | Method and apparatus for displaying in electronic device |
KR101692252B1 (en) * | 2012-04-08 | 2017-01-04 | 삼성전자주식회사 | Flexible display apparatus and control method thereof |
US9524030B2 (en) * | 2013-04-26 | 2016-12-20 | Immersion Corporation | Haptic feedback for interactions with foldable-bendable displays |
CN104469599A (en) * | 2014-12-09 | 2015-03-25 | 张有敬 | Loudspeaker box with rhythm lamplight induction function |
US10152125B2 (en) * | 2015-11-20 | 2018-12-11 | Immersion Corporation | Haptically enabled flexible devices |
CN108055394B (en) * | 2017-11-30 | 2021-06-15 | 努比亚技术有限公司 | Telephone contact calling method, terminal and computer readable storage medium |
CN108196777B (en) * | 2017-12-29 | 2021-02-09 | 努比亚技术有限公司 | Flexible screen application method and device and computer readable storage medium |
-
2019
- 2019-02-22 CN CN201910133859.2A patent/CN110035352B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103416043A (en) * | 2011-03-21 | 2013-11-27 | 苹果公司 | Electronic devices with flexible displays |
CN108571925A (en) * | 2017-03-10 | 2018-09-25 | 上海敏传智能科技有限公司 | A kind of flexible display deformation sensory perceptual system |
CN107566641A (en) * | 2017-08-31 | 2018-01-09 | 维沃移动通信有限公司 | A kind of multimedia file broadcasting control method and mobile terminal |
CN108319445A (en) * | 2018-02-02 | 2018-07-24 | 维沃移动通信有限公司 | A kind of audio frequency playing method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110035352A (en) | 2019-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111459456B (en) | Audio control method and electronic equipment | |
CN108874357B (en) | Prompting method and mobile terminal | |
CN109918039B (en) | Volume adjusting method and mobile terminal | |
CN108319445B (en) | Audio playing method and mobile terminal | |
WO2019201271A1 (en) | Call processing method and mobile terminal | |
WO2019154182A1 (en) | Method for setting volume of application program, and mobile terminal | |
CN109710349B (en) | Screen capturing method and mobile terminal | |
CN111010608B (en) | Video playing method and electronic equipment | |
CN109089192B (en) | Method for outputting voice and terminal equipment | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN111147919A (en) | Play adjustment method, electronic equipment and computer readable storage medium | |
CN114125639B (en) | Audio signal processing method and device and electronic equipment | |
CN107749306B (en) | Vibration optimization method and mobile terminal | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN108681413B (en) | Control method of display module and mobile terminal | |
CN111078186A (en) | Playing method and electronic equipment | |
CN110597478A (en) | Audio output method and electronic equipment | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN111683171A (en) | Audio output method and electronic equipment | |
CN109451146B (en) | Vibration processing method and terminal | |
JP2023521882A (en) | Audio output method switching method and electronic device | |
CN111061407B (en) | Video program operation control method, electronic device, and storage medium | |
CN110851106B (en) | Audio output method and electronic equipment | |
CN110677770B (en) | Sound production control method, electronic device, and medium | |
CN110058837B (en) | Audio output method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |