KR20230123391A - Electronic device and the method to change the magnitude of sound source by frequency band - Google Patents

Electronic device and the method to change the magnitude of sound source by frequency band Download PDF

Info

Publication number
KR20230123391A
KR20230123391A KR1020220032855A KR20220032855A KR20230123391A KR 20230123391 A KR20230123391 A KR 20230123391A KR 1020220032855 A KR1020220032855 A KR 1020220032855A KR 20220032855 A KR20220032855 A KR 20220032855A KR 20230123391 A KR20230123391 A KR 20230123391A
Authority
KR
South Korea
Prior art keywords
sound source
frequency band
size
characteristic
electronic device
Prior art date
Application number
KR1020220032855A
Other languages
Korean (ko)
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 삼성전자주식회사
Publication of KR20230123391A publication Critical patent/KR20230123391A/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/16Automatic control
    • H03G5/165Equalizers; Volume or gain control in limited frequency bands
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/005Tone control or bandwidth control in amplifiers of digital signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/15Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being formant information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

다양한 실시예에 따른 전자 장치는, 디스플레이, 기준 음원 및 상기 기준 음원의 주파수 대역별 크기를 저장하고 있는 메모리, 및 상기 디스플레이 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 프로세서는, 제1음원을 선택하고, 상기 제1음원의 주파수 대역별 크기를 확인하고, 상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하고, 및 상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하도록 설정될 수 있다.
그 외에 다양한 실시예가 가능하다.
An electronic device according to various embodiments includes a display, a reference sound source, a memory storing a size of each frequency band of the reference sound source, and a processor operatively connected to the display and the memory, wherein the processor comprises: , Selecting a first sound source, checking the size of each frequency band of the first sound source, and comparing the size of each frequency band of the reference sound source with the size of each frequency band of the first sound source for each frequency band of the first sound source It may be set to calculate a first characteristic, which is a characteristic, and change the size of the second sound source for each frequency band using the first characteristic.
Various other embodiments are possible.

Description

전자 장치 및 음원의 주파수 대역별 크기 변경 방법{ELECTRONIC DEVICE AND THE METHOD TO CHANGE THE MAGNITUDE OF SOUND SOURCE BY FREQUENCY BAND}Method for changing the size of electronic devices and sound sources by frequency band {ELECTRONIC DEVICE AND THE METHOD TO CHANGE THE MAGNITUDE OF SOUND SOURCE BY FREQUENCY BAND}

본 문서는 전자 장치에 관한 것이며, 예를 들어 전자 장치를 이용하여 음원의 주파수 대역별 크기를 변경하는 방법에 관한 기술이다.This document relates to an electronic device, and is, for example, a technique for changing the size of a sound source for each frequency band using an electronic device.

이동통신 기술 및 하드웨어/소프트웨어 기술의 발달에 따라 휴대용 전자 장치(이하, 전자 장치)는 종래의 통화 기능에서 나아가 다양한 기능들을 구현할 수 있게 되었다. 전자 장치는 음원, 동영상 등의 미디어 파일을 외부 서버로부터 획득하여 메모리에 저장하고, 사용자 입력에 기초하여 미디어 파일을 재생할 수 있다. 전자 장치는 마이크 및 스피커를 포함하는 오디오 인터페이스를 이용하여 미디어 파일을 재생할 수 있다. 예를 들어, 전자 장치는 사용자 입력에 기초하여 선택된 음원을 스피커를 이용하여 재생할 수 있다.With the development of mobile communication technology and hardware/software technology, a portable electronic device (hereinafter referred to as an electronic device) can implement various functions beyond a conventional call function. The electronic device may acquire media files such as sound sources and videos from an external server, store them in a memory, and reproduce the media files based on a user input. An electronic device may play a media file using an audio interface including a microphone and a speaker. For example, the electronic device may reproduce a sound source selected based on a user input using a speaker.

전자 장치는 음원의 주파수 대역별 크기를 조절할 수 있다. 예를 들면, 전자 장치는 음원의 각 주파수 대역별 크기를 확인하고, 제1주파수 대역의 크기는 키우고 제2주파수 대역의 크기는 줄일 수 있다. 전자 장치는 사용자 입력에 기초하여 음원의 주파수 대역별 크기를 변경함으로써, 사용자의 기호에 맞는 음원 특성을 설정할 수 있다.The electronic device may adjust the size of a sound source for each frequency band. For example, the electronic device may check the size of each frequency band of the sound source, increase the size of the first frequency band, and reduce the size of the second frequency band. The electronic device may set characteristics of a sound source suitable for a user's preference by changing the size of a sound source for each frequency band based on a user input.

종래의 전자 장치는 주파수 대역별로 음원의 구간을 설정하고, 각 구간의 크기를 조절하여 음원의 특성을 변경하는 이퀄라이저(equalizer) 기능을 제공할 수 있었다. 그러나, 이퀄라이저의 구간이 다양할수록 사용자가 조작하기에 어려워졌으며, 구간이 적으면 사용자가 원하는 음색 특성을 충분히 반영하지 못하는 문제가 있었다. 또한, 일반적인 사용자는 이퀄라이저 기능을 직관적으로 이해하기 어려운 문제가 있었다.Conventional electronic devices can provide an equalizer function for setting sections of a sound source for each frequency band and changing the characteristics of a sound source by adjusting the size of each section. However, the more diverse the intervals of the equalizer, the more difficult it is for the user to operate, and the smaller the intervals, the more difficult it is to sufficiently reflect the tone characteristics desired by the user. Also, it is difficult for general users to intuitively understand the equalizer function.

본 문서의 다양한 실시예들은 상기와 같이 전자 장치를 이용하여 음원의 특성을 변경하고자 할 경우, 사용자가 직관적으로 이해할 수 있으면서 조작하기도 편리한 주파수 대역별 크기 변경 방법을 제공함에 그 목적이 있다.An object of the various embodiments of this document is to provide a method for changing the size of each frequency band, which is intuitively understandable and convenient for the user to operate when changing the characteristics of a sound source using an electronic device as described above.

다양한 실시예에 따른 전자 장치는, 디스플레이, 기준 음원 및 상기 기준 음원의 주파수 대역별 크기를 저장하고 있는 메모리, 및 상기 디스플레이 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 프로세서는, 제1음원을 선택하고, 상기 제1음원의 주파수 대역별 크기를 확인하고, 상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하고, 및 상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하도록 설정될 수 있다.An electronic device according to various embodiments includes a display, a reference sound source, a memory storing a size of each frequency band of the reference sound source, and a processor operatively connected to the display and the memory, wherein the processor comprises: , Selecting a first sound source, checking the size of each frequency band of the first sound source, and comparing the size of each frequency band of the reference sound source with the size of each frequency band of the first sound source for each frequency band of the first sound source It may be set to calculate a first characteristic, which is a characteristic, and change the size of the second sound source for each frequency band using the first characteristic.

다양한 실시예에 따른 음원의 주파수 대역별 크기 변경 방법은, 제1음원을 선택하는 동작, 상기 제1음원의 주파수 대역별 크기를 확인하는 동작, 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하는 동작, 및 상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함할 수 있다.A method for changing the size of a sound source for each frequency band according to various embodiments includes an operation of selecting a first sound source, an operation of checking the size of each frequency band of the first sound source, and a size of a reference sound source for each frequency band and the first sound source. It may include an operation of comparing the size of each frequency band to calculate a first characteristic that is a characteristic of each frequency band of the first sound source, and an operation of changing the size of each frequency band of the second sound source using the first characteristic. .

다양한 실시예에 따르면, 본원 발명은 사용자의 기호에 맞는 음원의 특성을 추출하고, 추출한 음원의 특성을 다른 음원에 적용하여 재생할 수 있다.According to various embodiments, the present invention may extract characteristics of a sound source suitable for a user's taste, apply the characteristics of the extracted sound source to other sound sources, and play them.

그 외에 본 전자 장치의 다양한 실시예들로 인하여 얻을 수 있거나 예측되는 효과에 대해서는 전자 장치의 실시예에 대한 상세한 설명에서 직접적으로 또는 암시적으로 개시하도록 한다. 예컨대, 전자 장치의 다양한 실시예들에 따라 예측되는 다양한 효과에 대해서는 후술될 상세한 설명 내에서 개시될 것이다.In addition, effects that can be obtained or predicted due to various embodiments of the present electronic device will be directly or implicitly disclosed in the detailed description of the embodiment of the electronic device. For example, various effects predicted according to various embodiments of an electronic device will be disclosed within the detailed description to be described later.

도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 다양한 실시예에 따른 이퀄라이저를 적용하기 전후의 음원 특성을 나타내는 그래프를 도시한 것이다.
도 5는 다양한 실시예에 따른 전자 장치의 음원 주파수 대역별 크기를 변경하는 방법의 순서도이다.
도 6은 다양한 실시예에 따른 이퀄라이저의 특성과, 이퀄라이저의 특성을 적용하려는 음원의 특성 차이에 따라 음원 주파수 대역별 크기를 변경하는 방법의 순서도이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2 is a block diagram of an electronic device according to various embodiments.
3 is a block diagram of an electronic device according to various embodiments.
4 is a graph showing characteristics of a sound source before and after applying an equalizer according to various embodiments.
5 is a flowchart of a method of changing a size for each frequency band of a sound source in an electronic device according to various embodiments.
6 is a flowchart of a method of changing the size of each frequency band of a sound source according to a difference between characteristics of an equalizer and characteristics of a sound source to which the characteristics of the equalizer are applied, according to various embodiments.

이하, 본 발명의 실시 예를 첨부된 도면에 의거하여 상세히 설명한다. Hereinafter, embodiments of the present invention will be described in detail based on the accompanying drawings.

실시 예를 설명함에 있어서 본 발명이 속하는 기술분야에 익히 알려져 있고 본 발명과 직접적으로 관련이 없는 기술 내용에 대해서는 설명을 생략한다. 또한, 실질적으로 동일한 구성과 기능을 가진 구성 요소들에 대해서는 상세한 설명을 생략하도록 한다.In describing the embodiments, descriptions of technical contents that are well known in the art to which the present invention pertains and are not directly related to the present invention will be omitted. In addition, detailed descriptions of components having substantially the same configuration and function will be omitted.

마찬가지의 이유로 첨부 도면에 있어서 일부 구성요소는 과장되거나 생략되거나 또는 개략적으로 도시되었으며, 각 구성요소의 크기는 실제 크기를 전적으로 반영하는 것이 아니다. 따라서 본 발명은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되지 않는다.For the same reason, some components in the accompanying drawings are exaggerated, omitted, or schematically illustrated, and the size of each component does not entirely reflect the actual size. Accordingly, the present invention is not limited by the relative size or spacing drawn in the accompanying drawings.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

전자 장치가 음원의 주파수 대역별 크기를 조절하는 방법에 대하여 간략히 설명하면 아래와 같다. 전자 장치는 제1음원을 선택하고, 제1음원의 주파수 대역별 크기를 확인할 수 있다. 전자 장치는 다양한 방법을 이용하여 제1음원을 선택할 수 있다. 예를 들어, 전자 장치는 사용자 입력에 기초하여 제1음원을 선택하거나, 사용자의 입력 없이도 정해진 방법에 따라 전자 장치가 제1음원을 선택할 수 있다. 정해진 방법은, 예를 들어, 메모리에 저장된 복수의 음원 중 하나의 음원을 임의로 선택하는 방법 또는 사용자의 음원 선택 히스토리에 기반하여 선택하는 방법을 포함할 수 있다. 기 저장된 기준 음원의 주파수 대역별 크기와 제1음원의 주파수 대역별 크기를 비교하면 제1음원의 주파수 대역별 특성인 제1음원을 계산할 수 있다. 전자 장치는 계산한 제1음원을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 이하에서는 상기 본 발명의 동작을 자세하게 설명하도록 한다.A brief description of how the electronic device controls the size of a sound source for each frequency band is as follows. The electronic device may select the first sound source and check the size of each frequency band of the first sound source. The electronic device may select the first sound source using various methods. For example, the electronic device may select the first sound source based on a user input or may select the first sound source according to a predetermined method without a user input. The determined method may include, for example, a method of randomly selecting one of a plurality of sound sources stored in a memory or a method of selecting based on a user's sound source selection history. A first sound source, which is a characteristic of each frequency band of the first sound source, may be calculated by comparing the size of the pre-stored reference sound source for each frequency band with the size of the first sound source for each frequency band. The electronic device may change the size of the second sound source for each frequency band using the calculated first sound source. Hereinafter, the operation of the present invention will be described in detail.

도 2는 다양한 실시예에 따른 전자 장치의 블록도이다.2 is a block diagram of an electronic device according to various embodiments.

도 2를 참조하면, 전자 장치는 플레이어(207), 샘플러(210)(sampler), 이퀄라이저(220)(equalizer) 및 출력 장치(230)를 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 입력에 기초하여 입력 오디오 신호(201)를 수신할 수 있다. 입력 오디오 신호(201)는 외부 서버와 통신 연결하여 스트리밍(streaming)되거나, 자체 메모리로부터 획득될 수 있고, 전자 장치는 수신한 입력 오디오 신호(201)를 신호 분석기(203) 및 플레이어(207)로 전송할 수 있다.Referring to FIG. 2 , the electronic device may include a player 207, a sampler 210 (sampler), an equalizer 220 (equalizer), and an output device 230. According to an embodiment, an electronic device may receive an input audio signal 201 based on a user input. The input audio signal 201 may be streamed through communication with an external server or may be obtained from its own memory, and the electronic device transmits the received input audio signal 201 to the signal analyzer 203 and the player 207. can transmit

전자 장치는 샘플러(210)를 이용하여 샘플링된 소리를 임의로 재생 출력할 수 있다. 다양한 실시예에 따르면, 샘플러(210)는 신호 분석기(203) 및 저장 장치(205)를 포함할 수 있다. 샘플러(210)는 신호 분석기(203)를 이용하여 입력 오디오 신호(201)를 분석하고, 이를 저장 장치(205)에 저장할 수 있다. 전자 장치는 이퀄라이저(220)를 이용하여 소리 신호의 주파수 특성을 변경할 수 있다. 다양한 실시예에 따르면, 이퀄라이저(220)는 저장 장치(205) 및 신호 프로세서(209)를 포함할 수 있다. 이퀄라이저(220)는 저장 장치(205)에 저장된 입력 오디오 신호(201)를 획득하고, 신호 프로세서(209)를 이용해서 입력 오디오 신호(201)의 주파수 특성을 변경할 수 있다. 이퀄라이징은 전자 장치가 선택된 음원의 주파수 대역별 크기를 이퀄라이저(220)를 이용하여 변경하는 동작을 의미할 수 있다.The electronic device may arbitrarily reproduce and output the sampled sound using the sampler 210 . According to various embodiments, the sampler 210 may include a signal analyzer 203 and a storage device 205 . The sampler 210 may analyze the input audio signal 201 using the signal analyzer 203 and store it in the storage device 205 . The electronic device may change the frequency characteristics of the sound signal using the equalizer 220 . According to various embodiments, the equalizer 220 may include a storage device 205 and a signal processor 209 . The equalizer 220 may acquire the input audio signal 201 stored in the storage device 205 and change the frequency characteristics of the input audio signal 201 using the signal processor 209 . Equalizing may refer to an operation in which an electronic device changes the size of a selected sound source for each frequency band using the equalizer 220 .

다양한 실시예에 따르면, 전자 장치는 샘플러(210) 및 이퀄라이저(220)를 거치며 주파수 특성이 변경된 입력 오디오 신호(201)를 출력 장치(230)를 통하여 출력할 수 있다. 출력 장치(230)는 출력 스피커(232), 출력 헤드폰(234), 출력 블루투스(236), 출력 USB(238)를 적어도 포함할 수 있다. 출력 장치(230)는 언급한(도시된) 예시에 제한되지 않으며, 무선 통신(예: wi-fi)을 통해 연결된 외부 장치를 포함할 수 있다.According to various embodiments, the electronic device may output the input audio signal 201 whose frequency characteristics are changed through the sampler 210 and the equalizer 220 through the output device 230 . The output device 230 may include at least an output speaker 232, an output headphone 234, an output Bluetooth 236, and an output USB 238. The output device 230 is not limited to the example mentioned (shown), and may include an external device connected through wireless communication (eg, wi-fi).

도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.3 is a block diagram of an electronic device according to various embodiments.

도 3을 참조하면, 전자 장치(300)는 디스플레이(320), 통신 모듈(330), 스피커(340), 프로세서(310) 및 메모리(350)를 포함할 수 있으며, 다양한 실시예에서, 도시된 구성 중 일부가 생략 또는 치환될 수도 있다. 전자 장치(300)는 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 더 포함할 수 있다. 도시된(또는 도시되지 않은) 전자 장치(300)의 각 구성 중 적어도 일부는 상호 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다.Referring to FIG. 3 , an electronic device 300 may include a display 320, a communication module 330, a speaker 340, a processor 310, and a memory 350, and in various embodiments, the illustrated Some of the components may be omitted or substituted. The electronic device 300 may further include at least some of the configurations and/or functions of the electronic device 101 of FIG. 1 . At least some of the components of the illustrated (or not illustrated) electronic device 300 may be operatively, functionally, and/or electrically connected to each other.

다양한 실시예에 따르면, 디스플레이(320)는 프로세서(310)의 제어에 따라 다양한 영상을 표시할 수 있다. 디스플레이(320)는 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 마이크로 LED(micro LED) 디스플레이, QD(quantum dot) 디스플레이 또는 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이 중 어느 하나로 구현될 수 있으며, 이에 한정되지는 않는다. 디스플레이(320)는 사용자의 신체 일부(예: 손가락) 또는 입력 장치(예: 스타일러스 펜)를 이용한 터치 및/또는 근접 터치(또는 호버링) 입력을 감지하는 터치 스크린으로 형성될 수 있다. 디스플레이(320)는 도 1의 디스플레이 모듈(160)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.According to various embodiments, the display 320 may display various images under the control of the processor 310 . The display 320 may be a liquid crystal display (LCD), a light-emitting diode (LED) display, a micro LED display, a quantum dot (QD) display, or an organic light emitting diode (QD) display. -Emitting diode (OLED)) may be implemented as any one of displays, but is not limited thereto. The display 320 may be formed as a touch screen that senses a touch and/or proximity touch (or hovering) input using a user's body part (eg, a finger) or an input device (eg, a stylus pen). The display 320 may include at least some of the components and/or functions of the display module 160 of FIG. 1 .

다양한 실시예에 따르면, 디스플레이(320)는 적어도 일부가 플렉서블(flexible) 이며, 폴더블(foldable) 디스플레이, 또는 롤러블(rollable) 디스플레이로 구현될 수도 있다.According to various embodiments, at least a portion of the display 320 is flexible, and may be implemented as a foldable display or a rollable display.

다양한 실시예에 따르면, 통신 모듈(330)은 프로세서(310)의 제어에 따라 무선 네트워크를 통해 외부 장치와 통신할 수 있다. 통신 모듈(330)은 셀룰러 네트워크(예: LTE(long term evolution) 네트워크, 5G 네트워크, NR(new radio) 네트워크) 및 근거리 네트워크(예: Wi-Fi, bluetooth)로부터 데이터를 송수신 하기 위한 하드웨어 및 소프트웨어 모듈들을 포함할 수 있다. 통신 모듈(330)은 도 1의 통신 모듈(190)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.According to various embodiments, the communication module 330 may communicate with an external device through a wireless network under the control of the processor 310 . The communication module 330 is hardware and software for transmitting and receiving data from a cellular network (eg, a long term evolution (LTE) network, a 5G network, a new radio (NR) network) and a local area network (eg, Wi-Fi, bluetooth) modules may be included. The communication module 330 may include at least some of the components and/or functions of the communication module 190 of FIG. 1 .

다양한 실시예에 따르면, 스피커(340)는 프로세서(310)로부터 제공되는 다양한 사운드를 출력할 수 있다. 전자 장치(300)가 통화 기능의 실행 중 스피커폰 모드로 전환되는 경우, 상대방 전자 장치(300)로부터 수신되는 상대방 음성 신호가 스피커(340)를 통해 출력될 수 있다.According to various embodiments, the speaker 340 may output various sounds provided from the processor 310 . When the electronic device 300 is switched to the speaker phone mode while the call function is being executed, the other party's voice signal received from the other party's electronic device 300 may be output through the speaker 340 .

다양한 실시예에 따르면, 메모리(350)는 휘발성 메모리(예: 도 1의 휘발성 메모리(132)) 및 비휘발성 메모리(예: 도 1의 비휘발성 메모리(134))를 포함하여, 다양한 데이터들을 일시적 또는 영구적으로 저장할 수 있다. 메모리(350)는 도 1의 메모리(130)의 구성 및/또는 기능 중 적어도 일부를 포함하고, 도 1의 프로그램(140)을 저장할 수 있다.According to various embodiments, the memory 350 includes a volatile memory (eg, the volatile memory 132 of FIG. 1 ) and a non-volatile memory (eg, the non-volatile memory 134 of FIG. 1 ) to temporarily store various data. or stored permanently. The memory 350 includes at least some of the configuration and/or functions of the memory 130 of FIG. 1 and may store the program 140 of FIG. 1 .

다양한 실시예에 따르면, 메모리(350)는 프로세서(310)에서 수행될 수 있는 다양한 인스트럭션(instruction)들을 저장할 수 있다. 이와 같은 인스트럭션들은 프로세서(310)에 의해 인식될 수 있는 산술 및 논리 연산, 데이터 이동, 입출력 등과 같은 제어 명령을 포함할 수 있다.According to various embodiments, the memory 350 may store various instructions that may be executed by the processor 310 . These instructions may include control commands such as arithmetic and logical operations, data movement, input/output, and the like that may be recognized by the processor 310 .

다양한 실시예에 따르면, 프로세서(310)는 전자 장치(300) 각 구성요소들(예: 디스플레이(320), 통신 모듈(330), 스피커(340) 및 메모리(350))과 작동적으로(operatively), 기능적으로(functionally), 및/또는 전기적으로(electrically) 연결되어, 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성일 수 있다. 프로세서(310)는 도 1의 프로세서(120)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.According to various embodiments, the processor 310 operatively interacts with each component of the electronic device 300 (eg, the display 320, the communication module 330, the speaker 340, and the memory 350). ), functionally, and/or electrically connected, it may be a configuration capable of performing calculations or data processing related to control and/or communication of each component. The processor 310 may include at least some of the components and/or functions of the processor 120 of FIG. 1 .

다양한 실시예에 따르면, 프로세서(310)가 전자 장치(300) 상에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 이하에서는 음원의 주파수 대역별 크기를 변경하기 위한 다양한 실시예에 대해 설명하기로 한다. 후술할 프로세서(310)의 동작들은 메모리(350)에 저장된 인스트럭션들을 로딩(loading)함으로써 수행될 수 있다.According to various embodiments, calculation and data processing functions that can be implemented by the processor 310 on the electronic device 300 will not be limited, but hereinafter, various embodiments for changing the size of a sound source for each frequency band will be described. do it with Operations of the processor 310 to be described below may be performed by loading instructions stored in the memory 350.

다양한 실시예에 따르면, 프로세서(310)는 기준 음원(reference signal)을 획득할 수 있다. 기준 음원은 시중 유통 음원 특성의 평균값으로 결정될 수 있다. 프로세서(310)는 기준 음원의 특성을 이용하여 출력될 음원의 이퀄라이징을 수행할 수 있다. 기준 음원은 전자 장치(300)의 제조 시에 메모리(350)에 저장될 수 있으며, 지속적으로 업데이트될 수 있다. 다른 실시예에 따르면, 프로세서(310)는 외부 서버와 통신 연결하여 기준 음원을 외부 서버로부터 획득할 수도 있다.According to various embodiments, the processor 310 may obtain a reference signal. The reference sound source may be determined as an average value of characteristics of commercially available sound sources. The processor 310 may perform equalization of a sound source to be output using characteristics of a reference sound source. The reference sound source may be stored in the memory 350 when the electronic device 300 is manufactured, and may be continuously updated. According to another embodiment, the processor 310 may obtain a reference sound source from the external server by communicating with the external server.

다양한 실시예에 따르면, 프로세서(310)는 재생할 제1음원을 선택할 수 있다. 일 실시예에 따르면, 프로세서(310)는 사용자 입력에 기초하여 제1음원을 선택할 수 있다. 일 실시예에 따르면, 프로세서(310)는 메모리(350)에 저장 중인 적어도 하나의 미디어 파일 중 제1음원을 선택할 수 있다. 다른 실시예에 따르면, 프로세서(310)는 외부 서버와 통신 연결하여 외부 서버에 저장된 미디어 파일을 제1음원으로 선택할 수 있다. 프로세서(310)가 제1음원을 선택하는 방법은 언급한 방법에 제한되지 않으며, 적어도 하나의 음원 중에서 하나를 선택하는 다양한 방법을 이용할 수 있다.According to various embodiments, the processor 310 may select a first sound source to be reproduced. According to one embodiment, the processor 310 may select a first sound source based on a user input. According to an embodiment, the processor 310 may select a first sound source from among at least one media file being stored in the memory 350 . According to another embodiment, the processor 310 may select a media file stored in the external server as the first sound source by communicating with the external server. A method for the processor 310 to select the first sound source is not limited to the aforementioned method, and various methods for selecting one of at least one sound source may be used.

다양한 실시예에 따르면, 프로세서(310)는 제1음원의 주파수 대역별 크기를 확인할 수 있다. 제1음원은 복수의 주파수 대역을 포함할 수 있다. 예를 들어, 제1음원은 제1주파수 대역, 제2주파수 대역 및 제3주파수 대역을 포함할 수 있고, 제1주파수 대역에 대응하는 제1크기, 제2주파수 대역에 대응하는 제2크기 및 제3주파수 대역에 대응하는 제3크기를 가질 수 있다. 제1크기는, 제 1 주파수 대역에 대응하는 제 1 음원의 일부가 출력 장치(230)를 통해 출력되는 신호의 크기를 의미할 수 있다. 제2크기는, 제 2 주파수 대역에 대응하는 제 1 음원의 일부가 출력 장치(230)를 통해 출력되는 신호의 크기를 의미할 수 있다. 제3크기는, 제 3 주파수 대역에 대응하는 제 1 음원의 일부가 출력 장치(230)를 통해 출력되는 신호의 크기를 의미할 수 있다. 프로세서(310)는 제1음원에 포함된 각 주파수 대역 및 각 주파수 대역에 대응하는 크기를 확인할 수 있다. 일 실시예에 따르면, 사용자가 분석 구간을 선택한 경우 프로세서(310)는 선택된 구간 내에 존재하는 각 주파수 대역 및 각 주파수 대역에 대응하는 크기를 확인할 수 있다.According to various embodiments, the processor 310 may check the size of each frequency band of the first sound source. The first sound source may include a plurality of frequency bands. For example, the first sound source may include a first frequency band, a second frequency band, and a third frequency band, a first size corresponding to the first frequency band, a second size corresponding to the second frequency band, and It may have a third size corresponding to a third frequency band. The first size may refer to the size of a signal output from a portion of the first sound source corresponding to the first frequency band through the output device 230 . The second size may refer to the size of a signal output from a portion of the first sound source corresponding to the second frequency band through the output device 230 . The third magnitude may refer to the magnitude of a signal output from a portion of the first sound source corresponding to the third frequency band through the output device 230 . The processor 310 may check each frequency band included in the first sound source and a size corresponding to each frequency band. According to an embodiment, when a user selects an analysis section, the processor 310 may check each frequency band existing in the selected section and a size corresponding to each frequency band.

일 실시예에 따르면, 프로세서(310)는 사용자 입력에 기초하여 제1음원의 특성을 분석할 구간을 결정할 수 있다. 예를 들어, 사용자가 제1음원의 제1시점에서 제2시점까지의 구간을 선택한 경우, 프로세서(310)는 제1시점으로부터 제2시점까지의 구간에 대한 제1음원의 특성을 계산하여 제1특성으로 결정할 수 있다. 프로세서(310)는 음원에서 분석할 구간을 선택할 수 있는 사용자 인터페이스를 제공할 수 있다. 사용자는 다른 실시예에 따르면, 프로세서(310)는 제1음원의 모든 구간을 대상으로 하여 제1특성을 계산할 수 있다.According to an embodiment, the processor 310 may determine a section to analyze the characteristics of the first sound source based on the user input. For example, when the user selects a section from a first time point to a second time point of the first sound source, the processor 310 calculates characteristics of the first sound source for the section from the first time point to the second time point, and It can be determined by 1 characteristic. The processor 310 may provide a user interface for selecting a section to be analyzed in the sound source. According to another embodiment, the processor 310 may calculate the first characteristic for all sections of the first sound source.

다양한 실시예에 따르면, 프로세서(310)는 기준 음원을 이용하여 제1음원의 음원 특성을 계산할 수 있다. 이하, 프로세서(310)가 기준 음원과 비교하여 계산한 제1음원의 음원 특성을 제1특성이라고 설명하도록 한다. 일 실시예에 따르면, 프로세서(310)는 복수의 주파수 대역에서 기준 음원 및 제1음원의 크기의 차이를 계산하여 제1특성을 획득할 수 있다. 예를 들어, 제1주파수 대역에서 기준 음원의 크기는 제1크기이고, 제1주파수 대역에서 제1음원의 크기는 제2크기인 경우, 제1주파수 대역에서의 제1특성은 제1크기와 제2크기의 차이로 계산될 수 있다. 프로세서(310)는 복수의 주파수 대역에 대해서 상기와 같은 계산을 수행하여 제1음원의 모든 주파수 대역(또는 선택된 구간에 존재하는 모든 주파수 대역)에 대한 음원 특성을 계산할 수 있다. 일 실시예에 따르면, 프로세서(310)는 서로 다른 구간에 존재하는 같은 주파수 대역의 크기의 평균값을 해당 주파수 대역의 크기로 결정할 수 있다. 예를 들어, 제1음원에서 제1구간에 존재하는 제1주파수 대역의 크기와 제2구간에 존재하는 제1주파수 대역의 크기가 다를 수 있다. 프로세서(310)는 제1구간에 존재하는 제1주파수 대역의 크기와 제2구간에 존재하는 제1주파수 대역의 크기의 평균값을 계산하여 제1주파수 대역의 크기로 결정할 수 있다. 프로세서(310)는 계산한 제1특성을 메모리(350)에 저장할 수 있다. 예를 들어, 프로세서(310)는 제1음원의 제목, 재생 시간과 같은 특징 중 적어도 하나를 제1특성의 이름으로 결정하고 메모리(350)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(310)는 상기와 같은 방법으로 복수의 음원의 특성을 메모리(350)에 저장할 수 있다. 예를 들어, 프로세서(310)는 제1특성, 제2특성 및 제3특성을 추출하여 메모리(350)에 저장할 수 있다.According to various embodiments, the processor 310 may calculate sound source characteristics of the first sound source using a reference sound source. Hereinafter, the sound source characteristics of the first sound source calculated by the processor 310 in comparison with the reference sound source will be described as a first characteristic. According to an embodiment, the processor 310 may obtain the first characteristic by calculating a difference between the amplitudes of the reference sound source and the first sound source in a plurality of frequency bands. For example, when the size of the reference sound source in the first frequency band is the first size and the size of the first sound source in the first frequency band is the second size, the first characteristic in the first frequency band is the first size and the second size. It can be calculated as a difference of the second magnitude. The processor 310 may calculate sound source characteristics for all frequency bands of the first sound source (or all frequency bands existing in the selected section) by performing the above calculation for a plurality of frequency bands. According to an embodiment, the processor 310 may determine an average value of sizes of the same frequency band existing in different sections as the size of the corresponding frequency band. For example, in the first sound source, the size of the first frequency band present in the first section may be different from the size of the first frequency band present in the second section. The processor 310 may determine the size of the first frequency band by calculating an average value of the size of the first frequency band existing in the first period and the size of the first frequency band existing in the second period. The processor 310 may store the calculated first characteristic in the memory 350 . For example, the processor 310 may determine at least one of the characteristics of the first sound source, such as a title and playback time, as a name of the first characteristic and store it in the memory 350 . According to one embodiment, the processor 310 may store the characteristics of a plurality of sound sources in the memory 350 in the same way as above. For example, the processor 310 may extract and store the first, second, and third characteristics in the memory 350 .

다양한 실시예에 따르면, 프로세서(310)는 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 일 실시예에 따르면, 프로세서(310)는 동일한 주파수 대역에 대하여 제2음원의 크기에 제1특성의 크기를 더하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 예를 들어, 프로세서(310)는 제1주파수 대역에 대응하는 제1특성의 크기 및 제1주파수 대역에 대응하는 제2음원의 크기를 확인하고, 둘을 더하여 제1주파수 대역에 대응하는 제2음원의 크기를 결정할 수 있다. 프로세서(310)는 제1특성을 이용하여 변경한 제2음원을 메모리(350)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(310)는 메모리(350)에 저장된 적어도 하나의 음원 특성 중에서 사용자가 원하는 특성을 선택할 수 있도록 사용자 인터페이스를 제공할 수 있다. 프로세서(310)는 사용자 입력에 기초하여 음원 특성을 선택할 수 있다. 예를 들어, 프로세서(310)는 메모리(350)에 저장 중인 제1특성, 제2특성 및 제3특성 중 사용자 입력에 기초하여 제2특성을 제2음원에 적용하는 것으로 결정할 수 있다.According to various embodiments, the processor 310 may change the size of the second sound source for each frequency band by using the first characteristic. According to an embodiment, the processor 310 may change the size of the second sound source for each frequency band by adding the size of the first characteristic to the size of the second sound source for the same frequency band. For example, the processor 310 determines the magnitude of the first characteristic corresponding to the first frequency band and the magnitude of the second sound source corresponding to the first frequency band, adds the two, and determines the second characteristic corresponding to the first frequency band. You can decide the size of the sound source. The processor 310 may store the second sound source changed using the first characteristic in the memory 350 . According to an embodiment, the processor 310 may provide a user interface so that a user can select a desired characteristic from among at least one sound source characteristic stored in the memory 350 . The processor 310 may select a sound source characteristic based on a user input. For example, the processor 310 may determine to apply the second characteristic to the second sound source based on a user input among the first characteristic, the second characteristic, and the third characteristic stored in the memory 350 .

일 실시예에 따르면, 프로세서(310)는 제2음원의 주파수 대역별 크기 변경 여부를 사용자 입력에 기초하여 결정할 수 있다. 프로세서(310)는 주파수 대역별 크기 변경 여부에 대한 사용자 인터페이스 화면을 생성하고, 디스플레이(320)를 통해 제공할 수 있다. 예를 들어, 프로세서(310)는 제2음원의 주파수 대역별 크기 변경을 지시하는 인디케이터(예: 이퀄라이징 하시겠습니까?) 및 변경 여부를 결정할 수 있는 그래픽 객체(예: 아이콘)을 디스플레이(320)에 출력할 수 있다. 프로세서(310)는 그래픽 객체에 대한 사용자 입력에 기초하여 제2음원의 주파수 대역별 크기 변경 여부를 결정할 수 있다. 사용자가 제2음원의 주파수 대역별 크기 변경을 원하는 경우, 프로세서(310)는 선택된 음원의 특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 사용자가 제2음원의 주파수 대역별 크기 변경을 원하지 않는 경우, 프로세서(310)는 제2음원을 그대로 출력할 수 있다.According to an embodiment, the processor 310 may determine whether to change the size of the second sound source for each frequency band based on a user input. The processor 310 may generate a user interface screen for determining whether the size of each frequency band is changed, and provide the user interface screen through the display 320 . For example, the processor 310 outputs, on the display 320, an indicator indicating a change in the size of the second sound source for each frequency band (eg, equalize?) and a graphic object (eg, an icon) capable of determining whether to change or not. can do. The processor 310 may determine whether to change the size of the second sound source for each frequency band based on a user input for the graphic object. When the user wants to change the size of the second sound source for each frequency band, the processor 310 may change the size of the second sound source for each frequency band using the characteristics of the selected sound source. If the user does not want to change the size of the second sound source for each frequency band, the processor 310 may output the second sound source as it is.

일 실시예에 따르면, 프로세서(310)는 제2음원에 제1특성을 적용하는 비율을 사용자 입력으로 결정할 수 있다. 프로세서(310)는 선택된 비율에 기초하여 제2음원의 주파수 대역별 크기에 더해지는 제1특성의 크기를 결정할 수 있다. 예를 들어, 프로세서(310)는 제1비율(예: 50%), 제2비율(100%), 및 제3비율(200%)과 같은 선택지를 제공하고, 사용자 입력에 기초하여 하나의 비율을 선택할 수 있다. 예를 들어, 사용자가 제1비율을 선택한 경우, 프로세서(310)는 제1특성의 크기를 제1비율만큼 조정하여 제2음원에 더할 수 있다. 프로세서(310)는 제1특성의 반영 비율을 결정하는 구성을 제공하여 사용자가 더욱 정확하게 기호를 반영할 수 있도록 할 수 있다.According to an embodiment, the processor 310 may determine a rate at which the first characteristic is applied to the second sound source as a user input. The processor 310 may determine the size of the first characteristic added to the size of each frequency band of the second sound source based on the selected ratio. For example, the processor 310 provides options such as a first ratio (eg, 50%), a second ratio (100%), and a third ratio (200%), and selects one ratio based on a user input. can choose For example, when the user selects the first ratio, the processor 310 may adjust the size of the first characteristic by the first ratio and add it to the second sound source. The processor 310 may provide a configuration for determining the reflection ratio of the first characteristic so that the user can more accurately reflect the taste.

다양한 실시예에 따르면, 프로세서(310)는 제1특성과 제2특성의 차이가 정해진 값 이상인 경우, 즉 제1특성과 제2특성의 차이가 정해진 값보다 크거나 같은 경우에만 제2음원의 주파수 대역별 크기를 변경할 수 있다. 일 실시예에 따르면, 프로세서(310)는 각 주파수 대역에서 제1특성과 제2특성의 차이를 계산하고, 그 평균값을 제1특성과 제2특성의 차이로 결정할 수 있다. 예를 들어, 프로세서(310)는 제1주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제1값을 계산하고, 제2주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제2값을 계산하고, 제3주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제3값을 계산하고, 제1값, 제2값 및 제3값의 평균값을 제1특성과 제2특성의 차이로 결정할 수 있다. 프로세서(310)는 제1특성과 제2특성의 차이가 정해진 값 이상인 경우에만 제2음원의 주파수 대역별 크기를 변경하는 것으로 결정할 수 있다. 예를 들어, 제1특성과 제2특성의 차이가 정해진 값보다 작은 경우 이퀄라이징 기능을 제공하지 않거나, 사용자가 제2음원의 주파수 대역별 크기를 변경하기 위해 제1특성을 선택할 때 두 음원의 특성이 유사함을 알리는 인디케이터를 제공할 수 있다.According to various embodiments, the processor 310 determines the frequency of the second sound source only when the difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value, that is, when the difference between the first characteristic and the second characteristic is greater than or equal to the predetermined value. You can change the size of each band. According to an embodiment, the processor 310 may calculate the difference between the first characteristic and the second characteristic in each frequency band, and determine an average value as the difference between the first characteristic and the second characteristic. For example, the processor 310 calculates a first value that is a difference between the magnitude of the first characteristic and the magnitude of the second characteristic in the first frequency band, and calculates the magnitude of the first characteristic and the magnitude of the second characteristic in the second frequency band. A second value, which is the difference in magnitude, is calculated, a third value, which is the difference between the magnitude of the first characteristic and the magnitude of the second characteristic in the third frequency band, is calculated, and the average value of the first value, the second value, and the third value can be determined as the difference between the first and second characteristics. The processor 310 may determine to change the size of the second sound source for each frequency band only when the difference between the first and second characteristics is greater than or equal to a predetermined value. For example, when the difference between the first and second characteristics is smaller than a predetermined value, an equalizing function is not provided, or when the user selects the first characteristic to change the size of the second sound source for each frequency band, the characteristics of the two sound sources An indicator notifying this similarity can be provided.

도 4는 다양한 실시예에 따른 이퀄라이저를 적용하기 전후의 음원 특성을 나타내는 그래프를 도시한 것이다.4 is a graph showing characteristics of a sound source before and after applying an equalizer according to various embodiments.

다양한 실시예에 따르면, 프로세서(예: 도 3의 프로세서(310))는 기준 음원과 비교하여 추출하고자 하는 음원의 특성을 결정할 수 있다. 프로세서(310)는 시중 유통 중인 음원 특성의 평균을 계산하여 기준 음원을 결정할 수 있다. 예를 들어, 각 주파수 대역 별로 복수의 음원 크기의 평균을 계산하여 기준 음원을 결정할 수 있다. 프로세서(310)는 사용자 입력에 기초하여 특성을 추출하고자 하는 음원을 결정할 수 있다. 예를 들어, 프로세서(310)는 사용자 입력에 기초하여 제1음원의 특성을 추출하기로 결정할 수 있다. 프로세서(310)는 기준 음원과 제1음원의 주파수 대역별 크기 차이를 계산하여 제1음원에 대응하는 제1특성을 결정할 수 있다. 도 4의 위 그래프는 제1음원, 기준 음원 및 제1음원과 기준 음원의 차이로 결정된 제1특성의 주파수 대역별 크기를 나타낸다. 프로세서(310)는 복수의 음원 특성을 계산하여 메모리(예: 도 3의 메모리(350))에 적용할 수 있다.According to various embodiments, a processor (eg, the processor 310 of FIG. 3 ) may determine characteristics of a sound source to be extracted by comparing with a reference sound source. The processor 310 may determine a reference sound source by calculating an average of characteristics of sound sources in circulation. For example, a reference sound source may be determined by calculating an average of a plurality of sound source sizes for each frequency band. The processor 310 may determine a sound source from which characteristics are to be extracted based on a user input. For example, the processor 310 may determine to extract the characteristics of the first sound source based on the user input. The processor 310 may determine a first characteristic corresponding to the first sound source by calculating a size difference between the reference sound source and the first sound source for each frequency band. The upper graph of FIG. 4 shows the first sound source, the reference sound source, and the size of each frequency band of the first characteristic determined by the difference between the first sound source and the reference sound source. The processor 310 may calculate a plurality of sound source characteristics and apply them to a memory (eg, the memory 350 of FIG. 3 ).

다양한 실시예에 따르면, 프로세서(310)는 추출한 음원 특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 일 실시예에 따르면, 프로세서(310)는 사용자 입력에 기초하여, 이퀄라이징을 적용하고자 하는 제2음원을 선택할 수 있다. 프로세서(310)는 사용자 입력에 기초하여, 메모리(350)에 저장되어 있는 추출된 음원 특성 중 하나를 선택할 수 있다. 예를 들어, 프로세서(310)는 사용자가 적어도 하나의 음원 중에서 하나를 선택할 수 있는 사용자 인터페이스를 디스플레이(예: 도 3의 디스플레이(320))에 제공할 수 있다. 프로세서(310)는 사용자 인터페이스에 대한 사용자 입력에 기초하여, 제2음원에 적용할 음원 특성을 결정할 수 있다. 도 4의 아래 그래프는 제1음원, 제2음원 및 이퀄라이징된 제2음원의 주파수 대역별 크기를 나타낸다. 원래의 제2음원은 제1음원의 특성과 차이가 있었으나, 이퀄라이징 이후 제1음원의 특성이 반영되어 제1음원과 유사한 특성을 가지도록 변경될 수 있다.According to various embodiments, the processor 310 may change the size of the second sound source for each frequency band using the extracted sound source characteristics. According to an embodiment, the processor 310 may select a second sound source to which equalization is to be applied based on a user input. The processor 310 may select one of extracted sound source characteristics stored in the memory 350 based on a user input. For example, the processor 310 may provide a user interface through which a user can select one of at least one sound source on a display (eg, the display 320 of FIG. 3 ). The processor 310 may determine a sound source characteristic to be applied to the second sound source based on a user input through the user interface. The graph below in FIG. 4 shows the magnitudes of the first sound source, the second sound source, and the equalized second sound source for each frequency band. Originally, the second sound source had a difference from the first sound source, but after equalizing, the characteristics of the first sound source may be reflected to have characteristics similar to those of the first sound source.

다양한 실시예에 따른 전자 장치는, 디스플레이, 기준 음원 및 상기 기준 음원의 주파수 대역별 크기를 저장하고 있는 메모리, 및 상기 디스플레이 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 프로세서는, 제1음원을 선택하고, 상기 제1음원의 주파수 대역별 크기를 확인하고, 상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하고, 및 상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하도록 설정될 수 있다.An electronic device according to various embodiments includes a display, a reference sound source, a memory storing a size of each frequency band of the reference sound source, and a processor operatively connected to the display and the memory, wherein the processor comprises: , Selecting a first sound source, checking the size of each frequency band of the first sound source, and comparing the size of each frequency band of the reference sound source with the size of each frequency band of the first sound source for each frequency band of the first sound source It may be set to calculate a first characteristic, which is a characteristic, and change the size of the second sound source for each frequency band using the first characteristic.

다양한 실시예에 따르면, 상기 프로세서는, 상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기의 차이를 계산하여 상기 제1특성을 결정하도록 설정될 수 있다.According to various embodiments, the processor may be configured to determine the first characteristic by calculating a difference between the size of each frequency band of the reference sound source and the size of each frequency band of the first sound source.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제2음원의 기존 주파수 대역별 크기에 상기 제1특성을 더하여 상기 제2음원의 주파수 대역별 크기를 변경하도록 설정될 수 있다.According to various embodiments, the processor may be configured to change the size of the second sound source for each frequency band by adding the first characteristic to the size of the second sound source for each frequency band.

다양한 실시예에 따르면, 상기 프로세서는, 기준 음원의 주파수 대역별 크기와 상기 제2음원의 주파수 대역별 크기의 차이를 계산하여 상기 제2음원의 주파수 대역별 특성인 제2특성을 결정하고, 상기 제1특성과 상기 제2특성을 비교하고, 및 상기 제1특성과 상기 제2특성의 차이가 정해진 값보다 크거나 같은 경우, 상기 제1특성을 이용하여 상기 제2음원의 주파수 대역별 크기를 변경하도록 설정될 수 있다.According to various embodiments, the processor calculates a difference between the size of each frequency band of the reference sound source and the size of each frequency band of the second sound source to determine a second characteristic, which is a characteristic of each frequency band of the second sound source, The first characteristic and the second characteristic are compared, and when the difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value, the size of the second sound source for each frequency band is determined using the first characteristic. can be set to change.

다양한 실시예에 따르면, 상기 프로세서는, 사용자 입력에 기초하여 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정하도록 설정될 수 있다.According to various embodiments, the processor may be set to determine whether to change the size of the second sound source for each frequency band based on a user input.

다양한 실시예에 따르면, 상기 프로세서는, 사용자 입력에 기초하여, 상기 제2음원의 주파수 대역별 크기에 대한 상기 제1특성의 반영 비율을 결정하도록 설정될 수 있다.According to various embodiments, the processor may be set to determine a reflection ratio of the first characteristic to the size of each frequency band of the second sound source based on a user input.

다양한 실시예에 따르면, 상기 프로세서는, 상기 계산한 제1특성을 상기 메모리에 저장하도록 설정될 수 있다.According to various embodiments, the processor may be configured to store the calculated first characteristic in the memory.

다양한 실시예에 따르면, 상기 프로세서는, 사용자 입력에 기초하여 상기 제1음원의 재생 구간 중 주파수 대역별 크기를 분석할 구간을 결정하도록 설정될 수 있다.According to various embodiments, the processor may be configured to determine a section to analyze the size of each frequency band among reproduction sections of the first sound source based on a user input.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제1특성을 이용하여 변경한 제2음원의 주파수 대역별 크기를 상기 기준 음원의 주파수 대역별 크기와 비교하여 변경된 제2음원의 제3특성을 계산하고, 및 상기 제3특성을 상기 메모리에 저장하도록 설정될 수 있다.According to various embodiments, the processor calculates a third characteristic of the changed second sound source by comparing the size for each frequency band of the second sound source changed using the first characteristic with the size for each frequency band of the reference sound source, , and the third characteristic may be set to be stored in the memory.

다양한 실시예에 따르면, 상기 프로세서는, 사용자 입력에 기초하여, 통신 연결된 외부 전자 장치 또는 상기 메모리에서 제1음원을 선택하도록 설정될 수 있다.According to various embodiments, the processor may be set to select a first sound source from an external electronic device connected to communication or the memory based on a user input.

다양한 실시예에 따르면, 상기 프로세서는, 상기 외부 서버 및/또는 상기 메모리에서 선택할 수 있는 적어도 하나의 음원의 주파수 대역별 크기의 평균값을 계산하여 기준 음원의 주파수 대역별 크기를 결정하도록 설정될 수 있다.According to various embodiments, the processor may be set to determine the size of a reference sound source for each frequency band by calculating an average value of the size of each frequency band of at least one sound source selectable from the external server and/or the memory. .

도 5는 다양한 실시예에 따른 전자 장치의 음원 주파수 대역별 크기를 변경하는 방법의 순서도이다.5 is a flowchart of a method of changing a size for each frequency band of a sound source in an electronic device according to various embodiments.

도 5에 도시된 방법은 도 1 내지 도 4를 통해 설명한 전자 장치(예: 도 1의 전자 장치(101) 또는 도 3의 전자 장치(300))에 의해 수행될 수 있으며, 이하에서는 앞서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다. 그리고 도 5의 각 단계는 반드시 필수적인 단계는 아니며, 일부 단계가 생략될 수 있다The method shown in FIG. 5 may be performed by the electronic device described with reference to FIGS. 1 to 4 (eg, the electronic device 101 of FIG. 1 or the electronic device 300 of FIG. 3 ), and hereinafter, as described above The description of the technical features that are present will be omitted. And each step in FIG. 5 is not necessarily an essential step, and some steps may be omitted.

다양한 실시예에 따르면, 전자 장치(300)는 기준 음원(reference signal)을 획득할 수 있다. 기준 음원은 시중 유통 음원 특성의 평균값으로 결정될 수 있다. 전자 장치(300)는 기준 음원의 특성을 이용하여 이퀄라이징을 수행할 수 있다. 기준 음원은 전자 장치(300)의 제조 시에 메모리(예: 도 3의 메모리(350))에 입력될 수 있으며, 지속적으로 업데이트될 수 있다. 다른 실시예에 따르면, 전자 장치(300)는 외부 서버와 통신 연결하여 기준 음원을 획득할 수도 있다.According to various embodiments, the electronic device 300 may obtain a reference signal. The reference sound source may be determined as an average value of characteristics of commercially available sound sources. The electronic device 300 may perform equalization using the characteristics of the reference sound source. The reference sound source may be input to a memory (eg, the memory 350 of FIG. 3 ) when the electronic device 300 is manufactured, and may be continuously updated. According to another embodiment, the electronic device 300 may obtain a reference sound source by communicating with an external server.

다양한 실시예에 따르면, 동작 510에서, 전자 장치(300)는 제1음원을 선택하고 제1음원의 주파수 대역별 크기를 확인할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 사용자 입력에 기초하여 제1음원을 선택할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 메모리(350)에 저장 중인 적어도 하나의 미디어 파일 중 제1음원을 선택할 수 있다. 다른 실시예에 따르면, 전자 장치(300)는 외부 서버에 저장된 미디어 파일을 통신 연결하여 제1음원을 선택할 수 있다.According to various embodiments, in operation 510, the electronic device 300 may select a first sound source and check the size of each frequency band of the first sound source. According to an embodiment, the electronic device 300 may select a first sound source based on a user input. According to an embodiment, the electronic device 300 may select a first sound source from among at least one media file being stored in the memory 350 . According to another embodiment, the electronic device 300 may select a first sound source by connecting a media file stored in an external server through communication.

다양한 실시예에 따르면, 전자 장치(300)는 제1음원의 주파수 대역별 크기를 확인할 수 있다. 제1음원은 복수의 주파수 대역을 포함할 수 있다. 예를 들어, 제1음원은 제1주파수 대역, 제2주파수 대역 및 제3주파수 대역을 포함할 수 있고, 제1주파수 대역에 대응하는 제1크기, 제2주파수 대역에 대응하는 제2크기 및 제3주파수 대역에 대응하는 제3크기를 가질 수 있다. 전자 장치(300)는 제1음원에 포함된 각 주파수 대역 및 각 주파수 대역에 대응하는 크기를 확인할 수 있다. 일 실시예에 따르면, 사용자가 분석 구간을 선택한 경우 전자 장치(300)는 선택된 구간 내에 존재하는 각 주파수 대역 및 각 주파수 대역에 대응하는 크기를 확인할 수 있다.According to various embodiments, the electronic device 300 may check the size of each frequency band of the first sound source. The first sound source may include a plurality of frequency bands. For example, the first sound source may include a first frequency band, a second frequency band, and a third frequency band, a first size corresponding to the first frequency band, a second size corresponding to the second frequency band, and It may have a third size corresponding to a third frequency band. The electronic device 300 may check each frequency band included in the first sound source and the size corresponding to each frequency band. According to an embodiment, when a user selects an analysis section, the electronic device 300 may check each frequency band existing in the selected section and a size corresponding to each frequency band.

일 실시예에 따르면, 전자 장치(300)는 사용자 입력에 기초하여 제1음원의 특성을 분석할 구간을 결정할 수 있다. 예를 들어, 사용자가 제1음원의 제1시점에서 제2시점까지의 구간을 선택한 경우, 전자 장치(300)는 제1시점으로부터 제2시점까지의 구간에 대한 제1음원의 특성을 계산하여 제1특성으로 결정할 수 있다. 전자 장치(300)는 음원에서 분석할 구간을 선택할 수 있는 사용자 인터페이스를 제공할 수 있다. 사용자는 다른 실시예에 따르면, 전자 장치(300)는 제1음원의 모든 구간을 대상으로 하여 제1특성을 계산할 수 있다.According to an embodiment, the electronic device 300 may determine a section to analyze the characteristics of the first sound source based on a user input. For example, when the user selects a section from a first time point to a second time point of the first sound source, the electronic device 300 calculates characteristics of the first sound source for the section from the first time point to the second time point, It can be determined as the first characteristic. The electronic device 300 may provide a user interface for selecting a section to be analyzed in the sound source. According to another embodiment, the electronic device 300 may calculate the first characteristic for all sections of the first sound source.

다양한 실시예에 따르면, 동작 520에서, 전자 장치(300)는 기준 음원의 주파수 대역별 크기 및 제1음원의 주파수 대역별 크기를 비교하여 제1음원의 주파수 대역별 특성을 계산할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 복수의 주파수 대역에서 기준 음원 및 제1음원의 크기의 차이를 계산하여 제1특성을 획득할 수 있다. 예를 들어, 제1주파수 대역에서 기준 음원의 크기는 제1크기이고, 제1주파수 대역에서 제1음원의 크기는 제2크기인 경우, 제1주파수 대역에서의 제1특성은 제1크기와 제2크기의 차이로 계산될 수 있다. 전자 장치(300)는 복수의 주파수 대역에 대해서 상기와 같은 계산을 수행하여 제1음원의 모든 주파수 대역(또는 선택된 구간에 존재하는 모든 주파수 대역)에 대한 음원 특성을 계산할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 서로 다른 구간에 존재하는 같은 주파수 대역의 크기의 평균값을 해당 주파수 대역의 크기로 결정할 수 있다. 예를 들어, 제1음원에서 제1구간에 존재하는 제1주파수 대역의 크기와 제2구간에 존재하는 제1주파수 대역의 크기가 다를 수 있다. 전자 장치(300)는 제1구간에 존재하는 제1주파수 대역의 크기와 제2구간에 존재하는 제1주파수 대역의 크기의 평균값을 계산하여 제1주파수 대역의 크기로 결정할 수 있다. 전자 장치(300)는 계산한 제1특성을 메모리(350)에 저장할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 상기와 같은 방법으로 복수의 음원의 특성을 메모리(350)에 저장할 수 있다. 예를 들어, 전자 장치(300)는 제1특성, 제2특성 및 제3특성을 추출하여 메모리(350)에 저장할 수 있다.According to various embodiments, in operation 520, the electronic device 300 may calculate characteristics of the first sound source for each frequency band by comparing the size of the reference sound source for each frequency band and the size of the first sound source for each frequency band. According to an embodiment, the electronic device 300 may obtain the first characteristic by calculating a difference between the amplitudes of the reference sound source and the first sound source in a plurality of frequency bands. For example, when the size of the reference sound source in the first frequency band is the first size and the size of the first sound source in the first frequency band is the second size, the first characteristic in the first frequency band is the first size and the second size. It can be calculated as a difference of the second magnitude. The electronic device 300 may calculate sound source characteristics for all frequency bands of the first sound source (or all frequency bands existing in the selected section) by performing the above calculation for a plurality of frequency bands. According to an embodiment, the electronic device 300 may determine an average value of sizes of the same frequency band existing in different sections as the size of the corresponding frequency band. For example, in the first sound source, the size of the first frequency band present in the first section may be different from the size of the first frequency band present in the second section. The electronic device 300 may determine the size of the first frequency band by calculating an average value of the size of the first frequency band existing in the first period and the size of the first frequency band existing in the second period. The electronic device 300 may store the calculated first characteristic in the memory 350 . According to an embodiment, the electronic device 300 may store the characteristics of a plurality of sound sources in the memory 350 in the same way as above. For example, the electronic device 300 may extract and store the first, second, and third characteristics in the memory 350 .

다양한 실시예에 따르면, 동작 530에서, 전자 장치(300)는 제2음원의 주파수 대역별 크기를 변경할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 동일한 주파수 대역에 대하여 제2음원의 크기에 제1특성의 크기를 더하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 예를 들어, 전자 장치(300)는 제1주파수 대역에 대응하는 제1특성의 크기 및 제1주파수 대역에 대응하는 제2음원의 크기를 확인하고, 둘을 더하여 제1주파수 대역에 대응하는 제2음원의 크기를 결정할 수 있다. 전자 장치(300)는 제1특성을 이용하여 변경한 제2음원을 메모리(350)에 저장할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 메모리(350)에 저장된 적어도 하나의 음원 특성 중에서 사용자가 원하는 특성을 선택할 수 있도록 사용자 인터페이스를 제공할 수 있다. 전자 장치(300)는 사용자 입력에 기초하여 음원 특성을 선택할 수 있다. 예를 들어, 전자 장치(300)는 메모리(350)에 저장 중인 제1특성, 제2특성 및 제3특성 중 사용자 입력에 기초하여 제2특성을 제2음원에 적용하는 것으로 결정할 수 있다.According to various embodiments, in operation 530, the electronic device 300 may change the size of the second sound source for each frequency band. According to an embodiment, the electronic device 300 may change the size of the second sound source for each frequency band by adding the size of the first characteristic to the size of the second sound source for the same frequency band. For example, the electronic device 300 determines the magnitude of the first characteristic corresponding to the first frequency band and the magnitude of the second sound source corresponding to the first frequency band, and adds the two to determine the magnitude of the first characteristic corresponding to the first frequency band. 2You can decide the size of the sound source. The electronic device 300 may store the second sound source changed by using the first characteristic in the memory 350 . According to an embodiment, the electronic device 300 may provide a user interface so that a user can select a desired characteristic from among at least one sound source characteristic stored in the memory 350 . The electronic device 300 may select a sound source characteristic based on a user input. For example, the electronic device 300 may determine to apply the second characteristic to the second sound source based on the user input among the first characteristic, the second characteristic, and the third characteristic stored in the memory 350 .

일 실시예에 따르면, 전자 장치(300)는 제2음원의 주파수 대역별 크기 변경 여부를 사용자 입력에 기초하여 결정할 수 있다. 전자 장치(300)는 주파수 대역별 크기 변경 여부에 대한 사용자 인터페이스 화면을 생성하고, 디스플레이(예: 도 3의 디스플레이(320))를 통해 제공할 수 있다. 예를 들어, 전자 장치(300)는 제2음원의 주파수 대역별 크기 변경을 지시하는 인디케이터(예: 이퀄라이징 하시겠습니까?) 및 변경 여부를 결정할 수 있는 그래픽 객체(예: 아이콘)을 디스플레이(320)에 출력할 수 있다. 전자 장치(300)는 그래픽 객체에 대한 사용자 입력에 기초하여 제2음원의 주파수 대역별 크기 변경 여부를 결정할 수 있다. 사용자가 제2음원의 주파수 대역별 크기 변경을 원하는 경우, 전자 장치(300)는 선택된 음원의 특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 사용자가 제2음원의 주파수 대역별 크기 변경을 원하지 않는 경우, 전자 장치(300)는 제2음원을 그대로 출력할 수 있다.According to an embodiment, the electronic device 300 may determine whether to change the size of the second sound source for each frequency band based on a user input. The electronic device 300 may generate a user interface screen for determining whether the size of each frequency band is changed, and provide the user interface screen through a display (eg, the display 320 of FIG. 3 ). For example, the electronic device 300 displays, on the display 320, an indicator indicating a change in the size of the second sound source for each frequency band (eg, equalize?) and a graphic object (eg, an icon) capable of determining whether to change or not. can be printed out. The electronic device 300 may determine whether to change the size of the second sound source for each frequency band based on a user input for the graphic object. When the user wants to change the size of the second sound source for each frequency band, the electronic device 300 may change the size of the second sound source for each frequency band using the characteristics of the selected sound source. If the user does not want to change the size of the second sound source for each frequency band, the electronic device 300 may output the second sound source as it is.

일 실시예에 따르면, 전자 장치(300)는 제2음원에 제1특성을 적용하는 비율을 사용자 입력으로 결정할 수 있다. 전자 장치(300)는 선택된 비율에 기초하여 제2음원의 주파수 대역별 크기에 더해지는 제1특성의 크기를 결정할 수 있다. 예를 들어, 전자 장치(300)는 제1비율(예: 50%), 제2비율(100%), 및 제3비율(200%)과 같은 선택지를 제공하고, 사용자 입력에 기초하여 하나의 비율을 선택할 수 있다. 예를 들어, 사용자가 제1비율을 선택한 경우, 전자 장치(300)는 제1특성의 크기를 제1비율만큼 조정하여 제2음원에 더할 수 있다. 전자 장치(300)는 제1특성의 반영 비율을 결정하는 구성을 제공하여 사용자가 더욱 정확하게 기호를 반영할 수 있도록 할 수 있다.According to an embodiment, the electronic device 300 may determine a rate at which the first characteristic is applied to the second sound source as a user input. The electronic device 300 may determine the size of the first characteristic added to the size of the second sound source for each frequency band based on the selected ratio. For example, the electronic device 300 provides options such as a first ratio (eg, 50%), a second ratio (100%), and a third ratio (200%), and selects one based on a user input. You can choose a ratio. For example, when the user selects the first ratio, the electronic device 300 may adjust the size of the first characteristic by the first ratio and add it to the second sound source. The electronic device 300 may provide a configuration for determining the reflection ratio of the first characteristic so that the user can reflect the preference more accurately.

다양한 실시예에 따르면, 전자 장치(300)는 제1특성과 제2특성의 차이가 정해진 값 이상인 경우에만 제2음원의 주파수 대역별 크기를 변경할 수 있다. 일 실시예에 따르면, 전자 장치(300)는 각 주파수 대역에서 제1특성과 제2특성의 차이를 계산하고, 그 평균값을 제1특성과 제2특성의 차이로 결정할 수 있다. 예를 들어, 전자 장치(300)는 제1주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제1값을 계산하고, 제2주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제2값을 계산하고, 제3주파수 대역에서 제1특성의 크기와 제2특성의 크기의 차이인 제3값을 계산하고, 제1값, 제2값 및 제3값의 평균값을 제1특성과 제2특성의 차이로 결정할 수 있다. 전자 장치(300)는 제1특성과 제2특성의 차이가 정해진 값 이상인 경우에만 제2음원의 주파수 대역별 크기를 변경하는 것으로 결정할 수 있다. 예를 들어, 제1특성과 제2특성의 차이가 정해진 값보다 작은 경우 이퀄라이징 기능을 제공하지 않거나, 사용자가 제2음원의 주파수 대역별 크기를 변경하기 위해 제1특성을 선택할 때 두 음원의 특성이 유사함을 알리는 인디케이터를 제공할 수 있다.According to various embodiments, the electronic device 300 may change the size of the second sound source for each frequency band only when the difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value. According to an embodiment, the electronic device 300 may calculate the difference between the first characteristic and the second characteristic in each frequency band and determine an average value as the difference between the first characteristic and the second characteristic. For example, the electronic device 300 calculates a first value that is a difference between the magnitude of the first characteristic and the magnitude of the second characteristic in the first frequency band, and calculates the magnitude of the first characteristic and the magnitude of the second characteristic in the second frequency band. Calculate a second value that is the difference between the magnitudes of , calculate a third value that is the difference between the magnitude of the first characteristic and the magnitude of the second characteristic in the third frequency band, and calculate the values of the first value, the second value, and the third value. The average value may be determined as a difference between the first characteristic and the second characteristic. The electronic device 300 may determine to change the size of the second sound source for each frequency band only when the difference between the first and second characteristics is greater than or equal to a predetermined value. For example, when the difference between the first and second characteristics is smaller than a predetermined value, an equalizing function is not provided, or when the user selects the first characteristic to change the size of the second sound source for each frequency band, the characteristics of the two sound sources An indicator notifying this similarity can be provided.

도 6은 다양한 실시예에 따른 이퀄라이저의 특성과, 이퀄라이저의 특성을 적용하려는 음원의 특성 차이에 따라 음원 주파수 대역별 크기를 변경하는 방법의 순서도이다.6 is a flowchart of a method of changing the size of each frequency band of a sound source according to a difference between characteristics of an equalizer and characteristics of a sound source to which the characteristics of the equalizer are applied, according to various embodiments.

다양한 실시예에 따르면, 동작 602에서, 전자 장치(300)는 제2음원의 주파수 대역별 크기를 확인할 수 있다. 전자 장치(300)는 사용자 입력에 기초하여 이퀄라이징을 적용할 제2음원을 선택하고, 제2음원의 주파수 대역별 크기를 확인할 수 있다.According to various embodiments, in operation 602, the electronic device 300 may check the size of each frequency band of the second sound source. The electronic device 300 may select a second sound source to which equalization is applied based on a user input, and check the size of each frequency band of the second sound source.

다양한 실시예에 따르면, 동작 610에서, 전자 장치(300)는 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정할 수 있다. 전자 장치(300)는 사용자 입력에 기초하여 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정할 수 있다. 전자 장치(300)는 제2음원의 주파수 대역별 크기 변경 여부를 결정할 수 있는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치(300)는 주파수 대역별 크기 변경 여부를 선택할 수 있음을 알리는 인디케이터 및 변경 여부를 선택할 수 있는 그래픽 오브젝트를 적어도 포함하는 화면을 구성하여 디스플레이(예: 도 3의 디스플레이(320))에 제공할 수 있다.According to various embodiments, in operation 610, the electronic device 300 may determine whether to change the size of the second sound source for each frequency band. The electronic device 300 may determine whether to change the size of the second sound source for each frequency band based on a user input. The electronic device 300 may provide a user interface for determining whether to change the size of the second sound source for each frequency band. For example, the electronic device 300 configures and displays a screen including at least an indicator indicating whether or not to change the size of each frequency band and a graphic object capable of selecting whether or not to change (e.g., the display 320 of FIG. 3). )) can be provided.

다양한 실시예에 따르면, 동작 612에서, 전자 장치(300)는 메모리(예: 도 3의 메모리(350))에 저장된 적어도 하나의 음원 특성 중 제2음원에 적용할 특성을 결정할 수 있다. 전자 장치(300)는 이퀄라이징을 적용하기 이전에 적어도 하나의 음원에 대응하는 특성을 추출할 수 있다. 예를 들어, 전자 장치(300)는 제1음원에 대응하는 제1특성을 추출할 수 있다. 일 실시예에 따르면, 추출된 제1특성은 제1음원의 전체 재생 구간에 대한 특성일 수도 있으며, 제1음원 중 선택된 일부 구간에 대한 특성일 수도 있다. 전자 장치(300)는 적어도 하나의 음원 특성을 메모리(350)에 저장할 수 있으며, 사용자 입력에 기초하여 저장된 음원 특성 중 하나를 선택할 수 있다. 예를 들어, 전자 장치(300)는 제1음원에 대응하는 제1특성을 선택할 수 있다.According to various embodiments, in operation 612, the electronic device 300 may determine a characteristic to be applied to the second sound source from among at least one sound source characteristic stored in a memory (eg, the memory 350 of FIG. 3 ). The electronic device 300 may extract characteristics corresponding to at least one sound source before applying equalization. For example, the electronic device 300 may extract a first characteristic corresponding to the first sound source. According to an embodiment, the extracted first characteristic may be a characteristic of the entire reproduction section of the first sound source or may be a characteristic of a selected section of the first sound source. The electronic device 300 may store at least one sound source characteristic in the memory 350 and select one of the stored sound source characteristics based on a user input. For example, the electronic device 300 may select a first characteristic corresponding to the first sound source.

다양한 실시예에 따르면, 동작 620에서, 전자 장치(300)는 제2음원과 제2음원에 적용할 음원 특성의 차이가 정해진 값 미만인지 결정할 수 있다. 전자 장치(300)는 제1특성과 제2음원의 특성의 차이가 정해진 값 미만인지 결정할 수 있다. 제1특성과 제2음원의 특성의 차이가 정해진 값 미만인 경우, 전자 장치(300)는 이퀄라이징을 적용하지 않을 수 있다. 제1특성과 제2음원의 특성의 차이가 정해진 값 이상인 경우, 다시 말해 제1특성과 제2음원의 특성의 차이가 정해진 값보다 크거나 같은 경우, 전자 장치(300)는 사용자 입력에 기초하여 이퀄라이징을 수행할 수 있다.According to various embodiments, in operation 620, the electronic device 300 may determine whether a difference between the second sound source and the sound source characteristics to be applied to the second sound source is less than a predetermined value. The electronic device 300 may determine whether a difference between the first characteristic and the second sound source characteristic is less than a predetermined value. When the difference between the first characteristic and the second sound source characteristic is less than a predetermined value, the electronic device 300 may not apply equalization. When the difference between the characteristics of the first sound source and the second sound source is greater than or equal to a predetermined value, that is, when the difference between the characteristics of the first sound source and the second sound source is greater than or equal to the predetermined value, the electronic device 300 determines the value based on the user input Equalization can be performed.

다양한 실시예에 따르면, 동작 622에서, 전자 장치(300)는 결정된 음원 특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 전자 장치(300)는 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경할 수 있다. 다양한 실시예에 따르면, 동작 624에서, 이퀄라이징을 수행한 경우, 전자 장치(300)는 주파수 대역별 크기가 변경된 제2음원을 재생할 수 있다. 이퀄라이징을 수행하지 않은 경우, 전자 장치(300)는 제2음원의 원본 파일을 재생할 수 있다.According to various embodiments, in operation 622, the electronic device 300 may change the size of the second sound source for each frequency band using the determined sound source characteristics. The electronic device 300 may change the size of the second sound source for each frequency band by using the first characteristic. According to various embodiments, when equalizing is performed in operation 624, the electronic device 300 may reproduce a second sound source whose size is changed for each frequency band. If equalization is not performed, the electronic device 300 may reproduce the original file of the second sound source.

다양한 실시예에 따르면, 동작 630에서, 전자 장치(300)는 주파수 대역별 크기가 변경된 제2음원의 음원 특성을 추출할 것인지 여부를 결정할 수 있다. 변경된 제2음원의 특성이 사용자 기호에 부합하는 경우, 전자 장치(300)는 사용자 입력에 기초하여 변경된 제2음원의 음원 특성을 추출할 수 있다. 예를 들어, 전자 장치(300)는 변경된 제2음원의 특성을 추출할 것인지 여부를 묻는 화면을 사용자에게 제공할 수 있다. 동작 632에서, 전자 장치(300)는 사용자의 선택에 기초하여 변경된 제2음원의 특성을 추출하여 저장할 수 있다.According to various embodiments, in operation 630, the electronic device 300 may determine whether to extract the sound source characteristics of the second sound source whose size is changed for each frequency band. When the changed characteristics of the second sound source match the user's preference, the electronic device 300 may extract the changed sound source characteristics of the second sound source based on the user input. For example, the electronic device 300 may provide the user with a screen asking whether or not to extract the changed characteristics of the second sound source. In operation 632, the electronic device 300 may extract and store the changed characteristics of the second sound source based on the user's selection.

본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.Embodiments of the present invention disclosed in this specification and drawings are only presented as specific examples to easily explain the technical content of the present invention and help understanding of the present invention, and are not intended to limit the scope of the present invention. It is obvious to those skilled in the art that other modified examples based on the technical idea of the present invention can be implemented in addition to the embodiments disclosed herein.

다양한 실시예에 따른 음원의 주파수 대역별 크기 변경 방법은, 제1음원을 선택하는 동작, 상기 제1음원의 주파수 대역별 크기를 확인하는 동작, 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하는 동작, 및 상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함할 수 있다.A method for changing the size of a sound source for each frequency band according to various embodiments includes an operation of selecting a first sound source, an operation of checking the size of each frequency band of the first sound source, and a size of a reference sound source for each frequency band and the first sound source. It may include an operation of comparing the size of each frequency band to calculate a first characteristic that is a characteristic of each frequency band of the first sound source, and an operation of changing the size of each frequency band of the second sound source using the first characteristic. .

다양한 실시예에 따르면, 상기 제1특성을 계산하는 동작은, 상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기의 차이를 계산하여 상기 제1특성을 결정하는 동작을 포함할 수 있다.According to various embodiments, the calculating of the first characteristic may include determining the first characteristic by calculating a difference between the size of the reference sound source for each frequency band and the size of the first sound source for each frequency band. can

다양한 실시예에 따르면, 상기 제2음원의 주파수 대역별 크기를 변경하는 동작은, 상기 제2음원의 기존 주파수 대역별 크기에 상기 제1특성을 더하여 상기 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함할 수 있다.According to various embodiments, the operation of changing the size of each frequency band of the second sound source includes changing the size of each frequency band of the second sound source by adding the first characteristic to the size of the existing frequency band of the second sound source. Actions may be included.

다양한 실시예에 따르면, 상기 제2음원의 주파수 대역별 크기를 변경하는 동작은, 기준 음원의 주파수 대역별 크기와 상기 제2음원의 주파수 대역별 크기의 차이를 계산하여 상기 제2음원의 주파수 대역별 특성인 제2특성을 결정하는 동작, 상기 제1특성과 상기 제2특성을 비교하는 동작, 및According to various embodiments, the operation of changing the size of each frequency band of the second sound source may include calculating a difference between the size of the reference sound source for each frequency band and the size of the second sound source for each frequency band of the frequency band of the second sound source. An operation of determining a second characteristic that is a star characteristic, an operation of comparing the first characteristic and the second characteristic, and

상기 제1특성과 상기 제2특성의 차이가 정해진 값보다 크거나 같은 경우, 상기 제1특성을 이용하여 상기 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함할 수 있다.When the difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value, an operation of changing the size of the second sound source for each frequency band using the first characteristic may be included.

다양한 실시예에 따르면, 상기 제2음원의 주파수 대역별 크기를 변경하는 동작은, 사용자 입력에 기초하여 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정하는 동작을 더 포함할 수 있다.According to various embodiments, the changing the size of the second sound source for each frequency band may further include determining whether to change the size of the second sound source for each frequency band based on a user input.

다양한 실시예에 따르면, 상기 제2음원의 주파수 대역별 크기를 변경하는 동작은, 사용자 입력에 기초하여, 상기 제2음원의 주파수 대역별 크기에 대한 상기 제1특성의 반영 비율을 결정하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of changing the size of the second sound source for each frequency band may include determining a reflection ratio of the first characteristic to the size of the second sound source for each frequency band based on a user input. can include more.

다양한 실시예에 따르면, 상기 제1특성을 계산하는 동작은, 사용자 입력에 기초하여 상기 제1음원의 재생 구간 중 주파수 대역별 크기를 분석할 구간을 결정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the calculating of the first characteristic may include determining a section to be analyzed for size of each frequency band among reproduction sections of the first sound source based on a user input.

다양한 실시예에 따르면, 상기 제1음원을 선택하는 동작은, 사용자 입력에 기초하여, 통신 연결된 외부 전자 장치 또는 상기 메모리에서 제1음원을 선택하는 동작을 포함할 수 있다.According to various embodiments, the operation of selecting the first sound source may include an operation of selecting the first sound source from an external electronic device connected to communication or the memory based on a user input.

다양한 실시예에 따르면, 상기 제1특성을 계산하는 동작은, 상기 외부 서버 및/또는 상기 메모리에서 선택할 수 있는 적어도 하나의 음원의 주파수 대역별 크기의 평균값을 계산하여 기준 음원의 주파수 대역별 크기를 결정하는 동작을 포함할 수 있다.According to various embodiments, the operation of calculating the first characteristic calculates the average value of the size of each frequency band of at least one sound source selectable from the external server and/or the memory to determine the size of each frequency band of the reference sound source. It may include a decision-making action.

Claims (20)

전자 장치에 있어서,
디스플레이;
기준 음원 및 상기 기준 음원의 주파수 대역별 크기를 저장하고 있는 메모리; 및
상기 디스플레이 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고,
상기 프로세서는,
제1음원을 선택하고,
상기 제1음원의 주파수 대역별 크기를 확인하고,
상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하고, 및
상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하도록 설정된 전자 장치.
In electronic devices,
display;
a memory for storing a reference sound source and a size of each frequency band of the reference sound source; and
a processor operatively coupled with the display and the memory;
the processor,
Select the first sound source,
Checking the size of each frequency band of the first sound source;
Comparing the size of the reference sound source for each frequency band with the size of the first sound source for each frequency band to calculate a first characteristic that is a characteristic for each frequency band of the first sound source, and
An electronic device configured to change a size of a second sound source for each frequency band using the first characteristic.
제 1항에 있어서,
상기 프로세서는,
상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기의 차이를 계산하여 상기 제1특성을 결정하도록 설정된 전자 장치.
According to claim 1,
the processor,
The electronic device configured to determine the first characteristic by calculating a difference between the size of the reference sound source for each frequency band and the size of the first sound source for each frequency band.
제 1항에 있어서,
상기 프로세서는,
상기 제2음원의 기존 주파수 대역별 크기에 상기 제1특성을 더하여 상기 제2음원의 주파수 대역별 크기를 변경하도록 설정된 전자 장치.
According to claim 1,
the processor,
The electronic device configured to change the size of the second sound source for each frequency band by adding the first characteristic to the size of the second sound source for each frequency band.
제 1항에 있어서,
상기 프로세서는,
기준 음원의 주파수 대역별 크기와 상기 제2음원의 주파수 대역별 크기의 차이를 계산하여 상기 제2음원의 주파수 대역별 특성인 제2특성을 결정하고,
상기 제1특성과 상기 제2특성을 비교하고, 및
상기 제1특성과 상기 제2특성의 차이가 정해진 값보다 크거나 같은 경우, 상기 제1특성을 이용하여 상기 제2음원의 주파수 대역별 크기를 변경하도록 설정된 전자 장치.
According to claim 1,
the processor,
Determine a second characteristic, which is a characteristic of each frequency band of the second sound source, by calculating a difference between the size of the reference sound source for each frequency band and the size of the second sound source for each frequency band;
comparing the first characteristic and the second characteristic; and
The electronic device configured to change the size of the second sound source for each frequency band using the first characteristic when a difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value.
제 1항에 있어서,
상기 프로세서는,
사용자 입력에 기초하여 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정하도록 설정된 전자 장치.
According to claim 1,
the processor,
An electronic device configured to determine whether to change a size of a second sound source for each frequency band based on a user input.
제 1항에 있어서,
상기 프로세서는,
사용자 입력에 기초하여, 상기 제2음원의 주파수 대역별 크기에 대한 상기 제1특성의 반영 비율을 결정하도록 설정된 전자 장치.
According to claim 1,
the processor,
An electronic device configured to determine a reflection ratio of the first characteristic to the size of the second sound source for each frequency band based on a user input.
제 1항에 있어서,
상기 프로세서는,
상기 계산한 제1특성을 상기 메모리에 저장하도록 설정된 전자 장치.
According to claim 1,
the processor,
An electronic device configured to store the calculated first characteristic in the memory.
제 1항에 있어서,
상기 프로세서는,
사용자 입력에 기초하여 상기 제1음원의 재생 구간 중 주파수 대역별 크기를 분석할 구간을 결정하도록 설정된 전자 장치.
According to claim 1,
the processor,
An electronic device configured to determine a section to analyze the size of each frequency band among the reproduction sections of the first sound source based on a user input.
제 1항에 있어서,
상기 프로세서는,
상기 제1특성을 이용하여 변경한 제2음원의 주파수 대역별 크기를 상기 기준 음원의 주파수 대역별 크기와 비교하여 변경된 제2음원의 제3특성을 계산하고, 및
상기 제3특성을 상기 메모리에 저장하도록 설정된 전자 장치.
According to claim 1,
the processor,
A third characteristic of the changed second sound source is calculated by comparing the size by frequency band of the second sound source changed using the first characteristic with the size by frequency band of the reference sound source, and
An electronic device configured to store the third characteristic in the memory.
제 1항에 있어서,
상기 프로세서는,
사용자 입력에 기초하여, 통신 연결된 외부 전자 장치 또는 상기 메모리에서 제1음원을 선택하도록 설정된 전자 장치.
According to claim 1,
the processor,
An electronic device configured to select a first sound source from an external electronic device connected to communication or the memory based on a user input.
제 10항에 있어서,
상기 프로세서는,
상기 외부 서버 및/또는 상기 메모리에서 선택할 수 있는 적어도 하나의 음원의 주파수 대역별 크기의 평균값을 계산하여 기준 음원의 주파수 대역별 크기를 결정하도록 설정된 전자 장치.
According to claim 10,
the processor,
An electronic device configured to determine the size of a reference sound source for each frequency band by calculating an average value of the size of each frequency band of at least one sound source selectable from the external server and/or the memory.
음원의 주파수 대역별 크기 변경 방법에 있어서,
제1음원을 선택하는 동작,
상기 제1음원의 주파수 대역별 크기를 확인하는 동작,
기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기를 비교하여 상기 제1음원의 주파수 대역별 특성인 제1특성을 계산하는 동작, 및
상기 제1특성을 이용하여 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함하는 방법.
In the method for changing the size of a sound source for each frequency band,
an operation of selecting a first sound source;
An operation of checking the size of each frequency band of the first sound source;
Comparing the size of a reference sound source for each frequency band with the size of the first sound source for each frequency band to calculate a first characteristic, which is a characteristic for each frequency band of the first sound source, and
and changing a size of a second sound source for each frequency band by using the first characteristic.
제 12항에 있어서,
상기 제1특성을 계산하는 동작은,
상기 기준 음원의 주파수 대역별 크기와 상기 제1음원의 주파수 대역별 크기의 차이를 계산하여 상기 제1특성을 결정하는 동작을 포함하는 방법.
According to claim 12,
The operation of calculating the first characteristic,
and determining the first characteristic by calculating a difference between the size of the reference sound source for each frequency band and the size of the first sound source for each frequency band.
제 12항에 있어서,
상기 제2음원의 주파수 대역별 크기를 변경하는 동작은,
상기 제2음원의 기존 주파수 대역별 크기에 상기 제1특성을 더하여 상기 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함하는 방법.
According to claim 12,
The operation of changing the size of each frequency band of the second sound source,
and changing the size of the second sound source for each frequency band by adding the first characteristic to the size of the second sound source for each frequency band.
제 12항에 있어서,
상기 제2음원의 주파수 대역별 크기를 변경하는 동작은,
기준 음원의 주파수 대역별 크기와 상기 제2음원의 주파수 대역별 크기의 차이를 계산하여 상기 제2음원의 주파수 대역별 특성인 제2특성을 결정하는 동작,
상기 제1특성과 상기 제2특성을 비교하는 동작, 및
상기 제1특성과 상기 제2특성의 차이가 정해진 값보다 크거나 같은 경우, 상기 제1특성을 이용하여 상기 제2음원의 주파수 대역별 크기를 변경하는 동작을 포함하는 방법.
According to claim 12,
The operation of changing the size of each frequency band of the second sound source,
determining a second characteristic that is a characteristic for each frequency band of the second sound source by calculating a difference between the size of the reference sound source for each frequency band and the size of the second sound source for each frequency band;
an operation of comparing the first characteristic and the second characteristic; and
and changing a size of the second sound source for each frequency band using the first characteristic when the difference between the first characteristic and the second characteristic is greater than or equal to a predetermined value.
제 12항에 있어서,
상기 제2음원의 주파수 대역별 크기를 변경하는 동작은,
사용자 입력에 기초하여 제2음원의 주파수 대역별 크기를 변경할지 여부를 결정하는 동작을 더 포함하는 방법.
According to claim 12,
The operation of changing the size of each frequency band of the second sound source,
The method further comprising determining whether or not to change a size of the second sound source for each frequency band based on a user input.
제 12항에 있어서,
상기 제2음원의 주파수 대역별 크기를 변경하는 동작은,
사용자 입력에 기초하여, 상기 제2음원의 주파수 대역별 크기에 대한 상기 제1특성의 반영 비율을 결정하는 동작을 더 포함하는 방법.
According to claim 12,
The operation of changing the size of each frequency band of the second sound source,
The method further comprising determining a reflection ratio of the first characteristic to the size of the second sound source for each frequency band based on a user input.
제 12항에 있어서,
상기 제1특성을 계산하는 동작은,
사용자 입력에 기초하여 상기 제1음원의 재생 구간 중 주파수 대역별 크기를 분석할 구간을 결정하는 동작을 포함하는 방법.
According to claim 12,
The operation of calculating the first characteristic,
and determining, based on a user input, a section in which the size of each frequency band is to be analyzed among the reproduction sections of the first sound source.
제 12항에 있어서,
상기 제1음원을 선택하는 동작은,
사용자 입력에 기초하여, 통신 연결된 외부 전자 장치 또는 상기 메모리에서 제1음원을 선택하는 동작을 포함하는 방법.
According to claim 12,
The operation of selecting the first sound source,
A method comprising selecting a first sound source from an external electronic device connected to communication or the memory based on a user input.
제 19항에 있어서,
상기 제1특성을 계산하는 동작은,
상기 외부 서버 및/또는 상기 메모리에서 선택할 수 있는 적어도 하나의 음원의 주파수 대역별 크기의 평균값을 계산하여 기준 음원의 주파수 대역별 크기를 결정하는 동작을 포함하는 방법.
According to claim 19,
The operation of calculating the first characteristic,
and determining the size of a reference sound source for each frequency band by calculating an average value of the size of each frequency band of at least one sound source selectable from the external server and/or the memory.
KR1020220032855A 2022-02-16 2022-03-16 Electronic device and the method to change the magnitude of sound source by frequency band KR20230123391A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220019934 2022-02-16
KR20220019934 2022-02-16

Publications (1)

Publication Number Publication Date
KR20230123391A true KR20230123391A (en) 2023-08-23

Family

ID=87849097

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220032855A KR20230123391A (en) 2022-02-16 2022-03-16 Electronic device and the method to change the magnitude of sound source by frequency band

Country Status (1)

Country Link
KR (1) KR20230123391A (en)

Similar Documents

Publication Publication Date Title
KR20220016544A (en) Electronic device for supporting audio sharing
KR20220061537A (en) An electronic apparatus and method for establishing audio output mode based on connection with a plurality of audio output devices
KR20230123391A (en) Electronic device and the method to change the magnitude of sound source by frequency band
KR20220118047A (en) Processor for initializing model file of application and elecronic device including same
KR20230066841A (en) Electronic device and method for applying audio mode using metadata of audio track in electronic device
KR20220151483A (en) Electronic device and operation method thereof
KR20240014409A (en) Method for performing operation related to notification and electronic device supporting the same
KR20230173554A (en) Method and apparatus for predicting outdoor temperature of electric device
KR20230112303A (en) Electronic device method for controlling picture in picture window in the electronic device
KR20220127457A (en) Electronic device to move playback section of media contents and the method thereof
KR20220054067A (en) System including electronic device and server, and contents recommendation method using the system
KR20230030484A (en) Electronic device for providing a plurality of user interfaces to select data and method of operating the same
KR20220139684A (en) Method for managing storage space and electronic device supporting the same
KR20230075956A (en) Electronic device and method for recommending user action based on location
KR20220101434A (en) Method for operating service and electronic device supporting the same
KR20240002865A (en) Server and operating method for updating a learning model of a device
KR20230036496A (en) Electronic device for processing neural network model and method of operating the same
KR20220117670A (en) Electronic device and method for controlling the electronic device
KR20220104868A (en) electronic device and method for processing data of the same
KR20220156189A (en) Electronic device and method of operation thereof
KR20230023486A (en) Electronic device providing a combination of a plurality of vivration patterns and method of operation therof
KR20230003980A (en) Method for relaying data using different frequencu band and electronic device performing same
KR20220142198A (en) Electronic device to reconfigure layout using external device
KR20230043549A (en) Method for displaying execution screen of application and electronic device supporting the same
KR20230007812A (en) Electronic Device and Prevention Method for Preventing Deterioration by Operation of Antenna Module