Abstract:
An audio output device according to an embodiment may include: a short-range communication module configured to perform short-range wireless communication; a memory configured to buffer audio data received from an external electronic device through the short-range communication module; an audio output unit configured to output the audio data; and a processor. The processor may be configured to: receive operation mode information related to a function being executed in the external electronic device from the external electronic device through the short-range communication module; configure a reference period corresponding to an amount of the audio data buffered in the memory based on the operation mode information; and determine a playback speed of the audio data to be output through the audio output unit by comparing the amount of the buffered audio data with the configured reference period. In addition, various other embodiments may be possible.
Abstract:
An electronic device includes a memory, a processor, and a communication interface configured to transmit audio packets to at least one sink device where the processor may determine bit rates of the audio packets based on at least one of a wireless transmission environment in which the audio packets are transmitted or a type of each of the audio packets, encode a broadcasting audio signal to the audio packets based on the bit rates of the audio packets, and repeatedly transmit the audio packets a predetermined number of times to the at least one sink device through a broadcasting channel.
Abstract:
An electronic device includes a memory configured to store computer-executable instructions; and a processor configured to execute the computer-executable instructions to: based on a result of analyzing a transmission environment of a wireless communication channel through which an audio signal is transmitted, determine a bitrate of the audio signal, encode the audio signal into packets according to the bitrate, the packets including a main packet for audio streaming and a plurality of extension packets for sound quality improvement, based on at least one of a type of the packets and the result of analyzing the transmission environment, determine a packet type indicating a modulation scheme and number of time slots used for transmitting each packet of the packets, and configure and transmit audio packets reflecting the packet type for each packet of the packets.
Abstract:
An electronic device and a sound signal processing method for improving sound perception of a hearing-impaired user are provided. The electronic device of the present disclosure includes a sound input unit comprising sound input circuitry configured to detect a sound and to convert the sound into a first sound signal and a processor which is electrically connected to the sound input unit, the processor configured to receive the first sound signal and to perform a predetermined signal processing on the first sound signal to generate a second sound signal, wherein the signal processing includes detecting a frequency band with a level equal to or greater than a predetermined value in a first frequency band above a predetermined cutoff frequency of the first sound signal, generating harmonic signals including a plurality of frequency bins that are identical in level with a signal in the detected frequency band, and overlapping the harmonic signals with the first sound signal.
Abstract:
An example electronic device includes a camera, a communication circuit, a memory, and at least one processor. The memory stores instructions that, when executed by the at least one processor, cause the electronic device to obtain image data using the camera, receive audio data recorded by an external electronic device and information on first audio latency from the external electronic device, determine a second audio latency required to process the received audio data by the at least one processor, determine a third audio latency based on the first audio latency and the second audio latency, determine a difference between a preset initial audio latency and the third audio latency, synchronize the audio data with the image data based at least in part on the difference, and generate an image content including the image data and the audio data based at least in part on the synchronization result.
Abstract:
An electronic device includes a communication circuit, a speaker, and a processor. The processor is configured to identify a bitrate of a first audio bitstream received via the communication circuit from an external electronic device. The processor is configured to obtain, in response to the bitrate lower than a reference value, an audio signal by executing a bandwidth extension (BWE) for the first audio bitstream based on at least one coding parameter obtained from a second audio bitstream previously received via the communication circuit from the external electronic device before the first audio bitstream. The processor is configured to obtain, in response to the bitrate higher than or equal to the reference value, the audio signal for the first audio bitstream without executing the BWE. The processor is configured to output, based on the audio signal, audio via the speaker.
Abstract:
An electronic device and a method are provided for recording audio data acquired from multiple devices. The electronic device includes a microphone, a communication module, a memory, and a processor configured to establish a first communication link with a first external electronic device through the communication module, establish a second communication link with a second external electronic device through the communication module, acquire a microphone input signal by operating the microphone based on receiving a recording request from the first external electronic device, monitor a transmission environment with the communication module or the second external electronic device, determine a bit rate of audio, based on the transmission environment, encode the audio, based on the determined bit rate, and transmit the encoded audio data to the first external electronic device.
Abstract:
According to various embodiments, an electronic device may include: a transceiver; and at least one processor, wherein the at least one processor is configured to: control the electronic device to establish a wireless communication connection between the electronic device and an external electronic device, generate, by encoding a first frame included in an audio stream, multiple pieces of compressed data corresponding to the first frame, transmit a first packet, including main compressed data corresponding to the first frame from among the multiple pieces of compressed data, to the external electronic device via the transceiver based on the wireless communication connection, and based on a first signal being received from the external electronic device via the transceiver based on the wireless communication connection within a specified time after transmission of the first packet, transmit a second packet, including first sub-compressed data corresponding to the first frame from among the multiple pieces of compressed data, to the external electronic device via the transceiver based on the wireless communication connection.
Abstract:
An electronic device is provided. The electronic device includes a communication circuit, a speaker, a microphone, a memory, and a processor. The processor is configured to determine whether there is auditory data stored in the memory of the electronic device when an external electronic device is connected thereto through the communication circuit, send a request for auditory data to the external electronic device when there is no auditory data stored in the memory, receive the auditory data from the external electronic device, correct data, at the electronic device, about the sound received through the microphone using the auditory data, receive corrected audio data from the external electronic device, synthesize the corrected data about the sound and the corrected audio data received from the external device to obtain first synthesized data, and output a first new sound corresponding to the first synthesized data through the speaker.
Abstract:
A method and device for processing an audio output in consideration of the hearing characteristics of a user and the characteristics of an audio device connected to an electronic device is provided. The electronic device includes a user interface; an audio interface configured to establish a connection to an audio device, a memory, and at least one processor electrically connected to the user interface, the memory, and the audio interface, wherein the at least one processor is configured to acquire at least one of identification information of the audio device and characteristics of the audio device, select audio adaptation information, change an audio signal, at least partially based on the audio adaptation information, and transmit the changed audio signal to the audio device.