KR102341253B1 - Ellectronic apparatus and the controlling method thereof - Google Patents

Ellectronic apparatus and the controlling method thereof Download PDF

Info

Publication number
KR102341253B1
KR102341253B1 KR1020150097020A KR20150097020A KR102341253B1 KR 102341253 B1 KR102341253 B1 KR 102341253B1 KR 1020150097020 A KR1020150097020 A KR 1020150097020A KR 20150097020 A KR20150097020 A KR 20150097020A KR 102341253 B1 KR102341253 B1 KR 102341253B1
Authority
KR
South Korea
Prior art keywords
pad
touch
user
value
processor
Prior art date
Application number
KR1020150097020A
Other languages
Korean (ko)
Other versions
KR20160123935A (en
Inventor
유미라
최은석
최용완
강근석
최상언
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to US15/130,169 priority Critical patent/US9779710B2/en
Publication of KR20160123935A publication Critical patent/KR20160123935A/en
Application granted granted Critical
Publication of KR102341253B1 publication Critical patent/KR102341253B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

전자 장치가 개시된다. 전자 장치는 터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드, 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부, 시각적 피드백을 제공하기 위한 디스플레이부 및 복수의 패드 중 적어도 하나의 패드에서 터치 센서에 의해 사용자 터치가 감지되고, 가속도 센서에 의해 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 프로세서를 포함하며, 프로세서는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 타격의 강도에 대응되는 크기로 출력하도록 음향 출력부를 제어하고, 타격에 대응되는 시각적 피드백을 제공하도록 디스플레이부를 제어한다.An electronic device is disclosed. The electronic device includes at least one of a plurality of pads each including a touch sensor and an acceleration sensor, a sound output unit for outputting a plurality of sounds set for each of the plurality of pads, a display unit for providing visual feedback, and a plurality of pads. When a user touch is detected by the touch sensor and the intensity of the user's touch is detected by the acceleration sensor as greater than or equal to a preset threshold, a processor for determining that a strike has been made to at least one pad, wherein the processor is configured to detect the strike The sound output unit is controlled to output a type of sound set to correspond to the pad at a size corresponding to the strength of the blow, and the display unit is controlled to provide visual feedback corresponding to the blow.

Description

전자 장치 및 그 제어 방법{ELLECTRONIC APPARATUS AND THE CONTROLLING METHOD THEREOF}ELECTRONIC APPARATUS AND THE CONTROLLING METHOD THEREOF

본 발명은 전자 장치 및 그 제어 방법에 관한 것으로서, 보다 상세하게는 타격을 감지하고 감지된 타격에 대응되는 피드백을 제공하는 전자 장치 및 그 제어 방법에 관한 것이다.The present invention relates to an electronic device and a control method therefor, and more particularly, to an electronic device and a control method for detecting a blow and providing feedback corresponding to the sensed hit.

전자 기술의 발달에 힘입어 다양한 유형의 전자 제품들이 개발 및 보급되고 있다. 특히, TV, 휴대폰, PC, 노트북 PC, PDA 등과 같은 각종 디스플레이 장치들은 대부분의 일반 가정에서도 많이 사용되고 있다. 특히, 이러한 다양한 전자 제품들에 대한 기술은 다양한 전자 악기에 활용되고 있으며, 이러한 전자 악기에 대한 수요가 증가하고 있다.With the development of electronic technology, various types of electronic products are being developed and distributed. In particular, various display devices such as TV, mobile phone, PC, notebook PC, PDA, etc. are widely used in most general homes. In particular, the technologies for these various electronic products are being utilized in various electronic musical instruments, and the demand for such electronic musical instruments is increasing.

예를 들어, 전자 악기 중 전자 드럼은 각각의 패드에 피에조 센서를 부착하여 각 센서에 전달되는 충격, 진동, 압력을 전기 신호로 변환하여 소리로 재생할 수 있고, 전자 드럼 스틱은 LED와 센서를 구비하여 전자 드럼 스틱의 팁 부분이 어떤 면에 부딪히게 되면 LED를 깜박이면서 타악 소리를 재생할 수 있다.For example, among electronic musical instruments, electronic drums attach a piezo sensor to each pad to convert shock, vibration, and pressure transmitted to each sensor into electrical signals to reproduce sound, and electronic drum sticks are equipped with LEDs and sensors Thus, when the tip of the electronic drumstick hits a certain surface, the LED blinks and a percussion sound can be played.

즉, 기존의 전자 악기는 타악기를 구현하는데 있어서 피에조 센서를 활용하였으며, 스틱을 사용하여 두드리면 그 충격과 진동에 반응하도록 제작되었다. 여기서, 피에조 센서는 가속도 센서에 비해 가격이 높은 편이며, 미세한 진동량에도 반응한다는 특징이 있다. 피에조 센서를 활용한 기술의 경우, 센서별로 각각 독립적인 구조물에 적용되어야 한다는 단점이 있다. 즉, 하나로 연결된 구조물에서는 여러 개의 입력을 받는 것은 어렵다.In other words, the existing electronic musical instrument used a piezo sensor to implement a percussion instrument, and was manufactured to respond to the shock and vibration when struck using a stick. Here, the price of the piezo sensor is higher than that of the acceleration sensor, and it has a characteristic that it responds to a minute amount of vibration. In the case of a technology using a piezo sensor, there is a disadvantage that each sensor must be applied to an independent structure. That is, it is difficult to receive multiple inputs in a structure connected to one.

또한, 가속도 센서만으로 타악기를 구현할 수도 있으나, 연결된 구조물 내에 있는 가속도 센서 간에는 미세한 진동에 대한 데이터까지도 반영되기 때문에, 신호 처리에 있어서 패드 부분의 정확한 타격 여부를 판단하는 것이 어렵다는 문제가 있다.In addition, although a percussion instrument can be implemented only with an acceleration sensor, since data on minute vibrations are also reflected between the acceleration sensors in the connected structure, there is a problem in that it is difficult to determine whether the pad part is accurately struck in signal processing.

이에 따라, 하나로 연결된 구조물 내에서 어느 패드를 두드리는지 정확히 판단하고 이에 대한 피드백을 제공하기 위한 다양한 방법을 제안하고자 한다.Accordingly, it is intended to propose various methods for accurately determining which pad is struck within a structure connected to one another and providing feedback thereto.

본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로, 본 발명의 목적은 가속도 센서와 터치 센서의 신호를 조합하여 타격 여부를 판단하고, 이에 대응하는 피드백을 제공하는 전자 장치 및 그 제어 방법을 제공함에 있다.The present invention has been devised to solve the above problems, and an object of the present invention is to provide an electronic device and a control method thereof for determining whether to hit by combining signals from an acceleration sensor and a touch sensor, and providing a corresponding feedback. is in

이러한 목적을 달성하기 위한 본 발명의 일 실시 예에 따른 전자 장치는 터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드, 상기 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부, 시각적 피드백을 제공하기 위한 디스플레이부, 상기 복수의 패드 중 적어도 하나의 패드에서 상기 터치 센서에 의해 사용자 터치가 감지되고, 상기 가속도 센서에 의해 상기 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 상기 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 프로세서를 포함하며, 상기 프로세서는, 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 상기 타격의 강도에 대응되는 크기로 출력하도록 상기 음향 출력부를 제어하고, 상기 타격에 대응되는 상기 시각적 피드백을 제공하도록 상기 디스플레이부를 제어할 수 있다.To achieve this object, an electronic device according to an embodiment of the present invention provides a plurality of pads each including a touch sensor and an acceleration sensor, a sound output unit for outputting a plurality of sounds set for each of the plurality of pads, and visual feedback. When a user touch is detected by the touch sensor in at least one of the plurality of pads and the intensity of the user's touch is detected by the acceleration sensor as being equal to or greater than a preset threshold, the at least one A processor for determining that a strike has been made to the pad, wherein the processor controls the sound output unit to output a sound of a type set to correspond to the pad in which the strike is sensed at a size corresponding to the strength of the strike, The display unit may be controlled to provide the visual feedback corresponding to the hit.

여기서, 상기 프로세서는, 터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 상기 사용자의 터치를 감지하고, 가속도 센서 신호로부터 산출된 가속도 값에 기초하여 상기 사용자 터치의 강도를 감지할 수 있다.Here, the processor may detect the user's touch based on a change in the touch value corresponding to the touch sensor signal, and detect the intensity of the user's touch based on the acceleration value calculated from the acceleration sensor signal.

또한, 상기 프로세서는, 상기 복수의 패드 중 상기 터치 값이 ON이고 상기 가속도 값이 상기 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.Also, the processor may determine that a strike has been made to a pad in which the touch value is ON and the acceleration value is equal to or greater than the preset threshold value among the plurality of pads.

또한, 상기 프로세서는, 상기 복수의 패드 중 상기 터치 값이 OFF이거나 상기 가속도 값이 상기 기 설정된 임계치 미만인 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.Also, the processor may determine that a strike is not made to a pad in which the touch value is OFF or the acceleration value is less than the preset threshold value among the plurality of pads.

또한, 상기 복수의 패드는 제1 패드 및 제2 패드를 포함하며, 상기 프로세서는, 상기 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 상기 기 설정된 임계치 이상이면 상기 제1 패드에 대해 타격이 이루어진 것으로 판단하고 상기 제1 가속도 값에 기초하여 상기 사용자 터치의 강도를 판단하며, 상기 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 상기 기 설정된 임계치 미만이면 상기 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.In addition, the plurality of pads includes a first pad and a second pad, and the processor is configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to perform the first touch value when a first touch value sensed through the first pad is ON and a first acceleration value is greater than or equal to the preset threshold value. It is determined that the first pad is hit, and the intensity of the user's touch is determined based on the first acceleration value, and the second touch value sensed through the second pad is OFF or the second acceleration value is the preset value. If it is less than the threshold, it may be determined that the second pad is not hit.

또한, 상기 프로세서는, 상기 가속도 센서 신호에 대해 중력 가속도에 의한 오프셋을 보상하고, 상기 오프셋이 보상된 가속도 센서 신호에 기초하여 상기 가속도 값을 산출할 수 있다.Also, the processor may compensate an offset due to gravitational acceleration with respect to the acceleration sensor signal, and calculate the acceleration value based on the offset-compensated acceleration sensor signal.

여기서, 상기 중력 가속도에 의한 오프셋은 상기 전자 장치의 기울기에 따라 변경될 수 있다.Here, the offset by the gravitational acceleration may be changed according to the inclination of the electronic device.

또한, 상기 프로세서는, 상기 타격의 강도에 기초하여, 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드 레벨 및 상기 타격에 대응되는 상기 시각적 피드백을 상이하게 결정하여 제공할 수 있다.In addition, the processor, based on the intensity of the hit, may provide a different sound level and the visual feedback corresponding to the hit and the sound level set to correspond to the pad in which the hit is sensed.

또한, 상기 디스플레이부는 LED부를 포함하며, 상기 프로세서는, 상기 LED부 중 타격이 감지된 패드에 대응되는 LED를 턴 온하고, 상기 타격의 강도에 따라 상기 LED의 밝기 및 색상 중 적어도 하나를 조정할 수 있다.In addition, the display unit includes an LED unit, and the processor turns on an LED corresponding to a pad in which a blow is sensed among the LED units, and adjusts at least one of the brightness and color of the LED according to the intensity of the hit. have.

한편, 본 발명의 일 실시 예에 따른 전자 장치는 외부 소스로부터 음향 컨텐츠를 입력받는 입력부를 더 포함하며, 상기 프로세서는, 상기 입력된 음향 컨텐츠와 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력할 수 있다.Meanwhile, the electronic device according to an embodiment of the present invention further includes an input unit for receiving sound content from an external source, and the processor includes a sound set to correspond to the input sound content and the pad in which the strike is sensed. can be mixed and output.

여기서, 상기 프로세서는, 상기 입력된 음향 컨텐츠에 관한 정보 및 상기 타격의 강도에 기초하여 상기 시각적 피드백을 상이하게 제공할 수 있다.Here, the processor may differently provide the visual feedback based on the input information about the sound content and the intensity of the blow.

또한, 본 발명의 다른 실시 예에 따른 전자 장치는, 외부 소스로부터 음향 컨텐츠를 입력받는 입력부;를 더 포함하며, 상기 프로세서는, 사용자 조작에 따라, 상기 입력된 음향 컨텐츠와 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 제1 모드 및 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 제외하고 상기 입력된 음향 컨텐츠만을 출력하는 제2 모드 중 하나로 동작할 수 있다.In addition, the electronic device according to another embodiment of the present invention further includes an input unit for receiving sound content from an external source, wherein the processor includes, according to a user manipulation, the input sound content and the pad in which the strike is sensed. It may operate in one of a first mode for mixing and outputting a type of sound set to correspond to , and a second mode for outputting only the input sound content except for a type of sound set to correspond to the pad in which the hit is sensed.

한편, 본 발명의 일 실시 예에 따른 전자 장치의 제어 방법은 터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드 및 상기 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부를 포함하는 전자 장치의 제어 방법에 있어서, 상기 복수의 패드 중 적어도 하나의 패드에서 상기 터치 센서에 의해 사용자 터치를 감지하는 단계, 상기 가속도 센서에 의해 상기 사용자 터치의 강도를 감지하는 단계, 상기 사용자 터치가 감지되고, 상기 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 상기 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 단계 및 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 상기 타격의 강도에 대응되는 크기로 출력하고 상기 타격에 대응되는 시각적 피드백을 제공하는 단계를 포함할 수 있다.Meanwhile, the method of controlling an electronic device according to an embodiment of the present invention includes a plurality of pads each including a touch sensor and an acceleration sensor, and a sound output unit for outputting a plurality of sounds set for each of the plurality of pads. A control method, comprising: detecting a user's touch by the touch sensor in at least one of the plurality of pads; detecting the intensity of the user's touch by the acceleration sensor; detecting the user's touch; When it is detected that the intensity of the user's touch is greater than or equal to a preset threshold, determining that the at least one pad has been struck and a sound of a type set to correspond to the pad in which the hit is sensed is applied to a size corresponding to the intensity of the hit It may include outputting to and providing a visual feedback corresponding to the hit.

여기서, 상기 사용자 터치를 감지하는 단계는, 터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 상기 사용자의 터치를 감지하고, 상기 사용자 터치의 강도를 감지하는 단계는, 가속도 센서 신호로부터 산출된 가속도 값에 기초하여 상기 사용자 터치의 강도를 감지할 수 있다.Here, the detecting of the user's touch includes detecting the user's touch based on a change in a touch value corresponding to a touch sensor signal, and the detecting of the intensity of the user's touch includes an acceleration calculated from an acceleration sensor signal. The intensity of the user's touch may be sensed based on the value.

여기서, 상기 판단하는 단계는, 상기 복수의 패드 중 상기 터치 값이 ON이고 상기 가속도 값이 상기 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.Here, in the determining, it may be determined that a strike is made to a pad in which the touch value is ON and the acceleration value is equal to or greater than the preset threshold value among the plurality of pads.

또한, 상기 판단하는 단계는, 상기 복수의 패드 중 상기 터치 값이 OFF이거나 상기 가속도 값이 상기 기 설정된 임계치 미만인 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.Also, in the determining, it may be determined that the touch value of the plurality of pads is OFF or the pad having the acceleration value less than the preset threshold value is not hit.

여기서, 상기 복수의 패드는 제1 패드 및 제2 패드를 포함하며, 상기 판단하는 단계는, 상기 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 상기 기 설정된 임계치 이상이면 상기 제1 패드에 대해 타격이 이루어진 것으로 판단하고 상기 제1 가속도 값에 기초하여 상기 사용자 터치의 강도를 판단하며, 상기 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 상기 기 설정된 임계치 미만이면 상기 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.Here, the plurality of pads includes a first pad and a second pad, and the determining may include when a first touch value sensed through the first pad is ON and a first acceleration value is greater than or equal to the preset threshold. It is determined that the first pad is hit, and the intensity of the user's touch is determined based on the first acceleration value, and the second touch value sensed through the second pad is OFF or the second acceleration value is the If it is less than a preset threshold, it may be determined that the second pad is not hit.

여기서, 상기 사용자 터치의 강도를 감지하는 단계는, 상기 가속도 센서 신호에 대해 중력 가속도에 의한 오프셋을 보상하고, 상기 오프셋이 보상된 가속도 센서 신호에 기초하여 상기 가속도 값을 산출할 수 있다.Here, the sensing of the intensity of the user's touch may include compensating for an offset caused by gravitational acceleration with respect to the acceleration sensor signal, and calculating the acceleration value based on the offset-compensated acceleration sensor signal.

또한, 상기 중력 가속도에 의한 오프셋은 상기 전자 장치의 기울기에 따라 변경될 수 있다.Also, the offset due to the gravitational acceleration may be changed according to the inclination of the electronic device.

또한, 상기 제공하는 단계는, 상기 타격의 강도에 기초하여, 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드 레벨 및 상기 타격에 대응되는 상기 시각적 피드백을 상이하게 결정하여 제공할 수 있다.In addition, in the providing step, based on the strength of the blow, a sound level of a type set to correspond to the pad in which the blow is sensed and the visual feedback corresponding to the blow may be differently determined and provided.

이상과 같은 본 발명의 다양한 실시 예에 따르면, 각 패드에 구비된 가속도 센서와 터치 센서의 신호 분석을 통해 패드가 아닌 다른 부분에 가해진 충격인지 구별할 수 있고, 2개 이상의 패드에서 타격한 패드에 대한 구별을 할 수 있으며, 이에 따른 적절한 시각적 및 청각적 피드백의 제공을 할 수 있게 된다.According to various embodiments of the present invention as described above, it is possible to distinguish whether an impact is applied to a part other than the pad through signal analysis of the acceleration sensor and the touch sensor provided in each pad, It is possible to make a distinction between

도 1은 본 발명의 일 실시 예에 따른 전자 장치의 구성을 도시한 블럭도이다.
도 2a 및 도 2b는 본 발명의 일 실시 예에 따른 복수의 패드 구조를 도시한 도면이다.
도 3은 본 발명의 일 실시 예에 따른 타격 여부 판단 과정을 나타낸 도면이다.
도 4는 본 발명의 일 실시 예에 따른 가속도 센서 신호 및 터치 센서 신호를 도시한 도면이다.
도 5a 및 도 5b는 본 발명의 일 실시 예에 따른 중력 가속도에 의한 오프셋을 도시한 도면이다.
도 6a 및 도 6b는 본 발명의 일 실시 예에 따른 터치 값의 변화를 도시한 도면이다.
도 7 내지 도 12는 본 발명의 다양한 실시 예에 따른 상황별 가속도 센서와 터치 센서 신호의 형태를 도시한 도면이다.
도 13은 본 발명의 일 실시 예에 따른 제1 패드 및 제2 패드를 통해 타격이 이루어지는 경우 감지되는 각 패드의 터치 센서 신호 및 가속도 센서 신호를 도시한 도면이다.
도 14a 및 도 14b는 본 발명의 일 실시 예에 따른 타격에 대응되는 시각적 피드백을 설명하기 위한 도면이다.
도 15는 본 발명의 다른 실시 예에 따른 전자 장치의 구성을 도시한 블럭도이다.
도 16은 본 발명의 일 실시 예에 따른 모드를 선택하기 위한 기능키를 도시하고 있다.
도 17 내지 도 18은 본 발명의 일 실시 예에 따른 전자 장치의 활용 예를 도시한 도면이다.
도 19는 본 발명의 일 실시 예에 따른 패드의 멀티 채널 구조에 대한 도면이다.
도 20은 본 발명의 일 실시 예에 따른 타격 감지 알고리즘의 구성을 나타낸 블럭도이다.
도 21 내지 도 22는 본 발명의 다양한 실시 예에 따른 동작 과정을 도시한 흐름도이다.
도 23은 도 1에 도시된 전자 장치의 구체적 구성을 나타내는 블럭도이다.
도 24는 본 발명의 일 실시 예에 따른 저장부에 저장된 소프트웨어 모듈에 관한 도면이다.
도 25는 본 발명의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating the configuration of an electronic device according to an embodiment of the present invention.
2A and 2B are diagrams illustrating a plurality of pad structures according to an embodiment of the present invention.
3 is a view showing a process of determining whether to hit according to an embodiment of the present invention.
4 is a diagram illustrating an acceleration sensor signal and a touch sensor signal according to an embodiment of the present invention.
5A and 5B are diagrams illustrating an offset by gravitational acceleration according to an embodiment of the present invention.
6A and 6B are diagrams illustrating a change in a touch value according to an embodiment of the present invention.
7 to 12 are diagrams illustrating the shape of an acceleration sensor and a touch sensor signal for each situation according to various embodiments of the present disclosure.
13 is a diagram illustrating a touch sensor signal and an acceleration sensor signal of each pad that are sensed when a strike is made through the first pad and the second pad according to an embodiment of the present invention.
14A and 14B are diagrams for explaining a visual feedback corresponding to a hit according to an embodiment of the present invention.
15 is a block diagram illustrating a configuration of an electronic device according to another embodiment of the present invention.
16 illustrates a function key for selecting a mode according to an embodiment of the present invention.
17 to 18 are diagrams illustrating examples of utilization of an electronic device according to an embodiment of the present invention.
19 is a diagram illustrating a multi-channel structure of a pad according to an embodiment of the present invention.
20 is a block diagram showing the configuration of a hit detection algorithm according to an embodiment of the present invention.
21 to 22 are flowcharts illustrating an operation process according to various embodiments of the present disclosure.
23 is a block diagram illustrating a specific configuration of the electronic device illustrated in FIG. 1 .
24 is a diagram of a software module stored in a storage unit according to an embodiment of the present invention.
25 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present invention.

이하에서는 도면을 참조하여 본 발명을 더욱 상세하게 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관계 등에 따라 달라질 수 있다. 그러므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, the present invention will be described in more detail with reference to the drawings. In the description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. And, the terms to be described later are terms defined in consideration of functions in the present invention, which may vary depending on the intention or relationship of a user or an operator. Therefore, the definition should be made based on the content throughout this specification.

도 1은 본 발명의 일 실시 예에 따른 전자 장치의 구성을 도시한 블럭도이다.1 is a block diagram illustrating the configuration of an electronic device according to an embodiment of the present invention.

도 1을 참조하면, 전자 장치(100)는 복수의 패드(110), 음향 출력부(120), 디스플레이부(130) 및 프로세서(140)를 포함한다.Referring to FIG. 1 , the electronic device 100 includes a plurality of pads 110 , a sound output unit 120 , a display unit 130 , and a processor 140 .

본 명세서에서 사용되는 전자 장치(100)는 일반적인 전자 장치 중에서도 사용자 조작에 따른 사용자 터치를 감지하고 사용자 터치의 강도를 감지하며 감지된 사용자의 터치 및 터치 강도에 대응되는 사운드를 생성하거나 출력하는 전자 장치를 의미하며, 이러한 전자 장치(100)는 전자 드럼, 전자 드럼 스틱 등과 같은 타악기뿐만 아니라 TV, 노트북, 태블릿, 게임 콘솔, 휴대폰, 스마트 와치 등으로도 구현될 수 있으며, 이에 한정되지 않는다.The electronic device 100 used herein is an electronic device that detects a user touch according to a user manipulation, senses the intensity of the user's touch, and generates or outputs a sound corresponding to the sensed user's touch and touch intensity among general electronic devices. This means that the electronic device 100 may be implemented not only with percussion instruments such as electronic drums and electronic drum sticks, but also TVs, laptops, tablets, game consoles, mobile phones, smart watches, etc., but is not limited thereto.

또한, 후술할 본원발명의 전자 장치(100)의 프로세서(140)가 수행되는 기능들은 소프트웨어 모듈 형식으로 구현될 수 있으며, 이렇게 구현된 소프트웨어 모듈은 다양한 전자 장치에서 동작할 수 있음은 당연하다.In addition, functions performed by the processor 140 of the electronic device 100 of the present invention to be described later may be implemented in the form of a software module, and it is natural that the implemented software module may operate in various electronic devices.

한편, 복수의 패드(110)는 터치 센서 및 가속도 센서를 각각 포함한다. 터치 센서는 손끝으로 누르면 화면상에 표시된 지시를 입력할 수 있는 센서이며, 이러한 터치 센서의 원리로서는 용량 변화식, 전기 전도도 변화식(저항 변화식), 광량 변화식 등이 있다. 또한, 가속도 센서는 출력 신호를 처리하여 물체의 가속도, 진동, 충격 등의 동적 힘을 측정하는 것으로, 여러 가지 종류가 있으나, 검출 방식으로 크게 분류하면 관성식, 자이로식, 실리콘반도체식이 있다.Meanwhile, each of the plurality of pads 110 includes a touch sensor and an acceleration sensor. A touch sensor is a sensor that can input an instruction displayed on a screen when pressed with a fingertip. As a principle of such a touch sensor, there are a capacitance change type, an electrical conductivity change type (resistance change type), a light quantity change type, and the like. In addition, the acceleration sensor processes an output signal to measure a dynamic force such as acceleration, vibration, or impact of an object, and there are various types.

구체적으로, 복수의 패드(110)는 도 2a 및 도 2b와 같은 구조로 구현될 수 있다. 도 2a 및 도 2b는 본 발명의 일 실시 예에 따른 복수의 패드 구조를 도시한 도면이다.Specifically, the plurality of pads 110 may be implemented with the structure shown in FIGS. 2A and 2B . 2A and 2B are diagrams illustrating a plurality of pad structures according to an embodiment of the present invention.

도 2a를 참조하면, 복수의 패드(110) 각각은 사용자 조작을 입력받는 패드(210)와 패드(210) 아래에 가속도 센서(220) 및 터치 센서(230)가 위치하는 구조로 구현될 수 있다. 즉, 패드(210)는 사용자가 두드릴 수 있는 면 또는 판을 포함할 수 있다. 그리고, 패드(210) 아래에는 가속도 센서(220) 및 터치 센서(230)가 위치함으로써, 패드(210)에 대해 사용자 터치가 이루어지면 사용자 터치 여부는 터치 센서(230)에 의해 감지될 수 있고, 감지된 사용자 터치의 강도는 가속도 센서(220)에 의해 측정될 수 있다.Referring to FIG. 2A , each of the plurality of pads 110 may be implemented in a structure in which an acceleration sensor 220 and a touch sensor 230 are positioned under the pad 210 and the pad 210 to receive a user manipulation. . That is, the pad 210 may include a surface or plate that a user can tap. And, since the accelerometer 220 and the touch sensor 230 are positioned under the pad 210, when a user touch is made on the pad 210, whether the user touch can be detected by the touch sensor 230, The strength of the sensed user's touch may be measured by the acceleration sensor 220 .

또한, 도 2b를 참조하면, 복수의 패드(110) 각각은 터치 패드(240)와 터치 패드(240) 아래에 가속도 센서(220)가 위치하는 구조로 구현될 수도 있다. 즉, 도 2b의 터치 패드(240)는 도 2a와 달리 사용자 터치를 직접 감지할 수 있다. 이러한 터치 패드(240)는 손가락이 직접 접촉하는 층, 수평/수직 전극봉이 격자 모양응ㄹ 형성한 층, 연결된 회로판 층 등 몇 개의 층으로 구성될 수 있으며 손가락이 접촉한 처음 위치는 손가락의 움직임을 계속 파악할 수 있게 기록되고, 전극봉이 있는 층은 일정한 교류에 의해 충전되며, 손가락이 전극봉 격자에 접근하면 전류가 차단되고 차단 사실이 회로판에 의해 감지됨으로써 사용자 터치 여부를 감지할 수 있다.Also, referring to FIG. 2B , each of the plurality of pads 110 may be implemented in a structure in which the touch pad 240 and the acceleration sensor 220 are located under the touch pad 240 . That is, unlike in FIG. 2A , the touch pad 240 of FIG. 2B may directly sense a user's touch. The touch pad 240 may be composed of several layers, such as a layer in which the finger is in direct contact, a layer in which horizontal/vertical electrodes are formed in a grid shape, and a connected circuit board layer. It is recorded so that it can be continuously grasped, the layer with electrodes is charged by a constant alternating current, and when a finger approaches the electrode grid, the current is cut off and the fact that the interruption is detected by the circuit board can detect user touch.

한편, 음향 출력부(120)는 복수의 패드(110) 별로 설정된 복수의 사운드를 출력할 수 있다. 여기서, 복수의 패드 중 제1 패드에 설정된 사운드와 제2 패드에 설정된 사운드는 사용자 조작에 따라 상이할 수도 있고, 동일할 수도 있다. 예를 들어, 제1 패드에 설정된 사운드는 중저음의 낮은 음역 대에 해당되는 사운드로 설정될 수 있고, 제2 패드에 설정된 사운드는 고음의 높은 음역 대에 해당되는 사운드로 설정될 수 있다.Meanwhile, the sound output unit 120 may output a plurality of sounds set for each of the plurality of pads 110 . Here, among the plurality of pads, the sound set to the first pad and the sound set to the second pad may be different or the same according to a user manipulation. For example, the sound set to the first pad may be set to a sound corresponding to a low-mid and low-pitched sound range, and the sound set to the second pad may be set to a sound corresponding to a high-pitched sound range.

그리고, 음향 출력부(120)는 복수의 패드(110)를 통해 감지된 사용자 터치에 대응하여 각 패드별로 설정된 사운드를 출력할 수 있다.In addition, the sound output unit 120 may output a sound set for each pad in response to a user touch sensed through the plurality of pads 110 .

디스플레이부(130)는 시각적 피드백을 제공할 수 있다. 여기서, 디스플레이부(130)는 문자, 숫자, 이미지 등을 디스플레이할 수 있으며, 복수의 패드(110)를 통해 감지된 사용자 터치에 대응하여 기 설정된 패턴의 이미지를 디스플레이할 수 있다.The display unit 130 may provide visual feedback. Here, the display unit 130 may display letters, numbers, images, and the like, and may display images of a preset pattern in response to a user touch sensed through the plurality of pads 110 .

이를 위해, 디스플레이(110)는 액정 표시 장치(Liquid Crystal Display,LCD), 유기 전기 발광 다이오드(Organic Light Emiiting Display, OLED) 또는 플라즈마 표시 패널(Plasma Display Panel,PDP) 등으로 구현될 수 있다.To this end, the display 110 may be implemented as a liquid crystal display (LCD), an organic light emitting diode (OLED), a plasma display panel (PDP), or the like.

또한, 본 발명의 디스플레이부(130)는 전자 장치(100)에 구비된 LED를 포함하는 것으로 정의하며, 마찬가지로, LED는 복수의 패드(110)를 통해 감지된 사용자 터치에 대응하여 발광할 수 있다. 이에 대한 자세한 설명은 후술하기로 한다.In addition, the display unit 130 of the present invention is defined as including an LED provided in the electronic device 100 , and similarly, the LED may emit light in response to a user touch sensed through the plurality of pads 110 . . A detailed description thereof will be provided later.

프로세서(140)는 복수의 패드(110) 중 적어도 하나의 패드에서 터치 센서에 의해 사용자 터치가 감지되고, 가속도 센서에 의해 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 판단되면, 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단할 수 있다.When a user touch is sensed by a touch sensor in at least one of the plurality of pads 110 and the intensity of the user's touch is determined to be greater than or equal to a preset threshold by the acceleration sensor, the processor 140 may It can be judged that the damage has been done.

즉, 프로세서(140)는 복수의 패드(110) 중 제1 패드에 포함된 터치 센서에 의해 사용자 터치가 감지된다는 전제 하에 제1 패드에 포함된 가속도 센서에 의해 측정된 사용자 터치의 강도가 기 설정된 임계치 이상인 경우에 한하여 제1 패드에 대해 타격이 이루어진 것으로 판단할 수 있다. 또한, 프로세서(140)는 이러한 판단 과정을 복수의 패드(110)에 포함된 제2 패드, 제3 패드... 등에 대해 동일하게 수행할 수 있다.That is, the processor 140 sets a preset intensity of the user's touch measured by the acceleration sensor included in the first pad under the premise that the user's touch is sensed by the touch sensor included in the first pad among the plurality of pads 110 . It may be determined that the first pad has been hit only when the threshold is greater than or equal to the threshold value. Also, the processor 140 may perform the same determination process for the second pad, the third pad, etc. included in the plurality of pads 110 .

따라서, 프로세서(140)는 가속도 센서 신호와 터치 센서 신호의 조합에 기초하여 복수의 패드(110) 중 적어도 하나의 패드에 대한 타격 여부를 판단할 수 있으며 가속도 센서 신호를 가공한 값이 기 설정된 임계치 이상이고, 해당 구간 범위에서 터치 값이 Off에서 On으로 변화한 경우 해당 패드를 타격한 것으로 판단할 수 있다. 도 3을 참조하여 구체적으로 설명하기로 한다.Accordingly, the processor 140 may determine whether at least one of the plurality of pads 110 is hit based on the combination of the acceleration sensor signal and the touch sensor signal, and the value obtained by processing the acceleration sensor signal is a preset threshold value. Above, when the touch value changes from Off to On in the corresponding section range, it can be determined that the corresponding pad has been hit. It will be described in detail with reference to FIG. 3 .

도 3은 본 발명의 일 실시 예에 따른 타격 여부 판단 과정을 나타낸 도면이다.3 is a view showing a process of determining whether to hit according to an embodiment of the present invention.

도 3을 참조하면, 프로세서(140)는 터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 사용자 터치를 감지하고, 가속도 센서 신호로부터 산출된 가속도 값에 기초하여 사용자 터치의 강도를 감지할 수 있다.Referring to FIG. 3 , the processor 140 may detect a user touch based on a change in a touch value corresponding to the touch sensor signal, and detect the intensity of the user's touch based on an acceleration value calculated from the acceleration sensor signal. .

구체적으로, 프로세서(140)는 가속도 센서 신호로부터 Z축 데이터(ADC Data)를 검출하고(310), 검출된 Z축 데이터를 기 설정된 구간별로 구간 평균 및 구간 표준 편차를 계산하여 offset을 산출할 수 있다(320).Specifically, the processor 140 detects Z-axis data (ADC Data) from the acceleration sensor signal (310), and calculates the section average and section standard deviation for each preset section using the detected Z-axis data to calculate an offset. There is (320).

기본적으로 가속도 센서는 중력가속도의 영향이 반영된 값을 출력하기 때문에 이러한 중력가속도의 영향을 가속도 센서 신호에 대해 보상할 필요가 있는데, 프로세서(140)는 복수의 패드 중 적어도 하나의 패드에 대해 움직임이 없는 구간 즉, 사용자의 터치가 감지되지 않는 구간을 판단하여 해당 구간 동안 구간 평균 및 구간 표준 편차를 계산하고, 계산된 구간 평균 및 구간 표준 편차에 기초하여 offset을 산출할 수 있다.Basically, since the acceleration sensor outputs a value that reflects the effect of the gravitational acceleration, it is necessary to compensate for the effect of the gravitational acceleration with respect to the acceleration sensor signal. It is possible to determine a non-existent section, that is, a section in which a user's touch is not detected, calculate a section average and a section standard deviation for the corresponding section, and calculate an offset based on the calculated section average and section standard deviation.

그리고, 프로세서(140)는 산출된 offset을 가속도 센서 신호에 반영하여 offset을 보상할 수 있다(330). 즉, 프로세서(140)는 산출된 구간 평균 및 구간 표준 편차에 기초하여 산출된 offset을 가속도 센서 신호에서 제거해주면 offset 즉, 중력가속도의 영향이 제외된 가속도 센서 신호를 얻을 수 있다.Then, the processor 140 may compensate the offset by reflecting the calculated offset to the acceleration sensor signal ( 330 ). That is, if the offset calculated based on the calculated section average and section standard deviation is removed from the acceleration sensor signal, the processor 140 can obtain an offset, ie, an acceleration sensor signal excluding the effect of gravitational acceleration.

그리고, 프로세서(140)는 offset이 보상된 가속도 센서 신호를 절대값으로 변환하여 가속도 값을 산출할 수 있다(340).Then, the processor 140 may calculate an acceleration value by converting the offset-compensated acceleration sensor signal into an absolute value ( 340 ).

그리고, 프로세서(140)는 산출된 가속도 값으로부터 구간별 최대값을 판단할 수 있다.Then, the processor 140 may determine the maximum value for each section from the calculated acceleration value.

또한, 프로세서(140)는 가속도 센서 신호로부터 offset을 산출하고 산출된 offset을 가속도 센서 신호에 반영한 후 절대값으로 변환하여 가속도 값을 산출하며 산출된 가속도 값에 기초하여 최대값을 판단하는 과정을 수행하는 동안 터치 센서 신호에 대응되는 터치 값의 변화 여부를 확인(360)하여 사용자의 터치를 감지할 수 있다. 구체적으로, 프로세서(140)는 터치 센서 신호에 대응되는 터치 값이 off에서 on으로 변화되는지 여부를 확인하여 사용자의 터치를 감지할 수 있다.In addition, the processor 140 calculates an offset from the acceleration sensor signal, reflects the calculated offset to the acceleration sensor signal, converts it into an absolute value, calculates an acceleration value, and determines a maximum value based on the calculated acceleration value. During the operation, it is possible to detect a user's touch by checking whether the touch value corresponding to the touch sensor signal changes (360). Specifically, the processor 140 may detect the user's touch by checking whether a touch value corresponding to the touch sensor signal is changed from off to on.

그리고, 프로세서(140)는 사용자의 터치가 감지되고 산출된 가속도 값이 기 설정된 임계치 이상이면 해당 패드에 대해 타격이 이루어진 것으로 판단할 수 있으며, 이에 따라, 구간별 최대값을 이에 대응되는 볼륨 레벨로 변환(370)할 수 있다.Then, when the user's touch is sensed and the calculated acceleration value is greater than or equal to a preset threshold, the processor 140 may determine that the corresponding pad has been hit, and accordingly, the maximum value for each section is set to the corresponding volume level. It can be converted (370).

이러한 프로세서(140)가 가속도 센서 신호 및 터치 센서 신호에 기초하여 타격이 이루어지는 것으로 판단하는 과정을 그래프를 통해 상세히 설명하기로 한다.A process in which the processor 140 determines that a hit is made based on an acceleration sensor signal and a touch sensor signal will be described in detail with reference to a graph.

도 4는 본 발명의 일 실시 예에 따른 가속도 센서 신호 및 터치 센서 신호를 도시한 도면이다.4 is a diagram illustrating an acceleration sensor signal and a touch sensor signal according to an embodiment of the present invention.

도 4를 참조하면, 현재 하나의 패드에 구비된 가속도 센서 및 터치 센서를 통해 감지된 가속도 센서 신호 및 터치 센서 신호가 도시되어 있다.Referring to FIG. 4 , an acceleration sensor signal and a touch sensor signal sensed through an acceleration sensor and a touch sensor currently provided in one pad are illustrated.

여기서, 그래프 구간의 x축은 시간을 의미하고, y축은 신호의 세기를 의미한다.Here, the x-axis of the graph section means time, and the y-axis means the signal strength.

구체적으로, 터치 센서 신호(410), 실제 가속도 센서 신호(420), offset이 반영된 실제 가속도 센서 신호(430), offset이 반영된 실제 가속도 센서 신호의 절대값(440) 및 사운드 레벨(450)이 도시되어 있다.Specifically, the touch sensor signal 410, the actual acceleration sensor signal 420, the actual acceleration sensor signal 430 in which the offset is reflected, the absolute value 440 and the sound level 450 of the actual acceleration sensor signal in which the offset is reflected are shown. has been

여기서, 터치 센서 신호(410)는 0이 아닌 일정 상수 값을 가지고 있으므로, 프로세서(140)는 터치 값이 off에서 on으로 변환된 것으로 판단하고, 사용자 터치를 감지할 수 있다.Here, since the touch sensor signal 410 has a constant value other than 0, the processor 140 may determine that the touch value is changed from off to on, and detect the user's touch.

또한, 실제 가속도 센서 신호(420)는 사용자 터치와 중력가속도의 영향이 모두 반영된 신호이며, 이에 따라, 프로세서(140)는 실제 가속도 센서 신호(420)를 기 설정된 구간 별로 구간 평균 및 구간 표준 편차를 계산하고, 움직임이 없는 구간을 판단하여 해당 구간 내의 구간 평균 및 구간 표준 편차에 기초하여 중력가속도에 의한 offset을 산출할 수 있다.In addition, the actual acceleration sensor signal 420 is a signal in which both the user's touch and the effect of the gravitational acceleration are reflected, and accordingly, the processor 140 calculates the actual acceleration sensor signal 420 for each preset section by section average and section standard deviation. It is possible to calculate an offset by gravity acceleration based on the section average and section standard deviation within the section by determining the section in which there is no movement.

그리고, 프로세서(140)는 산출된 offset을 실제 가속도 센서 신호(420)에서 제거하여 offset이 반영된 실제 가속도 센서 신호(430)를 검출할 수 있다. 이후, 프로세서(140)는 offset이 반영된 실제 가속도 센서 신호(430)를 절대값으로 변환하여 offset이 반영된 실제 가속도 센서 신호의 절대값(440)을 검출하여 가속도 값을 산출할 수 있다.In addition, the processor 140 may detect the actual acceleration sensor signal 430 to which the offset is reflected by removing the calculated offset from the actual acceleration sensor signal 420 . Thereafter, the processor 140 may convert the actual acceleration sensor signal 430 to which the offset is reflected into an absolute value, detect the absolute value 440 of the actual acceleration sensor signal to which the offset is reflected, and calculate the acceleration value.

그리고, 프로세서(140)는 복수의 패드 중 터치 값이 ON이고 가속도 값이 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단할 수 있다. 도 4를 참조하면, 프로세서(140)는 터치 센서 신호(410)의 터치 값이 off에서 on으로 변환된 것으로 판단하여 사용자 터치를 감지하고, offset이 반영된 실제 가속도 센서 신호의 절대값(440) 즉, 가속도 값이 기 설정된 임계치 이상인 것으로 판단되면 해당 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.In addition, the processor 140 may determine that a hit is made to a pad having a touch value of ON and an acceleration value equal to or greater than a preset threshold value among the plurality of pads. Referring to FIG. 4 , the processor 140 detects a user touch by determining that the touch value of the touch sensor signal 410 is changed from off to on, and the absolute value 440 of the actual acceleration sensor signal to which the offset is reflected, that is, , when it is determined that the acceleration value is equal to or greater than a preset threshold value, it may be determined that the corresponding pad has been hit.

그리고, 프로세서(140)는 타격이 이루어진 것으로 판단되는 구간 내의 가속도 값의 최대값을 검출하고, 검출된 최대값을 이에 대응되는 사운드 레벨(450)로 변환하여 음향 출력부(120)를 통해 출력할 수 있다.Then, the processor 140 detects the maximum value of the acceleration value within the section in which the blow is determined, converts the detected maximum value into a sound level 450 corresponding thereto, and outputs it through the sound output unit 120 . can

한편, 프로세서(140)는 복수의 패드 중 터치 값이 OFF이거나 또는 가속도 값이 기 설정된 임계치 미만인 패드에 대해서는 타격이 이루어지지 않은 것으로 판단할 수 있다.Meanwhile, the processor 140 may determine that a strike is not performed on a pad having a touch value of OFF or an acceleration value less than a preset threshold value among the plurality of pads.

즉, 도 4에서 터치 센서 신호(410)가 일정한 상수 값이 아닌 0인 구간 또는 터치 센서 신호(410)가 일정한 상수 값을 갖고 가속도 값이 존재하더라도 가속도 값이 기 설정된 임계치 미만인 구간에서는 해당 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.That is, in the section in which the touch sensor signal 410 is 0 instead of a constant constant value in FIG. 4 or in the section in which the touch sensor signal 410 has a constant constant value and an acceleration value is present, the acceleration value is less than a preset threshold in the corresponding pad. It can be judged that no damage has been done.

한편, 복수의 패드(110)는 제1 패드 및 제2 패드를 포함하며, 프로세서(140)는 제1 패드 및 제2 패드 각각에 대해 타격이 이루어지는 여부를 판단할 수 있다. 구체적으로, 프로세서(140)는 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 기 설정된 임계치 이상이면 제1 패드에 대해 타격이 이루어진 것으로 판단하고 제1 가속도 값에 기초하여 사용자 터치의 강도를 판단할 수 있다. 또한, 프로세서(140)는 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 기 설정된 임계치 미만이면 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다. 제1 패드 및 제2 패드를 각각을 통해 감지되는 터치 센서 신호 및 가속도 센서 신호는 도 4와 같이 표시될 수 있으며 프로세서(140)는 제1 패드를 통해 감지되는 터치 센서 신호 및 가속도 센서 신호에 기초하여 제1 패드에 대해 타격이 이루어졌는지 여부를 판단할 수 있고, 제2 패드를 통해 감지되는 터치 센서 신호 및 가속도 센서 신호에 기초하여 제2 패드에 대해 타격이 이루어졌는지 여부를 판단할 수 있다. 이에 대한 상세한 설명은 후술하기로 한다.Meanwhile, the plurality of pads 110 includes a first pad and a second pad, and the processor 140 may determine whether a blow is made to each of the first pad and the second pad. Specifically, if the first touch value sensed through the first pad is ON and the first acceleration value is greater than or equal to a preset threshold, the processor 140 determines that a hit has been made to the first pad and based on the first acceleration value The intensity of the user's touch may be determined. Also, when the second touch value sensed through the second pad is OFF or the second acceleration value is less than a preset threshold, the processor 140 may determine that the second pad is not hit. The touch sensor signal and the acceleration sensor signal sensed through the first pad and the second pad, respectively, may be displayed as shown in FIG. 4 , and the processor 140 is based on the touch sensor signal and the acceleration sensor signal detected through the first pad. Thus, it is possible to determine whether a hit has been made to the first pad, and it can be determined whether a hit has been made to the second pad based on a touch sensor signal and an acceleration sensor signal sensed through the second pad. A detailed description thereof will be provided later.

한편, 프로세서(140)는 가속도 센서 신호에 대해 중력 가속도에 의한 오프셋을 보상하고, 오프셋이 보상된 가속도 센서 신호에 기초하여 가속도 값을 산출할 수 있다. 미리 설명한 대로, 가속도 센서는 중력 가속도의 영향이 반영된 값을 출력하기 때문에, 이러한 중력 가속도의 영향을 보상해줄 필요가 있으며, 이에 따라, 프로세서(140)는 움직임이 없는 구간 즉, 사용자 터치가 감지되지 않는 구간에서 가속도 센서 신호의 구간 평균 및 구간 표준 편차를 판단하여 offset을 산출할 수 있다.Meanwhile, the processor 140 may compensate an offset due to gravitational acceleration with respect to the acceleration sensor signal, and may calculate an acceleration value based on the offset-compensated acceleration sensor signal. As described in advance, since the acceleration sensor outputs a value reflecting the influence of the gravitational acceleration, it is necessary to compensate for the influence of the gravitational acceleration. The offset may be calculated by determining the section average and the section standard deviation of the acceleration sensor signal in the non-existent section.

여기서, 중력 가속도에 의한 오프셋은 전자 장치(100)의 기울기에 따라 변경될 수 있다. 즉, 전자 장치(100)의 기울기에 따라 중력 가속도가 전자 장치(100)에 미치는 영향이 달라질 수 있다. 구체적으로, 도 5a 및 도 5b를 참조하여 설명하기로 한다.Here, the offset by the gravitational acceleration may be changed according to the inclination of the electronic device 100 . That is, the effect of the acceleration of gravity on the electronic device 100 may vary according to the inclination of the electronic device 100 . Specifically, it will be described with reference to FIGS. 5A and 5B.

도 5a 및 도 5b는 본 발명의 일 실시 예에 따른 중력 가속도에 의한 오프셋을 도시한 도면이다.5A and 5B are diagrams illustrating an offset by gravitational acceleration according to an embodiment of the present invention.

도 5a를 참조하면, 전자 장치(100)가 지면에 수평으로 놓여져 있는 상태에서 사용자가 전자 장치(100)의 복수의 패드(110) 중 하나를 두드릴 때, 터치 센서 및 가속도 센서에 의해 감지되는 터치 센서 신호 및 가속도 센서 신호가 도시되어 있다.Referring to FIG. 5A , when the user taps one of the plurality of pads 110 of the electronic device 100 in a state in which the electronic device 100 is placed horizontally on the ground, it is detected by a touch sensor and an acceleration sensor. A touch sensor signal and an acceleration sensor signal are shown.

그리고, 미리 설명한 바와 같이, 프로세서(140)는 움직임이 없는 구간 즉, 사용자 터치가 감지되지 않는 구간에서 가속도 센서 신호의 구간 평균 및 구간 표준 편차를 판단하여 오프셋을 산출할 수 있으며, 도 5a에서는 산출된 오프셋(510)이 도시되어 있다.And, as described in advance, the processor 140 may calculate the offset by determining the section average and section standard deviation of the acceleration sensor signal in a section in which there is no movement, that is, a section in which a user touch is not detected. An offset 510 is shown.

예를 들어, 전자 장치(100)가 지면에 수평으로 놓여져 있는 경우, 중력 가속도의 방향은 전자 장치(100)에 구비된 복수의 패드(110)에 수직 방향이므로, 가속도 센서는 사용자 터치에 의한 값뿐만 아니라, 중력 가속도에 의한 영향을 모두 반영된 값을 출력하며, 이때 중력 가속도에 의한 영향은 곧 9.8m/s에 의한 영향을 의미한다. 즉, 전자 장치(100)가 지면에 대해 수평으로 놓여져 있는 결과, 중력 가속도(9.8m/s)에 의한 영향이 고스란히 가속도 센서에 미치게 된다.For example, when the electronic device 100 is placed horizontally on the ground, the direction of gravitational acceleration is vertical to the plurality of pads 110 provided in the electronic device 100 . In addition, it outputs a value reflecting all the effects of the gravitational acceleration, and in this case, the effect of the gravitational acceleration means the effect of 9.8 m/s. That is, as a result of the electronic device 100 being placed horizontally with respect to the ground, the effect of the gravitational acceleration (9.8 m/s) directly affects the acceleration sensor.

결과적으로, 도 5a에 도시된 오프셋(510)은 중력가속도(9.8m/s)에 의한 영향을 뜻하며 그 수치 또한 중력가속도(9.8m/s)와 유사하다.As a result, the offset 510 shown in FIG. 5A means the effect of the gravitational acceleration (9.8 m/s), and its numerical value is also similar to the gravitational acceleration (9.8 m/s).

한편, 도 5b를 참조하면, 전자 장치(100)가 지면에 대해 경사각을 가지고 경사지게 놓여져 있는 상태에서 사용자가 전자 장치(100)의 복수의 패드(110) 중 하나를 두드릴 때, 터치 센서 및 가속도 센서에 의해 감지되는 터치 센서 신호 및 가속도 센서 신호가 도시되어 있다.Meanwhile, referring to FIG. 5B , when the user taps one of the plurality of pads 110 of the electronic device 100 while the electronic device 100 is placed at an inclination angle with respect to the ground, the touch sensor and acceleration A touch sensor signal and an acceleration sensor signal sensed by the sensor are shown.

마찬가지로, 프로세서(140)는 움직임이 없는 구간 즉, 사용자 터치가 감지되지 않는 구간에서 가속도 센서의 구간 평균 및 구간 표준 편차를 판단하여 오프셋을 산출할 수 있으며, 도 5b에서는 산출된 오프셋(520)이 도시되어 있다.Similarly, the processor 140 may calculate the offset by determining the section average and the section standard deviation of the acceleration sensor in a section in which there is no movement, that is, a section in which a user touch is not detected. In FIG. 5B , the calculated offset 520 is is shown.

예를 들어, 전자 장치(100)가 지면에 대해 경사각 a를 가지고 경사지게 놓여져 있는 상태에서 중력 가속도가 전자 장치(100)에 미치는 영향은 중력 가속도*COS(a)가 된다. 이에 따라, 가속도 센서는 사용자 터치에 의한 값뿐만 아니라, 중력 가속도*COS(a)가 반영된 값을 출력하며, 이는 곧 가속도 센서는 사용자 터치에 의한 값과 9.8m/s*COS(a)의 합을 출력함을 뜻한다.For example, in a state in which the electronic device 100 is placed at an inclination angle a with respect to the ground, the effect of the gravitational acceleration on the electronic device 100 is the gravitational acceleration*COS(a). Accordingly, the acceleration sensor outputs not only the value by the user's touch but also the value in which the gravitational acceleration*COS(a) is reflected. means to output

결과적으로, 도 5b에 도시된 오프셋(520)은 중력 가속도*COS(a)의 값을 의미하며, COS(a)값은 1을 넘을 수 없으므로 도 5a에 비해 오프셋(520)은 상대적으로 작은 값을 가지게 된다.As a result, the offset 520 shown in FIG. 5B means the value of gravitational acceleration * COS(a), and since the COS(a) value cannot exceed 1, the offset 520 is a relatively small value compared to FIG. 5A . will have

또한, 경사각이 커질수록 가속도 센서에 미치는 중력 가속도의 영향이 줄어들게 되므로, 오프셋의 값 역시 줄어들게 된다. 또한, 지면에 수평한 방향으로 가깝게 놓여질수록 즉, 경사각이 작아질수록 가속도 센서에 미치는 중력 가속도의 영향이 늘어나게 되므로, 오프셋의 값 역시 늘어나게 된다.Also, as the inclination angle increases, the effect of the gravitational acceleration on the acceleration sensor is reduced, and thus the value of the offset is also reduced. In addition, as it is placed closer to the ground in the horizontal direction, that is, as the inclination angle decreases, the effect of the gravitational acceleration on the acceleration sensor increases, so the value of the offset also increases.

그리고, 프로세서(140)는 실제 가속도 센서 신호에서 도 5a 및 도 5b에 도시된 오프셋(510, 520)을 제거하여 오프셋이 보상된 가속도 센서 신호를 획득할 수 있다.In addition, the processor 140 may obtain an acceleration sensor signal in which the offset is compensated by removing the offsets 510 and 520 illustrated in FIGS. 5A and 5B from the actual acceleration sensor signal.

또한, 프로세서(140)는 상술한 오프셋을 산출하는 과정을 전자 장치(100)가 턴 온 되어 구동되는 시작 단계에서 수행할 수 있다. 즉, 프로세서(140)는 전자 장치(100)가 사용자 조작에 따라 턴 온 되면, 가속도 센서를 통해 획득되는 가속도 센서 신호에 대한 구간 평균 및 구간 표준 편차를 산출하여 전자 장치(100)의 기울기에 따른 오프셋을 산출할 수 있다. 즉, 프로세서(140)는 전자 장치(100)가 턴 온 되는 초기 상태에 자동적으로 미리 오프셋을 산출하여 오프셋을 결정한 상태에서 이후 감지되는 사용자 터치에 의한 가속도 센서 신호가 획득되면 획득된 가속도 센서 신호에 대해 미리 결정된 오프셋을 반영할 수 있다.In addition, the processor 140 may perform the above-described process of calculating the offset at a starting stage in which the electronic device 100 is turned on and driven. That is, when the electronic device 100 is turned on according to a user manipulation, the processor 140 calculates a section average and a section standard deviation for the acceleration sensor signal obtained through the acceleration sensor according to the inclination of the electronic device 100 . offset can be calculated. That is, the processor 140 automatically calculates an offset in advance in an initial state in which the electronic device 100 is turned on, and when an acceleration sensor signal by a user touch detected thereafter is obtained in a state in which the offset is determined, the obtained acceleration sensor signal It is possible to reflect a predetermined offset for the.

또는, 프로세서(140)는 사용자 조작에 의해 세팅 기능 또는 정규화 기능이 수행되도록 하는 명령이 입력되면, 가속도 센서를 통해 획득되는 가속도 센서 신호에 대한 구간 평균 및 구간 표준 편차를 산출하여 전자 장치(100)의 기울기에 따른 오프셋을 산출할 수도 있다. 즉, 프로세서(140)는 사용자 조작에 따라 세팅 기능 또는 정규화 기능이 수행되도록 하는 명령이 입력되면 수동적으로 오프셋을 산출할 수도 있다.Alternatively, when a command for performing a setting function or a normalization function is inputted by a user manipulation, the processor 140 calculates a section average and a section standard deviation for the acceleration sensor signal obtained through the acceleration sensor to the electronic device 100 . It is also possible to calculate an offset according to the slope of . That is, the processor 140 may manually calculate the offset when a command to perform a setting function or a normalization function is input according to a user manipulation.

한편, 프로세서(140)는 터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 사용자의 터치를 감지할 수 있다. 구체적으로, 프로세서(140)는 터치 값이 off에서 on으로 변화한 경우에만 복수의 패드(110) 중 적어도 하나의 패드에 대해 사용자 터치가 감지된 것으로 판단할 수 있다. 도 6a 및 도 6b를 참조하여 상세히 설명하기로 한다.Meanwhile, the processor 140 may detect a user's touch based on a change in a touch value corresponding to the touch sensor signal. Specifically, the processor 140 may determine that the user's touch is sensed with respect to at least one of the plurality of pads 110 only when the touch value changes from off to on. It will be described in detail with reference to FIGS. 6A and 6B.

도 6a 및 도 6b는 본 발명의 일 실시 예에 따른 터치 값의 변화를 도시한 도면이다.6A and 6B are diagrams illustrating a change in a touch value according to an embodiment of the present invention.

도 6a를 참조하면, 터치 센서 신호(610)이 도시되어 있으며, 터치 센서 신호(610)는 0에서 대략 30의 값으로 변화함을 알 수 있다.Referring to FIG. 6A , a touch sensor signal 610 is shown, and it can be seen that the touch sensor signal 610 changes from 0 to approximately 30.

즉, 터치 센서 신호(610)는 터치 값이 off(0인 구간)에서 on(일정 상수 값을 갖는 구간)으로 변화하고 있으며, 이러한 경우, 프로세서(140)는 복수의 패드(110) 중 적어도 하나의 패드에 대해 사용자 터치가 감지된 것으로 판단할 수 있다.That is, the touch sensor signal 610 is changed from off (interval in which the touch value is 0) to on (interval having a constant value), and in this case, the processor 140 controls at least one of the plurality of pads 110 It may be determined that the user's touch is detected with respect to the pad of the .

이에 비해, 프로세서(140)는 일정 시간 이상 터치 값이 off 또는 on 상태를 유지하는 경우 복수의 패드(110) 중 적어도 하나의 패드에 대해 타격이 이루어진 것으로 판단하지 않는다.In contrast, the processor 140 does not determine that at least one of the plurality of pads 110 has been hit when the touch value remains off or on for more than a predetermined time.

즉, 프로세서(140)는 일정 시간 이상 터치 값이 off 상태를 유지하는 경우에는 당연히 사용자의 터치가 감지되지 않으므로 복수의 패드(110) 중 적어도 하나의 패드에 대해 타격이 이루어지지 않은 것으로 판단한다.That is, the processor 140 determines that at least one of the plurality of pads 110 is not hit because, naturally, the user's touch is not sensed when the touch value remains off for a predetermined time or more.

또한, 일정 시간 이상 터치 값이 on 상태를 유지되는 것은 곧 사용자가 손을 복수의 패드(110) 중 적어도 하나의 패드에 접촉한 채 가만히 있는 것이므로, 프로세서(140)는 일정 시간 이상 터치 값이 on 상태를 유지하는 경우에는 비록 사용자의 터치가 감지된다고 하더라도 해당 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다. 즉, 프로세서(140)는 일정 시간 이상 터치 값이 on 상태를 유지하는 경우 사용자의 타격 의도가 없는 것으로 판단할 수 있다.In addition, maintaining the touch value on for more than a certain period of time means that the user stays still while touching at least one of the plurality of pads 110 , so the processor 140 determines that the touch value is turned on for more than a certain period of time. In the case of maintaining the state, even if the user's touch is sensed, it may be determined that the corresponding pad is not hit. That is, the processor 140 may determine that the user does not intend to hit when the touch value remains on for a predetermined time or longer.

도 6b를 참조하면, 터치 센서 신호(620)이 도시되어 있으며, 터치 센서 신호(620)의 터치 값은 처음부터 끝까지 계속 일정한 상수 값을 가지고 있음을 알 수 있다. 이러한 터치 센서 신호(620)는 일정 시간 이상 터치 값이 on 상태를 유지하는 경우를 의미하는 것이며 이러한 경우, 프로세서(140)는 비록 사용자의 터치가 감지된다고 하더라도 해당 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.Referring to FIG. 6B , a touch sensor signal 620 is shown, and it can be seen that the touch value of the touch sensor signal 620 continues to have a constant constant value from beginning to end. Such a touch sensor signal 620 means a case in which the touch value maintains an on state for a certain period of time or more, and in this case, the processor 140 assumes that the corresponding pad is not hit even if the user's touch is sensed. can judge

한편, 도 7 내지 도 12는 본 발명의 다양한 실시 예에 따른 상황별 가속도 센서와 터치 센서 신호의 형태를 도시한 도면이다.Meanwhile, FIGS. 7 to 12 are diagrams illustrating the shape of an acceleration sensor and a touch sensor signal for each situation according to various embodiments of the present disclosure.

[사용자가 패드를 타격하지 않은 경우][If the user has not hit the pad]

도 7은 전자 장치(100)에 어떠한 충격도 가해지지 않은 경우 가령, 타격, 흔들림, 주변환경의 울림 등이 가해지지 않은 경우의 가속도 센서 신호와 터치 센서 신호의 형태를 도시하고 있다.7 illustrates the shape of an acceleration sensor signal and a touch sensor signal when no impact is applied to the electronic device 100, for example, when no impact, shaking, or reverberation of the surrounding environment is applied.

즉, 복수의 패드(110) 중 제1 패드에 대해 사용자가 터치를 했든 하지 않았든 가속도 센서 신호의 가속도 값이 기 설정된 임계치를 넘지 않는다면 즉, 가속도 센서 신호가 기 설정된 임계치 이하에서만 변화한다면, 프로세서(140)는 이러한 가속도 센서 신호의 변화를 가속도 센서 자체에서 발생하는 노이즈로 판단할 수 있다.That is, if the acceleration value of the acceleration sensor signal does not exceed the preset threshold value whether the user touches the first pad among the plurality of pads 110 , that is, if the acceleration sensor signal changes only below the preset threshold, the processor Reference numeral 140 may determine this change in the acceleration sensor signal as noise generated by the acceleration sensor itself.

도 7을 참조하면, 제1 그래프(710)는 가속도 센서의 Z축 신호에서 중력 가속도에 의한 오프셋이 제거된 값을 의미하고, 제2 그래프(720)는 가속도 센서의 Z축 신호의 구간 표준 편차를 의미한다.Referring to FIG. 7 , a first graph 710 denotes a value from which an offset due to gravitational acceleration is removed from a Z-axis signal of the acceleration sensor, and a second graph 720 denotes a section standard deviation of the Z-axis signal of the acceleration sensor. means

예를 들어, 가속도 센서에 의해 충격량이 감지되지 않은 상태에서 제1 그래프(710)의 크기가 0.2 이하인 경우 프로세서(140)는 이를 가속도 센서 자체에서 발생하는 노이즈로 판단하여 제1 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다. 물론, 노이즈로 판단하는 기준이 되는 값은 0.2 이외에 다른 값이 될 수도 있으며, 이는 가속도 센서의 정밀도에 따라 더 작거나 더 커질 수 있다.For example, when the size of the first graph 710 is 0.2 or less in a state in which the amount of impact is not detected by the acceleration sensor, the processor 140 determines that this is noise generated by the acceleration sensor itself, and the first pad is hit. It can be judged that this has not been done. Of course, the reference value for determining the noise may be a value other than 0.2, which may be smaller or larger depending on the precision of the acceleration sensor.

결과적으로, 터치 센서 신호의 터치 값이 off에서 on으로 변화되어 프로세서(140)가 사용자의 터치를 감지하였다고 하더라도, 가속도 센서 신호의 가속도 값이 노이즈로 판단하는 기준 값보다 작다면, 프로세서(140)는 이러한 가속도 값을 가속도 센서 자체에서 발생하는 노이즈로 판단하여 해당 패드에 대해 타격이 이루어지지 않은 것으로 판단하게 된다.As a result, even if the touch value of the touch sensor signal is changed from off to on and the processor 140 detects the user's touch, if the acceleration value of the acceleration sensor signal is smaller than the reference value determined as noise, the processor 140 judges this acceleration value as noise generated by the acceleration sensor itself, and determines that the pad is not hit.

[사용자가 패드를 타격한 경우][If the user hits the pad]

사용자가 어느 하나의 패드를 타격한 경우 가속도 센서 신호의 가속도 값과 터치 센서 신호의 터치 값이 변하기 때문에 프로세서(140)는 가속도 값과 터치 값의 조합을 분석하여 어느 패드에 대해 타격이 이루어졌는지, 또 얼마만큼의 강도로 타격이 이루어졌는지를 판단할 수 있다.When the user hits any one pad, since the acceleration value of the acceleration sensor signal and the touch value of the touch sensor signal change, the processor 140 analyzes the combination of the acceleration value and the touch value to determine which pad was hit, In addition, it is possible to determine how much intensity the blow was made.

도 8을 참조하면, 제1 그래프(810)은 가속도 센서의 Z축 신호를 의미하고, 제2 그래프(820)는 구간 표준 편차를 의미하며, 제3 그래프(830)는 터치 센서 신호를 의미한다.Referring to FIG. 8 , the first graph 810 means the Z-axis signal of the acceleration sensor, the second graph 820 means the standard deviation of the section, and the third graph 830 means the touch sensor signal. .

도 4에서 미리 설명한 바와 같이, 도 8에 도시된 제1 그래프(810)는 도 4에 도시된 offset이 반영된 실제 가속도 센서 신호(430)에 대응될 수 있고, 도 8에 도시된 제3 그래프(830)는 도 4에 도시된 터치 센서 신호(410)에 대응될 수 있다.As previously described in FIG. 4, the first graph 810 shown in FIG. 8 may correspond to the actual acceleration sensor signal 430 to which the offset shown in FIG. 4 is reflected, and the third graph shown in FIG. 830 may correspond to the touch sensor signal 410 illustrated in FIG. 4 .

즉, 프로세서(140)는 제3 그래프(830)가 off에서 on으로 변화하고 있으므로 해당 패드에 대해 사용자의 터치가 있음을 감지할 수 있고, 제1 그래프(810)의 가속도 값이 기 설정된 임계치 이상인 것으로 감지되면 해당 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.That is, since the third graph 830 is changing from off to on, the processor 140 may detect that a user touches the corresponding pad, and the acceleration value of the first graph 810 is equal to or greater than a preset threshold. If it is detected that the pad is hit, it can be determined that a hit has been made.

또한, 프로세서(140)는 제1 그래프(810)의 가속도 값에 기초하여 사용자 터치의 강도 즉, 타격 강도를 판단할 수 있다.Also, the processor 140 may determine the intensity of the user's touch, that is, the hitting intensity, based on the acceleration value of the first graph 810 .

프로세서(140)가 해당 패드에 대해 타격이 이루어졌는지 여부를 판단하는 상세한 과정에 대해서는 도 4에서 미리 설명하였는바, 자세한 설명은 생략하기로 한다.A detailed process for the processor 140 to determine whether a blow has been made to the pad has been previously described with reference to FIG. 4 , and a detailed description thereof will be omitted.

[사용자가 패드를 연속적으로 타격하는 경우][If the user hits the pad continuously]

도 9는 사용자가 패드를 연속적으로 타격하는 경우의 가속도 센서 신호와 터치 센서 신호를 도시하고 있다.9 illustrates an acceleration sensor signal and a touch sensor signal when a user continuously strikes a pad.

여기서, 제1 그래프(910)는 터치 센서 신호를 의미하고, 제2 그래프(920)는 가속도 센서 신호를 의미한다. 구체적으로, 현재 도 9에 도시된 제2 그래프(920)는 중력 가속도에 의한 오프셋이 제거되지 않은 상태의 가속도 센서 신호를 의미한다.Here, the first graph 910 means a touch sensor signal, and the second graph 920 means an acceleration sensor signal. Specifically, the second graph 920 shown in FIG. 9 means an acceleration sensor signal in a state in which an offset due to gravitational acceleration is not removed.

사용자가 패드를 연속적으로 타격하는 경우, 해당 패드에 대한 사용자의 터치는 도 9에 도시된 제1 그래프(910)과 같이 off에서 on으로 변화되는 구간이 연속적으로 나타나게 되고, 이에 따라, 프로세서(140)는 사용자의 터치가 감지되었다가 감지되지 않는 것을 연속적으로 판단하게 된다.When the user continuously strikes the pad, a section in which the user's touch on the corresponding pad is changed from off to on as shown in the first graph 910 shown in FIG. 9 appears continuously, and accordingly, the processor 140 ) continuously determines whether the user's touch is detected or not.

그리고, 제2 그래프(920)는 기 설정된 임계치 이상의 가속도 값이 연속적으로 나타나고 있음을 보여주며, 이에 따라, 프로세서(140)는 사용자의 터치가 감지되는 구간에서 가속도 값이 기 설정된 임계치 이상인 경우가 반복적으로 감지됨을 통하여 해당 패드에 대한 타격이 연속적으로 이루어지고 있음을 판단할 수 있게 된다.In addition, the second graph 920 shows that the acceleration value above the preset threshold is continuously displayed, and accordingly, the processor 140 repeatedly repeats the case where the acceleration value is greater than or equal to the preset threshold in the section where the user's touch is sensed. It is possible to determine that the blow to the corresponding pad is continuously being made through the sensed as .

즉, 도 9에서는 사용자 터치가 감지되는 구간과 가속도 센서가 기 설정된 임계치 이상인 구간이 서로 일치하여 반복적으로 나타나므로, 프로세서(140)는 해당 패드에 대해 연속적인 타격이 이루어지고 있음을 판단할 수 있으나, 만약 사용자 터치가 감지되는 구간과 가속도 센서가 기설정된 임계치 이상인 구간이 서로 일치하지 않은 채 반복적으로 나타난 경우에는 프로세서(140)는 해당 패드에 대해 연속적인 타격이 이루어지지 않는 것으로 판단하게 된다.That is, in FIG. 9 , the section in which the user touch is sensed and the section in which the acceleration sensor is equal to or greater than a preset threshold are repeatedly displayed and thus, the processor 140 can determine that continuous hitting is being made to the corresponding pad. , if the section in which the user touch is sensed and the section in which the acceleration sensor is equal to or greater than a preset threshold repeatedly appear without matching with each other, the processor 140 determines that continuous hitting is not made to the corresponding pad.

[패드가 아닌 다른 부분을 타격하거나 흔들림이 발생한 경우][In case of hitting or shaking any part other than the pad]

복수의 패드(110)는 전자 장치(100)에 부착되어 있기 때문에, 전자 장치(100)에 대한 충격은 복수의 패드에 구비된 가속도 센서에 전해질 수 있다. 특히, 사용자가 패드가 아닌 다른 부분을 타격하면 가속도 센서는 다른 부분에 대한 충격을 반영한 가속도 센서 신호를 출력할 수 있으나, 이때, 프로세서(140)는 터치 센서 신호의 터치 값에 기초하여 해당 패드를 두드려서 발생한 가속도 센서 신호인지 판단할 수 있다. 여기서, 패드가 아닌 다른 부분은 다른 패드를 포함할 수 있다.Since the plurality of pads 110 are attached to the electronic device 100 , an impact on the electronic device 100 may be transmitted to an acceleration sensor provided in the plurality of pads. In particular, when the user hits a part other than the pad, the acceleration sensor may output an acceleration sensor signal reflecting the impact on the other part, but in this case, the processor 140 controls the corresponding pad based on the touch value of the touch sensor signal. It can be determined whether it is an acceleration sensor signal generated by tapping. Here, a portion other than the pad may include another pad.

예를 들어, 복수의 패드(110)는 제1 패드 및 제2 패드를 포함할 수 있으며, 사용자가 제1 패드가 아닌 제2 패드를 두드렸을 때, 프로세서(140)는 제1 패드에 구비된 제1 가속도 센서로부터 출력된 가속도 센서 신호를 감지할 수 있으나, 이러한 제1 가속도 센서로부터 출력된 가속도 센서 신호는 제2 패드를 두드림으로 인한 충격이 반영된 신호이다. 이때, 프로세서(140)는 제1 패드에 구비된 제1 터치 센서로부터 출력된 터치 센서 신호에 기초하여 터치 센서 신호의 터치 값이 off 상태라면 현재 가속도 센서 신호는 제1 패드에 대한 두드림으로 인해 출력된 것이 아닌 제2 패드에 대한 두드림으로 인한 영향이 반영된 것임을 판단할 수 있다.For example, the plurality of pads 110 may include a first pad and a second pad, and when the user taps a second pad other than the first pad, the processor 140 may be provided on the first pad. The acceleration sensor signal output from the first acceleration sensor may be sensed, but the acceleration sensor signal output from the first acceleration sensor is a signal in which an impact caused by tapping the second pad is reflected. At this time, if the touch value of the touch sensor signal is off based on the touch sensor signal output from the first touch sensor provided in the first pad, the processor 140 outputs the current acceleration sensor signal due to tapping on the first pad. It may be determined that the effect of the tapping on the second pad is not reflected.

즉, 프로세서(140)는 제1 패드에 구비된 제1 가속도 센서로부터 출력된 가속도 센서 신호를 감지한다고 하더라도, 제1 패드에 구비된 제1 터치 센서로부터 출력된 터치 센서 신호가 off 상태이거나 기 설정된 시간 on 상태를 유지하고 있는 경우에는 제1 패드에 대해 타격이 이루어진 것이 아닌 다른 패드 또는 전자 장치(100)의 다른 영역에 대해 타격이 이루어진 것으로 판단할 수 있다. 따라서, 프로세서(140)는 제1 패드에 구비된 제1 가속도 센서로부터 출력된 가속도 센서 신호가 감지되고, 제1 패드에 구비된 제1 터치 센서로부터 출력된 터치 센서 신호가 off에서 on으로 변화된 경우에 한하여 제1 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.That is, even if the processor 140 detects the acceleration sensor signal output from the first acceleration sensor provided in the first pad, the touch sensor signal output from the first touch sensor provided in the first pad is in an off state or preset. When the time-on state is maintained, it may be determined that the strike is not made to the first pad but to a pad other than the first pad or to another area of the electronic device 100 . Accordingly, when the processor 140 detects the acceleration sensor signal output from the first acceleration sensor provided in the first pad, and the touch sensor signal output from the first touch sensor provided in the first pad is changed from off to on , it can be determined that the first pad is hit.

이에 따라, 프로세서(140)는 터치 센서 신호와 가속도 센서 신호의 조합을 통해 정확히 어느 패드에 대한 타격이 이루어지고 있는지를 판단할 수 있다.Accordingly, the processor 140 may determine exactly which pad is being hit through the combination of the touch sensor signal and the acceleration sensor signal.

도 10을 참조하면, 제1 그래프(1010)는 가속도 센서의 Z축 신호를 의미하고, 제2 그래프(1020)는 구간 표준 편차를 의미하며 제3 그래프(1030)는 터치 센서 신호를 의미한다.Referring to FIG. 10 , a first graph 1010 means a Z-axis signal of an acceleration sensor, a second graph 1020 means a standard deviation of an interval, and a third graph 1030 means a touch sensor signal.

즉, 해당 패드가 아닌 다른 부분에서 타격이 발생하거나 흔들림이 발생한 경우 제1 그래프(1010)과 같이 가속도 센서의 Z축 신호는 다른 부분에서 발생한 타격 또는 흔들림을 반영하고 있지만, 제3 그래프(1030)의 터치 값은 0인 것을 알 수 있다.That is, when a blow or shaking occurs in a part other than the corresponding pad, the Z-axis signal of the acceleration sensor as in the first graph 1010 reflects the hitting or shaking occurring in another part, but the third graph 1030 It can be seen that the touch value of is 0.

이에 따라, 프로세서(140)는 비록 제1 그래프(1010)의 가속도 값이 충격을 반영하고 있음을 나타낸다고 하더라도, 제3 그래프(1030)의 터치 값이 0이므로 해당 패드에 대해서는 사용자의 터치조차 이루어지지 않았음을 판단하여, 해당 패드에 대해서는 타격 역시 이루어지지 않았음을 판단할 수 있다.Accordingly, although the processor 140 indicates that the acceleration value of the first graph 1010 reflects the impact, since the touch value of the third graph 1030 is 0, even the user's touch is not made on the corresponding pad. It can be determined that the pad is not hit, by determining that the pad has not been hit.

상술한 판단 과정을 통하여, 프로세서(140)는 복수의 패드(110)가 제1 패드, 제2 패드 및 제3 패드 등을 포함하더라도 정확히 어떠한 패드에 대해 타격이 이루어졌는지를 판단할 수 있고, 각 패드에 대응되는 가속도 센서 신호의 가속도 값이 각 패드에 대해 이루어진 타격이 반영된 것인지 아니면 다른 패드에 대해 이루어진 타격이 반영된 것인지를 판단할 수 있다.Through the above-described determination process, the processor 140 can determine exactly which pad was hit even if the plurality of pads 110 include the first pad, the second pad, and the third pad, and each It may be determined whether the acceleration value of the acceleration sensor signal corresponding to the pad reflects a blow made to each pad or a blow made to another pad.

한편, 도 11 내지 도 12는 복수의 패드(110)의 제1 패드 및 제2 패드 중 사용자가 제2 패드를 두드리고 있을 때, 프로세서(140)가 감지하는 제1 패드의 가속도 센서 신호와 타격 센서 신호를 도시하고 있다.Meanwhile, FIGS. 11 to 12 show an acceleration sensor signal and a hitting sensor of the first pad detected by the processor 140 when the user taps the second pad among the first and second pads of the plurality of pads 110 . signal is shown.

도 11은 도 10에서 설명한 바와 같이, 제1 그래프(1110)는 터치 센서 신호를 의미하고, 제2 그래프(1120)는 가속도 센서 신호를 의미하며, 제2 그래프(1120)는 제2 패드에 대한 사용자의 두드림의 영향이 반영된 값을 나타내고 있다. 그리고, 제1 그래프(1110)는 제1 패드에 대해서는 사용자의 두드림이 없었으므로, 사용자의 터치로 인한 터치 값이 변화되지 않았음을 나타내고 있다.11 , as described in FIG. 10 , a first graph 1110 indicates a touch sensor signal, a second graph 1120 indicates an acceleration sensor signal, and a second graph 1120 indicates a second pad. The value reflects the influence of the user's tapping. In addition, the first graph 1110 indicates that the touch value due to the user's touch does not change because the user does not tap the first pad.

이에 따라, 제2 그래프(1120)가 비록 두드림에 대응되는 값을 나타내고 있으나, 프로세서(140)는 제1 그래프(1110)가 터치 값이 전혀 변화되지 않고 0 값을 유지하고 있음에 기초하여 제1 패드에 대해 타격이 이루어지지 않고 제2 패드에 대해 타격이 이루어지고 있음을 판단할 수 있다.Accordingly, although the second graph 1120 shows a value corresponding to the tapping, the processor 140 determines the first graph 1110 based on that the touch value does not change at all and maintains a value of 0. It may be determined that the hitting is not made to the pad but is being hit to the second pad.

한편, 도 12를 참조하면, 제1 그래프(1210)는 터치 센서 신호를 의미하고, 제2 그래프(1220)는 가속도 센서 신호를 의미하며, 제1 그래프(1210)는 터치 값이 일정 상수 값을 가지고 있음을 나타내고 있어 터치 값이 on 상태임을 나타내고 있다. 또한, 제2 그래프(1220)는 사용자의 두드림이 반영된 가속도 값을 나타내고 있다.Meanwhile, referring to FIG. 12 , a first graph 1210 indicates a touch sensor signal, a second graph 1220 indicates an acceleration sensor signal, and the first graph 1210 indicates that the touch value is a constant constant value. It indicates that you have the touch value, indicating that the touch value is on. Also, the second graph 1220 represents an acceleration value in which a user's tapping is reflected.

여기서, 제1 그래프(1210)의 터치 값은 off에서 on으로 변화되는 것이 아닌 계속적으로 on인 상태를 유지하고 있어, 프로세서(140)는 제1 패드에 대해 사용자의 터치가 감지된다고 하더라도 타격이 이루어지지 않은 것으로 판단할 수 있다. 즉, 도 6b에서 설명한 바와 마찬가지로, 일정 시간 이상 터치 값이 on 상태를 유지되는 것은 곧 사용자가 손을 제1 패드에 접촉한 채 가만히 있는 것이므로, 프로세서(140)는 일정 시간 이상 터치 값이 on 상태를 유지하는 경우에는 비록 사용자의 터치가 감지된다고 하더라도 제1 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.Here, the touch value of the first graph 1210 does not change from off to on, but continuously maintains an on state, so that the processor 140 strikes the first pad even if the user's touch is sensed. It can be judged that it is not supported. That is, as described with reference to FIG. 6B , maintaining the on state of the touch value for a certain period of time means that the user is still while keeping his or her hand in contact with the first pad. In the case of maintaining , even if the user's touch is sensed, it may be determined that the first pad is not hit.

이에 따라, 프로세서(140)는 제1 패드에서는 사용자의 터치가 감지되지만 타격이 이루어지지 않은 것으로 보아 제2 그래프(1220)의 두드림이 반영된 가속도 값은 제2 패드에서 타격이 이루어짐으로 인한 것임을 판단할 수 있게 된다.Accordingly, the processor 140 determines that the user's touch is sensed on the first pad, but no hitting is made, so that the acceleration value reflecting the tapping of the second graph 1220 is due to the hitting on the second pad. be able to

이에 따라, 프로세서(140)는 제1 패드에서는 타격이 이루어지지 않고, 제2 패드에서는 타격이 이루어졌음을 판단할 수 있다.Accordingly, the processor 140 may determine that the first pad is not hit and that the second pad is hit.

한편, 도 13은 본 발명의 일 실시 예에 따른 제1 패드 및 제2 패드를 통해 타격이 이루어지는 경우 감지되는 각 패드의 터치 센서 신호 및 가속도 센서 신호를 도시한 도면이다.Meanwhile, FIG. 13 is a diagram illustrating a touch sensor signal and an acceleration sensor signal of each pad that are sensed when a strike is made through the first pad and the second pad according to an embodiment of the present invention.

도 13을 참조하면, 제1 그래프(1310), 제2 그래프(1330), 제3 그래프(1350) 및 제4 그래프(1370)는 제1 패드에 대한 가속도 센서 데이터이고, 제5 그래프(1320), 제6 그래프(1340), 제7 그래프(1360) 및 제8 그래프(1380)는 제2 패드에 대한 가속도 센서 데이터이다.Referring to FIG. 13 , a first graph 1310 , a second graph 1330 , a third graph 1350 , and a fourth graph 1370 are acceleration sensor data for the first pad, and a fifth graph 1320 . , the sixth graph 1340 , the seventh graph 1360 , and the eighth graph 1380 are acceleration sensor data for the second pad.

구체적으로, 제1 그래프(1310)는 제1 패드의 실제 가속도 센서 신호를 의미하고, 제2 그래프(1330)는 제1 패드의 오프셋이 보상된 가속도 센서 신호를 의미하며, 제3 그래프(1350)는 제1 패드의 오프셋이 보상된 가속도 센서 신호의 절대값을 의미하며, 제4 그래프(1370)는 제1 패드의 실제 가속도 센서의 구간 표준 편차를 의미한다.Specifically, the first graph 1310 means an actual acceleration sensor signal of the first pad, the second graph 1330 means an acceleration sensor signal for which the offset of the first pad is compensated, and the third graph 1350 . denotes the absolute value of the acceleration sensor signal for which the offset of the first pad is compensated, and the fourth graph 1370 denotes the interval standard deviation of the actual acceleration sensor of the first pad.

또한, 제5 그래프(1320)는 제2 패드의 실제 가속도 센서 신호를 의미하고, 제6 그래프(1340)는 제2 패드의 오프셋이 보상된 가속도 센서 신호를 의미하며, 제7 그래프(1360)는 제2 패드의 오프셋이 보상된 가속도 센서 신호의 절대값을 의미하며, 제8 그래프(1380)는 제2 패드의 실제 가속도 센서의 구간 표준 편차를 의미한다.In addition, the fifth graph 1320 means an actual acceleration sensor signal of the second pad, the sixth graph 1340 means an acceleration sensor signal for which the offset of the second pad is compensated, and the seventh graph 1360 is The offset of the second pad means the absolute value of the compensated acceleration sensor signal, and the eighth graph 1380 means the interval standard deviation of the actual acceleration sensor of the second pad.

그리고, 제9 그래프(1390)는 터치 센서 신호를 의미한다. 현재 도 13에서는 제9 그래프(1390)가 제1 패드 및 제2 패드에 대한 터치 센서 신호를 동시에 나타내고 있으나, 제1 패드 및 제2 패드 각각에 대한 터치 센서 신호는 서로 상이하게 표시될 수 있음은 당연하다.And, the ninth graph 1390 means a touch sensor signal. Currently, in FIG. 13 , the ninth graph 1390 simultaneously shows the touch sensor signals for the first pad and the second pad, but the touch sensor signals for the first and second pads may be displayed differently. Of course.

한편, 제9 그래프(1390)의 터치 센서 신호는 0이 아닌 일정 상수 값을 가지고 있으므로, 프로세서(140)는 터치 값이 off에서 on으로 변환된 것으로 판단하고, 제1 패드 및 제2 패드에 대해 사용자 터치를 감지할 수 있다.Meanwhile, since the touch sensor signal of the ninth graph 1390 has a constant value other than 0, the processor 140 determines that the touch value is changed from off to on, and for the first pad and the second pad, It can detect user touch.

또한, 제1 그래프(1310) 및 제5 그래프(1320)는 사용자 터치와 중력 가속도의 영향이 모두 반영된 신호이며, 이에 따라, 프로세서(140)는 제1 그래프(1310) 및 제5 그래프(1320)를 기 설정된 구간 별로 구간 평균 및 구간 표준 편차를 계산하고, 움직임이 없는 구간을 판단하여 해당 구간 내의 구간 평균 및 구간 표준 편차에 기초하여 중력 가속도에 의한 오프셋을 산출할 수 있다.In addition, the first graph 1310 and the fifth graph 1320 are signals in which both the user touch and the effect of the gravitational acceleration are reflected, and accordingly, the processor 140 generates the first graph 1310 and the fifth graph 1320 can calculate the section average and section standard deviation for each preset section, determine the section in which there is no movement, and calculate the offset due to gravitational acceleration based on the section average and section standard deviation within the section.

여기서, 제4 그래프(1370) 및 제8 그래프(1380)가 제1 그래프(1310) 및 제5 그래프(1320) 각각에 대한 구간 편차를 나타내고 있다.Here, the fourth graph 1370 and the eighth graph 1380 represent interval deviations for the first graph 1310 and the fifth graph 1320 , respectively.

이에 따라, 프로세서(140)는 제4 그래프(1370) 및 제8 그래프(1380) 각각의 구간 편차에 기초하여 중력 가속도에 의한 오프셋을 각각 산출할 수 있다.Accordingly, the processor 140 may calculate the offset due to the gravitational acceleration based on each section deviation of the fourth graph 1370 and the eighth graph 1380 , respectively.

그리고, 프로세서(140)는 각각 산출된 중력 가속도에 의한 오프셋을 제1 그래프(1310) 및 제5 그래프(1320)에 각각 보상할 수 있다.In addition, the processor 140 may compensate the calculated offset by the gravitational acceleration to the first graph 1310 and the fifth graph 1320 , respectively.

즉, 프로세서(140)는 오프셋을 제1 그래프(1310) 및 제5 그래프(1320)에 보상하여 제2 그래프(1330) 및 제6 그래프(1340)를 검출할 수 있다. 또한, 프로세서(140)는 제2 그래프(1330) 및 제6 그래프(1340)를 절대값으로 변환하여 제3 그래프(1350) 및 제7 그래프(1360)로 변환할 수 있고, 변환된 제3 그래프(1350) 및 제7 그래프(1360)로부터 가속도 값을 산출할 수 있다.That is, the processor 140 may detect the second graph 1330 and the sixth graph 1340 by compensating the offset to the first graph 1310 and the fifth graph 1320 . In addition, the processor 140 may convert the second graph 1330 and the sixth graph 1340 into absolute values to convert them into the third graph 1350 and the seventh graph 1360 , and the converted third graph An acceleration value may be calculated from 1350 and the seventh graph 1360 .

한편, 프로세서(140)는 제1 패드의 터치 값이 off에서 on으로 변환된 것에 기초하여 사용자의 터치를 감지하고, 가속도 값이 기 설정된 임계치 이상인 경우, 제1 패드에 대하여 타격이 이루어진 것으로 판단할 수 있다.On the other hand, the processor 140 detects the user's touch based on the change in the touch value of the first pad from off to on, and when the acceleration value is greater than or equal to a preset threshold, it is determined that the first pad is hit. can

또한, 프로세서(140)는 제2 패드의 터치 값이 off에서 on으로 변환된 것에 기초하여 사용자의 터치를 감지하고, 가속도 값이 기 설정된 임계치 이상인 경우, 제2 패드에 대하여 타격이 이루어진 것으로 판단할 수 있다.In addition, the processor 140 detects the user's touch based on the change in the touch value of the second pad from off to on, and when the acceleration value is greater than or equal to a preset threshold, it is determined that the second pad is hit. can

이와 같이, 프로세서(140)는 제1 패드 및 제2 패드를 통해 동시 다발적으로 입력되는 복수의 가속도 센서 신호 및 터치 센서 신호에 기초하여 제1 패드 및 제2 패드 각각에 대해 타격이 이루어지는지 여부를 판단할 수 있다.As such, the processor 140 determines whether a blow is made to each of the first and second pads based on a plurality of acceleration sensor signals and touch sensor signals simultaneously input through the first and second pads can be judged

한편, 프로세서(140)는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 타격의 강도에 대응되는 크기로 출력하도록 음향 출력부(120)를 제어하고, 타격에 대응되는 시각적 피드백을 제공하도록 디스플레이부(130)를 제어할 수 있다.On the other hand, the processor 140 controls the sound output unit 120 to output a type of sound set to correspond to the pad in which the hitting is sensed with a size corresponding to the intensity of the hit, and displays the display to provide a visual feedback corresponding to the hit. The unit 130 may be controlled.

구체적으로, 프로세서(140)는 타격이 감지되면, 가속도 값에 기초하여 사용자 터치의 강도를 감지할 수 있으며, 감지된 사용자 터치의 강도는 다시 사운드 볼륨 레벨로 변환할 수 있다.Specifically, when a hit is sensed, the processor 140 may detect the intensity of the user's touch based on the acceleration value, and may convert the detected intensity of the user's touch back to a sound volume level.

특히, 복수의 패드(110) 별로 상이한 사운드가 설정되어 있을 수 있다. 예를 들어, 복수의 패드(110) 중 제1 패드에는 중저음의 비트 사운드가 설정되어 있을 수 있고, 제2 패드에는 고음의 비트 사운드가 설정되어 있을 수 있다. 그리고, 프로세서(140)는 제1 패드에 대해 타격이 감지되면, 가속도 값에 기초하여 사용자 터치의 강도를 감지할 수 있고, 감지된 사용자 터치의 강도는 다시 중저음의 비트 사운드 볼륨 레벨로 변환하며, 변환된 볼륨 레벨의 중저음 비트 사운드를 음향 출력부(120)를 통해 출력할 수 있다.In particular, different sounds may be set for each of the plurality of pads 110 . For example, a low-mid beat sound may be set to a first pad among the plurality of pads 110 , and a high-pitched beat sound may be set to a second pad. And, when a hit is sensed against the first pad, the processor 140 may detect the intensity of the user's touch based on the acceleration value, and the detected intensity of the user's touch is converted back to a beat sound volume level of mid-bass, The mid-bass beat sound of the converted volume level may be output through the sound output unit 120 .

또한, 프로세서(140)는 제2 패드에 대해 타격이 감지되면, 가속도 값에 기초하여 사용자 터치의 강도를 감지할 수 있고, 감지된 사용자 터치의 강도는 다시 고음의 비트 사운드 볼륨 레벨로 변환하며, 변환된 볼륨 레벨의 고음 비트 사운드를 음향 출력부(120)를 통해 출력할 수 있다.In addition, when a hit is sensed against the second pad, the processor 140 may detect the intensity of the user's touch based on the acceleration value, and the detected intensity of the user's touch is converted back into a high-pitched beat sound volume level, The high-pitched beat sound of the converted volume level may be output through the sound output unit 120 .

특히, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되면, 프로세서(140)는 제1 패드 및 제2 패드 각각의 가속도 값에 기초하여 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도를 감지할 수 있고, 감지된 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도 각각은 다시 중저음의 비트 사운드 볼륨 레벨 및 고음의 비트 사운드 볼륨 레벨로 변환할 수 있다. 그리고, 프로세서(140)는 변환된 볼륨 레벨의 중저음 비트 사운드 및 고음 비트 사운드를 각각 음향 출력부(120)를 통해 출력할 수 있으나, 또는 변환된 볼륨 레벨의 중저음 비트 사운드 및 고음 비트 사운드를 믹싱하여 음향 출력부(120)를 통해 출력할 수 있다.In particular, when a blow is sensed to the first pad and the second pad at the same time, the processor 140 calculates the intensity of the first user touch and the intensity of the second user touch based on the respective acceleration values of the first pad and the second pad. may be detected, and each of the detected intensity of the first user touch and the intensity of the second user's touch may be converted back to a beat sound volume level of a mid-bass tone and a beat sound volume level of a high pitch. In addition, the processor 140 may output the low-mid beat sound and the high-pitched beat sound of the converted volume level through the sound output unit 120, respectively, or by mixing the mid-bass beat sound and the high-pitched beat sound of the converted volume level It may be output through the sound output unit 120 .

한편, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 여러가지의 실시 예가 존재할 수 있다.On the other hand, when a blow is sensed to the first pad and the second pad at the same time, various embodiments may exist.

예를 들어, 상술한 바와 같이, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 프로세서(140)는 제1 패드 및 제2 패드 각각의 가속도 값에 기초하여 감지된 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도에 기초하여 제1 패드 및 제2 패드 각각에 설정된 사운드를 음향 출력부(120)를 통해 독립적으로 출력할 수도 있고, 믹싱하여 출력할 수도 있다. 여기서, 제1 패드 및 제2 패드 각각에 설정된 사운드를 독립적으로 출력한다는 의미는 복수의 스피커에 따른 서로 다른 채널을 통해 제1 패드에 설정된 사운드와 제2 패드에 설정된 사운드를 분리하여 출력한다는 의미이고, 제1 패드 및 제2 패드 각각에 설정된 사운드를 믹싱하여 출력한다는 의미는 프로세서(140)가 제1 패드에 설정된 사운드와 제2 패드에 설정된 사운드를 합성하여 하나의 채널을 통해 스피커로 전송하여 출력한다는 의미이다.For example, as described above, when a strike is simultaneously sensed with respect to the first pad and the second pad, the processor 140 detects the first user touch based on the respective acceleration values of the first pad and the second pad. The sound set to each of the first pad and the second pad may be independently output through the sound output unit 120 based on the intensity of , and the intensity of the second user's touch, or may be output by mixing. Here, independently outputting the sound set in each of the first pad and the second pad means that the sound set in the first pad and the sound set in the second pad are separately output through different channels according to a plurality of speakers, and , means that the sound set in each of the first pad and the second pad is mixed and output is output by the processor 140 synthesizing the sound set in the first pad and the sound set in the second pad and transmitting it to the speaker through one channel. means to do

또한, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 프로세서(140)는 제1 패드 및 제2 패드 각각에 설정된 사운드에 우선 순위를 정하여 선택적으로 제1 패드 및 제2 패드 각각에 설정된 사운드 중 하나를 출력할 수도 있다.In addition, when a blow is sensed to the first pad and the second pad at the same time, the processor 140 prioritizes the sound set in each of the first pad and the second pad, and selectively applies each of the first pad and the second pad. You can also output one of the set sounds.

예를 들어, 사용자 조작에 따라 제1 패드에 설정된 사운드가 제2 패드에 설정된 사운드에 우선하여 출력하는 것으로 설정될 경우, 프로세서(140)는 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되더라도, 제1 패드에 설정된 사운드만을 음향 출력부(120)를 통해 출력할 수 있다.For example, when a sound set in the first pad is set to be output in preference to a sound set in the second pad according to a user manipulation, the processor 140 may detect a hit to the first pad and the second pad at the same time , only the sound set in the first pad may be output through the sound output unit 120 .

또는, 사용자 조작에 따라 제1 패드 및 제2 패드 각각에 설정된 사운드 중 어느 사운드가 출력되도록 설정되는 것이 아닌 프로세서(140)가 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우 제1 패드 및 제2 패드 각각의 가속도 값에 기초하여 감지된 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도를 서로 비교하여 상대적으로 터치의 강도가 더 큰 패드에 설정된 사운드를 출력할 수 있다.Alternatively, when the processor 140 detects a blow to the first pad and the second pad at the same time, which is not set to output any sound among the sounds set to each of the first pad and the second pad according to a user manipulation, the first pad and comparing the intensity of the first user's touch and the intensity of the second user's touch sensed based on the acceleration value of each of the second pads with each other, and outputting a sound set to a pad having a relatively greater intensity of the touch.

예를 들어, 프로세서(140)는 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 제1 패드 및 제 패드에 대해 감지된 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도를 서로 비교한 결과, 제1 사용자 터치의 강도가 제2 사용자 터치의 강도보다 더 큰 것으로 판단되면, 제1 패드에 설정된 사운드만을 음향 출력부(120)를 통해 출력할 수 있다.For example, when a blow is sensed to the first pad and the second pad at the same time, the processor 140 compares the intensity of the first user's touch and the intensity of the second user's touch sensed for the first pad and the second pad to each other. As a result of the comparison, if it is determined that the intensity of the first user's touch is greater than the intensity of the second user's touch, only the sound set in the first pad may be output through the sound output unit 120 .

또는, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 프로세서(140)는 제1 사용자 터치의 강도 및 제2 사용자 터치의 강도에 기초하여 제1 패드에 설정된 사운드와 제2 패드에 설정된 사운드의 비율을 조정하여 믹싱하여 출력할 수도 있다.Alternatively, when a strike is sensed to the first pad and the second pad at the same time, the processor 140 applies the sound set to the first pad and the second pad based on the intensity of the first user's touch and the intensity of the second user's touch. You can also mix and output by adjusting the ratio of the set sound.

한편, 프로세서(140)는 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는지 여부를 판단하는데 있어서, 이론적으로 동시간 대에 제1 패드 및 제2 패드에 대해 타격이 감지되는 경우 당연히 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 것으로 판단할 수 있으나, 기 설정된 시간 내에 제1 패드 및 제2 패드에 대해 순차적으로 타격이 감지되는 경우에도 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 것으로 판단할 수 있다.On the other hand, in determining whether a blow is sensed to the first pad and the second pad at the same time, the processor 140, in theory, when a blow is sensed to the first pad and the second pad at the same time, of course, the first It may be determined that the strike is sensed to the pad and the second pad at the same time, but even when the strike is sequentially sensed to the first pad and the second pad within a preset time, the first pad and the second pad are simultaneously struck It can be judged that this is detected.

즉, 현실적으로 동시간 대에 제1 패드 및 제2 패드에 대한 타격이 동시에 감지되는 경우는 발생하기 어려우므로, 프로세서(140)는 기 설정된 시간 내에 제1 패드 및 제2 패드에 대해 순차적으로 타격이 감지되는 경우에 대해서도 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 것으로 판단할 수 있다.That is, in reality, since it is difficult to occur that strikes to the first pad and the second pad are simultaneously sensed at the same time period, the processor 140 sequentially strikes the first pad and the second pad within a preset time. Even in the case of sensing, it may be determined that a blow is simultaneously sensed to the first pad and the second pad.

한편, 프로세서(140)는 타격에 대응되는 시각적 피드백을 제공할 수 있고, 또한, 타격의 강도에 기초하여 타격에 대응되는 시각적 피드백을 상이하게 결정하여 제공할 수 있다.Meanwhile, the processor 140 may provide a visual feedback corresponding to the blow, and may determine and provide different visual feedback corresponding to the blow based on the strength of the blow.

즉, 프로세서(140)는 타격이 이루어졌음을 나타내는 시각적 피드백을 제공할 수 있다. 구체적으로, 디스플레이부(130)는 LED부를 포함할 수 있으며, 프로세서(140)는 LED부 중 타격이 감지된 패드에 대응되는 LED를 턴 온하고, 타격의 강도에 따라 LED의 밝기 및 색상 중 적어도 하나를 조정할 수 있다.That is, the processor 140 may provide a visual feedback indicating that the hit has been made. Specifically, the display unit 130 may include an LED unit, and the processor 140 turns on an LED corresponding to a pad in which a hit is detected among the LED units, and at least one of the brightness and color of the LED according to the intensity of the hit. You can adjust one.

도 14a 및 도 14b는 본 발명의 일 실시 예에 따른 타격에 대응되는 시각적 피드백을 설명하기 위한 도면이다.14A and 14B are diagrams for explaining a visual feedback corresponding to a hit according to an embodiment of the present invention.

도 14a를 참조하면, 전자 장치(100)에 두 개의 패드가 구비되어 있는 경우, 사용자가 왼쪽 패드를 타격하면, 프로세서(140)는 왼쪽 패드 주변의 LED(1410)가 발광되도록 제어할 수 있다.Referring to FIG. 14A , when the electronic device 100 is provided with two pads, when the user hits the left pad, the processor 140 may control the LED 1410 around the left pad to emit light.

마찬가지로 사용자가 오른쪽 패드를 타격하면, 프로세서(140)는 오른족 패드 주변의 LED(1420)가 발광되도록 제어할 수 있다.Similarly, when the user hits the right pad, the processor 140 may control the LED 1420 around the right pad to emit light.

즉, 프로세서(140)는 타격이 이루어졌는지 여부 및 타격이 이루어진 패드가 어느 패드인지를 나타내기 위해 타격이 이루어진 패드에 대응되는 LED를 턴 온할 수 있다.That is, the processor 140 may turn on an LED corresponding to the hitting pad to indicate whether the hitting has been made and which pad the hitting has been made.

또한, 프로세서(140)는 타격의 강도에 따라 왼쪽 패드 주변의 LED(1410)의 밝기, 색상 및 발광 패턴 중 적어도 하나를 조정할 수 있다. 예를 들어, 프로세서(140)는 타격의 강도에 대응하여 왼쪽 패드 주변의 LED(1410)의 밝기를 조정하여 타격의 강도가 세질수록 왼쪽 패드 주변의 LED(1410)의 밝기를 증가시키고, 타격의 강도가 약해질수록 왼쪽 패드 주변의 LED(1410)의 밝기를 감소시킬 수 있다.In addition, the processor 140 may adjust at least one of a brightness, a color, and a light emission pattern of the LED 1410 around the left pad according to the intensity of the blow. For example, the processor 140 adjusts the brightness of the LED 1410 around the left pad in response to the intensity of the blow to increase the brightness of the LED 1410 around the left pad as the intensity of the blow increases, and As the intensity decreases, the brightness of the LED 1410 around the left pad may be decreased.

또한, 프로세서(140)는 타격의 강도에 따라 왼쪽 패드 주변의 LED(1410)의 색상을 변경할 수 있으며, 이에 따라, 타격의 강도가 세질수록 LED(1410)의 색상을 레드 컬러로 변경하고, 타격의 강도가 약해질수록 LED(1410)의 색상을 그린 컬러로 변경할 수 있다.In addition, the processor 140 may change the color of the LED 1410 around the left pad according to the intensity of the blow, and accordingly, as the intensity of the hit increases, the color of the LED 1410 changes to a red color, and the hit As the intensity of the LED 1410 decreases, the color of the LED 1410 may be changed to a green color.

또한, 프로세서(140)는 타격의 강도에 따라 왼쪽 패드 주변의 LED(1410)의 발광 패턴을 조정할 수 있으며, 이에 따라, 타격의 강도가 세질수록 LED(1410)의 발광 패턴 주기를 짧게 하여 같은 시간 내에 상대적으로 더 많이 발광할 수 있도록 제어하고, 타격의 강도가 약해질수록 LED(1410)의 발광 패턴 주기를 길게 하여 같은 시간 내에 상대적으로 더 적게 발광할 수 있도록 제어할 수 있다.In addition, the processor 140 may adjust the light emission pattern of the LED 1410 around the left pad according to the intensity of the blow. Accordingly, as the intensity of the blow increases, the light emission pattern period of the LED 1410 is shortened for the same time. It is controlled so that more light can be emitted in a relatively large amount, and as the intensity of the blow becomes weaker, the light emission pattern period of the LED 1410 is lengthened so that it can be controlled to emit light relatively less within the same time.

물론 상술한 예는 오른쪽 패드에 대해서도 동일하게 적용될 수 있다.Of course, the above-described example may be equally applied to the right pad.

도 14b를 참조하면, 디스플레이부(130)는 복수의 패드 주변의 LED(1410, 1420)뿐만 아니라, 화면을 디스플레이하는 창(1450) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)도 포함할 수 있다.Referring to FIG. 14B , the display unit 130 includes LEDs 1410 and 1420 around a plurality of pads, as well as a window 1450 for displaying a screen and LEDs 1430 provided in an area of the electronic device 100 , 1440) may also be included.

예를 들어, 사용자가 왼쪽 패드를 타격하면, 프로세서(140)는 왼쪽 패드 주변의 LED(1410) 및 왼쪽 패드가 있는 방향에 대응되는 LED(1430)의 밝기, 색상 및 발광 패턴 중 적어도 하나를 조정할 수 있다.For example, when the user hits the left pad, the processor 140 adjusts at least one of the brightness, color, and emission pattern of the LED 1410 around the left pad and the LED 1430 corresponding to the direction in which the left pad is located. can

또한, 사용자가 오른쪽 패드를 타격하면, 프로세서(140)는 오른쪽 패드 주변의 LED(1420) 및 오른쪽 패드가 있는 방향에 대응되는 LED(1440)의 밝기, 색상 및 발광 패턴 중 적어도 하나를 조정할 수 있다.In addition, when the user hits the right pad, the processor 140 may adjust at least one of the brightness, color, and light emission pattern of the LED 1420 around the right pad and the LED 1440 corresponding to the direction in which the right pad is located. .

또한, 화면을 디스플레이하는 창(1450)은 왼쪽 패드 및 오른쪽 패드에 이루어지는 타격 여부 및 타격 강도에 대응하여 기 설정된 패턴의 이미지를 디스플레이하여 이퀄라이저 기능을 수행할 수 있다.In addition, the window 1450 for displaying the screen may perform an equalizer function by displaying an image of a preset pattern in response to whether or not a strike is made on the left pad and the right pad and the intensity of the strike.

한편, 프로세서(140)는 제1 패드에 대한 타격인지 제2 패드에 대한 타격인지 여부와 상관없이, 타격이 감지되기만 하면 복수의 패드 주변의 LED(1410, 1420)뿐만 아니라, 화면을 디스플레이하는 창(1450) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440) 모두를 턴 온 시킬 수도 있다.On the other hand, the processor 140 irrespective of whether the first pad is hit or the second pad is hit, as long as the hit is sensed, the LEDs 1410 and 1420 around the plurality of pads as well as a window displaying a screen All of the LEDs 1430 and 1440 provided in the area 1450 and the electronic device 100 may be turned on.

또한, 상술한 바와 같이, 제1 패드 및 제2 패드에 대해 동시에 타격이 감지되는 경우, 프로세서(140)는 복수의 패드 주변의 LED(1410, 1420)뿐만 아니라, 화면을 디스플레이하는 창(1450) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)를 개별적으로 제어하여 각각 턴 온 시킬 수도 있으나, 동시에 제어하여 일괄적으로 턴 온 시킬 수도 있다.In addition, as described above, when a blow is sensed to the first pad and the second pad at the same time, the processor 140 displays a window 1450 for displaying a screen as well as the LEDs 1410 and 1420 around the plurality of pads. and LEDs 1430 and 1440 provided in one region of the electronic device 100 may be individually controlled to turn on, but may be simultaneously controlled and turned on collectively.

한편, 도 14b는 전자 장치(100)가 두 개의 패드를 포함하는 것으로 도시하고 있으나, 전자 장치(100)는 두 개 이상의 패드를 포함할 수 있으며, 전자 장치의 구조, 모양, 패드의 개수, LED의 배치 구조 등은 도 14b에 표시된 도면에 한정되지 않으면 다양한 모습으로 구현될 수 있다.Meanwhile, although FIG. 14B illustrates that the electronic device 100 includes two pads, the electronic device 100 may include two or more pads, and the structure, shape, number of pads, and LEDs of the electronic device The arrangement structure and the like may be implemented in various forms unless limited to the drawings shown in FIG. 14B .

한편, 도 15는 본 발명의 다른 실시 예에 따른 전자 장치의 구성을 도시한 블럭도이다.Meanwhile, FIG. 15 is a block diagram illustrating the configuration of an electronic device according to another embodiment of the present invention.

도 15를 참조하면, 전자 장치(100)는 복수의 패드(110), 음향 출력부(120), 디스플레이부(130) 및 프로세서(140) 이외에 입력부(150)를 더 포함할 수 있다.Referring to FIG. 15 , the electronic device 100 may further include an input unit 150 in addition to the plurality of pads 110 , the sound output unit 120 , the display unit 130 , and the processor 140 .

입력부(150)는 외부 소스로부터 음향 컨텐츠를 입력받을 수 있다. 그리고, 프로세서(140)는 입력된 음향 컨텐츠와 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력할 수 있다.The input unit 150 may receive sound content from an external source. In addition, the processor 140 may mix and output the input sound content and a sound of a type set to correspond to the pad in which the hit is sensed.

구체적으로, 외부 소스는 USB와 같은 외부 저장 매체, CD 플레이어, 오디오, 노트북, PDA, TV와 같은 음향 컨텐츠를 저장하거나 재생가능한 모든 장치를 포함할 수 있으며, 무선 통신 또는 유선 통신을 통해 연결가능한 서버, 웹 사이트 등도 포함할 수 있다.Specifically, the external source may include any device capable of storing or playing sound content such as an external storage medium such as USB, CD player, audio, notebook computer, PDA, TV, and a server connectable through wireless communication or wired communication. , a website, and the like.

프로세서(140)는 외부 소스로부터 입력된 음향 컨텐츠를 재생하여 음향 출력부(120)를 통해 출력할 수 있다. 이때, 프로세서(140)는 입력된 음향 컨텐츠에 관한 정보에 기초하여 시각적 피드백을 상이하게 제공할 수 있다.The processor 140 may reproduce sound content input from an external source and output it through the sound output unit 120 . In this case, the processor 140 may provide different visual feedbacks based on the inputted information on the acoustic content.

예를 들어, 음향 컨텐츠에 관한 정보는 음향 컨텐츠의 음향 주파수, 박자 등에 관한 메타 데이터를 포함할 수 있으며, 프로세서(140)는 음향 컨텐츠를 재생하면서 음향 컨텐츠의 음향 주파수, 박자 등에 관한 메타 데이터에 기초하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상, 밝기 및 발광 패턴 중 적어도 하나를 조정할 수 있다.For example, the information on the acoustic content may include metadata about the acoustic frequency, the tempo, etc. of the acoustic content, and the processor 140 reproduces the acoustic content based on the metadata on the acoustic frequency, the beat, and the like of the acoustic content. Accordingly, at least one of the color, brightness, and emission pattern of the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the LEDs 1430 and 1440 provided in one area of the electronic device 100 may be adjusted.

구체적으로, 프로세서(140)는 음향 컨텐츠의 음향 주파수가 높은 대역이고, 박자가 빠른 비트인 경우 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상을 레드 컬러로 변경하고, 밝기를 증가시키며, 발광 패턴의 주기를 짧게 조정할 수 있다.Specifically, when the sound frequency of the sound content is a high band and the beat is a fast beat, the processor 140 is provided in one area of the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the electronic device 100 . The color of the LEDs 1430 and 1440 may be changed to a red color, the brightness may be increased, and the cycle of the emission pattern may be adjusted to be shorter.

또한, 프로세서(140)는 음향 컨텐츠의 음향 주파수가 낮은 대역이고, 박자가 느린 비트인 경우 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상을 그린 컬러로 변경하고, 밝기를 감소시키며, 발광 패턴의 주기를 길게 조정할 수 있다.In addition, when the sound frequency of the sound content is a low band and the beat is a slow beat, the processor 140 includes the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the LEDs provided in an area of the electronic device 100 . The color of (1430, 1440) may be changed to a green color, the brightness may be decreased, and the period of the emission pattern may be lengthened.

즉, 프로세서(140)는 복수의 패드(110)에 대한 타격 여부와 상관없이 입력된 음향 컨텐츠에 관한 메타 데이터에 기초하여 음향 컨텐츠를 재생하면서 음향 컨텐츠의 음향 주파수 및 박자 등에 기초하여 LED의 색상, 밝기 및 발광 패턴 중 적어도 하나를 조정할 수 있다.That is, the processor 140 reproduces the sound content based on the metadata about the input sound content regardless of whether the plurality of pads 110 are hit, and the color of the LED based on the sound frequency and beat of the sound content, At least one of brightness and light emission pattern may be adjusted.

또한, 프로세서(140)는 입력된 음향 컨텐츠에 관한 메타 데이터에 기초하여 음향 컨텐츠 관련 정보를 화면을 디스플레이하는 창(1450)을 통해 디스플레이할 수 있다. 여기서, 음향 컨텐츠 관련 정보는 음향 컨텐츠 트랙 정보, 현재 재생 중인 음악 파일의 번호, 이전 음악 파일 및 다음 음악 파일 정보, 음악 파일 명, 작곡가 등에 관한 다양한 정보를 포함할 수 있다.Also, the processor 140 may display acoustic content related information through the window 1450 that displays the screen based on the input metadata related to the acoustic content. Here, the sound content related information may include sound content track information, a number of a music file currently being played, information about a previous music file and a next music file, a music file name, and various information about a composer.

한편, 프로세서(140)는 입력된 음향 컨텐츠와 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력할 수 있으며, 믹싱하여 출력하는 경우 입력된 음향 컨텐츠에 관한 정보 및 타격의 강도에 기초하여 시각적 피드백을 상이하게 제공할 수도 있다.On the other hand, the processor 140 may mix and output the input sound content and a sound of a type set to correspond to the pad in which the strike is sensed, and when mixing and outputting, based on the information about the input sound content and the intensity of the strike Thus, different visual feedbacks may be provided.

예를 들어, 음향 컨텐츠가 재생되면서, 음향 컨텐츠에 대응하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상, 밝기 및 발광 패턴 중 적어도 하나가 변경되는 상황에서 사용자가 복수의 패드(110) 중 적어도 하나를 타격하게 되면, 프로세서(140)는 입력된 음향 컨텐츠에 관한 메타 데이터 및 타격의 강도를 모두 고려하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상 밝기 및 발광 패턴 중 적어도 하나를 조정할 수 있다.For example, while the sound content is being reproduced, the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the LEDs 1430 and 1440 provided in one area of the electronic device 100 corresponding to the sound content color; When the user strikes at least one of the plurality of pads 110 in a situation in which at least one of the brightness and the light emission pattern is changed, the processor 140 takes into consideration both the metadata regarding the input sound content and the intensity of the hitting. At least one of the color brightness and light emission pattern of the LEDs 1410 and 1420 around the pad shown in 14b and the LEDs 1430 and 1440 provided in one area of the electronic device 100 may be adjusted.

즉, 재생되는 음향 컨텐츠에 대응하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상이 그린 컬러이고, 밝기가 감소된 상태에서 사용자가 복수의 패드(110) 중 적어도 하나를 타격하게 되면, 프로세서(140)는 타격의 강도에 대응하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 색상을 레드 컬러로 변경할 수 있고, 밝기를 증가시킬 수 있다.That is, the color of the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the LEDs 1430 and 1440 provided in an area of the electronic device 100 in correspondence to the reproduced sound content is green, and the brightness is When the user strikes at least one of the plurality of pads 110 in the reduced state, the processor 140 responds to the intensity of the hit by the LEDs 1410 and 1420 and the electronic device 100 around the pad shown in FIG. 14B . ), the color of the LEDs 1430 and 1440 provided in one area may be changed to a red color, and brightness may be increased.

또는, 재생되는 음향 컨텐츠에 대응하여 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 발광 패턴 주기가 짧은 상태에서 사용자가 복수의 패드(110) 중 적어도 하나를 연속적으로 빠르게 타격하게 되면, 프로세서(140)는 도 14b에 도시된 패드 주변의 LED(1410, 1420) 및 전자 장치(100)의 일 영역에 구비된 LED(1430, 1440)의 발광 패턴 주기를 짧게 변경할 수 있다.Alternatively, in a state in which the light emission pattern period of the LEDs 1410 and 1420 around the pad shown in FIG. 14B and the LEDs 1430 and 1440 provided in one area of the electronic device 100 is short in response to the reproduced sound content, the user When the stylus strikes at least one of the plurality of pads 110 in rapid succession, the processor 140 displays the LEDs 1410 and 1420 around the pads shown in FIG. 14B and the LEDs provided in one area of the electronic device 100 . The period of the emission pattern of (1430, 1440) may be shortened.

이와 같이, 프로세서(140)는 음향 컨텐츠를 재생함과 동시에 복수의 패드(110) 중 적어도 하나에 대해 사용자의 타격이 이루어지게 되면 음향 컨텐츠에 관한 정보 및 타격의 강도에 기초하여 시각적 피드백을 상이하게 제공할 수 있다.In this way, when the user strikes at least one of the plurality of pads 110 while playing the sound content, the processor 140 provides different visual feedback based on the information about the sound content and the intensity of the strike. can provide

한편, 프로세서(140)는 사용자 조작에 따라, 입력된 음향 컨텐츠와 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 제1 모드 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 제외하고 입력된 음향 컨텐츠만을 출력하는 제2 모드 중 하나로 동작할 수 있다.On the other hand, the processor 140 according to a user manipulation, the first mode for mixing and outputting the input sound content and the sound set to correspond to the type of sound set to correspond to the hitting pad, and the sound of the type set to correspond to the hitting pad It may operate in one of the second modes for outputting only the input sound content except for .

예를 들어, 사용자가 단지 음향 컨텐츠를 재생하는 용도로 전자 장치(100)를 사용하고자 하는 경우 제2 모드를 동작하기 위한 기능 키를 누르면 프로세서(140)는 입력된 음향 컨텐츠만을 출력하고, 복수의 패드(110)에 대한 사용자의 타격이 감지되더라도 사용자의 타격에 대응되는 사운드를 출력하지 않을 수 있다.For example, when the user wants to use the electronic device 100 for the purpose of only reproducing sound content, when a function key for operating the second mode is pressed, the processor 140 outputs only the input sound content, and a plurality of Even if the user's hitting on the pad 110 is sensed, a sound corresponding to the user's hitting may not be output.

또한, 사용자가 음향 컨텐츠를 재생하면서 동시에 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 용도로 전자 장치(100)를 사용하고자 하는 경우 제1 모드를 동작하기 위한 기능 키를 누르면 프로세서(140)는 음향 컨텐츠에 관한 정보, 타격 여부 및 타격 강도에 기초하여 음향 컨텐츠 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력할 수 있다.In addition, if the user wants to use the electronic device 100 for mixing and outputting a sound set to correspond to a pad in which a blow is sensed while playing sound content, press a function key for operating the first mode. The processor 140 may mix and output the sound content and the sound set to correspond to the pad in which the hit is sensed, based on the information about the sound content, whether a strike has occurred, and the intensity of the strike.

도 16은 본 발명의 일 실시 예에 따른 모드를 선택하기 위한 기능키를 도시하고 있다.16 illustrates a function key for selecting a mode according to an embodiment of the present invention.

도 16을 참조하면, 제1키(1610), 제2키(1620) 및 제3키(1630)이 도시되어 있다. 예를 들어, 제1키(1610)에는 상술한 제1 모드로 동작할지 제2 모드로 동작할지 여부를 결정하는 기능이 매핑되어 있다. 사용자가 제1키(1610)를 누르면 프로세서(140)는 제1 모드로 동작하고, 사용자가 다시 제1키(1610)를 누르면 프로세서(140)는 제2 모드로 동작할 수 있다.Referring to FIG. 16 , a first key 1610 , a second key 1620 , and a third key 1630 are illustrated. For example, a function for determining whether to operate in the first mode or the second mode is mapped to the first key 1610 . When the user presses the first key 1610, the processor 140 may operate in the first mode, and when the user presses the first key 1610 again, the processor 140 may operate in the second mode.

그리고, 제2키(1620) 및 제3키(1630)에는 복수의 패드(110) 별로 설정된 복수의 사운드를 변경하는 기능이 매핑되어 있다. 이에 따라, 사용자는 제2키(1620) 및 제3키(1630) 중 하나를 선택하게 되면, 프로세서(140)는 복수의 패드(110) 별로 설정된 복수의 사운드를 선택적으로 변경할 수 있다.In addition, a function for changing a plurality of sounds set for each of the plurality of pads 110 is mapped to the second key 1620 and the third key 1630 . Accordingly, when the user selects one of the second key 1620 and the third key 1630 , the processor 140 may selectively change a plurality of sounds set for each of the plurality of pads 110 .

예를 들어, 제2키(1620)를 연달아 누르면 사운드는 드럼 소리, 북 소리, 심벌즈 소리 순으로 변경되고, 제3키(1630)를 연달아 누르면 사운드는 반대 방향 즉, 심벌즈 소리, 북 소리, 드럼 소리 순으로 변경될 수 있다.For example, when the second key 1620 is continuously pressed, the sound is changed in the order of drum sound, drum sound, and cymbal sound. It can be changed in the order of sound.

한편, 도 17 내지 도 18은 본 발명의 일 실시 예에 따른 전자 장치의 활용 예를 도시한 도면이다.Meanwhile, FIGS. 17 to 18 are diagrams illustrating examples of utilization of an electronic device according to an embodiment of the present invention.

도 17을 참조하면, 전자 장치(100)의 하단에는 제1 스피커(1710)가 배치될 수 있다. 여기서, 전자 장치(100)는 제1 스피커(1710)와 무선 통신 방식 또는 유선 통신 방식을 통해 사운드를 출력할 수 있다.Referring to FIG. 17 , a first speaker 1710 may be disposed at a lower end of the electronic device 100 . Here, the electronic device 100 may output sound with the first speaker 1710 through a wireless communication method or a wired communication method.

이에 따라, 사용자는 제1 스피커(1710) 위에 전자 장치(100)를 배치함으로써, 서있는 상태에서 전자 장치(100)를 조작할 수 있다.Accordingly, the user may operate the electronic device 100 in a standing state by placing the electronic device 100 on the first speaker 1710 .

또한, 전자 장치(100)는 복수의 네트워크 스피커(1720, 1730)과 무선 통신을 수행하여 사운드를 출력할 수도 있다.Also, the electronic device 100 may output sound by performing wireless communication with the plurality of network speakers 1720 and 1730 .

구체적으로, 전자 장치(100)는 통신부(미도시)를 포함할 수 있으며, 통신부(미도시)는 복수의 네트워크 스피커(1720, 1730)와 페어링을 수행하여 통신 세션을 연결할 수 있으며, 음향 컨텐츠 또는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 복수의 네트워크 스피커(1720, 1730)로 전송하여 출력하도록 할 수 있다.Specifically, the electronic device 100 may include a communication unit (not shown), and the communication unit (not shown) may perform pairing with a plurality of network speakers 1720 and 1730 to connect a communication session, and may include sound content or A sound of a type set to correspond to the pad in which the hit is sensed may be transmitted to the plurality of network speakers 1720 and 1730 to be output.

이에 따라, 프로세서(140)는 전자 장치(100) 하단에 배치되는 제1 스피커(1710), 복수의 네트워크 스피커(1720, 1730)를 통해 음향 컨텐츠 또는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 서라운드 사운드로 출력할 수 있다.Accordingly, the processor 140 sets the type of sound set to correspond to the sound content or the pad in which the hit is sensed through the first speaker 1710 and the plurality of network speakers 1720 and 1730 disposed at the bottom of the electronic device 100 . can be output in surround sound.

또한, 전자 장치(100)는 다른 외부 장치와 통신을 수행하여 다양한 기능을 수행할 수 있다.Also, the electronic device 100 may perform various functions by performing communication with other external devices.

도 18을 참조하면, 전자 장치(100)는 프로젝터 장치(200)와 통신을 수행하여 음향 컨텐츠 또는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드에 대응되는 이미지를 투사할 수 있도록 프로젝터 장치(200)를 제어할 수 있다.Referring to FIG. 18 , the electronic device 100 communicates with the projector device 200 to project acoustic content or an image corresponding to a type of sound set to correspond to a pad in which a blow is sensed to be projected. ) can be controlled.

구체적으로, 프로세서(140)는 단지 전자 장치(100)에 구비된 LED부, 화면을 디스플레이하는 창을 통해 시각적 피드백을 제공하는 것이 아닌 프로젝터 장치(200)와 통신을 수행하고 프로젝터 장치(200)의 기능을 통해 시각적 피드백을 제공할 수도 있다.Specifically, the processor 140 communicates with the projector device 200 and communicates with the projector device 200 rather than merely providing visual feedback through the window displaying the LED unit and the screen provided in the electronic device 100 . Functions can also provide visual feedback.

특히, 프로세서(140)는 음향 컨텐츠에 관한 정보 및 타격의 강도에 대응하여 이미지가 변경되는 비쥬얼라이져 기능을 수행하도록 프로젝터 장치(200)를 제어할 수 있다. 비쥬얼라이져 기술은 음향 주파수에 대응하여 파티클의 크기, 파티클 간의 거리, 기하학적인 패턴, 기 설정된 이미지가 변경되어 시각화하는 것으로서 이에 대한 기술은 공지되었으므로 자세한 설명은 생략하기로 한다.In particular, the processor 140 may control the projector apparatus 200 to perform a visualizer function in which an image is changed in response to information about the sound content and the intensity of a blow. The visualizer technology visualizes the size of particles, the distance between the particles, the geometric pattern, and a preset image in response to the acoustic frequency, and the technology is known, so a detailed description thereof will be omitted.

한편, 도 18에서는 외부 장치가 프로젝터 장치인 경우를 예로 들었으나, 외부 장치는 프로젝터 장치에 한정되지 아니하며 다양한 전자 장치를 포함할 수 있다.Meanwhile, although the case where the external device is a projector device is exemplified in FIG. 18 , the external device is not limited to the projector device and may include various electronic devices.

예를 들어, 외부 장치는 TV와 같은 디스플레이 장치로 구현될 수 있으며, 프로세서(140)는 음향 컨텐츠 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 음향 출력부(120)를 통해 출력하면서, 음향 컨텐츠에 관한 정보 및 타격 강도에 대응하여 이미지를 생성하거나 변경하는 제어 신호를 TV로 전송할 수 있다. 이에 따라, TV는 수신된 제어 신호에 기초하여 전자 장치(100)로부터 출력되는 음향 컨텐츠 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드에 대응하여 이미지를 디스플레이하는 비쥬얼라이져 기능을 수행할 수 있다.For example, the external device may be implemented as a display device such as a TV, and the processor 140 outputs, through the sound output unit 120, a sound set to correspond to the sound content and the pad in which the hit is sensed, A control signal for generating or changing an image may be transmitted to the TV in response to information about the sound content and the intensity of the blow. Accordingly, the TV may perform a visualizer function of displaying an image in response to the sound content output from the electronic device 100 and the sound set to correspond to the pad in which the hit is sensed based on the received control signal. .

또한, 도면으로 도시하진 않았으나, 전자 장치(100)를 제어하기 위한 원격 제어 장치(미도시)가 존재할 수 있다. 이러한 원격 제어 장치(미도시)는 전자 장치(100)의 외부에 부착되어 보관할 수 있으며, 경우에 따라, 사용자가 원격 제어 장치(미도시)를 휴대하여 가지고 다니면서 원격 제어 장치(미도시)를 조작하여 전자 장치(100)를 제어할 수 있다.Also, although not shown in the drawings, a remote control device (not shown) for controlling the electronic device 100 may exist. Such a remote control device (not shown) may be stored while being attached to the outside of the electronic device 100, and in some cases, a user may operate the remote control device (not shown) while carrying the remote control device (not shown). to control the electronic device 100 .

구체적으로, 원격 제어 장치(미도시)는 전자 장치(100)를 턴 온 및 턴 오프 시키는 기능, mute 기능, 외부 입력(TV, USB, CD, TUNER, AUX 등)을 연결하여 제어하는 기능, 음향 컨텐츠 재생과 관련된 기능(PALY, PUESE, REPEAT, STOP 등), 볼륨 조절 기능, 파일 탐색 기능, 타이머 온/오프 기능, 디스플레이 기능, 사용자 커스텀 기능, 음향 컨텐츠와 타격이 감지된 패드에 설정된 사운드를 함께 믹스하여 출력할지 여부를 결정하는 기능(상술한 제1 모드 및 제2 모드 중 하나를 선택하는 기능) 등이 매핑된 복수의 기능키를 포함하고 있다. 물론, 원격 제어 장치(미도시)가 터치 스크린을 포함하고 있는 경우, 상술한 기능들은 사용자 인터페이스 화면에 디스플레이되는 메뉴나 아이콘과 같은 오브젝트 각각에 매칭될 수 있다.Specifically, the remote control device (not shown) has a function for turning on and off the electronic device 100 , a mute function, a function for controlling by connecting an external input (TV, USB, CD, TUNER, AUX, etc.), sound Functions related to content playback (PALY, PUESE, REPEAT, STOP, etc.), volume control function, file search function, timer on/off function, display function, user custom function, sound It includes a plurality of function keys to which a function of determining whether to mix and output (a function of selecting one of the above-described first and second modes) is mapped. Of course, when the remote control device (not shown) includes a touch screen, the above-described functions may be matched to each object such as a menu or icon displayed on the user interface screen.

한편, 사용자가 터치하는 패드는 하나의 채널로 구성되어 사용자가 패드 중 어느 영역을 터치하더라도 프로세서(140)는 패드를 구성하는 영역의 위치에 상관없이 사용자 터치의 강도에 따라 패드에 설정된 사운드를 출력할 수 있다.On the other hand, the pad touched by the user is composed of one channel, so even if the user touches any area of the pad, the processor 140 outputs the sound set on the pad according to the intensity of the user's touch regardless of the position of the area constituting the pad. can do.

그러나, 패드가 복수의 영역으로 구분되어 영역별로 사용자 터치 및 사용자 터치의 강도가 감지 가능한 멀티 채널을 포함할 수 있다.However, since the pad is divided into a plurality of regions, each region may include a user touch and a multi-channel capable of sensing the intensity of the user's touch.

도 19는 본 발명의 일 실시 예에 따른 패드의 멀티 채널 구조에 대한 도면이다.19 is a diagram illustrating a multi-channel structure of a pad according to an embodiment of the present invention.

도 19를 참조하면, 패드는 총 8개의 영역(1910, 1920, 1930, 1940, 1950, 1960, 1970, 1980)으로 구분될 수 있다. 그리고, 프로세서(140)는 구분된 8개의 영역(1910, 1920, 1930, 1940, 1950, 1960, 1970, 1980) 각각에 대해 사용자 터치 및 사용자 터치의 강도를 개별적으로 감지할 수 있다. 패드가 복수의 영역으로 분할되더라도 프로세서(140)는 각 영역에 대해 상술한 바와 같이, 중력 가속도에 의한 오프셋을 산출하고, 산출된 오프셋을 영역별로 획득된 가속도 센서 신호에 반영하며 절대값을 취하여 산출된 가속도 값에 기초하여 영역별로 사운드 볼륨 레벨을 결정하여 사운드를 출력할 수 있다.Referring to FIG. 19 , the pad may be divided into a total of eight regions 1910 , 1920 , 1930 , 1940 , 1950 , 1960 , 1970 and 1980 . In addition, the processor 140 may individually detect the user's touch and the intensity of the user's touch for each of the eight divided regions 1910, 1920, 1930, 1940, 1950, 1960, 1970, and 1980. Even if the pad is divided into a plurality of regions, the processor 140 calculates the offset by gravity acceleration for each region as described above, reflects the calculated offset to the acceleration sensor signal obtained for each region, and takes absolute values to calculate A sound may be output by determining a sound volume level for each region based on the obtained acceleration value.

특히, 패드가 복수의 영역으로 분할되는 경우 사용자는 복수의 영역 중 일부 영역에 대해 사용자 터치를 유지한 채 드래깅하는 동작(본 명세서에서는 스크래칭 동작이라고 정의하기로 한다)을 수행할 수 있으며, 프로세서(140)는 하나의 사용자 터치라고 하더라도 서로 다른 영역을 통해 각각 입력된 복수의 사용자 터치라고 보아 이에 대응되는 기능을 수행할 수 있다.In particular, when the pad is divided into a plurality of areas, the user may perform an operation of dragging while maintaining the user's touch on some of the plurality of areas (herein, referred to as a scratching operation), and the processor ( 140) may be regarded as a plurality of user touches input through different regions even though it is a single user touch, and a corresponding function may be performed.

예를 들어, 도 19를 참조하면, 사용자가 제1 영역(1910)에서 터치를 시작하여 터치를 유지한 채 제2 영역(1920), 제3 영역(1930) 및 제4 영역(1940)까지 드래깅하는 스크래칭 동작을 수행하면, 프로세서(140)는 스크래칭 동작을 제1 영역(1910)에서 감지된 제1 사용자 터치, 제2 영역(1920)에서 감지된 제2 사용자 터치, 제3 영역(1930)에서 감지된 제3 사용자 터치 및 제4 영역(1940)에서 감지된 제4 사용자 터치로 구분지어 판단할 수 있으며, 이와 같이, 복수의 영역에 대해 연속적으로 사용자 터치가 감지되는 경우 스크래칭 동작이 입력된 것으로 판단할 수 있다.For example, referring to FIG. 19 , the user starts a touch in the first area 1910 and drags it to the second area 1920 , the third area 1930 , and the fourth area 1940 while maintaining the touch. When performing the scratching operation, the processor 140 performs the scratching operation in the first user touch detected in the first area 1910 , the second user touch detected in the second area 1920 , and the third area 1930 . The sensed third user touch and the fourth user touch detected in the fourth area 1940 can be divided and determined. can judge

그리고, 프로세서(140)는 스크래칭 동작이 입력된 것으로 판단되면, 스크래칭 도작에 대응되는 사운드를 출력할 수 있다. 예를 들어, 프로세서(140)는 스크래칭 동작에 대응되는 시간 동안 고음의 스타카토 템포의 사운드를 출력할 수 있다.And, when it is determined that the scratching operation is input, the processor 140 may output a sound corresponding to the scratching operation. For example, the processor 140 may output a high-pitched staccato-tempo sound for a time corresponding to the scratching operation.

한편, 사용자는 도 19에 도시된 바와 같이, 한 방향으로만 스크래칭 동작을 수행하지 않고, 스크래칭 동작의 방향을 복수 번 변경할 수도 있다.Meanwhile, as shown in FIG. 19 , the user may change the direction of the scratching operation a plurality of times without performing the scratching operation in only one direction.

예를 들어, 사용자는 제1 영역(1910)에서 터치를 시작하여 터치를 유지한 채 제2 영역(1920)까지 드래깅하였다가 다시 방향을 바꾸어 제1 영역으로 드래깅하는 스크래칭 동작을 수행할 수 있으며, 이때, 프로세서(140)는 스크래칭 동작을 제1 영역(1910)에서 감지된 제1 사용자 터치, 제2 영역(1920)에서 감지된 제2 사용자 터치 및 다시 제1 영역(1910)에서 감지된 제1 사용자 터치로 구분지어 판단할 수 있다.For example, the user may start a touch in the first area 1910 and drag to the second area 1920 while maintaining the touch, then change the direction again and perform a scratching operation of dragging to the first area, In this case, the processor 140 performs the scratching operation on the first user touch detected in the first area 1910 , the second user touch detected in the second area 1920 , and the first user touch detected in the first area 1910 again. It can be judged by the user's touch.

그리고, 프로세서(140)는 제1 영역(1910)에서 제2 영역(1920)으로 드래깅하는 스크래칭 동작에 대응되는 사운드와 제2 영역(1920)에서 제1 영역(1910)으로 드래깅하는 스크래칭 동작에 대응되는 사운드를 상이하게 변경하여 출력할 수도 있다.In addition, the processor 140 corresponds to a sound corresponding to a scratching operation of dragging from the first area 1910 to the second area 1920 and a scratching operation of dragging from the second area 1920 to the first area 1910 . It is also possible to output the sound by changing it differently.

이에 따라, 사용자는 복수의 영역으로 분할된 패드에 대해 좀더 다양한 음악적 효과를 나타내기 위한 동작을 수행할 수 있다.Accordingly, the user may perform an operation for displaying more various musical effects on the pad divided into a plurality of regions.

한편, 도 20은 본 발명의 일 실시 예에 따른 타격 감지 알고리즘의 구성을 나타낸 블럭도이다.Meanwhile, FIG. 20 is a block diagram showing the configuration of a hit detection algorithm according to an embodiment of the present invention.

도 20을 참조하면, 프로세서(140)는 크게 센서 초기화 동작(2010), 센서 측정 동작(2020), 전 처리 동작(2030), 오프셋 보정 동작(2040), 최대값 검출 및 사운드 레벨 변환 동작(2050) 및 이벤트 생성 동작(2060)을 수행할 수 있다.Referring to FIG. 20 , the processor 140 largely performs a sensor initialization operation 2010 , a sensor measurement operation 2020 , a pre-processing operation 2030 , an offset correction operation 2040 , a maximum value detection and a sound level conversion operation 2050 . ) and an event generation operation 2060 may be performed.

구체적으로, 프로세서(140)는 센서 초기화 동작(2010)을 수행하면서, 가속도 센서 및 터치 센서 각각에 대해 기 입력된 신호들을 0으로 설정하여 초기화할 수 있다.Specifically, the processor 140 may initialize by setting pre-input signals to each of the acceleration sensor and the touch sensor to 0 while performing the sensor initialization operation 2010 .

그리고, 프로세서(140)는 센서 측정 동작(2020)을 수행하면서, 가속도 센서 신호 및 타격 센서 신호를 획득할 수 있다. 예를 들어, 프로세서(140)는 복수의 패드(110) 중 제1 패드에 대한 사용자 터치에 대응되는 터치 센서 신호와 사용자 터치의 강도에 대응되는 가속도 센서 신호를 획득할 수 있습니다.In addition, the processor 140 may acquire an acceleration sensor signal and a hitting sensor signal while performing the sensor measurement operation 2020 . For example, the processor 140 may acquire a touch sensor signal corresponding to the user's touch on the first pad among the plurality of pads 110 and an acceleration sensor signal corresponding to the intensity of the user's touch.

마찬가지로, 프로세서(140)는 복수의 패드(110) 중 제2 패드에 대해서도 사용자 터치에 대응되는 터치 센서 신호와 사용자 터치의 강도에 대응되는 가속도 센서 신호를 획득할 수 있으며, 이와 같이, 프로세서(140)는 복수의 패드(110) 각각에 대해 입력되는 가속도 센서 신호 및 타격 센서 신호를 획득할 수 있습니다.Similarly, the processor 140 may obtain a touch sensor signal corresponding to the user's touch and an acceleration sensor signal corresponding to the intensity of the user's touch with respect to the second pad among the plurality of pads 110 . As such, the processor 140 ) may acquire an acceleration sensor signal and a hitting sensor signal input for each of the plurality of pads 110 .

또한, 여기서, 입력되는 가속도 센서 신호 및 타격 센서 신호는 중력 가속도에 의한 오프셋이 제거되지 않은 값을 나타냅니다.In addition, here, the input acceleration sensor signal and the hitting sensor signal represent values in which the offset caused by the gravitational acceleration is not removed.

그리고, 프로세서(140)는 전 처리 동작(2030)을 수행할 수 있다. 구체적으로, 프로세서(140)는 디지털 신호인 가속도 센서 신호와 터치 센서 신호를 아날로그 신호로 변환할 수 있고, 가속도 센서 신호의 구간 평균 및 구간 표준 편차를 산출하여 중력 가속도에 의한 오프셋을 산출하는 필터링 및 프로세싱 동작을 수행할 수 있다.In addition, the processor 140 may perform a pre-processing operation 2030 . Specifically, the processor 140 may convert an acceleration sensor signal and a touch sensor signal, which are digital signals, into an analog signal, and calculate an average and interval standard deviation of the acceleration sensor signal to calculate an offset by gravitational acceleration; processing operations may be performed.

여기서, 오프셋은 전자 장치(100)의 기울기에 따른 오프셋일 수도 있고, 가속도 센서 신호의 Z축 데이터에 적용하기 위한 오프셋일 수 있다.Here, the offset may be an offset according to the inclination of the electronic device 100 or may be an offset to be applied to the Z-axis data of the acceleration sensor signal.

이후, 프로세서(140)는 산출된 오프셋을 가속도 센서 신호에 반영하여 오프셋 보상을 수행할 수 있다.Thereafter, the processor 140 may perform offset compensation by reflecting the calculated offset to the acceleration sensor signal.

그리고, 프로세서(140)는 오프셋이 보상된 가속도 센서 신호에 대하여 절대 값을 취하며, 오프셋이 보상된 가속도 센서 신호의 절대값 중 기 설정된 구간 내에서 최대값을 검출할 수 있다.Then, the processor 140 may take an absolute value with respect to the offset-compensated acceleration sensor signal, and detect a maximum value within a preset section among absolute values of the offset-compensated acceleration sensor signal.

특히, 프로세서(140)는 오프셋이 보상된 가속도 센서 신호의 절대값이 기초하여 기 설정된 임계치 이상인지 여부와 터치 센서 신호의 터치 값이 off에서 on으로 변화되었는지 여부에 기초하여 사용자의 타격 여부를 판단할 수 있다.In particular, the processor 140 determines whether the user hits based on whether the absolute value of the offset-compensated acceleration sensor signal is equal to or greater than a preset threshold and whether the touch value of the touch sensor signal is changed from off to on can do.

그리고, 해당 패드에 대해 타격이 이루어진 것으로 판단되면, 프로세서(140)는 검출된 최대값을 이에 대응되는 사운드 레벨로 변환하는 동작을 수행할 수 있다.And, when it is determined that the pad has been hit, the processor 140 may perform an operation of converting the detected maximum value into a sound level corresponding thereto.

예를 들어, 가속도 센서 신호의 최대값이 0부터 1024의 값을 갖는다고 가정할 경우, 사운드 레벨은 0부터 1024의 값을 갖는 최대값 각각에 대응하여 매칭될 수 있으며, 이에 따라, 프로세서(140)는 가속도 센서 신호의 최대값에 기초하여 변환된 사운드 레벨의 사운드를 출력할 수 있다.For example, if it is assumed that the maximum value of the acceleration sensor signal has a value of 0 to 1024, the sound level may be matched corresponding to each maximum value having a value of 0 to 1024. Accordingly, the processor 140 ) may output a sound of a converted sound level based on the maximum value of the acceleration sensor signal.

프로세서(140)가 수행하는 이벤트 생성 동작(2060)은 패드 별로 설정된 사운드를 변환된 사운드 레벨로 출력하는 것으로, 타격이 이루어진 패드에 매칭된 사운드를 출력함으로써, 사용자가 복수의 패드 중 어느 패드를 얼마큼의 강도로 두드렸는지에 대한 청각적 피드백을 제공할 수 있다.The event generating operation 2060 performed by the processor 140 outputs a sound set for each pad as a converted sound level, and outputs a sound matched to the pad hit, so that the user can select which pad among the plurality of pads by how much. It can provide an auditory feedback as to whether or not it was tapped with the intensity of

한편, 도 21 내지 도 22는 본 발명의 다양한 실시 예에 따른 동작 과정을 도시한 흐름도이다.Meanwhile, FIGS. 21 to 22 are flowcharts illustrating an operation process according to various embodiments of the present disclosure.

도 21을 참조하면, 전자 장치(100)의 파워가 온으로 세팅되고(S2110), 프로세서(140)는 가속도 센서 및 터치 센서를 초기화한다(S2120). 물론, 프로세서(140)는 가속도 센서 및 터치 센서 이외의 다양한 센서들을 초기화할 수도 있다. 예를 들어, 자이로 센서, 조도 센서, 모션 감지 센서 등을 초기화할 수 있다.Referring to FIG. 21 , the power of the electronic device 100 is set to on ( S2110 ), and the processor 140 initializes an acceleration sensor and a touch sensor ( S2120 ). Of course, the processor 140 may initialize various sensors other than the acceleration sensor and the touch sensor. For example, a gyro sensor, an illuminance sensor, a motion detection sensor, and the like may be initialized.

한편, 프로세서(140)는 비트 모드가 ON 상태인지 여부를 확인(S2130)할 수 있는데, 여기서 비트 모드는 사용자 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 출력하고, 이외 음향 컨텐츠 등과 함께 출력 가능한 모드를 뜻한다.On the other hand, the processor 140 may check whether the beat mode is in the ON state (S2130), where the beat mode outputs a type of sound set to correspond to the pad in which the user hit is sensed, and outputs other sound contents, etc. means possible modes.

그리고, 비트 모드가 ON 상태라면, 프로세서(140)는 복수의 패드 각각에 구비된 가속도 센서를 통해 가속도 센서 신호를 획득하고(S2140-1), 복수의 패드 각각에 구비된 터치 센서를 통해 터치 센서 신호를 획득할 수 있다(S2140-2).And, if the bit mode is ON, the processor 140 obtains an acceleration sensor signal through an acceleration sensor provided in each of the plurality of pads (S2140-1), and a touch sensor through a touch sensor provided in each of the plurality of pads A signal may be acquired (S2140-2).

이후, 프로세서(140)는 디지털 신호 상태의 가속도 센서 신호 및 터치 센서 신호를 아날로그 신호 상태의 가속도 센서 신호 및 터치 센서 신호로 변환하고, 구간 평균 및 구간 표준 편차를 산출할 수 있다(S2150).Thereafter, the processor 140 may convert an acceleration sensor signal and a touch sensor signal in a digital signal state into an acceleration sensor signal and a touch sensor signal in an analog signal state, and calculate a section average and a section standard deviation ( S2150 ).

그리고, 프로세서(140)는 산출된 구간 평균 및 구간 표준 편차에 기초하여 전자 장치(100)의 배치 상태 또는 기울기 등을 고려한 오프셋을 산출하고, 산출된 오프셋을 가속도 센서 신호에 반영할 수 있다(S2160).Then, the processor 140 may calculate an offset in consideration of the arrangement state or inclination of the electronic device 100 based on the calculated section average and section standard deviation, and reflect the calculated offset to the acceleration sensor signal (S2160). ).

그리고, 프로세서(140)는 오프셋이 반영된 가속도 센서 신호에 대해 절대값을 취하며, 오프셋이 보상된 가속도 센서 신호의 절대값 중 기 설정된 구간 내에서 최대값을 검출할 수 있다.In addition, the processor 140 may take an absolute value of the acceleration sensor signal to which the offset is reflected, and detect a maximum value within a preset section among absolute values of the acceleration sensor signal for which the offset is compensated.

이후, 프로세서(140)는 오프셋이 보상된 가속도 센서 신호의 절대값에 기초하여 기 설정된 임계치 이상인지 여부와 터치 센서 신호의 터치 값이 off에서 on으로 변화되었는지 여부에 기초하여 사용자의 타격 여부를 감지하고, 해당 패드에 대해 타격이 이루어진 것으로 판단되면, 프로세서(140)는 검출된 최대값을 이에 대응되는 사운드 레벨로 변환할 수 있다(S2170).Thereafter, the processor 140 detects whether the user hits based on whether the offset is equal to or greater than a preset threshold based on the absolute value of the compensated acceleration sensor signal and whether the touch value of the touch sensor signal is changed from off to on And, when it is determined that the pad has been hit, the processor 140 may convert the detected maximum value into a sound level corresponding thereto (S2170).

그리고, 프로세서(140)는 타격이 이루어진 해당 패드에 설정된 사운드를 출력하는 이벤트 생성 동작(S2180)을 수행할 수 있다. 물론, 프로세서(140)는 타격이 이루어진 패드가 복수인 경우, 복수의 패드 각각에 설정된 사운드를 개별적으로 또는 믹싱하여 출력할 수도 있다.In addition, the processor 140 may perform an event generation operation ( S2180 ) of outputting a sound set to the corresponding pad hit. Of course, when a plurality of pads are hit, the processor 140 may output sounds set to each of the plurality of pads individually or by mixing them.

그리고, 사용자 조작에 따라, 전자 장치의 파워가 오프로 세팅되면(S2190), 모든 동작이 종료된다.And, when the power of the electronic device is set to off according to a user manipulation (S2190), all operations are terminated.

도 22를 참조하면, 전자 장치(100)의 파워가 온으로 세팅되고(S2210), 프로세서(140)는 가속도 센서 및 터치 센서를 초기화한다(S2220). 물론, 프로세서(140)는 가속도 센서 및 터치 센서 이외의 다양한 센서들을 초기화할 수 있음은 설명한바 있다.Referring to FIG. 22 , the power of the electronic device 100 is set to on ( S2210 ), and the processor 140 initializes an acceleration sensor and a touch sensor ( S2220 ). Of course, it has been described that the processor 140 may initialize various sensors other than the acceleration sensor and the touch sensor.

한편, 사용자 조작에 따라, 외부 입력 소스 선택이 이루어지게 되면(S2230), 프로세서(140)는 선택된 외부 입력 소스와 무선 통신 또는 유선 통신을 수행하여 음향 컨텐츠를 스트리밍하거나, 읽어들여 다운로드할 수 있다.Meanwhile, when an external input source is selected according to a user operation ( S2230 ), the processor 140 performs wireless or wired communication with the selected external input source to stream or read and download sound content.

여기서, 외부 입력 소스는 CD, USB, Blurtooth로 연결 가능한 외부 장치 등이 될 수 있다.Here, the external input source may be a CD, USB, an external device connectable through Blurtooth, or the like.

그리고, 프로세서(140)는 스트리밍되거나, 읽어들여 다운로드된 음향 컨텐츠를 재생할 수 있다(S2240). 여기서, 프로세서(140)는 재생하는 음향 컨텐츠에 기초하여 시각적 피드백을 상이하게 제공할 수 있음은 이미 설명하였으므로, 자세한 설명은 생략하기로 한다.Then, the processor 140 may reproduce the audio content that is streamed or read and downloaded (S2240). Here, since it has already been described that the processor 140 may provide different visual feedback based on the reproduced sound content, a detailed description thereof will be omitted.

그리고, 프로세서(140)는 음향 컨텐츠를 재생하면서 비트 모드가 ON 상태인지 여부를 확인할 수 있으며(S2250), 여기서 비트 모드는 입력된 음향 컨텐츠와 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 제1 모드 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 제외하고 입력된 음향 컨텐츠만을 출력하는 제2 모드 중 제1 모드를 의미한다.Then, the processor 140 may check whether the beat mode is in an ON state while playing the sound content (S2250), where the beat mode mixes the input sound content and the type of sound set to correspond to the pad in which the blow is sensed. It means the first mode among the first mode for outputting the sound and the second mode for outputting only the input sound content except for the type of sound set to correspond to the pad in which the hitting is sensed.

이에 따라, 프로세서(140)는 비트 모드가 ON 상태라면, 음향 컨텐츠를 재생하면서, 복수의 패드 각각에 구비된 가속도 센서를 통해 가속도 센서 신호를 획득하고(S11-1), 복수의 패드 각각에 구비된 터치 센서를 통해 터치 센서 신호를 획득할 수 있다(S11-2).Accordingly, when the bit mode is in the ON state, the processor 140 acquires an acceleration sensor signal through the acceleration sensor provided in each of the plurality of pads while playing the sound content (S11-1), and is provided in each of the plurality of pads A touch sensor signal may be acquired through the connected touch sensor (S11-2).

이후, 프로세서(140)는 디지털 신호 상태의 가속도 센서 신호 및 터치 센서 신호를 아날로그 신호 상태의 가속도 센서 신호 및 터치 센서 신호로 변환하고, 구간 평균 및 구간 표준 편차를 산출할 수 있다(S12).Thereafter, the processor 140 may convert an acceleration sensor signal and a touch sensor signal in a digital signal state into an acceleration sensor signal and a touch sensor signal in an analog signal state, and calculate a section average and a section standard deviation ( S12 ).

그리고, 프로세서(140)는 산출된 구간 평균 및 구간 표준 편차에 기초하여 전자 장치(100)의 배치 상태 또는 기울기 등을 고려한 오프셋을 산출하고, 산출된 오프셋을 가속도 센서 신호에 반영할 수 있다(S13).Then, the processor 140 may calculate an offset in consideration of the arrangement state or inclination of the electronic device 100 based on the calculated section average and section standard deviation, and reflect the calculated offset to the acceleration sensor signal (S13). ).

그리고, 프로세서(140)는 오프셋이 반영된 가속도 센서 신호에 대해 절대값을 취하며, 오프셋이 보상된 가속도 센서 신호의 절대값 중 기 설정된 구간 내에서 최대값을 검출할 수 있다.In addition, the processor 140 may take an absolute value of the acceleration sensor signal to which the offset is reflected, and detect a maximum value within a preset section among absolute values of the acceleration sensor signal for which the offset is compensated.

이후, 프로세서(140)는 오프셋이 보상된 가속도 센서 신호의 절대값에 기초하여 기 설정된 임계치 이상인지 여부와 터치 센서 신호의 터치값이 off에서 on으로 변화되었는지 여부에 기초하여 해당 패드에 대한 사용자의 타격 여부를 감지하고, 해당 패드에 대해 타격이 이루어진 것으로 판단되면, 프로세서(140)는 검출된 최대값을 이에 대응되는 사운드 레벨로 변환할 수 있다(S14).Thereafter, the processor 140 determines whether the offset is greater than or equal to a preset threshold based on the absolute value of the compensated acceleration sensor signal and whether the touch value of the touch sensor signal is changed from off to on. If it is detected whether a hit has been made, and it is determined that a hit has been made on the corresponding pad, the processor 140 may convert the detected maximum value into a sound level corresponding thereto (S14).

그리고, 프로세서(140)는 타격이 이루어진 해당 패드에 설정된 사운드를 생성하는 이벤트 생성 동작을 수행하고(S15), 이에 따라, 비트 사운드가 생성된다(S16).Then, the processor 140 performs an event generating operation for generating a sound set in the corresponding pad hit (S15), and accordingly, a beat sound is generated (S16).

그리고, 프로세서(140)는 외부 입력 소스로부터 스트리밍 또는 읽어들여 다운로드된 음향 컨텐츠와 생성된 비트 사운드를 믹스하여 출력할 수 있다(S17).In addition, the processor 140 may mix and output the sound content downloaded by streaming or reading from an external input source and the generated beat sound (S17).

그리고, 프로세서(140)는 전자 장치(100)의 파워 버튼을 통해 턴 오프 명령이 입력되었는지 여부를 판단하고(S2260), 턴 오프 명령이 입력된 경우 전자 장치(100)를 턴 오프 시킬 수 있다(S2270). 이에 따라, 전자 장치(100)의 모든 동작이 종료된다.Then, the processor 140 may determine whether a turn-off command is inputted through the power button of the electronic device 100 ( S2260 ), and may turn off the electronic device 100 when the turn-off command is input ( S2260 ). S2270). Accordingly, all operations of the electronic device 100 are terminated.

한편, 도 22에서 프로세서에서 수행되는 복수의 단계(S11-1, S11-2, S12, S13, S14, S15)를 포함하는 제1 처리 구간(10)은 해당 패드에 대해 타격이 이루어지는지 여부를 판단하는 구간이고, 프로세서에서 수행되는 복수의 단계(S11-1, S11-2, S12, S13, S14, S15, S16, S17)를 포함하는 제2 처리 구간(20)은 해당 패드에 대해 타격이 이루어지는지 여부를 판단하고, 타격이 이루어진 패드에 설정된 사운드를 생성하여 믹싱하는 구간이다.On the other hand, the first processing section 10 including a plurality of steps (S11-1, S11-2, S12, S13, S14, S15) performed by the processor in FIG. The second processing section 20 including a plurality of steps (S11-1, S11-2, S12, S13, S14, S15, S16, S17) performed by the processor It is a section in which it is judged whether or not it is made, and a sound set in the hitting pad is generated and mixed.

도 23은 도 1에 도시된 전자 장치의 구체적 구성을 나타내는 블럭도이다.23 is a block diagram illustrating a specific configuration of the electronic device shown in FIG. 1 .

도 23을 참조하면, 전자 장치(100')는 복수의 패드(110), 음향 출력부(120), 디스플레이부(130), 프로세서(140), 입력부(150), 오디오 처리부(160), 통신부(170) 및 저장부(180)를 포함한다. 도 23에 도시된 구성 중 도 1에 도시된 구성과 중복되는 부분에 대해서는 자세한 설명을 생략하도록 한다.Referring to FIG. 23 , the electronic device 100 ′ includes a plurality of pads 110 , a sound output unit 120 , a display unit 130 , a processor 140 , an input unit 150 , an audio processing unit 160 , and a communication unit. 170 and a storage unit 180 . A detailed description of the portion overlapping with the configuration shown in FIG. 1 among the configuration shown in FIG. 23 will be omitted.

프로세서(140)는 디스플레이 장치(100')의 동작을 전반적으로 제어한다.The processor 140 controls the overall operation of the display apparatus 100 ′.

구체적으로, 프로세서(130)는 RAM(141), ROM(142), 메인 CPU(143), 그래픽 처리부(144), 제1 내지 n 인터페이스(145-1 ~ 145-n), 버스(146)를 포함한다.Specifically, the processor 130 includes the RAM 141 , the ROM 142 , the main CPU 143 , the graphic processing unit 144 , the first to n interfaces 145-1 to 145-n, and the bus 146 . include

RAM(141), ROM(142), 메인 CPU(143), 그래픽 처리부(144), 제1 내지 n 인터페이스(145-1 ~ 145-n) 등은 버스(146)를 통해 서로 연결될 수 있다. The RAM 141 , the ROM 142 , the main CPU 143 , the graphic processing unit 144 , the first to n interfaces 145 - 1 to 145 -n, etc. may be connected to each other through the bus 146 .

제1 내지 n 인터페이스(145-1 내지 145-n)는 상술한 각종 구성요소들과 연결된다. 인터페이스들 중 하나는 네트워크를 통해 외부 장치와 연결되는 네트워크 인터페이스가 될 수도 있다.The first to n-th interfaces 145-1 to 145-n are connected to the various components described above. One of the interfaces may be a network interface connected to an external device through a network.

메인 CPU(143)는 저장부(180)에 액세스하여, 저장부(180)에 저장된 O/S를 이용하여 부팅을 수행한다. 그리고, 저장부(140)에 저장된 각종 프로그램, 컨텐츠, 데이터 등을 이용하여 다양한 동작을 수행한다. The main CPU 143 accesses the storage unit 180 and performs booting using the O/S stored in the storage unit 180 . Then, various operations are performed using various programs, contents, data, etc. stored in the storage unit 140 .

ROM(142)에는 시스템 부팅을 위한 명령어 세트 등이 저장된다. 턴온 명령이 입력되어 전원이 공급되면, 메인 CPU(143)는 ROM(142)에 저장된 명령어에 따라 저장부(180)에 저장된 O/S를 RAM(141)에 복사하고, O/S를 실행시켜 시스템을 부팅시킨다. 부팅이 완료되면, 메인 CPU(143)는 저장부(180)에 저장된 각종 어플리케이션 프로그램을 RAM(141)에 복사하고, RAM(141)에 복사된 어플리케이션 프로그램을 실행시켜 각종 동작을 수행한다. The ROM 142 stores an instruction set for system booting and the like. When a turn-on command is input and power is supplied, the main CPU 143 copies the O/S stored in the storage unit 180 to the RAM 141 according to the command stored in the ROM 142, and executes the O/S. Boot the system. When booting is completed, the main CPU 143 copies various application programs stored in the storage unit 180 to the RAM 141 and executes the application programs copied to the RAM 141 to perform various operations.

그래픽 처리부(144)는 연산부(미도시) 및 렌더링부(미도시)를 이용하여 아이콘, 이미지, 텍스트 등과 같은 다양한 객체를 포함하는 화면을 생성한다. 연산부(미도시)는 수신된 제어 명령에 기초하여 화면의 레이아웃에 따라 각 객체들이 표시될 좌표값, 형태, 크기, 컬러 등과 같은 속성값을 연산한다. 렌더링부(미도시)는 연산부(미도시)에서 연산한 속성값에 기초하여 객체를 포함하는 다양한 레이아웃의 화면을 생성한다. 렌더링부(미도시)에서 생성된 화면은 디스플레이부(130)를 통해 디스플레이될 수 있다.The graphic processing unit 144 generates a screen including various objects such as icons, images, and texts by using an operation unit (not shown) and a rendering unit (not shown). A calculation unit (not shown) calculates attribute values such as coordinate values, shape, size, color, etc. at which each object is to be displayed according to the layout of the screen based on the received control command. The rendering unit (not shown) generates screens of various layouts including objects based on the attribute values calculated by the calculation unit (not shown). The screen generated by the rendering unit (not shown) may be displayed through the display unit 130 .

한편, 상술한 프로세서(140)의 동작은 저장부(180)에 저장된 프로그램에 의해 이루어질 수 있다.Meanwhile, the above-described operation of the processor 140 may be performed by a program stored in the storage unit 180 .

저장부(180)는 전자 장치(100')를 구동시키기 위한 O/S(Operating System) 소프트웨어 모듈, 각종 멀티미디어 컨텐츠와 같은 다양한 데이터를 저장한다.The storage unit 180 stores various data such as an O/S (Operating System) software module for driving the electronic device 100 ′ and various multimedia contents.

특히, 저장부(180)는 복수의 패드(110) 중 적어도 하나의 패드에서 터치 센서에 의해 사용자 터치가 감지되고, 가속도 센서에 의해 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하고, 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 타격의 강도에 대응되는 크기로 출력하도록 음향 출력부를 제어하고, 타격에 대응되는 시각적 피드백을 제공하기 위한 다양한 소프트웨어 모듈을 포함한다. 이에 대해서는 도 24를 통해 상세히 설명하기로 한다.In particular, the storage unit 180 detects a user's touch in at least one of the plurality of pads 110 by the touch sensor and detects that the intensity of the user's touch is greater than or equal to a preset threshold by the acceleration sensor. Determining that a blow to the pad has been made, controlling the sound output unit to output a sound of a type set to correspond to the pad in which the blow is sensed at a size corresponding to the intensity of the blow, and providing visual feedback corresponding to the blow Includes software modules. This will be described in detail with reference to FIG. 24 .

한편, 통신부(170)는 외부 입력 소스, 외부 장치, 원격 제어 장치 등과 통신을 수행할 수 있으며, 무선 통신 방식 및 유선 통신 방식 중 적어도 하나를 통해 외부 입력 소스, 외부 장치, 원격 제어 장치 등과 통신을 수행할 수 있다.Meanwhile, the communication unit 170 may communicate with an external input source, an external device, a remote control device, and the like, and communicate with an external input source, an external device, a remote control device, and the like through at least one of a wireless communication method and a wired communication method. can be done

특히, 통신부(170)는 원격 제어 장치(미도시)와 무선 통신 방식 또는 IR 방식에 따라 통신을 수행할 수 있는데, 무선 통신 방식으로는, RFID, NFC(Near Field Communication), 블루투스(bluetooth), 지그비(Zigbee) 및 와이파이(Wi-Fi) 등이 사용될 수 있다.In particular, the communication unit 170 may communicate with a remote control device (not shown) according to a wireless communication method or an IR method, and the wireless communication method includes RFID, Near Field Communication (NFC), Bluetooth, Zigbee and Wi-Fi may be used.

오디오 처리부(160)는 오디오 신호를 음향 출력부(120)의 출력 레인지 및 음질에 관한 사용자 설정에 부합하도록 처리할 수 있다. 구체적으로, 오디오 처리부(160)는 입력부(150)를 통해 입력된 음향 컨텐츠를 음향 출력부(120)의 출력 레인지 및 음질에 관한 사용자 설정에 부합하도록 처리할 수 있다. 또한, 오디오 처리부(160)는 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 음향 출력부(120)의 출력 레인지 및 음질에 관한 사용자 설정에 부합하도록 처리할 수 있다.The audio processing unit 160 may process the audio signal to match the user settings regarding the output range and sound quality of the audio output unit 120 . Specifically, the audio processing unit 160 may process the sound content input through the input unit 150 to match the user settings regarding the output range and sound quality of the sound output unit 120 . Also, the audio processing unit 160 may process a type of sound set to correspond to the pad in which the hitting is sensed to match the user settings regarding the output range and sound quality of the sound output unit 120 .

도 24는 본 발명의 일 실시 예에 따른 저장부에 저장된 소프트웨어 모듈에 관한 도면이다.24 is a diagram of a software module stored in a storage unit according to an embodiment of the present invention.

도 24를 참조하면, 저장부(180)에는 터치 값 검출 모듈(181), 가속도 값 검출 모듈(182), 타격 여부 판단 모듈(183), 사운드 출력 및 믹싱 모듈(184) 및 통신 모듈(185) 등의 프로그램이 저장되어 있을 수 있다.24 , the storage unit 180 includes a touch value detection module 181 , an acceleration value detection module 182 , a hit determination module 183 , a sound output and mixing module 184 , and a communication module 185 . Such programs may be stored.

한편, 상술한 프로세서(140)의 동작은 저장부(180)에 저장된 프로그램에 의해 이루어질 수 있다. 이하에서는, 저장부(180)에 저장된 프로그램을 이용한 프로세서(140)의 세부 동작에 대해 자세히 설명하도록 한다.Meanwhile, the above-described operation of the processor 140 may be performed by a program stored in the storage unit 180 . Hereinafter, detailed operations of the processor 140 using the program stored in the storage unit 180 will be described in detail.

터치 값 검출 모듈(181)은 터치 센서를 통해 획득된 터치 센서 신호로부터 터치 값의 변화 여부를 검출하는 기능을 수행할 수 있다. 예를 들어, 터치 값이 off에서 on으로 변화되면 사용자 터치가 이루어졌음을 감지하는 기능을 수행하고, 터치 값이 on에서 off로 변화되면 사용자 터치가 중단되었음을 감지하는 기능을 수행할 수 있다.The touch value detection module 181 may perform a function of detecting whether a touch value has changed from a touch sensor signal obtained through the touch sensor. For example, when the touch value is changed from off to on, a function of detecting that a user's touch has been made may be performed, and when the touch value is changed from on to off, a function of detecting that the user's touch is stopped may be performed.

가속도 값 검출 모듈(182)은 가속도 센서를 통해 획득된 가속도 센서 신호로부터 중력 가속도에 의한 오프셋을 산출하고, 산출된 오프셋을 가속도 센서 신호에 반영하며, 오프셋이 반영된 가속도 센서 신호의 절대값을 산출하여 가속도 값을 검출하는 기능을 수행할 수 있다.The acceleration value detection module 182 calculates an offset due to gravitational acceleration from the acceleration sensor signal obtained through the acceleration sensor, reflects the calculated offset to the acceleration sensor signal, and calculates the absolute value of the acceleration sensor signal to which the offset is reflected. A function of detecting an acceleration value may be performed.

타격 여부 판단 모듈(183)은 터치 값 검출 모듈(181)에서 검출된 터치 값과 가속도 값 검출 모듈(182)에서 검출된 가속도 값에 기초하여 해당 패드에 대한 타격 여부를 판단하는 기능을 수행할 수 있다.The hitting determination module 183 may perform a function of determining whether to hit the corresponding pad based on the touch value detected by the touch value detection module 181 and the acceleration value detected by the acceleration value detection module 182 have.

구체적으로, 타격 여부 판단 모듈(183)은 터치 값이 off에서 on으로 변화되어 해당 패드에 대한 사용자 터치가 감지되고, 가속도 값에 대응되는 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 해당 패드에 대해 타격이 이루어진 것으로 판단하는 기능을 수행할 수 있다.Specifically, when the touch value is changed from off to on and the user touch on the corresponding pad is sensed, and the intensity of the user's touch corresponding to the acceleration value is greater than or equal to a preset threshold value, the hitting determination module 183 detects that the corresponding pad It is possible to perform a function to determine that a blow has been made against the .

사운드 출력 및 믹싱 모듈(184)은 타격 여부 판단 모듈(183)에서 해당 패드에 대해 타격이 이루어진 것으로 판단되면, 해당 패드에 설정된 사운드를 출력하는 기능을 수행할 수 있다. 또한, 사운드 출력 및 믹싱 모듈(184)은 복수의 패드(110)에 대해 타격이 이루어진 것으로 판단되면, 각 패드에 설정된 사운드를 개별적으로 출력하거나, 믹싱하여 출력하는 기능을 수행할 수 있다.The sound output and mixing module 184 may perform a function of outputting a sound set to the corresponding pad when it is determined that the corresponding pad has been hit by the hitting whether or not determining module 183 . In addition, when it is determined that a blow has been made to the plurality of pads 110 , the sound output and mixing module 184 may perform a function of individually outputting or mixing sounds set for each pad.

통신 모듈(185)은 외부 장치와 통신을 수행하기 위한 모듈이다. 통신 모듈(142)은 외부 장치와 통신에 이용되는 디바이스 모듈, 메신저 프로그램, SMS(Short Message Service) & MMS(Multimedia Message Service) 프로그램, 이메일 프로그램 등과 같은 메시징 모듈, 전화 정보 수집기(Call Info Aggregator) 프로그램 모듈, VoIP 모듈 등을 포함하는 전화 모듈을 포함할 수 있다.The communication module 185 is a module for performing communication with an external device. The communication module 142 includes a device module used for communication with an external device, a messenger program, a short message service (SMS) & multimedia message service (MMS) program, a messaging module such as an email program, and a call information aggregator program. It may include a phone module including a module, a VoIP module, and the like.

한편, 전자 장치(100)에 구비된 복수의 패드(110)는 하나의 패드로 구현될 수도 있다. 예를 들어, 복수의 패드(110)가 하나의 패드로 구현될 경우, 하나의 패드는 복수의 영역으로 구분될 수 있으며, 각 영역에는 서로 다른 채널이 매칭되어 있을 수 있다.Meanwhile, the plurality of pads 110 provided in the electronic device 100 may be implemented as one pad. For example, when the plurality of pads 110 are implemented as one pad, one pad may be divided into a plurality of regions, and different channels may be matched to each region.

도 19에서도 하나의 패드가 복수의 영역으로 구분되는 실시 예를 설명하였으나, 이는 스크래칭 동작을 설명하기 위한 것이고, 도 19와 같은 경우에도 전자 장치(100)는 복수의 패드를 포함할 수 있다.Although an embodiment in which one pad is divided into a plurality of regions has been described in FIG. 19 as well, this is for explaining a scratching operation, and even in the case of FIG. 19 , the electronic device 100 may include a plurality of pads.

그러나, 복수의 패드 자체를 하나의 패드로 통합하고, 하나의 패드를 복수의 영역으로 나눔으로써, 전자 장치(100)의 구조, 사이즈, 두께 등을 변화시킬 수 있다.However, by integrating the plurality of pads themselves into one pad and dividing one pad into a plurality of regions, the structure, size, thickness, etc. of the electronic device 100 may be changed.

각 영역에는 서로 다른 채널이 매칭되어 있으므로, 각 영역별로 복수의 사운드가 설정되어 있고, 이에 따라, 사용자는 복수의 패드를 각각 두드리는 대신에 하나의 패드에 분할된 각 영역을 두드릴 수 있으며, 프로세서(140) 역시, 각 영역에 구비된 가속도 센서와 터치 센서를 통해 사용자 터치 및 터치 강도를 감지하여 각 영역에 대해 타격이 이루어졌는지 여부를 판단할 수 있으며, 판단 결과에 따라 각 영역에 설정된 사운드를 개별적으로 또는 믹싱하여 출력할 수 있다.Since different channels are matched to each area, a plurality of sounds are set for each area, so that the user can tap each divided area on one pad instead of hitting a plurality of pads individually, and the processor (140) Also, by detecting the user's touch and touch intensity through the acceleration sensor and the touch sensor provided in each area, it is possible to determine whether a hit has been made for each area, and according to the determination result, the sound set in each area They can be output individually or in a mix.

도 25는 본 발명의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.25 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present invention.

도 25에 도시된 터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드 및 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부를 포함하는 전자 장치의 제어 방법은, 복수의 패드 중 적어도 하나의 패드에서 터치 센서에 의해 사용자 터치를 감지할 수 있다(S2510).The control method of an electronic device including a plurality of pads each including a touch sensor and an acceleration sensor, and a sound output unit for outputting a plurality of sounds set for each of the plurality of pads, as shown in FIG. 25 , includes at least one of the plurality of pads. It is possible to detect a user's touch by the touch sensor in (S2510).

그리고, 가속도 센서에 의해 사용자 터치의 강도를 감지할 수 있다(S2520).Then, the intensity of the user's touch may be detected by the acceleration sensor (S2520).

여기서, 사용자 터치를 감지하는 단계는, 터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 사용자의 터치를 감지하고, 사용자 터치의 강도를 감지하는 단계는, 가속도 센서 신호로부터 산출된 가속도 값에 기초하여 사용자 터치의 강도를 감지할 수 있다.Here, the detecting of the user's touch includes detecting the user's touch based on a change in the touch value corresponding to the touch sensor signal, and the detecting of the intensity of the user's touch is based on the acceleration value calculated from the acceleration sensor signal. Thus, the intensity of the user's touch can be detected.

또한, 사용자 터치가 감지되고, 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단할 수 있다(S2530).In addition, when a user's touch is sensed and the intensity of the user's touch is greater than or equal to a preset threshold, it may be determined that at least one pad has been hit (S2530).

여기서, 판단하는 단계는, 복수의 패드 중 터치 값이 ON이고 가속도 값이 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단할 수 있다.Here, in the determining step, it may be determined that a hit is made to a pad having a touch value ON and an acceleration value equal to or greater than a preset threshold value among the plurality of pads.

또한, 판단하는 단계는, 복수의 패드 중 터치 값이 OFF이거나 가속도 값이 기 설정된 임게치 미만인 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.In addition, in the determining step, it may be determined that a strike is not performed on a pad having a touch value of OFF or an acceleration value less than a preset threshold value among the plurality of pads.

한편, 복수의 패드는 제1 패드 및 제2 패드를 포함하며, 판단하는 단계는, 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 기 설정된 임계치 이상이면 제1 패드에 대해 타격이 이루어진 것으로 판단하고 제1 가속도 값에 기초하여 사용자 터치의 강도를 판단하며, 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 기 설정된 임계치 미만이면 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단할 수 있다.On the other hand, the plurality of pads includes a first pad and a second pad, and the determining may include: when the first touch value sensed through the first pad is ON and the first acceleration value is greater than or equal to a preset threshold, It is determined that a blow has been made against the user, and the intensity of the user's touch is determined based on the first acceleration value. If the second touch value sensed through the second pad is OFF or the second acceleration value is less than a preset threshold, the It can be judged that no damage has been done.

또한, 사용자 터치의 강도를 감지하는 단계는, 가속도 센서 시호에 대해 중력 가속도에 의한 오프셋을 보상하고, 오프셋이 보상된 가속도 센서 신호에 기초하여 가속도 값을 산출할 수 있다.In addition, the sensing of the intensity of the user's touch may include compensating for an offset due to gravitational acceleration with respect to the acceleration sensor signal, and calculating an acceleration value based on the offset-compensated acceleration sensor signal.

여기서, 중력 가속도에 의한 오프셋은 전자 장치의 기울기에 따라 변경될 수 있다.Here, the offset by the gravitational acceleration may be changed according to the inclination of the electronic device.

또한, 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 타격의 강도에 대응되는 크기로 출력하고 타격에 대응되는 시각적 피드백을 제공할 수 있다(S2540).In addition, a sound of a type set to correspond to the pad in which the hitting is sensed may be output in a size corresponding to the intensity of the hitting, and a visual feedback corresponding to the hitting may be provided (S2540).

여기서, 제공하는 단계는, 타격의 강도에 기초하여, 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드 레벨 및 타격에 대응되는 시각적 피드백을 상이하게 결정하여 제공할 수 있다.Here, in the providing step, based on the strength of the blow, a sound level of a type set to correspond to the pad in which the blow is sensed and a visual feedback corresponding to the blow may be differently determined and provided.

한편, 본 발명에 따른 제어 방법을 순차적으로 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다. Meanwhile, a non-transitory computer readable medium in which a program for sequentially performing the control method according to the present invention is stored may be provided.

일 예로, 복수의 패드 중 적어도 하나의 패드에서 터치 센서에 의해 사용자 터치를 감지하는 단계, 가속도 센서에 의해 사용자 터치의 강도를 감지하는 단계, 가속도 센서에 의해 사용자 터치의 강도를 감지하는 단계, 사용자 터치가 감지되고, 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 단계 및 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 타격의 강도에 대응되는 크기로 출력하고 타격에 대응되는 시각적 피드백을 제공하는 단계를 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다.For example, detecting a user's touch by a touch sensor in at least one of the plurality of pads, detecting the intensity of the user's touch by an acceleration sensor, detecting the intensity of the user's touch by an acceleration sensor, the user When a touch is detected and the intensity of the user's touch is detected to be greater than or equal to a preset threshold, determining that a strike has been made to at least one pad and applying a sound of a type set to correspond to the detected pad to the intensity of the strike A non-transitory computer readable medium may be provided in which a program for performing a step of outputting a size to be output and providing a visual feedback corresponding to a blow is stored.

비일시적 판독 가능 매체란 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다.The non-transitory readable medium refers to a medium that stores data semi-permanently, rather than a medium that stores data for a short moment, such as a register, cache, memory, and the like, and can be read by a device. Specifically, the various applications or programs described above may be provided by being stored in a non-transitory readable medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, and the like.

또한, 전자 장치에 대해 도시한 상술한 블록도에서는 버스(bus)를 미도시하였으나, 전자 장치에서 각 구성요소 간의 통신은 버스를 통해 이루어질 수도 있다. 또한, 각 디바이스에는 상술한 다양한 단계를 수행하는 CPU, 마이크로 프로세서 등과 같은 프로세서가 더 포함될 수도 있다. In addition, although a bus is not illustrated in the above-described block diagram of an electronic device, communication between respective components in the electronic device may be performed through a bus. In addition, each device may further include a processor such as a CPU or a microprocessor that performs the various steps described above.

또한, 이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the technical field to which the present invention pertains without departing from the gist of the present invention as claimed in the claims In addition, various modifications are possible by those of ordinary skill in the art, and these modifications should not be individually understood from the technical spirit or perspective of the present invention.

100: 전자 장치 110: 복수의 패드
120: 음향 출력부 130: 디스플레이부
140: 프로세서
100: electronic device 110: a plurality of pads
120: sound output unit 130: display unit
140: processor

Claims (20)

터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드; 및
상기 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부;
시각적 피드백을 제공하기 위한 디스플레이부;
상기 복수의 패드 중 적어도 하나의 패드에서 상기 터치 센서에 의해 사용자 터치가 감지되고, 상기 가속도 센서에 의해 상기 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 상기 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 프로세서;를 포함하며,
상기 프로세서는,
터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 상기 사용자의 터치를 감지하고, 가속도 센서 신호로부터 산출된 가속도 값에 기초하여 상기 사용자 터치의 강도를 감지하고,
상기 복수의 패드 중 상기 터치 값이 ON이고 상기 가속도 값이 상기 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단하며,
상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 상기 타격의 강도에 대응되는 크기로 출력하도록 상기 음향 출력부를 제어하고, 상기 타격에 대응되는 상기 시각적 피드백을 제공하도록 상기 디스플레이부를 제어하는 것인, 전자 장치.
a plurality of pads each including a touch sensor and an acceleration sensor; and
a sound output unit for outputting a plurality of sounds set for each of the plurality of pads;
a display unit for providing visual feedback;
When a user's touch is sensed by the touch sensor in at least one of the plurality of pads and the intensity of the user's touch is detected to be greater than or equal to a preset threshold by the acceleration sensor, the at least one pad is hit A processor that determines that
The processor is
detecting the user's touch based on a change in the touch value corresponding to the touch sensor signal, detecting the intensity of the user's touch based on the acceleration value calculated from the acceleration sensor signal,
It is determined that a hit is made to a pad in which the touch value is ON among the plurality of pads and the acceleration value is equal to or greater than the preset threshold value,
Controlling the sound output unit to output a type of sound set to correspond to the pad in which the strike is sensed with a size corresponding to the strength of the strike, and controlling the display unit to provide the visual feedback corresponding to the strike , electronic devices.
삭제delete 삭제delete 제1항에 있어서,
상기 프로세서는,
상기 복수의 패드 중 상기 터치 값이 OFF이거나 상기 가속도 값이 상기 기 설정된 임계치 미만인 패드에 대해 타격이 이루어지지 않은 것으로 판단하는 것을 특징으로 하는 전자 장치.
According to claim 1,
The processor is
The electronic device of claim 1, wherein it is determined that no hitting is made to a pad having the touch value of OFF or the acceleration value less than the preset threshold value among the plurality of pads.
제1항에 있어서,
상기 복수의 패드는 제1 패드 및 제2 패드를 포함하며,
상기 프로세서는,
상기 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 상기 기 설정된 임계치 이상이면 상기 제1 패드에 대해 타격이 이루어진 것으로 판단하고 상기 제1 가속도 값에 기초하여 상기 사용자 터치의 강도를 판단하며,
상기 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 상기 기 설정된 임계치 미만이면 상기 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단하는 것을 특징으로 하는 전자 장치.
According to claim 1,
The plurality of pads includes a first pad and a second pad,
The processor is
If the first touch value sensed through the first pad is ON and the first acceleration value is greater than or equal to the preset threshold, it is determined that a hit has been made to the first pad, and based on the first acceleration value, the user's touch to judge the strength,
The electronic device of claim 1 , wherein when the second touch value sensed through the second pad is OFF or the second acceleration value is less than the preset threshold, it is determined that the second pad is not hit.
제1항에 있어서,
상기 프로세서는,
상기 가속도 센서 신호에 대해 중력 가속도에 의한 오프셋을 보상하고, 상기 오프셋이 보상된 가속도 센서 신호에 기초하여 상기 가속도 값을 산출하는 것을 특징으로 하는 전자 장치.
According to claim 1,
The processor is
The electronic device of claim 1, wherein an offset caused by gravitational acceleration is compensated for the acceleration sensor signal, and the acceleration value is calculated based on the offset-compensated acceleration sensor signal.
제6항에 있어서,
상기 중력 가속도에 의한 오프셋은 상기 전자 장치의 기울기에 따라 변경되는 것을 특징으로 하는 전자 장치.
7. The method of claim 6,
The electronic device, characterized in that the offset due to the acceleration of gravity is changed according to the inclination of the electronic device.
제1항에 있어서,
상기 프로세서는,
상기 타격의 강도에 기초하여, 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드 레벨 및 상기 타격에 대응되는 상기 시각적 피드백을 상이하게 결정하여 제공하는 것을 특징으로 하는 전자 장치.
According to claim 1,
The processor is
The electronic device according to claim 1, wherein a sound level of a type set to correspond to a pad in which the strike is sensed and the visual feedback corresponding to the strike are differently determined and provided based on the intensity of the strike.
제8항에 있어서,
상기 디스플레이부는 LED부를 포함하며,
상기 프로세서는,
상기 LED부 중 타격이 감지된 패드에 대응되는 LED를 턴 온하고, 상기 타격의 강도에 따라 상기 LED의 밝기 및 색상 중 적어도 하나를 조정하는 것을 특징으로 하는 전자 장치.
9. The method of claim 8,
The display unit includes an LED unit,
The processor is
Turning on an LED corresponding to a pad in which a hit is sensed among the LED units, and adjusting at least one of a brightness and a color of the LED according to the intensity of the hit.
제1항에 있어서,
외부 소스로부터 음향 컨텐츠를 입력받는 입력부;를 더 포함하며,
상기 프로세서는,
상기 입력된 음향 컨텐츠와 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 것을 특징으로 하는 전자 장치.
According to claim 1,
It further includes; an input unit for receiving sound content from an external source;
The processor is
The electronic device of claim 1, wherein the input sound content and the sound of a type set to correspond to the pad in which the hit is sensed are mixed and output.
제10항에 있어서,
상기 프로세서는,
상기 입력된 음향 컨텐츠에 관한 정보 및 상기 타격의 강도에 기초하여 상기 시각적 피드백을 상이하게 제공하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
The processor is
The electronic device of claim 1, wherein the visual feedback is differently provided based on the input information about the sound content and the intensity of the blow.
제1항에 있어서,
외부 소스로부터 음향 컨텐츠를 입력받는 입력부;를 더 포함하며,
상기 프로세서는,
사용자 조작에 따라, 상기 입력된 음향 컨텐츠와 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 믹싱하여 출력하는 제1 모드 및 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 제외하고 상기 입력된 음향 컨텐츠만을 출력하는 제2 모드 중 하나로 동작하는 것을 특징으로 하는 전자 장치.
According to claim 1,
It further includes; an input unit for receiving sound content from an external source;
The processor is
According to a user operation, except for the first mode for mixing and outputting the input sound content and the sound set to correspond to the pad in which the strike is sensed, and the sound set to correspond to the pad in which the strike is sensed. An electronic device, characterized in that it operates in one of the second modes for outputting only input sound content.
터치 센서 및 가속도 센서를 각각 포함하는 복수의 패드 및 상기 복수의 패드 별로 설정된 복수의 사운드를 출력하기 위한 음향 출력부를 포함하는 전자 장치의 제어 방법에 있어서,
상기 복수의 패드 중 적어도 하나의 패드에서 상기 터치 센서에 의해 사용자 터치를 감지하는 단계;
상기 가속도 센서에 의해 상기 사용자 터치의 강도를 감지하는 단계;
상기 사용자 터치가 감지되고, 상기 사용자 터치의 강도가 기 설정된 임계치 이상인 것으로 감지되면, 상기 적어도 하나의 패드에 대한 타격이 이루어진 것으로 판단하는 단계; 및
상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드를 상기 타격의 강도에 대응되는 크기로 출력하고 상기 타격에 대응되는 시각적 피드백을 제공하는 단계;를 포함하는 전자 장치의 제어 방법.
A control method of an electronic device comprising: a plurality of pads each including a touch sensor and an acceleration sensor; and a sound output unit for outputting a plurality of sounds set for each of the plurality of pads, the method comprising:
detecting a user's touch by the touch sensor in at least one of the plurality of pads;
detecting the intensity of the user's touch by the acceleration sensor;
determining that the at least one pad has been hit when the user's touch is sensed and the intensity of the user's touch is greater than or equal to a preset threshold; and
The method of controlling an electronic device comprising: outputting a sound of a type set to correspond to the pad in which the strike is sensed in a size corresponding to the intensity of the strike and providing a visual feedback corresponding to the strike.
제13항에 있어서,
상기 사용자 터치를 감지하는 단계는,
터치 센서 신호에 대응되는 터치 값의 변화에 기초하여 상기 사용자의 터치를 감지하고,
상기 사용자 터치의 강도를 감지하는 단계는,
가속도 센서 신호로부터 산출된 가속도 값에 기초하여 상기 사용자 터치의 강도를 감지하는 것을 특징으로 하는 전자 장치의 제어 방법.
14. The method of claim 13,
The step of detecting the user's touch,
Detecting the user's touch based on a change in a touch value corresponding to a touch sensor signal,
The step of detecting the intensity of the user's touch comprises:
The control method of an electronic device, characterized in that the intensity of the user's touch is sensed based on an acceleration value calculated from an acceleration sensor signal.
제14항에 있어서,
상기 판단하는 단계는,
상기 복수의 패드 중 상기 터치 값이 ON이고 상기 가속도 값이 상기 기 설정된 임계치 이상인 패드에 대해 타격이 이루어진 것으로 판단하는 것을 특징으로 하는 전자 장치의 제어 방법.
15. The method of claim 14,
The determining step is
The control method of an electronic device, characterized in that it is determined that a strike is made to a pad having the touch value ON and the acceleration value equal to or greater than the preset threshold value among the plurality of pads.
제14항에 있어서,
상기 판단하는 단계는,
상기 복수의 패드 중 상기 터치 값이 OFF이거나 상기 가속도 값이 상기 기 설정된 임계치 미만인 패드에 대해 타격이 이루어지지 않은 것으로 판단하는 것을 특징으로 하는 전자 장치의 제어 방법.
15. The method of claim 14,
The determining step is
The control method of the electronic device, characterized in that it is determined that a strike is not made to a pad in which the touch value is OFF or the acceleration value is less than the preset threshold value among the plurality of pads.
제14항에 있어서,
상기 복수의 패드는 제1 패드 및 제2 패드를 포함하며,
상기 판단하는 단계는,
상기 제1 패드를 통해 감지된 제1 터치 값이 ON이고 제1 가속도 값이 상기 기 설정된 임계치 이상이면 상기 제1 패드에 대해 타격이 이루어진 것으로 판단하고 상기 제1 가속도 값에 기초하여 상기 사용자 터치의 강도를 판단하며,
상기 제2 패드를 통해 감지된 제2 터치 값이 OFF이거나 제2 가속도 값이 상기 기 설정된 임계치 미만이면 상기 제2 패드에 대해 타격이 이루어지지 않은 것으로 판단하는 것을 특징으로 하는 전자 장치의 제어 방법.
15. The method of claim 14,
The plurality of pads includes a first pad and a second pad,
The determining step is
If the first touch value sensed through the first pad is ON and the first acceleration value is greater than or equal to the preset threshold, it is determined that a hit has been made to the first pad, and based on the first acceleration value, the user's touch to judge the strength,
When the second touch value sensed through the second pad is OFF or the second acceleration value is less than the preset threshold, it is determined that the second pad is not hit.
제14항에 있어서,
상기 사용자 터치의 강도를 감지하는 단계는,
상기 가속도 센서 신호에 대해 중력 가속도에 의한 오프셋을 보상하고, 상기 오프셋이 보상된 가속도 센서 신호에 기초하여 상기 가속도 값을 산출하는 것을 특징으로 하는 전자 장치의 제어 방법.
15. The method of claim 14,
The step of detecting the intensity of the user's touch comprises:
The control method of an electronic device, comprising: compensating for an offset due to gravitational acceleration with respect to the acceleration sensor signal, and calculating the acceleration value based on the offset-compensated acceleration sensor signal.
제18항에 있어서,
상기 중력 가속도에 의한 오프셋은 상기 전자 장치의 기울기에 따라 변경되는 것을 특징으로 하는 전자 장치의 제어 방법.
19. The method of claim 18,
The method of controlling an electronic device, characterized in that the offset by the gravitational acceleration is changed according to the inclination of the electronic device.
제13항에 있어서,
상기 제공하는 단계는,
상기 타격의 강도에 기초하여, 상기 타격이 감지된 패드에 대응되도록 설정된 종류의 사운드 레벨 및 상기 타격에 대응되는 상기 시각적 피드백을 상이하게 결정하여 제공하는 것을 특징으로 하는 전자 장치의 제어 방법.
14. The method of claim 13,
The providing step is
The control method of an electronic device, characterized in that, based on the intensity of the hit, a sound level of a type set to correspond to the pad in which the hit is sensed and the visual feedback corresponding to the hit are differently determined and provided.
KR1020150097020A 2015-04-17 2015-07-08 Ellectronic apparatus and the controlling method thereof KR102341253B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/130,169 US9779710B2 (en) 2015-04-17 2016-04-15 Electronic apparatus and control method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201562148989P 2015-04-17 2015-04-17
US62/148,989 2015-04-17

Publications (2)

Publication Number Publication Date
KR20160123935A KR20160123935A (en) 2016-10-26
KR102341253B1 true KR102341253B1 (en) 2021-12-20

Family

ID=57251984

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150097020A KR102341253B1 (en) 2015-04-17 2015-07-08 Ellectronic apparatus and the controlling method thereof

Country Status (1)

Country Link
KR (1) KR102341253B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102013944B1 (en) * 2017-12-27 2019-08-26 동국대학교 산학협력단 An electronic drum set
KR102607788B1 (en) * 2018-10-26 2023-11-30 삼성전자주식회사 Method for indicating impact of external shocks and electronic device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1851943B1 (en) * 2005-02-02 2018-01-17 Audiobrax Indústria E Comércio De Produtos Eletrônicos S.A. Mobile communication device with music instrumental functions

Also Published As

Publication number Publication date
KR20160123935A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
US9779710B2 (en) Electronic apparatus and control method thereof
EP2889717B1 (en) Systems and methods for a haptically-enabled projected user interface
US8598444B2 (en) Music-oriented controller for a tablet computing device
KR101461448B1 (en) Electronic acoustic signal generating device, electronic acoustic signal generating method, and computer-readable recording medium storing electronic acoustic signal generating program
US9208763B2 (en) Method, apparatus and software for providing user feedback
US9018510B2 (en) Musical instrument, method and recording medium
KR20150069545A (en) Systems and methods for optical transmission of haptic display parameters
JP3933057B2 (en) Virtual percussion instrument playing system
US11500478B2 (en) Multi-peripheral position-based synchronous lighting
US20140260916A1 (en) Electronic percussion device for determining separate right and left hand actions
KR102341253B1 (en) Ellectronic apparatus and the controlling method thereof
JP2006255072A (en) Program, information storage medium and game system
KR101607804B1 (en) Electronic apparatus, method for implementing piano using an electronic apparatus, and piano system
JP6069680B2 (en) GAME DEVICE AND GAME PROGRAM
TW201340694A (en) Situation command system and operating method thereof
TW201626366A (en) Singing visual effect system and method for processing singing visual effect
TWI470619B (en) The percussion instrument with electronic sensors
US11310877B2 (en) System and method for function-based lighting output schemas for peripheral devices
TW201409992A (en) Electronic apparatus and method for recognizing applications through vocal element
JP2014203493A (en) Electronic apparatus, electronic system, acoustic apparatus, control method of electronic apparatus, and program
JP2012010212A (en) Image display device and program
KR101212019B1 (en) Karaoke system for producing music signal dynamically from wireless electronic percurssion
TW200844810A (en) Microphones as contact sensors for device control
KR20160093306A (en) Acoustic output device and control method thereof
KR101422833B1 (en) Piano play monitoring apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant