WO2024123104A1 - 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법 - Google Patents

전자 장치 및 전자 장치에서 오디오 데이터 출력 방법 Download PDF

Info

Publication number
WO2024123104A1
WO2024123104A1 PCT/KR2023/020097 KR2023020097W WO2024123104A1 WO 2024123104 A1 WO2024123104 A1 WO 2024123104A1 KR 2023020097 W KR2023020097 W KR 2023020097W WO 2024123104 A1 WO2024123104 A1 WO 2024123104A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
sound source
audio data
processor
audio
Prior art date
Application number
PCT/KR2023/020097
Other languages
English (en)
French (fr)
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
Priority claimed from KR1020230001619A external-priority patent/KR20240085800A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to EP23814348.1A priority Critical patent/EP4407608A1/en
Publication of WO2024123104A1 publication Critical patent/WO2024123104A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments

Definitions

  • Various embodiments of the present disclosure relate to a method of outputting audio data from an electronic device.
  • a portable electronic device e.g., a mobile terminal, tablet terminal, or wearable electronic device
  • a communication function as well as a sound source playback function, and includes not only the sound source stored at the time of manufacture, but also various information related to the application through additional installation of the application. You can play music and output audio sound.
  • an electronic device When playing a sound source, an electronic device can output audio data using various audio output devices.
  • the audio output device may be a speaker of the electronic device, a first external electronic device (e.g., a wireless headset or Bluetooth speaker) connected to the electronic device wirelessly (e.g., by short-range communication or Bluetooth communication), or wired (e.g., It may include a second external electronic device (eg, headset or earphone) connected (via a connector).
  • a first external electronic device e.g., a wireless headset or Bluetooth speaker
  • the electronic device wirelessly e.g., by short-range communication or Bluetooth communication
  • wired e.g., It may include a second external electronic device (eg, headset or earphone) connected (via a connector).
  • the electronic device may mix audio data corresponding to the plurality of sound sources and output the mixed audio data through an audio output device.
  • Recent electronic devices may have a sound source separation playback function (e.g., app sound separation playback function) that allows different audio output devices for each sound source when multiple sound sources are played.
  • the electronic device can mix audio data corresponding to a plurality of sound sources with the sound source separation playback function disabled and output the mixed audio data through one audio output device, and with the sound source separation playback function activated, the electronic device can mix audio data corresponding to a plurality of sound sources and output the mixed audio data through one audio output device.
  • a plurality of audio output devices designated for each of the plurality of sound sources can be identified and audio data can be output to the audio output device corresponding to each sound source.
  • the electronic device designates a first audio output device (e.g., a first external electronic device (e.g., a Bluetooth speaker)) to correspond to the first sound source, and a second audio output device (e.g., a first external electronic device (e.g., Bluetooth speaker)) to correspond to the second sound source.
  • a first audio output device e.g., a first external electronic device (e.g., a Bluetooth speaker)
  • a second audio output device e.g., a first external electronic device (e.g., Bluetooth speaker)
  • processing of the first sound source and processing of the second sound source may be performed through different processors and through different paths.
  • the electronic device performs an operation of converting the second sound source into wireless communication data to output the second sound source through a second audio output device through wireless communication (e.g., a processor of the first sound source). It can be performed through a processor (e.g., a first processor) different from the second processor, and current consumption may increase in the process of converting the second sound source into wireless communication data.
  • a processor e.g., a first processor
  • the electronic device If the electronic device outputs a second sound source through a second audio output device while the sound source separate playback function is activated and the sound source separate playback function is changed to a disabled state, the second processor processes the second sound source, and then the first processor processes the second sound source. If the processor changes to process, sound interruption may occur due to the change in the sound source processing path.
  • the first sound source is processed by the first processor and the second sound source is processed by the second processor.
  • the processing of the first sound source is completed, the second sound source is processed by the first processor. If the processing is changed, sound interruption may occur due to the change in the sound source processing path.
  • an electronic device capable of reducing current consumption even when the sound source separation playback function is activated and a method of outputting audio data from the electronic device can be provided.
  • one sound source when a sound source is processed using a plurality of processors while the sound source separation playback function is activated, one sound source must be processed with a single processor to prevent a single sound from being interrupted due to a processor change. It is possible to provide an electronic device capable of performing audio data output and a method of outputting audio data from the electronic device.
  • An electronic device includes an output module, a communication module, a memory for storing instructions, and at least one processor.
  • the commands when executed by the at least one processor, may be configured to cause the electronic device to identify a request to play a sound source.
  • the commands when executed by the at least one processor, may be set to cause the electronic device to identify a state in which the sound source separation playback function is activated based on the sound source playback request.
  • the instructions when executed by the at least one processor, cause the electronic device to determine the electronic device based on the fact that the designated audio output device for the sound source requested to be played is the electronic device while the sound source separate playback function is activated.
  • It may be configured to store first audio data obtained in response to a sound source requested to be played in a first storage area of the memory, and output the first audio data through the output module.
  • the commands when executed by the at least one processor, cause the electronic device to determine that the designated audio output device for the sound source requested to be played is capable of wireless communication with the electronic device while the sound source separate playback function is activated. Based on the fact that it is a first external electronic device, second audio data obtained in response to the sound source requested to be played is stored in a second storage area of the memory, and the second audio data is converted into wireless communication data to transmit the first audio data to the first external electronic device. It can be set to transmit to an external electronic device.
  • a method of outputting audio data in an electronic device includes an operation of identifying a request to play a sound source.
  • the method includes an operation of identifying a state in which a separate sound source playback function is activated based on the sound source playback request.
  • the method is based on the fact that the designated audio output device for the sound source requested to be played is the electronic device while the sound source separate playback function is activated, and the first audio data obtained in response to the sound source requested to be played is stored in the first audio data of the memory. It includes the operation of storing the first audio data in a storage area and outputting the first audio data through an output module.
  • the method is performed when the designated audio output device for the sound source requested to be played is a first external electronic device capable of wireless communication with the electronic device while the sound source separate playback function is activated. 2.
  • the method includes storing audio data in a second storage area of the memory, converting the second audio data into wireless communication data, and transmitting the second audio data to the first external electronic device.
  • the commands are set to cause the electronic device to perform at least one operation when executed by the electronic device, and the at least one operation includes operating a sound source.
  • the second audio data obtained in response to the sound source requested to be played is stored in the memory. and storing the data in a second storage area, converting the second audio data into wireless communication data, and transmitting the data to the first external electronic device.
  • the electronic device can reduce current consumption when playing sound sources separately while the sound source separation playback function is activated.
  • the electronic device can prevent sound interruption from occurring even when the sound source separation playback function changes from an activated state to a deactivated state during sound source separation playback.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to an embodiment.
  • Figure 2 is a block diagram of an electronic device according to an embodiment.
  • Figure 3 is a flowchart showing an audio data output operation in an electronic device according to an embodiment.
  • FIG. 4A is a flowchart illustrating a sound output operation when the sound source separation playback function is not activated when a sound source playback request is made in an electronic device according to an embodiment.
  • FIG. 4B is a flowchart illustrating a sound output operation when a sound source separation playback function is activated when a sound source playback request is made in an electronic device according to an embodiment.
  • FIG. 5A is a diagram illustrating an operation in which at least one processor outputs audio data through an audio output module while the sound source separate playback function is disabled, according to an embodiment.
  • FIG. 5B is a diagram illustrating an operation in which at least one processor transmits audio data to a first external electronic device through a communication module while the sound source separate playback function is disabled, according to an embodiment.
  • FIG. 5C is a diagram illustrating an operation in which at least one processor separates audio data and outputs it to an audio output module and a first external electronic device while the sound source separation playback function is activated according to an embodiment.
  • FIG. 5D illustrates an operation of performing SRC processing in the HAL when at least one processor separates audio data and outputs it to the audio output module and the first external electronic device while the sound source separation playback function according to an embodiment is activated.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to an embodiment.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., 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.
  • a first network 198 e.g., a short-range wireless communication network
  • a second network 199 e.g., a long-distance wireless communication network.
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • 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, and 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 may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted, or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 includes the main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g., a central processing unit or an application processor
  • an auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the electronic device 101 includes a main processor 121 and a secondary processor 123
  • the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • coprocessor 123 e.g., image signal processor or communication processor
  • may be implemented as part of another functionally related component e.g., camera module 180 or communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software structures.
  • 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. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • Memory 130 may include volatile memory 132 or non-volatile memory 134.
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
  • 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. Speakers can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 can 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.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. 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 (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, 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 biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102).
  • 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102).
  • 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).
  • the haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., 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 (e.g.
  • GNSS global navigation satellite system
  • LAN local area network
  • power line communication module may be included.
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • the wireless communication module 192 uses subscriber information (e.g., 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.
  • subscriber information e.g., International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -latency communications)) can be supported.
  • the wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates.
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing.
  • MIMO massive array multiple-input and multiple-output
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC.
  • peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • 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, for example, connected to the plurality of antennas by the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the
  • peripheral devices e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • 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 of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • 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.
  • 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 (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
  • Figure 2 is a block diagram of an electronic device according to an embodiment.
  • an electronic device 201 (e.g., the electronic device 101 of FIG. 1) according to an embodiment includes at least one processor (hereinafter also referred to as a processor) 220, a memory 230, and a display. 260, an audio output module 255, a USB output module 278, and/or a communication module 290.
  • the electronic device 201 according to an embodiment is not limited to this and may be configured to further include various components or to exclude some of the components.
  • the electronic device 201 according to one embodiment may further include all or part of the electronic device 101 shown in FIG. 1 .
  • At least one processor 220 may include a first processor (e.g., central processing unit (CPU)) and/or a second processor (e.g., an audio processor or audio processor). subsystem). At least one processor 220 according to an embodiment includes an application processor (AP) including a first processor and a second processor, or the first processor corresponds to the AP and the second processor is included as a co-processor of the AP. You can. Audio processors and audio assistance systems are more energy efficient than traditional central processing units when processing audio data.
  • AP application processor
  • At least one processor 220 may identify at least one piece of audio information (e.g., a sound source or an audio track or an audio stream, hereinafter also referred to as a sound source) to be played (or requested to be played by an application). .
  • a sound source e.g., a sound source or an audio track or an audio stream, hereinafter also referred to as a sound source
  • At least one processor 220 may store at least one piece of audio information (e.g., a sound source or an audio track or an audio stream) to be played (or requested to be played by an application). , hereinafter also referred to as a sound source) can be identified.
  • the processor 220 plays at least one application sound source (hereinafter also referred to as a sound source) associated with each of at least one application (or requested from each of at least one application) based on the execution of at least one application. It can be identified as at least one application sound source to be (or requested to be played).
  • At least one application may include a game application, a video playback application, and/or a music playback application, and any application that is set to output sound sources may be used.
  • the processor 220 may identify a plurality of application sound sources to be played (or requested to be played) simultaneously in association with each of the plurality of applications.
  • At least one processor 220 may perform a sound source separation playback function (e.g., app sound separation playback function) that can specify a different audio output device for each sound source. At least one processor 220 according to an embodiment may activate or deactivate (e.g., turn on or off) the sound source separation playback function based on user input or specified conditions. At least one processor 220 according to an embodiment may identify whether the sound source separation playback function is activated or deactivated.
  • a sound source separation playback function e.g., app sound separation playback function
  • At least one processor 220 may activate or deactivate (e.g., turn on or off) the sound source separation playback function based on user input or specified conditions.
  • At least one processor 220 may identify whether the sound source separation playback function is activated or deactivated.
  • At least one processor 220 may identify a designated audio output device if there is no separate sound source playback function or the separate sound source playback function is disabled based on a sound source playback request by application execution. According to one embodiment, based on a sound source playback request by executing an application, if there is no sound source separate playback function or the sound source separate playback function is disabled, the at least one processor 220 is configured to play a sound source designated by the user or previously used regardless of the sound source.
  • the audio output device can be identified as the audio output device corresponding to the sound source requested to be played.
  • At least one processor 220 selects an audio output device corresponding to the sound source requested to be played from among a plurality of audio output devices.
  • a plurality of audio output devices may be connected to the electronic device 201 (e.g., an audio output module 255 (e.g., a speaker) or a USB output module 278 (e.g., a second device connected via the USB output module 278).
  • the electronic device 201 e.g., an audio output module 255 (e.g., a speaker) or a USB output module 278 (e.g., a second device connected via the USB output module 278).
  • it may include an external electronic device 202) and a first external electronic device 204 capable of wireless communication (e.g., Bluetooth communication) using the electronic device 201 and the communication module 290.
  • the first external electronic device 204 may be a Bluetooth headset, Bluetooth earphone, or Bluetooth speaker
  • the second external electronic device 202 may be an earphone, headset, or speaker connected to the electronic device 201
  • At least one processor 220 may set (or designate) a different audio output device for each sound source, and the set (or designated) audio output for each sound source while the sound source separation playback function is activated.
  • the device is available.
  • At least one processor 220 When the sound source separation playback function is activated based on a sound source playback request by executing an application, at least one processor 220 according to an embodiment is configured to set the designated audio output device for the playback requested sound source to the electronic device 201 or the electronic device. Whether an output module of device 201, such as an audio output module 255 (e.g., a speaker) or a USB output module 278 (e.g., a second external electronic device 202 connected via USB output module 278). Alternatively, it is possible to identify whether the first external electronic device 204 is capable of wireless communication (e.g., Bluetooth communication) using the electronic device 201 and the communication module 290.
  • an output module of device 201 such as an audio output module 255 (e.g., a speaker) or a USB output module 278 (e.g., a second external electronic device 202 connected via USB output module 278).
  • the first external electronic device 204 is capable of wireless communication (e.g., Bluetooth communication) using the electronic
  • At least one processor 220 designates the electronic device 201 (or an output module of the electronic device 201) as an audio output device corresponding to the first sound source, and the audio output device corresponding to the second sound source.
  • the audio sound corresponding to the first sound source is sent to the output module of the electronic device 201 ( Example: It can be output through the audio output module (255) or USB output module (278).
  • At least one processor 220 designates the electronic device 201 as the audio output device corresponding to the first sound source, and designates the first external electronic device 204 as the audio output device corresponding to the second sound source.
  • the sound source separation playback function is activated, and if there is a request for playback of the second sound source, the audio sound corresponding to the second sound source is converted into wireless communication data and wireless communication corresponding to the audio sound is performed through the communication module 290.
  • Data can be transmitted to the first external electronic device 204.
  • At least one processor 220 may determine that the designated audio output device for the sound source requested to be played is the electronic device 201 or an output module of the electronic device 201 (e.g., the audio output module 255 (e.g., speaker) or the USB output module 278 (eg, the USB output module 278), the first audio data obtained in response to the sound source requested to be played may be stored in the first storage area of the memory 230.
  • the at least one processor 220 may perform first audio processing on the first audio data stored in the first storage area.
  • the first audio processing may include sample rate converting (SRC) processing.
  • the at least one processor 220 processes the first audio data so that the first audio data has a format supported by the audio output module 255 or the USB output module 278.
  • at least one processor 220 may perform SRC processing to convert the sampling rate of data to a sampling rate corresponding to the audio output module 255 or the USB output module 278.
  • Mixing processing can be performed to convert the frequency and bits of data.
  • bit depth is the number of bits of information in each sample. It directly corresponds to the resolution of the sample.
  • At least one processor 220 is a first audio output device capable of connecting a designated audio output device for a sound source requested to be played to the electronic device 201 through wireless communication (e.g., short-range wireless communication (or Bluetooth communication)). If the external electronic device 204 is the second audio data obtained in response to the sound source requested to be played, it may be stored in the second storage area of the memory 230.
  • wireless communication e.g., short-range wireless communication (or Bluetooth communication)
  • the designated audio output device for the sound source requested to be played is a first external electronic device 204 that can be connected to the electronic device 201 through Bluetooth communication
  • at least one processor 220 e.g., a second external electronic device 204
  • the processor 520 may allocate a PCM buffer for Bluetooth communication corresponding to the second storage area in the memory 230 and store PCM data corresponding to the second audio data in the PCM buffer for Bluetooth communication.
  • At least one processor 220 performs second audio processing on second audio data stored in the second storage area, and converts the second audio processed second audio data into wireless communication data (e.g., short-distance communication data). It can be converted into wireless communication data (or Bluetooth communication data) and the converted wireless communication data can be transmitted to the first external electronic device 204 through the communication module 290.
  • the at least one processor 220 sets the sampling rate of the second audio data to correspond to the first external electronic device 204 such that the second audio data has a format supported by the first external electronic device 204.
  • SRC processing which involves resampling and converting to the specified sampling rate, can be performed.
  • at least one processor 220 may perform mixing processing to convert the frequency and bit of the second audio data.
  • the memory 230 may store a plurality of applications (functions or programs) and a plurality of sound sources associated with each of the plurality of applications.
  • the memory 230 includes a program used to reproduce at least one sound source among a plurality of sound sources (e.g., the program 140 in FIG. 1), as well as various data generated during execution of the program 140. can be saved.
  • the memory 230 according to an embodiment includes a first storage area that stores first audio data obtained in response to the sound source requested to be played when the designated audio output device for the sound source requested to be played is the electronic device 201. can do.
  • the memory 230 includes a second storage area that stores second audio data acquired in response to the sound source requested to be played when the designated audio output device for the sound source requested to be played is the first external electronic device. can do.
  • the memory 230 may largely include a program area 140 and a data area (not shown).
  • the program area 140 may store program information related to driving the electronic device 201, such as an operating system (OS) that boots the electronic device 201 (eg, the operating system 142 of FIG. 1).
  • the data area (not shown) may store transmitted and/or received data and generated data according to various embodiments.
  • the memory 250 may be a flash memory, hard disk, or multimedia card micro type memory (for example, secure digital (SD) or extreme digital (XD) memory. ), RAM, and ROM may be configured to include at least one storage medium.
  • the audio output module 255 may convert the first audio data into an analog audio signal and output it through a speaker.
  • audio output module 255 may include speakers.
  • the USB output module 278 (e.g., connector 178 in FIG. 1) according to an embodiment may include a USB connector, and the electronic device 201 and the second external electronic device 202 communicate using the USB method. You can do it.
  • the USB output module 278 according to an embodiment can transmit USB data corresponding to the first audio data to the second external electronic device 202.
  • the communication module 290 may communicate with the first external electronic device 204 (e.g., the electronic device 104 of FIG. 1). For example, the communication module 290 may transmit wireless communication data corresponding to the second audio data to the first external electronic device 204.
  • the communication module 290 may include a cellular module, a wireless-fidelity (Wi-Fi) module, a Bluetooth module, or a near field communication (NFC) module. In addition, it may further include other modules capable of communicating with the first external electronic device 204.
  • Wi-Fi wireless-fidelity
  • NFC near field communication
  • the display 260 may display various types of information based on control of the processor 220.
  • the display 260 may display a screen related to the reproduction of at least one sound source.
  • the display 260 may be implemented in the form of a touch screen. When the display 260 is implemented in the form of a touch screen together with an input module, it can display various information generated according to the user's touch action.
  • the electronic device 201 is not limited to the configuration shown in FIG. 2 and may be configured to further include various components. According to one embodiment, the electronic device 201 may further include a microphone (not shown). At least one processor 220 may process the sound received from the microphone into digital data and store it in the memory 220 as a sound source.
  • the main components of the electronic device have been described through the electronic device 201 of FIG. 2.
  • the electronic device 201 may be implemented with more components than the illustrated components, or may be implemented with fewer components.
  • the electronic device 201 may be implemented by. Additionally, the connection relationship of the main components of the electronic device 201 described above with reference to FIG. 2 may be changed according to various embodiments.
  • An electronic device (electronic device 101 in FIG. 1 or electronic device 201 in FIG. 2) according to an embodiment includes an output module (audio output module 255 or USB output module 257 in FIG. 2) and a communication module. (communication module 190 in FIG. 1 or communication module 290 in FIG. 2), a memory for storing instructions (memory 130 in FIG. 1 or memory 230 in FIG. 2), and at least one processor (FIG. It may include the processor 120 of 1 or the processor 220 of FIG. 2). The commands, when executed by the at least one processor, may be configured to cause the electronic device to identify a request to play a sound source.
  • the commands when executed by the at least one processor, may be set to cause the electronic device to identify a state in which the sound source separation playback function is activated based on the sound source playback request.
  • the instructions when executed by the at least one processor, cause the electronic device to determine the electronic device based on the fact that the designated audio output device for the sound source requested to be played is the electronic device while the sound source separate playback function is activated. It may be configured to store first audio data obtained in response to a sound source requested to be played in a first storage area of the memory, and output the first audio data through the output module.
  • the commands when executed by the at least one processor, cause the electronic device to determine that the designated audio output device for the sound source requested to be played is capable of wireless communication with the electronic device while the sound source separate playback function is activated. Based on the fact that it is a first external electronic device, second audio data obtained in response to the sound source requested to be played is stored in a second storage area of the memory, and the second audio data is converted into wireless communication data to transmit the first audio data to the first external electronic device. It can be set to transmit to an external electronic device.
  • the output module may include an audio output module or a USB (universal serial bus) output module.
  • the commands when executed by the at least one processor, cause the electronic device to output the designated audio output device to the electronic device or the first audio output device based on a state in which the sound source separation playback function is activated. It can be further configured to identify itself as an external electronic device.
  • the commands when executed by the at least one processor, cause the electronic device to select an audio output device that previously used the specified audio output device based on a state in which the sound source separation playback function is disabled. It can be further set to identify.
  • the at least one processor may include a first processor (first processor 510 in FIGS. 5A to 5D) and a second processor (second processor 520 in FIGS. 5A to 5D). there is.
  • the commands according to an embodiment when executed by the first processor, cause the electronic device to transmit first audio data corresponding to the sound source requested to be played while the sound source separate playback function is activated.
  • Store in a first storage area of the memory store second audio data obtained in response to the sound source requested to be played in a second storage area of the memory, and request playback while the sound source separate play function is deactivated. It may be set to store audio data acquired corresponding to the sound source in the first storage area.
  • the commands when executed by the second processor, cause the electronic device to process the first audio data stored in the first storage area while the sound source separation playback function is activated. Outputs through the output module, processes the second audio data stored in the second storage area, converts it into wireless communication data, and transmits the converted wireless communication data to the first external electronic device through the communication module. In a state in which the sound source separation playback function is deactivated, audio data stored in the first storage area may be processed and output to the previously used audio output device.
  • the first processor may include a center processing unit (CPU), and the second processor may include an audio subsystem.
  • the instructions according to one embodiment when executed by the second processor, cause the electronic device to perform mixing processing and/or converting the frequency and bit of the first audio data when processing the first audio data. It may be further set to perform sample rate converting (SRC) processing of converting the sampling rate of the first audio data to a sampling rate corresponding to the output module and resampling.
  • SRC sample rate converting
  • the instructions when executed by the second processor, cause the electronic device to perform mixing processing and/or converting the frequency and bit of the second audio data when processing the second audio data. It may be further configured to perform sample rate converting (SRC) processing of converting the sampling rate of the second audio data to a sampling rate corresponding to the first external electronic device and resampling.
  • SRC sample rate converting
  • the instructions according to one embodiment when executed by the first processor, cause the electronic device to perform SRC processing on the second audio data when set to perform SRC processing on the second audio data. It may be further set to store the SRC-processed second audio data in the second storage area of the memory.
  • the instructions according to one embodiment when executed by the first processor, cause the electronic device to identify whether SRC processing is necessary for the second audio data and to determine whether SRC processing is necessary for the second audio data. If not, it may be further set not to perform SRC processing for the second audio data.
  • the first audio data and the second audio data include PCM data
  • the instructions when executed by the second processor, cause the electronic device to operate the first external electronic device. If the device is connected to the electronic device through Bluetooth communication, it may be further set to allocate a PCM buffer for Bluetooth communication corresponding to the second storage area and store PCM data corresponding to the second audio data in the PCM buffer for Bluetooth communication. there is.
  • Figure 3 is a flowchart showing an audio data output operation in an electronic device according to an embodiment.
  • a processor e.g., the processor 120 of FIG. 1 or the electronic device 201 of FIG. 2 of an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2) according to an embodiment.
  • the processor 220 may perform at least one of operations 310 to 330.
  • the processor 220 may identify a request to play a sound source by executing an application.
  • the processor 220 determines that the designated audio output device for the sound source requested to be played is the electronic device 201 (or an output module of the electronic device 201 (e.g., the audio output module 255 or Based on the USB output module 278, the first audio data obtained in response to the sound source requested to be played is stored in the first storage area of the memory 230, and first audio processing is performed on the first audio data.
  • the first audio processed first audio data can be controlled to be output through an output module (eg, the audio output module 255 or the USB output module 278) of the electronic device 201.
  • the processor 220 performs mixing processing to convert the frequency and bit of the first audio data stored in the first storage area and/or converts the first audio data into a format supported by the audio output module 255 or the USB output module 278. Perform resampling SRC processing to convert the sampling rate of the first audio data to a sampling rate corresponding to the audio output module 255 or USB output module 278, and mix and/or SRC-processed first audio. Data can be controlled to be output through the audio output module 255 or the USB output module 278.
  • the processor 220 configures a device in which a designated audio output device for a sound source requested to be played is connectable to the electronic device 201 through wireless communication (e.g., short-range wireless communication (or Bluetooth communication)).
  • wireless communication e.g., short-range wireless communication (or Bluetooth communication)
  • the second audio data obtained in response to the sound source requested to be played is stored in the second storage area of the memory 230, and second audio processing is performed on the second audio data.
  • the second audio processed second audio data is converted into wireless communication data (e.g., short-range wireless communication data (or Bluetooth communication data)), and the converted wireless communication data is transmitted to the first external electronic device through the communication module 290. 204) can be controlled to transmit.
  • the processor 220 performs mixing processing to convert the frequency and bit of the second audio data stored in the second storage area and/or converts the second audio data into a format supported by the first external electronic device 204. Perform resampling SRC processing to convert the sampling rate of the second audio data to a sampling rate corresponding to the first external electronic device 204, and mix and/or convert the SRC-processed second audio data into wireless communication data. It can be converted to .
  • a method of outputting audio data in an electronic device may include an operation of identifying a request to play a sound source.
  • the method includes an operation of identifying a state in which a separate sound source playback function is activated based on the sound source playback request.
  • the method includes storing first audio data acquired in response to the sound source requested to be played in the memory ( The first audio data is stored in the first storage area of the memory 130 in FIG. 1 or the memory 230 in FIG. 2, and the first audio data is stored in the output module (audio output module 255 or USB output module 257 in FIG. 2). It includes the operation of outputting through )).
  • the method is performed when the designated audio output device for the sound source requested to be played is a first external electronic device capable of wireless communication with the electronic device while the sound source separate playback function is activated. 2.
  • the method includes storing audio data in a second storage area of the memory, converting the second audio data into wireless communication data, and transmitting the second audio data to the first external electronic device.
  • the output module may include an audio output module or a universal serial bus (USB) output module.
  • USB universal serial bus
  • the method according to an embodiment may further include identifying the designated audio output device as the electronic device or the first external electronic device based on a state in which the sound source separation playback function is activated.
  • the method according to one embodiment may further include identifying the designated audio output device as a previously used audio output device based on a state in which the sound source separation playback function is deactivated.
  • the first processor (510 in FIGS. 5A to 5D) stores the first audio data obtained in response to the sound source requested to be played in the memory while the sound source separate playback function is activated.
  • Store in a first storage area store second audio data acquired in response to the sound source requested to be played in a second storage area of the memory, and store the sound source requested to be played in a state in which the sound source separate play function is deactivated. It may include an operation of storing correspondingly acquired audio data in the first storage area.
  • the second processor processes the first audio data stored in the first storage area while the sound source separate playback function is activated and outputs the output module.
  • the method may include controlling, processing audio data stored in the first storage area and outputting the audio data stored in the first storage area to the previously used audio output device while the sound source separation play function is deactivated.
  • the first processor performs mixing processing to convert the frequency and bit of the first audio data when processing the first audio data and/or outputs the sampling rate of the first audio data. It may include performing SRC (sample rate converting) mixing processing that converts to a sampling rate corresponding to the module and resamples.
  • SRC sample rate converting
  • the second processor when processing the second audio data, performs mixing processing to convert the frequency and bit of the second audio data and/or adjusts the sampling rate of the second audio data to the second audio data. 1 It may include an operation of performing SRC (sample rate converting) mixing processing of converting to a sampling rate corresponding to an external electronic device and resampling.
  • SRC sample rate converting
  • the first processor when the first processor is set to perform SRC processing on the second audio data, it performs SRC processing on the second audio data and stores the SRC-processed second audio data in the memory. It may include an operation of storing in the second storage area.
  • the first processor identifies whether SRC processing is necessary for the second audio data, and when SRC processing is not necessary for the second audio data, SRC processing for the second audio data is performed. It may include actions that do not perform a process.
  • FIGS. 4A and 4B illustrate a sound output operation based on whether the sound source separate playback function is activated when a sound source playback is requested in an electronic device according to an embodiment.
  • FIG. 4A is a flowchart showing a sound output operation when the sound source separation playback function is not activated when a sound source playback request is made in an electronic device according to an embodiment
  • FIG. 4b is a flowchart showing a sound source separation operation when a sound source playback request is made in an electronic device according to an embodiment. This is a flowchart showing the sound output operation when the playback function is activated.
  • the processor e.g., the processor 120 of FIG. 1 or the processor 220 of FIG. 2 of an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2) according to an embodiment is At least one operation among operations 412 to 432 of FIGS. 4A and 4B may be performed.
  • the processor 220 may identify a request to play a sound source by executing an application.
  • the processor 220 may identify whether the sound source separate playback function is activated based on a sound source playback request by application execution.
  • the at least one processor 220 is in a state where the sound source separation playback function is not activated (operation 414 - No) (for example, there is no sound source separation playback function or the sound source separation playback function is disabled). (if enabled), a designated (e.g., designated regardless of the sound source) audio output device can be identified.
  • the designated audio output device may be an audio output device specified by user input or previously used.
  • the designated audio output device is the electronic device 201 (or an output module of the electronic device 201 (e.g., audio output module 255 (e.g., speaker)) or USB output module 278) or an electronic device 201. It may be one of the first external electronic devices 204 capable of wireless communication (e.g., Bluetooth communication) using the device 201 and the communication module 290.
  • At least one processor 220 may store audio data obtained in response to a sound source requested to be played in the first storage area of the memory 230.
  • At least one processor 220 performs mixing and/or SRC processing on audio data stored in the first area and transmits the mixed and/or SRC processed audio data to a designated audio output device. Can be printed. At least one processor 220 according to an embodiment may perform mixing processing to convert the frequency and bit of the audio data stored in the first storage area and/or convert the audio data stored in the first storage area into a format supported by a designated audio output device. SRC processing may be performed to resample the sampling rate of the audio data, and the mixed and/or SRC-processed audio data may be controlled to be output through a designated audio output device.
  • the at least one processor 220 sets the audio output device corresponding to the sound source requested to be played. It can be identified whether it is an electronic device 201 (or an output module of the electronic device 201, such as an audio output module 255 (eg, a speaker) or a USB output module 278).
  • the at least one processor 220 In operation 424, if the audio output device corresponding to the sound source requested to be played is the electronic device 201 (operation 422 - Yes), the at least one processor 220 according to an embodiment outputs the audio output device 201 corresponding to the sound source requested to be played. 1 Audio data can be stored in the first storage area of the memory 230.
  • At least one processor 220 performs mixing and/or SRC processing on the first audio data and transmits the mixed and/or SRC processed first audio data to the electronic device 201. It can be controlled to output through the audio output module 255 or the USB output module 278).
  • the processor 220 according to an embodiment performs mixing processing to convert the frequency and bit of the first audio data stored in the first storage area and/or the first audio data is transmitted to the audio output module 255 or the USB output module 278.
  • the processed first audio data can be controlled to be output through the audio output module 255 or the USB output module 278.
  • the processor 220 determines that the audio output device corresponding to the sound source requested to be played is the electronic device 201 (or an output module of the electronic device 201 (e.g., audio output module 255) ( Example: speaker) or USB output module 278) (operation 422 - No), the audio output device corresponding to the sound source requested to be played wirelessly communicates with the electronic device 201 (e.g., short-range wireless communication (or Bluetooth communication)) ), it is possible to identify whether it is the first external electronic device 204 that can be connected.
  • the electronic device 201 or an output module of the electronic device 201 (e.g., audio output module 255) ( Example: speaker) or USB output module 278)
  • the audio output device corresponding to the sound source requested to be played wirelessly communicates with the electronic device 201 (e.g., short-range wireless communication (or Bluetooth communication)) ), it is possible to identify whether it is the first external electronic device 204 that can be connected.
  • Second audio data obtained in response to the sound source requested to be played may be stored in the second storage area of the memory 230.
  • At least one processor 220 performs mixing and/or SRC processing on the second audio data stored in the second storage area and mixes and/or SRC-processed second audio data. It can be controlled to convert it into wireless communication data and transmit it to the first external electronic device 204. At least one processor 220 according to an embodiment performs mixing processing to convert the frequency and bit of the second audio data stored in the second storage area and/or supports the second audio data in the first external electronic device 204. Perform resampling SRC processing to convert the sampling rate of the second audio data to a sampling rate corresponding to the first external electronic device 204 to have a format, and mix and/or SRC-processed the second audio data. It can be converted into wireless communication data. At least one processor 220 according to an embodiment may transmit the converted wireless communication data to the first external electronic device 204 through the communication module 290.
  • FIG. 5A is a diagram illustrating an operation in which at least one processor outputs audio data through an audio output module while the sound source separate playback function is disabled, according to an embodiment.
  • the processor 220 (e.g., processor 120 of FIG. 1) according to an embodiment includes a first processor 510 (e.g., central processing unit (CPU)) and a second processor 520. (e.g. may include an audio processor or audio subsystem).
  • a first processor 510 e.g., central processing unit (CPU)
  • a second processor 520 e.g. may include an audio processor or audio subsystem.
  • the first processor 510 may be the main processor (eg, application processor (AP)) of the electronic device 201 and may execute an OS and an application program.
  • AP application processor
  • the first processor 510 includes an application program module (App) 512, a framework module (Framework) 514, a HAL module (hardware abstaction layer) 516, and a kernel module (kernel). )(528).
  • the application program module (App) 512, the framework module (Framework) 514, the HAL module (hardware abstaction layer) 516, and the kernel module (kernel) 528 may be software program modules. , at least some of them may be preloaded on the electronic device 201 or downloadable from an external device.
  • the application program module 512 may identify a sound source playback request event corresponding to each of at least one application based on execution of at least one application.
  • the application program module (App) 512 is based on the execution of each of a plurality of applications (e.g., App #0 to App #4 (512-1 to 512-5)).
  • the sound source request event corresponding to each of the applications 4 (512-1 to 512-5) can be identified.
  • the framework module 514 may include at least one mixer (514-1, 514-2) and at least one effector (effect0 (514-5), effect1 (514-6)). .
  • the framework module 514 uses at least one mixer (514-1, 514-2) and at least one effector (effect0 (516-1), effect1 (516-2)) to create App # Acquire audio data for each of the sound sources by performing mixing and/or effect processing on the sound sources corresponding to each of the applications 0 to App #4 (512-1 to 512-5), and obtain audio data for each of the sound sources. Audio data can be delivered to the HAL module 516.
  • the HAL module 516 can identify whether the sound source separation playback function is activated or deactivated.
  • the HAL module 516 stores the acquired audio data in the first storage area (e.g., first PCM data buffer) of the memory 230 while the sound source separation playback function is disabled and performs the first storage. You can identify the audio output device that will output the audio data stored in the area.
  • the HAL module 516 uses the audio output module 255 as the first audio output device when the audio output device designated by the user or previously used is the audio output module 255 while the sound source separation playback function is disabled. Audio data stored in the storage area can be identified as an audio output device to be output.
  • the HAL module 516 may transmit a control signal for outputting audio data stored in the first storage area through the audio output module 255 to the second processor 520.
  • the kernel module 518 may include, for example, a system resource manager (not shown) and/or a device driver (not shown).
  • the system resource manager can control, allocate, or reclaim system resources.
  • the system resource manager may include a process management unit, a memory management unit, or a file system management unit.
  • Device drivers may include, for example, Bluetooth drivers, memory drivers, USB drivers, audio drivers, or inter-process communication (IPC) drivers.
  • the second processor 520 provides a control signal to output audio data stored in the first storage area from the first processor 510 (e.g., HAL module 516) through the audio output module 255. can receive.
  • the second processor 520 acquires the audio data (522-1 to 522-4) stored in the first storage area, and uses at least one mixer (524-1, 524-2) and/or at least Mixing processing to convert the frequency and bit of the audio data (522-1 to 522-4) stored in the first storage area using one SRC module (528-1 to 528-4) and/or Perform SRC processing to resample the sampling rate of the audio data (522-1 to 522-4) so that the stored audio data (522-1 to 522-4) has a format supported by the audio output module 255, and mix And/or the SRC-processed audio data can be controlled to be output through the audio output module 255.
  • FIG. 5B is a diagram illustrating an operation in which at least one processor transmits audio data to a first external electronic device through a communication module while the sound source separate playback function is disabled, according to an embodiment.
  • the HAL module 516 of the first processor 510 stores the acquired audio data in the first storage area (e.g. : first PCM data buffer) and can identify an audio output device that will output the audio data stored in the first storage area.
  • the HAL module 516 according to an embodiment is configured to connect the first external electronic device 204 when the audio output device designated by the user or previously used is the first external electronic device 204 while the sound source separation playback function is disabled. ) can be identified as an audio output device that will output audio data stored in the first storage area.
  • the HAL module 516 may transmit a control signal for outputting audio data stored in the first storage area through the first external electronic device 204 to the second processor 520.
  • the second processor 520 outputs audio data stored in the first storage area from the first processor 510 (e.g., HAL module 516) through the first external electronic device 204. Control signals can be received.
  • the second processor 520 acquires the audio data (522-1 to 522-4) stored in the first storage area, and uses at least one mixer (524-1, 524-2) and/or at least Mixing processing to convert the frequency and bit of the audio data (522-1 to 522-4) stored in the first storage area using one SRC module (528-1 to 528-4) and/or Perform SRC processing to resample the sampling rate of the audio data (522-1 to 522-4) so that the stored audio data (522-1 to 522-4) has a format supported by the first external electronic device 204; , the mixed and/or SRC-processed audio data can be converted into wireless communication data through the communication data conversion module 529 and controlled to be transmitted to the first external electronic device 204 through the communication module 290.
  • FIG. 5C is a diagram illustrating an operation in which at least one processor separates audio data and outputs it to an audio output module and a first external electronic device while the sound source separation playback function is activated according to an embodiment.
  • the HAL module 516 of the first processor 510 may identify a state in which the sound source separate playback function is activated.
  • the HAL module 516 according to an embodiment operates on App #0 to App #0 to App #4 (512-1 to 512-5) of sound sources corresponding to each of the applications in App #0 to App #4 (512-1 to 512-5) while the sound source separation playback function is activated.
  • the electronic device 201 is designated as an audio output device to output the sound sources of the applications 512-1 to 512-3 of App #2, and the applications 512-4 and 512- of App #3 and App #4 are designated as audio output devices.
  • the first external electronic device 204 is designated as the audio output device to output the sound sources of 5).
  • the HAL module 516 is configured to display applications 512-1 to 512- of App #0 to App #2 among the audio data acquired by the framework module 514 while the sound source separation playback function is activated.
  • the first audio data based on the sound sources of 3) is stored in the first storage area (e.g., first PCM data buffer) of the memory 230, and the applications 512-4 and 512 of App #3 and App #4
  • the second audio data based on the sound sources of -5) can be stored in the second storage area (e.g., the second PCM data buffer).
  • the HAL module 516 outputs the first audio data stored in the first storage area through the audio output module 255, and outputs the second audio data stored in the second storage area to the first external electronic device ( A control signal to be transmitted to 204) may be transmitted to the second processor 520.
  • the second processor 520 outputs the first audio data stored in the first storage area from the first processor 510 (e.g., HAL module 516) through the audio output module 255, A control signal for transmitting the second audio data stored in the second storage area to the first external electronic device 204 may be received.
  • the second processor 520 acquires the first audio data (522-1 to 522-4) stored in the first storage area, and uses at least one mixer (524-1, 524-2) and/ Or mixing processing and/or converting the frequency and bit of the first audio data (522-1 to 522-4) stored in the first storage area using at least one SRC module (528-1 to 528-3).
  • the second processor 520 acquires the second audio data 522-5 stored in the second storage area and stores the second audio data 522-5 in the second storage area using at least one SRC module 528-4.
  • the audio data 522-5 can be converted into wireless communication data through the communication data conversion module 529 and transmitted to the first external electronic device 204 through the communication module 290.
  • the second processor 520 allocates a PCM buffer for Bluetooth communication corresponding to the second storage area and processes PCM data corresponding to the second audio data 552-5 using the PCM buffer for Bluetooth communication. You can.
  • FIG. 5D illustrates an operation of performing SRC processing in the HAL when at least one processor separates audio data and outputs it to the audio output module and the first external electronic device while the sound source separation playback function according to an embodiment is activated.
  • the HAL module 516 of the first processor 510 may identify a state in which the sound source separate playback function is activated.
  • the HAL module 516 according to an embodiment operates on App #0 to App #0 to App #4 (512-1 to 512-5) of sound sources corresponding to each of the applications in App #0 to App #4 (512-1 to 512-5) while the sound source separation playback function is activated.
  • the audio output module 255 is designated as an audio output device to output the sound sources of the applications (512-1 to 512-3) of App #2, and the applications (512-4, 512) of App #3 and App #4 It can be identified that the first external electronic device 204 is designated as the audio output device to output the sound sources of -5).
  • the HAL module 516 is configured to display applications 512-1 to 512- of App #0 to App #2 among the audio data acquired by the framework module 514 while the sound source separation playback function is activated.
  • the first audio data based on the sound sources of 3) may be stored in the first storage area (eg, first PCM data buffer) of the memory 230.
  • the HAL module 516 according to an embodiment is configured to use the applications 512-4, 512-4 of App #3 and App #4 among the audio data acquired by the framework module 514 while the sound source separation playback function is activated. It is possible to identify whether to perform SRC processing on the second audio data based on the sound sources in 5) using the SRC module 518-1 of the HAL module 516.
  • the HAL module 516 uses the SRC module of the HAL module 516 for the second audio data based on the sound sources of the applications 512-4 and 512-5 of App #3 and App #4. 518-1), the applications 512-4 and 512-5 of App #3 and App #4 are configured using the SRC module 518-1 of the HAL module 516 instead of the second processor 520. ) can perform SRC processing of the second audio data based on the sound sources.
  • the HAL module 516 according to an embodiment operates SRC processing when SRC processing of the second audio data based on the sound sources of the applications 512-4 and 512-5 of App #3 and App #4 is not required. can also be omitted.
  • the HAL module 516 may store the SRC-processed second audio data in the second storage area (eg, second PCM data buffer) of the memory 230.
  • the HAL module 516 outputs the first audio data stored in the first storage area through the audio output module 255, and outputs the second audio data stored in the second storage area to the first external electronic device ( A control signal to be transmitted to 204) may be transmitted to the second processor 520.
  • the second processor 520 outputs the first audio data stored in the first storage area from the first processor 510 (e.g., HAL module 516) through the audio output module 255, A control signal for transmitting the second audio data stored in the second storage area to the first external electronic device 204 may be received.
  • the second processor 520 acquires the first audio data (522-1 to 522-4) stored in the first storage area, and uses at least one mixer (514-1, 514-2) and/ Or mixing processing and/or converting the frequency and bit of the first audio data (522-1 to 522-4) stored in the first storage area using at least one SRC module (528-1 to 528-3).
  • the second processor 520 acquires the SRC-processed second audio data 522-5 stored in the second storage area and converts the SRC-processed second audio data 522-5 into communication data. It can be controlled to convert it into wireless communication data through the module 529 and transmit it to the first external electronic device 204 through the communication module 290.
  • Electronic devices may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of the present disclosure are not limited to the above-mentioned devices.
  • phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof.
  • Terms such as “first”, “second”, or “first” or “second” may be used simply to distinguish one component from another, and to refer to those components in other respects (e.g., importance or order) is not limited.
  • One (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.” Where mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
  • module used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example.
  • a module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present disclosure are one or more stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including instructions.
  • a processor e.g., processor 120
  • a device e.g., electronic device 101
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • Device-readable storage media may be provided in the form of non-transitory storage media.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves). This term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between temporary storage cases.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or via an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online.
  • a machine-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online.
  • at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (eg, module or program) of the above-described components may include a single entity or a plurality of entities.
  • one or more of the components or operations described above may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.
  • the commands are set to cause the electronic device to perform at least one operation when executed by the electronic device, and the at least one operation includes operating a sound source.
  • the separate playback function is activated and the designated audio output device for the sound source requested to be played is a first external electronic device capable of wireless communication with the electronic device
  • the second audio data acquired in response to the sound source requested to be played is sent to the second audio data. and storing the second audio data in a second storage area of the memory, converting the second audio data into wireless communication data, and transmitting the second audio data to the first external electronic device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Otolaryngology (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

본 개시의 다양한 실시 예에 따른 전자 장치는 출력 모듈, 통신 모듈, 메모리, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는 음원 재생 요청을 식별하고, 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하고, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여, 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈을 통해 출력하도록 제어하고, 및 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 통신 모듈을 통해 상기 제1 외부 전자 장치로 전송하도록 제어할 수 있으며, 다른 실시 예도 가능할 수 있다.

Description

전자 장치 및 전자 장치에서 오디오 데이터 출력 방법
본 개시의 다양한 실시 예들은 전자 장치에서 오디오 데이터를 출력하는 방법에 관한 것이다.
전자 정보 통신 기술이 발달하면서 통신 장치 또는 전자 장치에 다양한 기능이 통합되고 있으며, 전자 장치가 다른 전자 장치와 통신을 통해 연동하는 연동 기능을 수행할 수도 있도록 구현되고 있다. 예를 들어, 휴대형 전자 장치(예: 모바일 단말, 태블릿 단말 또는 웨어러블 전자 장치)는 통신 기능과 아울러, 음원 재생 기능을 포함하고 있으며, 제조 시 저장된 음원 뿐만 아니라 어플리케이션의 추가 설치를 통해 어플리케이션과 연관된 다양한 음원을 재생하고 오디오 사운드를 출력할 수 있다.
전자 장치는 음원 재생 시 오디오 데이터를 다양한 오디오 출력 장치를 이용하여 출력할 수 있다. 예를 들면, 오디오 출력 장치는 전자 장치의 스피커, 전자 장치와 무선으로(예: 근거리 무선 통신 또는 블루투스 통신으로) 연결된 제1 외부 전자 장치(예: 무선 헤드셋 또는 블루투스 스피커), 유선으로(예: 커넥터를 통해) 연결된 제2 외부 전자 장치(예: 헤드셋 또는 이어폰)를 포함할 수 있다.
전자 장치는 복수의 음원들이 재생되는 경우 복수의 음원들에 대응된 오디오 데이터를 믹싱하여 믹싱된 오디오 데이터를 오디오 출력 장치를 통해 출력할 수 있다. 최근의 전자 장치는 복수의 음원들이 재생되는 경우 음원별로 오디오 출력 장치를 다르게 할 수 있는 음원 분리 재생 기능(예: 앱 소리 분리 재생 기능)을 가질 수 있다. 전자 장치는 음원 분리 재생 기능이 비활성화된 상태에서 복수의 음원들에 대응된 오디오 데이터를 믹싱하여 믹싱된 오디오 데이터를 하나의 오디오 출력 장치를 통해 출력할 수 있고, 음원 분리 재생 기능이 활성화된 상태에서 복수의 음원들 별로 지정된 복수의 오디오 출력 장치들을 식별하고 각 음원에 대응된 오디오 출력 장치로 오디오 데이터를 출력할 수 있다.
전자 장치는 음원 분리 재생 기능이 활성화된 상태에서 제1 음원에 대응하여 제1 오디오 출력 장치(예: 제1 외부 전자 장치(예: 블루투스 스피커))가 지정되고, 제2 음원에 대응하여 제2 오디오 출력 장치(예: 전자 장치의 스피커 또는 제1 외부 전자 장치)가 지정된 상태에서 제1 음원의 처리와 제2 음원의 처리를 서로 다른 프로세서를 통해 다른 경로로 수행할 수 있다. 예를 들면, 전자 장치는 제1 음원과 달리 제2 음원을 무선 통신을 통해 제2 오디오 출력 장치를 통해 출력하기 위해 제2 음원을 무선 통신 데이터로 변환하는 동작을 제1 음원의 프로세서(예: 제2 프로세서)와 다른 프로세서(예: 제1 프로세서)를 통해 수행할 수 있으며, 제2 음원을 무선 통신 데이터로 변환하는 과정에서 전류 소모가 증가할 수 있다.
전자 장치는 음원 분리 재생 기능이 활성화된 상태에서 제2 음원을 제2 오디오 출력 장치를 통해 출력 중 음원 분리 재생 기능이 비활성화 상태로 변경된 경우 제2 음원에 대한 처리를 제2 프로세서가 처리하다가 제1 프로세서가 처리하도록 변경하는 경우 음원 처리 경로 변경으로 인하여 음끊김 현상이 발생할 수 있다. 또한 전자 장치는 음원 분리 재생 기능이 활성화된 상태에서 제1 음원은 제1 프로세서에서 처리하고 제2 음원은 제2 프로세서에서 처리 중 제1 음원의 처리가 종료되면서 제2 음원 처리를 제1 프로세서에서 처리하도록 변경된 경우 음원 처리 경로 변경으로 인하여 음끊김 현상이 발생할 수 있다.
본 개시의 일 실시 예에 따르면 음원 분리 재생 기능이 활성화된 상태에서도 전류 소모가 적도록 할 수 있는 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법을 제공할 수 있다.
본 개시의 일 실시 예에 따르면 음원 분리 재생 기능이 활성화된 상태에서 복수의 프로세서를 이용하여 음원 처리 중 하나의 음원을 하나의 프로세서로 처리해야하는 경우 프로세서 변경으로 인한 하나의 음 끊김 현상이 발생하지 않도록 할 수 있는 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법을 제공할 수 있다.
본 발명은 첨부된 청구범위에 의해 정의된다. 다음의 설명에는 이러한 한정이 적용된다. 상기 청구범위의 범위를 벗어나는 모든 개시는 설명 및 비교 목적으로만 사용된다.
일 실시 예에 따른 전자 장치는 출력 모듈, 통신 모듈, 명령들을 저장하는 메모리, 및 적어도 하나의 프로세서를 포함한다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치가 음원 재생 요청을 식별하도록 설정될 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하도록 설정될 수 다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈을 통해 출력하도록 설정될 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하도록 설정될 수 있다.
일 실시 예에 따른 전자 장치에서 오디오 데이터 출력 방법은 음원 재생 요청을 식별하는 동작을 포함한다. 상기 방법은 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작을 포함한다. 상기 방법은 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 출력 모듈을 통해 출력하는 동작을 포함한다. 상기 방법은 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치이면 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하는 동작을 포함한다.
일 실시 예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 음원 재생 요청을 식별하는 동작, 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 출력 모듈을 통해 출력하는 동작, 및 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치이면 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하는 동작을 포함한다.
본 개시의 일 실시 예에 따르면 전자 장치는 음원 분리 재생 기능이 활성화된 상태에서 음원 분리 재생 시 전류 소모가 적도록 할 수 있다.
본 개시의 일 실시 예에 따르면 전자 장치는 음원 분리 재생 중 음원 분리 재생 기능이 활성화된 상태에서 비활성화된 상태로 변경되는 경우에도 음 끊김 현상이 발생하지 않도록 할 수 있다.
도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시 예에 따른 전자 장치의 블록 구성도이다.
도 3은 일 실시 예에 따른 전자 장치에서 오디오 데이터 출력 동작을 나타낸 흐름도이다.
도 4a는 일 실시 예에 따른 전자 장치에서 음원 재생 요청 시 음원 분리 재생 기능이 활성화되어 있지 않을 때 사운드 출력 동작을 나타낸 흐름도이다.
도 4b는 일 실시 예에 따른 전자 장치에서 음원 재생 요청 시 음원 분리 재생 기능이 활성화되어 있을 때 사운드 출력 동작을 나타낸 흐름도이다.
도 5a는 일 실시예에 따른 음원 분리 재생 기능이 비활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 오디오 출력 모듈을 통해 출력하는 동작을 설명하기 위한 도면이다.
도 5b는 일 실시예에 따른 음원 분리 재생 기능이 비활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 통신 모듈을 통해 제1 외부 전자 장치로 전송하는 동작을 설명하기 위한 도면이다.
도 5c는 일 실시예에 따른 음원 분리 재생 기능이 활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 분리하여 오디오 출력 모듈과 제1 외부 전자 장치에 출력하는 동작을 설명하기 위한 도면이다.
도 5d는 일 실시예에 따른 음원 분리 재생 기능이 활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 분리하여 오디오 출력 모듈과 제1 외부 전자 장치에 출력 시 HAL에서 SRC 처리를 수행하는 동작을 설명하기 위한 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
본 문서에서 사용된 용어들은 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 다른 실시 예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 일반적으로 사용되는 사전에 정의된 용어들은 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미를 가지는 것으로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 발명의 실시 예들을 배제하도록 해석될 수 없다.
도 1은 일 실시 예에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.
도 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))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(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)를 확인 또는 인증할 수 있다.
무선 통신 모듈(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 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
일 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시 예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 일 실시 예에 따른 전자 장치의 블록도이다.
도 2를 참조하면, 일 실시 예에 따른 전자 장치(201)(예: 도 1의 전자 장치(101))는 적어도 하나의 프로세서(이하, 프로세서라고도 함)(220), 메모리(230), 디스플레이(260), 오디오 출력 모듈(255), USB 출력 모듈(278), 및/또는 통신 모듈(290)을 포함할 수 있다. 일 실시 예에 따른 전자 장치(201)는 이에 한정되지 않고 다양한 구성 요소들을 더 포함하여 구성 또는 상기 구성들 중 일부를 제외하여 구성될 수 있다. 일 실시 예에 따른 전자 장치(201)는 도 1에 도시된 전자 장치(101)의 전부 또는 일부를 더 포함할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)(예: 도 1의 프로세서(120))는 제1 프로세서(예: CPU(central processing unit)) 및/또는 제2 프로세서(예: 오디오 프로세서 또는 audio subsystem)을 포함할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 프로세서와 제2 프로세서를 포함하는 AP(application processor)를 포함하거나 제1 프로세서가 AP에 대응되고, 제2 프로세서가 AP 의 보조 프로세서로 포함될 수 있다. 오디오 프로세서들 및 오디오 보조 시스템들은 오디오 데이터를 처리할 때 기존 중앙 처리 장치보다 에너지 효율적이다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 재생될(또는 어플리케이션에 의해 재생 요청된) 적어도 하나의 오디오 정보(예: 음원 또는 오디오 트랙 또는 오디오 스트림, 이하 음원이라고도 함)를 식별할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)(예: 도 1의 프로세서(120))는 재생될(또는 어플리케이션에 의해 재생 요청된) 적어도 하나의 오디오 정보(예: 음원 또는 오디오 트랙 또는 오디오 스트림, 이하 음원이라고도 함)를 식별할 수 있다. 일 실시 예에 따른 프로세서(220)는 적어도 하나의 어플리케이션의 실행에 기반하여 적어도 하나의 어플리케이션 각각과 연관된(또는 적어도 하나의 어플리케이션 각각으로부터 요청된) 적어도 하나의 어플리케이션 음원(이하 음원이라고도 함)을 재생될(또는 재생 요청된) 적어도 하나의 어플리케이션 음원으로 식별할 수 있다. 예를 들면, 적어도 하나의 어플리케이션은 게임 어플리케이션, 동영상 재생 어플리케이션, 및/또는 음악 재생 어플리케이션을 포함할 수 있으며, 이외에 음원을 출력하도록 설정된 어플리케이션이면 어느 어플리케이션이나 가능할 수 있다. 일 실시 예에 따른 프로세서(220)는 복수의 어플리케이션이 실행 중인 경우 복수의 어플리케이션 각각과 연관하여 동시에 재생될(또는 재생 요청된) 복수의 어플리케이션 음원들을 식별할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 음원별로 오디오 출력 장치를 다르게 지정할 수 있는 음원 분리 재생 기능(예: 앱 소리 분리 재생 기능)을 수행할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 사용자 입력 또는 지정된 조건에 기반하여 음원 분리 재생 기능을 활성화 또는 비활성화(예: 온 또는 오프)할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 음원 분리 재생 기능이 활성화된 상태인지 비활성화된 상태인지 식별할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청에 기반하여 음원 분리 재생 기능이 없거나 음원 분리 재생 기능이 비활성화된 상태이면 지정된 오디오 출력 장치를 식별할 수 있다. 일 실시 예에 따르면 적어도 하나의 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청에 기반하여 음원 분리 재생 기능이 없거나 음원 분리 재생 기능이 비활성화된 상태이면 음원과 상관없이 사용자에 의해 지정되거나 이전에 이용한 오디오 출력 장치를 재생 요청된 음원에 대응된 오디오 출력 장치로 식별할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태이면 복수의 오디오 출력 장치들 중 재생 요청된 음원에 대응된 오디오 출력 장치를 식별할 수 있다. 예를 들면, 복수의 오디오 출력 장치들은 전자 장치(201)(예: 오디오 출력 모듈(255)(예: 스피커) 또는 USB 출력 모듈(278)(예: USB 출력 모듈(278)을 통해 연결된 제2 외부 전자 장치(202)), 전자 장치(201)와 통신 모듈(290)을 이용하여 무선 통신(예: 블루투스 통신) 가능한 제1 외부 전자 장치(204)를 포함할 수 있다. 예를 들면, 제1 외부 전자 장치(204)는 블루투스 헤드셋, 블루투스 이어폰, 또는 블루투스 스피커일 수 있고, 제2 외부 전자 장치(202)는 USB를 통해 전자 장치(201)에 연결된 이어폰, 헤드셋 또는 스피커일 수 있다.
일 실시 예에 따르면 적어도 하나의 프로세서(220)는 각각의 음원마다 서로 다른 오디오 출력 장치를 설정할(또는 지정할) 수 있고 음원 분리 재생 기능이 활성화된 상태에서 각 음원에 대해 설정된(또는 지정된) 오디오 출력 장치를 이용할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태이면 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201) 또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255)(예: 스피커) 또는 USB 출력 모듈(278)(예: USB 출력 모듈(278)을 통해 연결된 제2 외부 전자 장치(202))인지 또는 전자 장치(201)와 통신 모듈(290)을 이용하여 무선 통신(예: 블루투스 통신) 가능한 제1 외부 전자 장치(204)인지 식별할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 음원에 대응하는 오디오 출력 장치로 전자 장치(201)(또는 전자 장치(201)의 출력 모듈)가 지정되고, 제2 음원에 대응하는 오디오 출력 장치로 제1 외부 전자 장치(204)가 지정되고 음원 분리 재생 기능이 활성화된 상태에서 제1 음원에 대한 재생 요청이 있으면 제1 음원에 대응된 오디오 사운드를 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255) 또는 USB 출력 모듈(278))을 통해 출력할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 음원에 대응하는 오디오 출력 장치로 전자 장치(201)가 지정되고, 제2 음원에 대응하는 오디오 출력 장치로 제1 외부 전자 장치(204)가 지정되고 음원 분리 재생 기능이 활성화된 상태에서 제2 음원에 대한 재생 요청이 있으면 제2 음원에 대응된 오디오 사운드를 무선 통신 데이터로 변환하고 통신 모듈(290)을 통해 오디오 사운드에 대응된 무선 통신 데이터를 제1 외부 전자 장치(204)로 전송할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201) 또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255)(예: 스피커) 또는 USB 출력 모듈(278)(예: USB 출력 모듈(278))이면 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리(230)의 제1 저장 영역에 저장할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 저장 영역에 저장된 제1 오디오 데이터에 대한 제1 오디오 처리를 수행할 수 있다. 예를 들면, 제1 오디오 처리는 SRC(sample rate converting) 처리 및/또는 믹싱 처리를 포함할 수 있다. 예를 들면, 적어도 하나의 프로세서(220)는 제1 오디오 데이터가 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에서 지원되는 포맷을 가지도록 제1 오디오 데이터의 샘플링 레이트를 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 할 수 있다. 예를 들면, 적어도 하나의 프로세서(220)는 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리를 할 수 있다. 오디오 데이터의 비트는 오디오 비트 심도이다. PCM(pulse code modulation)을 사용하는 디지털 오디오에서, 비트 심도는 각 샘플내 정보의 비트 수이며 각 샘플의 해상도에 직접적으로 대응된다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201)와 무선 통신(예: 근거리 무선 통신(또는 블루투스 통신))을 통해 연결 가능한 제1 외부 전자 장치(204)이면 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 메모리(230)의 제2 저장 영역에 저장할 수 있다. 일 실시 예에 따르면, 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201)와 블루투스 통신을 통해 연결 가능한 제1 외부 전자 장치(204)이면 적어도 하나의 프로세서(220)(예: 제2 프로세서(520) 또는 오디오 서브시스템)는 메모리(230)에 제2 저장 영역에 대응하는 블루투스 통신용 PCM 버퍼를 할당하고, 블루투스 통신용 PCM 버퍼에 상기 제2 오디오 데이터에 대응된 PCM 데이터를 저장할 수 있다.
일 실시 예에 따른 적어도 하나의 프로세서(220)는 제2 저장 영역에 저장된 제2 오디오 데이터에 대한 제2 오디오 처리를 수행하고, 제2 오디오 처리된 제2 오디오 데이터를 무선 통신 데이터(예: 근거리 무선 통신 데이터(또는 블루투스 통신 데이터))로 변환하고 변환된 무선 통신 데이터를 통신 모듈(290)을 통해 제1 외부 전자 장치(204)로 전송할 수 있다. 예를 들면, 적어도 하나의 프로세서(220)는 제2 오디오 데이터가 제1 외부 전자 장치(204)에서 지원되는 포맷을 가지도록 제2 오디오 데이터의 샘플링 레이트를 제1 외부 전자 장치(204)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 할 수 있다. 예를 들면, 적어도 하나의 프로세서(220)는 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리를 할 수 있다.
일 실시예에 따른 메모리(230)(예: 도 1의 메모리(130))는 복수의 어플리케이션들(기능 또는 프로그램)과 복수의 어플리케이션들 각각과 연관된 복수의 음원들을 저장할 수 있다. 일 실시예에 따른 메모리(230)는 복수의 음원들 중 적어도 하나의 음원의 재생 동작에 사용되는 프로그램(예: 도 1의 프로그램(140))을 비롯하여, 프로그램(140) 실행 중에 발생되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따른 메모리(230)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201)인 경우 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 저장하는 제1 저장 영역을 포함할 수 있다. 일 실시 예에 따른 메모리(230)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 제1 외부 전자 장치인 경우 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 저장하는 제2 저장 영역을 포함할 수 있다. 일 실시 예에 따른 메모리(230)는 크게 프로그램 영역(140)과 데이터 영역(미도시)을 포함할 수 있다. 상기 프로그램 영역(140)은 전자 장치(201)를 부팅시키는 운영체제(OS)(예: 도 1의 운영 체제(142))와 같은 전자 장치(201)의 구동을 위한 관련된 프로그램 정보들을 저장할 수 있다. 상기 데이터 영역(미도시)은 다양한 실시예에 따라 송신 및/또는 수신된 데이터 및 생성된 데이터를 저장할 수 있다. 또한, 상기 메모리(250)는 플래시 메모리(flash memory), 하드디스크(hard disk), 멀티미디어 카드 마이크로(multimedia card micro) 타입의 메모리(예를 들어, secure digital(SD) 또는 extreme digital(XD) 메모리), 램(RAM), 롬(ROM) 중의 적어도 하나의 저장매체를 포함하여 구성될 수 있다.
일 실시 예에 따른 오디오 출력 모듈(255)(예: 도 1의 음향 출력 모듈(155))은 제1 오디오 데이터를 아날로그 오디오 신호로 변환하여 스피커를 통해 출력할 수 있다. 예를 들면, 오디오 출력 모듈(255)은 스피커를 포함할 수 있다.
일 실시 예에 따른 USB 출력 모듈(278)(예: 도 1의 커넥터(178))은 USB 커넥터를 포함할 수 있고, 전자 장치(201)와 제2 외부 전자 장치(202)가 USB 방식으로 통신하도록 할 수 있다. 일 실시 예에 따른 USB 출력 모듈(278)은 제1 오디오 데이터에 대응된 USB 데이터가 제2 외부 전자 장치(202)에 전달되도록 할 수 있다.
일 실시 예에 따른 통신 모듈(290)(예: 도 1의 통신 모듈(190))은 제1 외부 전자 장치(204)(예: 도 1의 전자 장치(104))와 통신할 수 있다. 예를 들어, 통신 모듈(290)은 제2 오디오 데이터에 대응된 무선 통신 데이터를 제1 외부 전자 장치(204)에 전송할 수 있다. 일 실시 예에 따르면, 통신 모듈(290)은 셀룰러 모듈, Wi-Fi(wireless-fidelity) 모듈, 블루투스 모듈 또는 NFC(near field communication) 모듈을 포함할 수 있다. 이 외에 제1 외부 전자 장치(204)와 통신 가능한 다른 모듈을 더 포함할 수 있다.
일 실시 예에 따른 디스플레이(260)(예: 도 1의 디스플레이 모듈(160))는 프로세서(220)의 제어에 기반하여 각종 정보를 표시할 수 있다. 예를 들면, 디스플레이(260)는 적어도 하나의 음원의 재생과 연관된 화면을 표시할 수 있다. 일 실시예에 따르면, 디스플레이(260)는 터치 스크린의 형태로 구현될 수 있다. 상기 디스플레이(260)는 터치 스크린 형태로 입력 모듈과 함께 구현되는 경우, 사용자의 터치 동작에 따라 발생되는 다양한 정보들을 표시할 수 있다.
일 실시예에 따르면, 전자 장치(201)는 도 2에 도시된 구성에 한정되지 않고 다양한 구성 요소들을 더 포함하여 구성될 수 있다. 일 실시예에 따르면, 전자 장치(201)는 마이크(미도시)를 더 포함할 수 있다. 적어도 하나의 프로세서(220)는 마이크로부터 수신되는 사운드를 디지털 데이터로 처리하여 음원으로서 메모리(220)에 저장할 수 있다.
일 실시예에서는 상기 도 2의 전자 장치(201)를 통해 전자 장치의 주요 구성 요소에 대해 설명하였다. 그러나 다양한 실시예에서는 상기 도 2를 통해 도시된 구성 요소가 모두 필수 구성 요소인 것은 아니며, 도시된 구성 요소보다 많은 구성 요소에 의해 전자 장치(201)가 구현될 수도 있고, 그 보다 적은 구성 요소에 의해 전자 장치(201)가 구현될 수도 있다. 또한, 상기 도 2를 통해 상술한 전자 장치(201)의 주요 구성 요소의 연결관계가 다양한 실시예에 따라 변경 가능할 수 있다.
일 실시 예에 따른 전자 장치(도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))는 출력 모듈(도 2의 오디오 출력 모듈(255) 또는 USB 츨력 모듈(257)), 통신 모듈(도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(290)), 명령들을 저장하는 메모리(도 1의 메모리(130) 또는 도 2의 메모리(230)), 및 적어도 하나의 프로세서(도 1의 프로세서(120) 또는 도 2의 프로세서(220))를 포함할 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 음원 재생 요청을 식별하도록 설정될 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하도록 설정될 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈을 통해 출력하도록 설정될 수 있다. 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하도록 설정될 수 있다.
일 실시 예에 따른 상기 출력 모듈은 오디오 출력 모듈 또는 USB(universal serial bus) 출력 모듈을 포함할 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 상기 전자 장치 또는 상기 제1 외부 전자 장치로 식별하도록 더 설정될 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 비활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 이전에 이용했던 오디오 출력 장치로 식별하도록 더 설정될 수 있다.
일 실시 예에 따른 상기 적어도 하나의 프로세서는 제1 프로세서(도 5a 내지 도 5d의 제1 프로세서(510)) 및 제2 프로세서(도 5a 내지 도 5d의 제2 프로세서(520))를 포함할 수 있다. 일 실시 예에 따른 상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 재생 요청된 음원에 대응하여 획득된 오디오 데이터를 상기 제1 저장 영역에 저장하도록 설정될 수 있다. 일 실시 예에 따른 상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 제1 저장 영역에 저장된 상기 제1 오디오 데이터에 처리하여 상기 출력 모듈을 통해 출력하고, 상기 제2 저장 영역에 저장된 상기 제2 오디오 데이터를 처리하여 무선 통신 데이터로 변환하고, 상기 변환된 무선 통신 데이터를 상기 통신 모듈을 통해 상기 제1 외부 전자 장치로 전송하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 제1 저장 영역에 저장된 오디오 데이터를 처리하여 상기 이전에 이용했던 오디오 출력 장치로 출력하도록 설정될 수 있다. 일 실시 예에 따른 제1 프로세서는 CPU(center processing unit)를 포함하고, 상기 제2 프로세서는 오디오 서브시스템(audio subsystem)을 포함할 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제1 오디오 데이터에 대한 처리 시 상기 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 상기 제1 오디오 데이터의 샘플링 레이트를 상기 출력 모듈에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 처리를 수행하도록 더 설정될 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제2 오디오 데이터에 대한 처리 시 상기 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 상기 제2 오디오 데이터의 샘플링 레이트를 상기 제1 외부 전자 장치에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 처리를 수행하도록 더 설정될 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제2 오디오 데이터에 대한 SRC 처리를 수행하도록 설정된 경우 상기 제2 오디오 데이터에 대한 SRC 처리를 수행하고 SRC 처리된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하도록 더 설정될 수 있다.
일 실시 예에 따른 상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제2 오디오 데이터에 대한 SRC 처리 필요 여부를 식별하고 상기 제2 오디오 데이터에 대한 SRC 처리가 필요하지 않은 경우 상기 제2 오디오 데이터에 대한 SRC 처리 과정을 수행하지 않도록 더 설정될 수 있다.
일 실시 예에 따른 상기 제1 오디오 데이터 및 상기 제2 오디오 데이터는 PCM 데이터를 포함하고, 상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제1 외부 전자 장치가 상기 전자 장치와 블루투스 통신을 통해 연결되는 장치이면 상기 제2 저장 영역에 대응하는 블루투스 통신용 PCM 버퍼를 할당하고, 상기 블루투스 통신용 PCM 버퍼에 상기 제2 오디오 데이터에 대응하는 PCM 데이터를 저장하도록 더 설정될 수 있다.
도 3은 일 실시 예에 따른 전자 장치에서 오디오 데이터 출력 동작을 나타낸 흐름도이다.
도 3을 참조하면, 일 실시 예에 따른 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(220))는 310 내지 330 동작들 중 적어도 하나의 동작을 수행할 수 있다.
310 동작에서, 일 실시 예에 따른 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청을 식별할 수 있다.
320 동작에서, 일 실시 예에 따른 프로세서(220)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201)(또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255) 또는 USB 출력 모듈(278))인 것에 기반하여 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리(230)의 제1 저장 영역에 저장하고, 제1 오디오 데이터에 대한 제1 오디오 처리를 수행하여 제1 오디오 처리된 제1 오디오 데이터를 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255) 또는 USB 출력 모듈(278))을 통해 출력하도록 제어할 수 있다. 일 실시 예에 따른 프로세서(220)는 제1 저장 영역에 저장된 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 오디오 데이터가 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에서 지원되는 포맷을 가지도록 제1 오디오 데이터의 샘플링 레이트를 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 수행하고, 믹싱 처리 및/또는 SRC 처리된 제1 오디오 데이터를 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)을 통해 출력하도록 제어할 수 있다.
330 동작에서, 일 실시 예에 따른 프로세서(220)는 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 전자 장치(201)와 무선 통신(예: 근거리 무선 통신(또는 블루투스 통신))을 통해 연결 가능한 제1 외부 전자 장치(204)인 것에 기반하여 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 메모리(230)의 제2 저장 영역에 저장하고, 제2 오디오 데이터에 대한 제2 오디오 처리를 수행하여 제2 오디오 처리된 제2 오디오 데이터를 무선 통신 데이터(예: 근거리 무선 통신 데이터(또는 블루투스 통신 데이터))로 변환하고 변환된 무선 통신 데이터를 통신 모듈(290)을 통해 제1 외부 전자 장치(204)로 전송하도록 제어할 수 있다. 일 실시 예에 따른 프로세서(220)는 제2 저장 영역에 저장된 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제2 오디오 데이터가 제1 외부 전자 장치(204)에서 지원되는 포맷을 가지도록 제2 오디오 데이터의 샘플링 레이트를 제1 외부 전자 장치(204)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 수행하고, 믹싱 처리 및/또는 SRC 처리된 제2 오디오 데이터를 무선 통신 데이터로 변환할 수 있다.
일 실시 예에 따른 전자 장치(도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))에서 오디오 데이터 출력 방법은 음원 재생 요청을 식별하는 동작을 포함할 수 있다. 상기 방법은 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작을 포함한다. 상기 방법은 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리(도 1의 메모리(130) 또는 도 2의 메모리(230))의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈(도 2의 오디오 출력 모듈(255) 또는 USB 츨력 모듈(257))을 통해 출력하는 동작을 포함한다. 상기 방법은 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치이면 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하는 동작을 포함한다.
일 실시 예에 따른 상기 방법에서 상기 출력 모듈은 오디오 출력 모듈 또는 USB(universal serial bus) 출력 모듈을 포함할 수 있다.
일 실시 예에 따른 상기 방법은 상기 음원 분리 재생 기능이 활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 상기 전자 장치 또는 상기 제1 외부 전자 장치로 식별하는 동작을 더 포함할 수 있다.
일 실시 예에 따른 상기 방법은 상기 음원 분리 재생 기능이 비활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 이전에 이용했던 오디오 출력 장치로 식별하는 동작을 더 포함할 수 있다. 일 실시 예에 따른 상기 방법에서 제1 프로세서(도 5a 내지 도 5d의 510)가 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 재생 요청된 음원에 대응하여 획득된 오디오 데이터를 상기 제1 저장 영역에 저장하는 동작을 포함할 수 있다. 일 실시 예에 따른 상기 방법에서 제2 프로세서(도 5a 내지 도 5d의 520)가 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 제1 저장 영역에 저장된 상기 제1 오디오 데이터에 처리하여 상기 출력 모듈을 통해 출력하도록 제어하고, 상기 제2 저장 영역에 저장된 상기 제2 오디오 데이터를 처리하여 무선 통신 데이터로 변환하고, 상기 변환된 무선 통신 데이터를 상기 통신 모듈을 통해 상기 제1 외부 전자 장치로 전송하도록 제어하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 제1 저장 영역에 저장된 오디오 데이터를 처리하여 상기 이전에 이용했던 오디오 출력 장치로 출력하는 동작을 포함할 수 있다.
일 실시 예에 따른 상기 방법에서 상기 제1 프로세서가 상기 제1 오디오 데이터에 대한 처리 시 상기 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 상기 제1 오디오 데이터의 샘플링 레이트를 상기 출력 모듈에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 믹싱 처리를 수행하는 동작을 포함할 수 있다.
일 실시 예에 따른 상기 방법에서 상기 제2 프로세서가 상기 제2 오디오 데이터에 대한 처리 시 상기 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 상기 제2 오디오 데이터의 샘플링 레이트를 상기 제1 외부 전자 장치에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 믹싱 처리를 수행하는 동작을 포함할 수 있다.
일 실시 예에 따른 상기 방법에서 상기 제1 프로세서가 상기 제2 오디오 데이터에 대한 SRC 처리를 수행하도록 설정된 경우 상기 제2 오디오 데이터에 대한 SRC 처리를 수행하고 SRC 처리된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하는 동작을 포함할 수 있다.
일 실시 예에 따른 상기 방법에서 상기 제1 프로세서가 상기 제2 오디오 데이터에 대한 SRC 처리 필요 여부를 식별하고 상기 제2 오디오 데이터에 대한 SRC 처리가 필요하지 않은 경우 상기 제2 오디오 데이터에 대한 SRC 처리 과정을 수행하지 않는 동작을 포함할 수 있다.
도 4a 및 도 4b에서는 일 실시 예에 따른 전자 장치에서 음원 재생 요청 시 음원 분리 재생 기능 활성화 여부에 기반한 사운드 출력 동작을 나타낸다. 도 4a는 일 실시 예에 따른 전자 장치에서 음원 재생 요청 시 음원 분리 재생 기능이 활성화되어 있지 않을 때 사운드 출력 동작을 나타낸 흐름도이고, 도 4b는 일 실시 예에 따른 전자 장치에서 음원 재생 요청 시 음원 분리 재생 기능이 활성화되어 있을 때 사운드 출력 동작을 나타낸 흐름도이다.
일 실시 예에 따른 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(220))는 도 4a 및 도 4b의 412 내지 432 동작들 중 적어도 하나의 동작을 수행할 수 있다.
도 4a를 참조하면, 412 동작에서, 일 실시 예에 따른 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청을 식별할 수 있다.
414 동작에서, 일 실시 예에 따른 프로세서(220)는 어플리케이션 실행에 의한 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태인지 여부를 식별할 수 있다.
416 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 음원 분리 재생 기능이 활성화된 상태가 아니면(414 동작- 아니오)(예를 들면, 음원 분리 재생 기능이 없거나 음원 분리 재생 기능이 비활성화된 상태이면) 지정된(예: 음원과 관계없이 지정된) 오디오 출력 장치를 식별할 수 있다. 일 실시예에 따르면 지정된 오디오 출력 장치는 사용자 입력에 의해 지정되거나 이전에 이용했던 오디오 출력 장치일 수 있다. 일 실시 예에 따르면 지정된 오디오 출력 장치는 전자 장치(201)(또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255)(예: 스피커)) 또는 USB 출력 모듈(278)) 또는 전자 장치(201)와 통신 모듈(290)을 이용하여 무선 통신(예: 블루투스 통신) 가능한 제1 외부 전자 장치(204) 중 하나일 수 있다.
418 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 재생 요청된 음원에 대응하여 획득된 오디오 데이터를 메모리(230)의 제1 저장 영역에 저장할 수 있다.
420 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 영역에 저장된 오디오 데이터에 대한 믹싱 및/또는 SRC처리를 수행하고 믹싱 및/또는 SRC 처리된 오디오 데이터를 지정된 오디오 출력 장치로 출력할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 저장 영역에 저장된 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 저장 영역에 저장된 오디오 데이터가 지정된 오디오 출력 장치에서 지원되는 포맷을 가지도록 오디오 데이터의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, 믹싱 및/또는 SRC 처리된 오디오 데이터를 지정된 오디오 출력 장치를 통해 출력하도록 제어할 수 있다.
도 4b를 참조하면, 422 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 음원 분리 재생 기능이 활성화된 상태이면(414 동작- 예), 재생 요청된 음원에 대응된 오디오 출력 장치가 전자 장치(201)(또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255)(예: 스피커) 또는 USB 출력 모듈(278))인지 여부를 식별할 수 있다.
424 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 재생 요청된 음원에 대응된 오디오 출력 장치가 전자 장치(201)이면(422 동작-예) 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리(230)의 제1 저장 영역에 저장할 수 있다.
426 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제1 오디오 데이터에 대한 믹싱 및/또는 SRC처리를 수행하고 믹싱 및/또는 SRC 처리된 제1 오디오 데이터를 전자 장치(201)의 오디오 출력 모듈(255) 또는 USB 출력 모듈(278))을 통해 출력하도록 제어할 수 있다. 일 실시 예에 따른 프로세서(220)는 제1 저장 영역에 저장된 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 오디오 데이터가 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에서 지원되는 포맷을 가지도록 제1 오디오 데이터의 샘플링 레이트를 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 수행하고, 믹싱 처리 및/또는 SRC 처리된 제1 오디오 데이터를 오디오 출력 모듈(255) 또는 USB 출력 모듈(278)을 통해 출력하도록 제어할 수 있다.
428 동작에서, 일 실시 예에 따른 프로세서(220)는 재생 요청된 음원에 대응된 오디오 출력 장치가 전자 장치(201)(또는 전자 장치(201)의 출력 모듈(예: 오디오 출력 모듈(255)(예: 스피커) 또는 USB 출력 모듈(278))이 아니면(422 동작- 아니오) 재생 요청된 음원에 대응된 오디오 출력 장치가 전자 장치(201)와 무선 통신(예: 근거리 무선 통신(또는 블루투스 통신))을 통해 연결 가능한 제1 외부 전자 장치(204)인지 식별할 수 있다.
430 동작에서, 일 실시 예에 따른 프로세서(220)는 재생 요청된 음원에 대응된 오디오 출력 장치가 전자 장치(201)와 무선 통신을 통해 연결 가능한 제1 외부 전자 장치(204)이면(428 동작-예) 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 메모리(230)의 제2 저장 영역에 저장할 수 있다.
432 동작에서, 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제2 저장 영역에 저장된 제2 오디오 데이터에 대한 믹싱 및/또는 SRC처리를 수행하고 믹싱 및/또는 SRC 처리된 제2 오디오 데이터를 무선 통신 데이터로 변환하여 제1 외부 전자 장치(204)에 전송하도록 제어할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 제2 저장 영역에 저장된 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제2 오디오 데이터가 제1 외부 전자 장치(204)에서 지원되는 포맷을 가지도록 제2 오디오 데이터의 샘플링 레이트를 제1 외부 전자 장치(204)에 대응된 샘플링 레이트로 컨버팅하는 리샘플링하는 SRC 처리를 수행하고, 믹싱 처리 및/또는 SRC 처리된 제2 오디오 데이터를 무선 통신 데이터로 변환할 수 있다. 일 실시 예에 따른 적어도 하나의 프로세서(220)는 변환된 무선 통신 데이터를 통신 모듈(290)을 통해 제1 외부 전자 장치(204)에 전송할 수 있다.
도 5a는 일 실시예에 따른 음원 분리 재생 기능이 비활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 오디오 출력 모듈을 통해 출력하는 동작을 설명하기 위한 도면이다.
도 5a를 참조하면, 일 실시 예에 따른 프로세서(220)(예: 도 1의 프로세서(120))는 제1 프로세서(510)(예: CPU(central processing unit)) 및 제2 프로세서(520)(예: 오디오 프로세서 또는 audio subsystem)를 포함할 수 있다.
일 실시 예에 따른 제1 프로세서(510)는 전자 장치(201)의 메인 프로세서(예: AP(application processor))일 수 있으며 OS 및 어플리케이션 프로그램을 실행할 수 있다.
일 실시 예에 따른 제1 프로세서(510)는 어플리케이션 프로그램 모듈(App)(512), 프레임워크 모듈(Framework)(514), HAL 모듈(HAL(hardware abstaction layer))(516), 커널 모듈(kernel)(528)을 포함할 수 있다. 어플리케이션 프로그램 모듈(App)(512), 프레임워크 모듈(Framework)(514), HAL 모듈(HAL(hardware abstaction layer))(516), 및 커널 모듈(kernel)(528)은 소프트웨어 프로그램 모듈일 수 있으며, 적어도 일부는 전자 장치(201) 상에 프리로드 되거나, 외부 장치로부터 다운로드 가능할 수 있다.
일 실시 예에 따른 어플리케이션 프로그램 모듈(512)은 적어도 하나의 어플리케이션 실행에 기반하여 적어도 하나의 어플리케이션 각각에 대응된 음원 재생 요청 이벤트를 식별할 수 있다. 예를 들면, 어플리케이션 프로그램 모듈(App)(512)은 복수의 어플리케이션들(예: App #0 내지 App #4(512-1~512-5)) 각각의 실행에 기반하여 App #0 내지 App #4(512-1~512-5)의 어플리케이션들 각각에 대응된 음원 요청 이벤트를 식별할 수 있다.
일 실시 예에 따른 프레임워크 모듈(514)은 적어도 하나의 믹서(514-1, 514-2)와 적어도 하나의 이펙터(effect0(514-5), effect1(514-6))를 포함할 수 있다. 일 실시 예에 따른 프레임워크 모듈(514)은 적어도 하나의 믹서(514-1, 514-2)와 적어도 하나의 이펙터(effect0(516-1), effect1(516-2))를 이용하여 App #0 내지 App #4(512-1~512-5)의 어플리케이션들 각각에 대응된 음원들에 대한 믹싱 및/또는 효과(effect) 처리를 수행하여 음원들 각각에 대한 오디오 데이터를 획득하고, 획득된 오디오 데이터를 HAL 모듈(516)에 전달할 수 있다.
일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태인지 비활성화된 상태인지 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 비활성화된 상태에서 상기 획득된 오디오 데이터를 메모리(230)의 제1 저장 영역(예: 제1 PCM 데이터 버퍼)에 저장하고 제1 저장 영역에 저장된 오디오 데이터를 출력할 오디오 출력 장치를 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 비활성화된 상태에서 사용자에 의해 지정되거나 이전에 이용했던 오디오 출력 장치가 오디오 출력 모듈(255)인 경우 오디오 출력 모듈(255)을 제1 저장 영역에 저장된 오디오 데이터를 출력할 오디오 출력 장치로 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 제1 저장 영역에 저장된 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하기 위한 제어 신호를 제2 프로세서(520)에 전달할 수 있다.
일 실시예에 따른 커널 모듈(518)은 예를 들면, 시스템 리소스 매니저(미도시) 및/또는 디바이스 드라이버(미도시)를 포함할 수 있다. 시스템 리소스 매니저는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버는, 예를 들면, 블루투스 드라이버, 메모리 드라이버, USB 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다.
일 실시 예에 따른 제2 프로세서(520)는 제1 프로세서(510)(예: HAL 모듈(516))로부터 제1 저장 영역에 저장된 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하도록 하는 제어 신호를 수신할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)를 획득하고, 적어도 하나의 믹서(524-1, 524-2) 및/또는 적어도 하나의 SRC 모듈(528-1~528-4)를 이용하여 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)가 오디오 출력 모듈(255)에서 지원되는 포맷을 가지도록 오디오 데이터(522-1~522-4)의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, 믹싱 및/또는 SRC 처리된 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하도록 제어할 수 있다.
도 5b는 일 실시예에 따른 음원 분리 재생 기능이 비활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 통신 모듈을 통해 제1 외부 전자 장치로 전송하는 동작을 설명하기 위한 도면이다.
도 5b를 참조하면, 일 실시 예에 따른 제1 프로세서(510)의 HAL 모듈(516)은 음원 분리 재생 기능이 비활성화된 상태에서 상기 획득된 오디오 데이터를 메모리(230)의 제1 저장 영역(예: 제1 PCM 데이터 버퍼)에 저장하고 제1 저장 영역에 저장된 오디오 데이터를 출력할 오디오 출력 장치를 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 비활성화된 상태에서 사용자에 의해 지정되거나 이전에 이용했던 오디오 출력 장치가 제1 외부 전자 장치(204)인 경우 제1 외부 전자 장치(204)를 제1 저장 영역에 저장된 오디오 데이터를 출력할 오디오 출력 장치로 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 제1 저장 영역에 저장된 오디오 데이터를 제1 외부 전자 장치(204)를 통해 출력하기 위한 제어 신호를 제2 프로세서(520)에 전달할 수 있다.
일 실시 예에 따른 제2 프로세서(520)는 제1 프로세서(510)(예: HAL 모듈(516))로부터 제1 저장 영역에 저장된 오디오 데이터를 제1 외부 전자 장치(204)를 통해 출력하도록 하는 제어 신호를 수신할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)를 획득하고, 적어도 하나의 믹서(524-1, 524-2) 및/또는 적어도 하나의 SRC 모듈(528-1~528-4)를 이용하여 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 저장 영역에 저장된 오디오 데이터(522-1~522-4)가 제1 외부 전자 장치(204)에서 지원되는 포맷을 가지도록 오디오 데이터(522-1~522-4)의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, 믹싱 및/또는 SRC 처리된 오디오 데이터를 통신 데이터 변환 모듈(529)을 통해 무선 통신 데이터로 변환하여 통신 모듈(290)을 통해 제1 외부 전자 장치(204)로 전송되도록 제어할 수 있다.
도 5c는 일 실시예에 따른 음원 분리 재생 기능이 활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 분리하여 오디오 출력 모듈과 제1 외부 전자 장치에 출력하는 동작을 설명하기 위한 도면이다.
도 5c를 참조하면, 일 실시예에 따른 제1 프로세서(510)의 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태를 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태에서 App #0 내지 App #4(512-1~512-5)의 어플리케이션들 각각에 대응된 음원들 중 App #0 내지 App #2의 어플리케이션들(512-1~512-3)의 음원들을 출력할 오디오 출력 장치로 전자 장치(201)가 지정되고, App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들을 출력할 오디오 출력 장치로 제1 외부 전자 장치(204)가 지정된 것을 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태에서 프레임워크 모듈(514)에 의해 획득된 오디오 데이터 중 App #0 내지 App #2의 어플리케이션들(512-1~512-3)의 음원들에 기반한 제1 오디오 데이터를 메모리(230)의 제1 저장 영역(예: 제1 PCM 데이터 버퍼)에 저장하고, App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들에 기반한 제2 오디오 데이터를 제2 저장 영역(예: 제2 PCM 데이터 버퍼)에 저장할 수 있다.
일 실시 예에 따른 HAL 모듈(516)은 제1 저장 영역에 저장된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하고, 제2 저장 영역에 저장된 제2 오디오 데이터를 제1 외부 전자 장치(204)에 전송하기 위한 제어 신호를 제2 프로세서(520)에 전송할 수 있다.
일 실시 예에 따른 제2 프로세서(520)는 제1 프로세서(510)(예: HAL 모듈(516))로부터 제1 저장 영역에 저장된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하고, 제2 저장 영역에 저장된 제2 오디오 데이터를 제1 외부 전자 장치(204)에 전송하기 위한 제어 신호를 제2 프로세서(520)에 전송하도록 하는 제어 신호를 수신할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)를 획득하고, 적어도 하나의 믹서(524-1, 524-2) 및/또는 적어도 하나의 SRC 모듈(528-1~528-3)을 이용하여 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)가 오디오 출력 모듈(255)에서 지원되는 포맷을 가지도록 제1 오디오 데이터(522-1~522-4)의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, 믹싱 및/또는 SRC 처리된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력되도록 제어할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제2 저장 영역에 저장된 제2 오디오 데이터(522-5)를 획득하고, 적어도 하나의 SRC 모듈(528-4)을 이용하여 제2 저장 영역에 저장된 제2 오디오 데이터(522-5)가 제1 외부 전자 장치(204)에서 지원되는 포맷을 가지도록 제2 오디오 데이터(522-5)의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, SRC 처리된 제2 오디오 데이터(522-5)를 통신 데이터 변환 모듈(529)을 통해 무선 통신 데이터로 변환하여 통신 모듈(290)을 통해 제1 외부 전자 장치(204)로 전송되도록 제어할 수 있다.
일 실시 예에 따른 제2 프로세서(520)는 제2 저장 영역에 대응하는 블루투스 통신용 PCM 버퍼를 할당하고 블루투스 통신용 PCM 버퍼를 이용하여 제2 오디오 데이터(552-5)에 대응된 PCM 데이터를 처리할 수 있다.
도 5d는 일 실시예에 따른 음원 분리 재생 기능이 활성화된 상태에서 적어도 하나의 프로세서가 오디오 데이터를 분리하여 오디오 출력 모듈과 제1 외부 전자 장치에 출력 시 HAL에서 SRC 처리를 수행하는 동작을 설명하기 위한 도면이다.
도 5d를 참조하면, 일 실시예에 따른 제1 프로세서(510)의 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태를 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태에서 App #0 내지 App #4(512-1~512-5)의 어플리케이션들 각각에 대응된 음원들 중 App #0 내지 App #2의 어플리케이션들(512-1~512-3)의 음원들을 출력할 오디오 출력 장치로 오디오 출력 모듈(255)이 지정되고, App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들을 출력할 오디오 출력 장치로 제1 외부 전자 장치(204)가 지정된 것을 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태에서 프레임워크 모듈(514)에 의해 획득된 오디오 데이터 중 App #0 내지 App #2의 어플리케이션들(512-1~512-3)의 음원들에 기반한 제1 오디오 데이터를 메모리(230)의 제1 저장 영역(예: 제1 PCM 데이터 버퍼)에 저장할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 음원 분리 재생 기능이 활성화된 상태에서 프레임워크 모듈(514)에 의해 획득된 오디오 데이터 중 App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들에 기반한 제2 오디오 데이터에 대해 HAL 모듈(516)의 SRC 모듈(518-1)을 이용하여 SRC 처리를 수행할지 여부를 식별할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들에 기반한 제2 오디오 데이터에 대해 HAL 모듈(516)의 SRC 모듈(518-1)을 이용하도록 설정된 경우 제2 프로세서(520) 대신 HAL 모듈(516)의 SRC 모듈(518-1)을 이용하여 App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들에 기반한 제2 오디오 데이터의 SRC 처리를 수행할 수 있다. 일 실시 예에 따른 HAL 모듈(516)은 App #3 및 App #4의 어플리케이션들(512-4, 512-5)의 음원들에 기반한 제2 오디오 데이터의 SRC 처리가 필요하지 않는 경우 SRC 처리 동작을 생략할 수도 있다. 일 실시 예에 따른 HAL 모듈(516)은 SRC 처리된 제2 오디오 데이터를 메모리(230)의 제2 저장 영역(예: 제2 PCM 데이터 버퍼)에 저장할 수 있다.
일 실시 예에 따른 HAL 모듈(516)은 제1 저장 영역에 저장된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하고, 제2 저장 영역에 저장된 제2 오디오 데이터를 제1 외부 전자 장치(204)에 전송하기 위한 제어 신호를 제2 프로세서(520)에 전송할 수 있다.
일 실시 예에 따른 제2 프로세서(520)는 제1 프로세서(510)(예: HAL 모듈(516))로부터 제1 저장 영역에 저장된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력하고, 제2 저장 영역에 저장된 제2 오디오 데이터를 제1 외부 전자 장치(204)에 전송하기 위한 제어 신호를 제2 프로세서(520)에 전송하도록 하는 제어 신호를 수신할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)를 획득하고, 적어도 하나의 믹서(514-1, 514-2) 및/또는 적어도 하나의 SRC 모듈(528-1~528-3)을 이용하여 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)의 주파수와 비트를 변환하는 믹싱 처리 및/또는 제1 저장 영역에 저장된 제1 오디오 데이터(522-1~522-4)가 오디오 출력 모듈(255)에서 지원되는 포맷을 가지도록 제1 오디오 데이터(522-1~522-4)의 샘플링 레이트를 리샘플링하는 SRC 처리를 수행하고, 믹싱 및/또는 SRC 처리된 제1 오디오 데이터를 오디오 출력 모듈(255)을 통해 출력되도록 제어할 수 있다. 일 실시 예에 따른 제2 프로세서(520)는 제2 저장 영역에 저장된 SRC 처리된 제2 오디오 데이터(522-5)를 획득하고, SRC 처리된 제2 오디오 데이터(522-5)를 통신 데이터 변환 모듈(529)을 통해 무선 통신 데이터로 변환하여 통신 모듈(290)을 통해 제1 외부 전자 장치(204)로 전송되도록 제어할 수 있다.
본 문서에 개시된 다양한 실시 예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 개시의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 개시의 다양한 실시 예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나,""A, B 또는 C," "A, B 및 C 중 적어도 하나,"및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 개시의 다양한 실시 예는 기기(machine)(예: 전자 장치(101))에 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시 예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
일 실시 예에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 음원 재생 요청을 식별하는 동작, 상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작, 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리의 상기 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈을 통해 출력하는 동작, 및 상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치이면 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하는 동작을 포함한다.
본 명세서와 도면에 도시되고 설명된 실시예들은 단지 본 발명의 이해를 돕기 위해 제공되는 것일 뿐, 본 발명이 이에 한정되거나 이에 한정되어서는 안 된다. 당업자는 다음의 청구범위에 의해 정의된 본 개시의 범위를 벗어나지 않고 실시예에 대한 형태 또는 세부사항의 다양한 변경이 이루어질 수 있음을 이해해야 한다.

Claims (15)

  1. 전자 장치(101, 201)에 있어서,
    출력 모듈(255, 278);
    통신 모듈(190, 290);
    명령들을 저장하는 메모리(130, 230); 및
    적어도 하나의 프로세서(120, 220)를 포함하고,
    상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    음원 재생 요청을 식별하고,
    상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하고,
    상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 상기 출력 모듈을 통해 출력하고, 및
    상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 상기 제1 외부 전자 장치로 전송하도록 설정된 전자 장치.
  2. 제1항에 있어서,
    상기 출력 모듈(255, 278)은 오디오 출력 모듈(255) 또는 USB(universal serial bus) 출력 모듈(278)을 포함하는 전자 장치.
  3. 제1항 또는 제2항에 있어서,
    상기 명령들은, 상기 적어도 하나의 프로세서(220)에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 음원 분리 재생 기능이 활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 상기 전자 장치 또는 상기 제1 외부 전자 장치로 식별하도록 더 설정된 전자 장치.
  4. 제1항 내지 제3항 중 어느 한 항에 있어서,
    상기 명령들은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 음원 분리 재생 기능이 비활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 이전에 이용했던 오디오 출력 장치로 식별하도록 더 설정된 전자 장치.
  5. 제1항 내지 제4항 중 어느 한 항에 있어서,
    상기 적어도 하나의 프로세서는 제1 프로세서(510) 및 제2 프로세서(520)를 포함하고,
    상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 상기 메모리의 제1 저장 영역에 저장하고, 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 재생 요청된 음원에 대응하여 획득된 오디오 데이터를 상기 제1 저장 영역에 저장하도록 설정되고,
    상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 음원 분리 재생 기능이 활성화된 상태에서, 상기 제1 저장 영역에 저장된 상기 제1 오디오 데이터에 처리하여 상기 출력 모듈을 통해 출력하고, 상기 제2 저장 영역에 저장된 상기 제2 오디오 데이터를 처리하여 무선 통신 데이터로 변환하고, 상기 변환된 무선 통신 데이터를 상기 통신 모듈을 통해 상기 제1 외부 전자 장치로 전송하고, 상기 음원 분리 재생 기능이 비활성화된 상태에서 상기 제1 저장 영역에 저장된 오디오 데이터를 처리하여 상기 이전에 이용했던 오디오 출력 장치로 출력하도록 설정되고, 및
    상기 제1 프로세서는 CPU(center processing unit)를 포함하고, 상기 제2 프로세서는 오디오 서브시스템(audio subsystem)을 포함하는 전자 장치.
  6. 제1항 내지 제5항 중 어느 한 항에 있어서,
    상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 제1 오디오 데이터에 대한 처리 시 상기 제1 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및 상기 제1 오디오 데이터의 샘플링 레이트를 상기 출력 모듈에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 처리를 수행하도록 더 설정된 전자 장치.
  7. 제1항 내지 제6항 중 어느 한 항에 있어서,
    상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 제2 오디오 데이터에 대한 처리 시 상기 제2 오디오 데이터의 주파수와 비트를 변환하는 믹싱 처리 및 상기 제2 오디오 데이터의 샘플링 레이트를 상기 제1 외부 전자 장치에 대응된 샘플링 레이트로 컨버팅하여 리샘플링하는 SRC(sample rate converting) 처리를 수행하도록 더 설정된 전자 장치.
  8. 제1항 내지 제7항 중 어느 한 항에 있어서,
    상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 제2 오디오 데이터에 대한 SRC 처리를 수행하도록 설정된 경우 상기 제2 오디오 데이터에 대한 SRC 처리를 수행하고 SRC 처리된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하도록 더 설정된 전자 장치.
  9. 제1항 내지 제8항 중 어느 한 항에 있어서,
    상기 명령들은, 상기 제1 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    상기 제2 오디오 데이터에 대한 SRC 처리 필요 여부를 식별하고 상기 제2 오디오 데이터에 대한 SRC 처리가 필요하지 않은 경우 상기 제2 오디오 데이터에 대한 SRC 처리 과정을 수행하지 않도록 더 설정된 전자 장치.
  10. 제1항 내지 제9항 중 어느 한 항에 있어서,
    상기 제1 오디오 데이터 및 상기 제2 오디오 데이터는 PCM 데이터를 포함하고, 및
    상기 명령들은, 상기 제2 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 제1 외부 전자 장치가 상기 전자 장치와 블루투스 통신을 통해 연결되는 장치이면 상기 제2 저장 영역에 대응하는 블루투스 통신용 PCM 버퍼를 할당하고, 상기 블루투스 통신용 PCM 버퍼에 상기 제2 오디오 데이터에 대응하는 PCM 데이터를 저장하도록 더 설정된 전자 장치.
  11. 전자 장치(101, 201)에서 오디오 데이터 출력 방법에 있어서,
    음원 재생 요청을 식별하는 동작(412);
    상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작(414);
    상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리(130, 230)의 제1 저장 영역에 저장하고(424), 상기 제1 오디오 데이터를 출력 모듈(255, 278)을 통해 출력하는 동작(426); 및
    상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고(430), 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여(432) 통신 모듈(190, 290)을 통해 상기 제1 외부 전자 장치로 전송하는 동작을 포함하는 방법.
  12. 제11항에 있어서,
    상기 출력 모듈은 오디오 출력 모듈 또는 USB(universal serial bus) 출력 모듈을 포함하는 방법.
  13. 제11항 또는 제12항에 있어서,
    상기 음원 분리 재생 기능이 활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 상기 전자 장치 또는 상기 제1 외부 전자 장치로 식별하는 동작을 더 포함하는 방법.
  14. 제11항 내지 제13항 중 어느 한 항에 있어서,
    상기 음원 분리 재생 기능이 비활성화된 상태에 기반하여 상기 지정된 오디오 출력 장치를 이전에 이용했던 오디오 출력 장치로 식별하는 동작을 더 포함하는 방법.
  15. 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서,
    상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은,
    음원 재생 요청을 식별하는 동작;
    상기 음원 재생 요청에 기반하여 음원 분리 재생 기능이 활성화된 상태를 식별하는 동작;
    상기 음원 분리 재생 기능이 활성화된 상태에서 기반하여, 상기 재생 요청된 음원에 대한 지정된 오디오 출력 장치가 상기 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제1 오디오 데이터를 메모리(130, 230)의 제1 저장 영역에 저장하고, 상기 제1 오디오 데이터를 출력 모듈(255, 278)을 통해 출력하는 동작; 및
    상기 음원 분리 재생 기능이 활성화된 상태에서 상기 재생 요청된 음원에 대한 상기 지정된 오디오 출력 장치가 상기 전자 장치와 무선 통신 가능한 제1 외부 전자 장치인 것에 기반하여 상기 재생 요청된 음원에 대응하여 획득된 제2 오디오 데이터를 상기 메모리의 제2 저장 영역에 저장하고, 상기 제2 오디오 데이터를 무선 통신 데이터로 변환하여 통신 모듈(190, 290)을 통해 상기 제1 외부 전자 장치로 전송하는 동작을 포함하는 저장 매체.
PCT/KR2023/020097 2022-12-08 2023-12-07 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법 WO2024123104A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP23814348.1A EP4407608A1 (en) 2022-12-08 2023-12-07 Electronic device and method for outputting audio data from electronic device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20220170607 2022-12-08
KR10-2022-0170607 2022-12-08
KR1020230001619A KR20240085800A (ko) 2022-12-08 2023-01-05 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법
KR10-2023-0001619 2023-01-05

Publications (1)

Publication Number Publication Date
WO2024123104A1 true WO2024123104A1 (ko) 2024-06-13

Family

ID=89168002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/020097 WO2024123104A1 (ko) 2022-12-08 2023-12-07 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법

Country Status (2)

Country Link
EP (1) EP4407608A1 (ko)
WO (1) WO2024123104A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050095187A (ko) * 2004-03-25 2005-09-29 주식회사 팬택 음원 추출 기능을 갖는 이어마이크
JP2008205822A (ja) * 2007-02-20 2008-09-04 Yamaha Corp スピーカアレイ装置および信号処理方法
KR20110062912A (ko) * 2009-12-04 2011-06-10 한국전자통신연구원 멀티 채널 오디오 재생 장치 및 시스템
KR20170062853A (ko) * 2015-11-30 2017-06-08 삼성전자주식회사 전자 장치 및 그의 동작 방법
KR20220061537A (ko) * 2020-11-06 2022-05-13 삼성전자주식회사 전자 장치 및 복수의 오디오 출력 장치와의 연결에 따른 오디오 출력 모드 설정 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050095187A (ko) * 2004-03-25 2005-09-29 주식회사 팬택 음원 추출 기능을 갖는 이어마이크
JP2008205822A (ja) * 2007-02-20 2008-09-04 Yamaha Corp スピーカアレイ装置および信号処理方法
KR20110062912A (ko) * 2009-12-04 2011-06-10 한국전자통신연구원 멀티 채널 오디오 재생 장치 및 시스템
KR20170062853A (ko) * 2015-11-30 2017-06-08 삼성전자주식회사 전자 장치 및 그의 동작 방법
KR20220061537A (ko) * 2020-11-06 2022-05-13 삼성전자주식회사 전자 장치 및 복수의 오디오 출력 장치와의 연결에 따른 오디오 출력 모드 설정 방법

Also Published As

Publication number Publication date
EP4407608A1 (en) 2024-07-31

Similar Documents

Publication Publication Date Title
WO2021075786A1 (en) Electronic device and method of processing pop-up window using multi-window thereof
WO2022098190A1 (ko) 전자 장치 및 복수의 오디오 출력 장치와의 연결에 따른 오디오 출력 모드 설정 방법
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2024123104A1 (ko) 전자 장치 및 전자 장치에서 오디오 데이터 출력 방법
WO2022030771A1 (ko) 전자 장치 및 그의 오디오 데이터를 출력하는 방법
WO2022065707A1 (ko) 외부 전자 장치와의 직접 통신을 위한 전자 장치 및 그의 동작 방법
WO2022065845A1 (ko) 입력 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022092609A1 (ko) 오디오 데이터 처리 방법 및 그 장치
WO2024111872A1 (ko) 무선 환경 내에서 키를 획득하는 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2022025375A1 (ko) 오디오의 채널의 수를 변환하는 전자 장치 및 전자 장치의 동작 방법
WO2023219286A1 (ko) 데이터 전송 순서 조정 방법 및 이를 수행하는 장치
WO2023075153A1 (ko) 통신 모듈을 식별하기 위한 구성 핀을 이용하여 안테나 장치를 제어하는 전자 장치 및 방법
WO2022203179A1 (ko) 오디오 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022098004A1 (ko) 통신 연결을 통하여 데이터를 전송하는 전자 장치와 이의 동작 방법
WO2024029774A1 (ko) 전자 장치의 충전을 위한 소스 캐퍼빌리티를 결정하기 위한 장치 및 방법
WO2022220551A1 (ko) Usb 타입 c 연결 단자를 사용한 다중 연결 제어 방법을 제공하는 전자 장치 및 그의 동작 방법
WO2023058881A1 (ko) 데이터를 처리하는 전자 장치 및 그 방법
WO2024063307A1 (ko) 외부 전자 장치를 제어하는 방법 및 전자 장치
WO2024029688A1 (ko) 무선 환경 내에서의 오디오 스트리밍을 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2022234984A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2024049170A1 (ko) 전력 모드를 관리하는 전자 장치 및 방법
WO2022250246A1 (ko) 움직이는 객체에 대한 효과를 이미지에 적용하는 전자 장치 및 그 작동 방법
WO2022149706A1 (ko) 오디오 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022114648A1 (ko) 배경 화면을 설정하기 위한 전자 장치 및 그의 동작 방법
WO2022163907A1 (ko) 전자 장치 및 이의 제어 방법

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2023814348

Country of ref document: EP

Effective date: 20231208