# US 2024/0201944 A1 · Sound recording method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0201944 A1
- Document ID: US20240201944A1
- Status: Published application
- Kind: A1
- Application number: 17/909,382
- Filed: 2022-04-21
- Published: 2024-06-20
- Earliest claimed: 2021-06-15
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Xiao YANG; Jianyong XUAN; Zhenyi LIU; Yuanyou WU; Shengwei ZHANG; Jianfei CHU; Chienfeng YEH
- Web page: https://patentgrep.com/patent/US20240201944A1

## CPC

- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- H04M 1/6008: {in the transmitter circuit}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/162: {Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs}
- H04M 1/72403: with means for local support of applications that increase the functionality
- H04M 1/72469: for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Embodiments of the present invention provide a sound recording method and apparatus. The method includes: displaying, by a terminal device, a first interface, where the first interface includes a first control, and the first control includes: a first option used for selecting a recording whose output specification is sound quality with a first bit width, and a second option used for selecting a recording whose output specification is sound quality of a second bit width; and processing, by the terminal device in a case that the terminal device receives an operation of selecting the first option, a recording obtained by a microphone, to obtain a recording with the first bit width; or processing, by the terminal device in a case that the terminal device receives an operation of selecting the second option, a recording obtained by a microphone, to obtain a recording with the second bit width.

## Claims

### Claim at position 1

-17. (canceled)

### Claim 18

A sound recording method, wherein the method is applied to an electronic device, the electronic device comprises a microphone, and the method comprises:
displaying a first interface of a sound recording application, wherein the first interface comprises a first control, a search input box and a plurality of recording files, wherein the first control comprises a first option and a second option;
receiving an operation performed on the first control;
selecting the first option or the second option in response to receiving the operation performed on the first control;
receiving an operation performed on a recording enabling control;
processing a sound signal obtained by the microphone in response to receiving the operation performed on the recording enabling control;
obtaining a first recording file, wherein when the first control being selected, a bit width of the first recording file is a first bit width; when the second control being selected, the bit width of the first recording file is a second bit width.

### Claim 19 (depends on 18)

The method according to claim 18, wherein a recording time, a recording duration, and a recording playback control corresponding to each recording file are displayed around the each recording file.

### Claim 20 (depends on 18)

The method according to claim 18, wherein the method further comprises:
displaying a second interface of the sound recording application, wherein the second interface comprises a second control;
receiving an operation performed on the second control;
displaying a third interface in response to receiving the operation performed on the second control, wherein the third interface comprises a third control;
receiving an operation performed on the third control; and
displaying the first interface of the sound recording application in response to receiving an operation performed on the third control.

### Claim 21 (depends on 20)

The method according to claim 20, wherein the third interface further comprises: a fifth control configured to implement a speech-to-text service, a sixth control configured to implement sorting of recording files, and a seventh control configured to view information about the sound recording application that are displayed in the form of a list.

### Claim 22 (depends on 19)

The method according to claim 19, wherein the first interface further comprises a first identifier, wherein the first identifier is displayed around one of the recording file, and the first identifier is used for identifying a sound quality type of the recording file.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the method further comprises:
receiving an operation performed on the recording play back control;
displaying a fourth interface of the sound recording application in response to receiving the operation performed on the recording playback control, wherein the fourth interface comprises a pause control and a second identifier, the second identifier is used for identifying an audio type of the recording file, and the second identifier and the first identifier are different.

### Claim 24 (depends on 18)

The method according to claim 18, wherein the obtaining a first recording file comprises:
processing based on the second bit width, the sound signal obtained by the microphone, to obtain a processed first signal, wherein the second bit width is a bit width defaulted; and
converting the first signal into a signal corresponding to the first bit width, to obtain the first recording file with the first bit width.

### Claim 25 (depends on 18)

The method according to claim 18, wherein the electronic device further comprises a CODEC, wherein the obtaining a first recording file comprises:
converting based on the second bit width, the sound signal obtained by the microphone into a signal corresponding to the first bit width in the CODEC; and
processing the signal corresponding to the first bit width, to obtain the first recording file with the first bit width.

### Claim 26 (depends on 18)

The method according to claim 18, wherein the electronic device further comprises a CODEC, wherein the obtaining a first recording file comprises:
inputting based on the second bit width, the sound signal obtained by the microphone into the CODEC, to obtain a digital signal;
calculating first amplitude information of the digital signal;
obtaining first analog gain information corresponding to the first amplitude information; and
performing, based on the first analog gain information, analog gain adjustment on the digital signal, to obtain the first recording file.

### Claim 27 (depends on 26)

The method according to claim 26, wherein the calculating first amplitude information of the digital signal comprises:
converting, using fast Fourier transformation, the digital signal into a frequency domain signal;
filtering the frequency domain signal, to obtain a filtered signal;
calculating an amplitude spectrum corresponding to the filtered signal; and
calculating, based on a first time length, the first amplitude information of the digital signal.

### Claim 28 (depends on 18)

The method according to claim 18, wherein the electronic device further comprises a CODEC, wherein the obtaining a first recording file comprises:
inputting, based on the second bit width, the sound signal obtained by the microphone into the CODEC, to obtain a digital signal;
determining, a type of the digital signal based on long-term power of the digital signal and a quantity of sampling points in the digital signal that exceed a first amplitude threshold or a second amplitude threshold;
determining second analog gain information corresponding to the type of the digital signal;
processing, based on the second analog gain information, the sound signal obtained by the microphone, to obtain a digital signal after analog gain processing;
determining digital gain information corresponding to the digital signal according to a difference between the second analog gain information and initial analog gain information of the digital signal; and
performing, based on the digital gain information, the digital signal after analog gain processing, to obtain the first recording file.

### Claim 29 (depends on 28)

The method according to claim 28, wherein the type of the digital signal comprises a first type of digital signal, a second type of digital signal, and a third type of digital signal; the first type of digital signal is a signal that meets a first condition; the second type of digital signal is a signal that meets a second condition; the third type of digital signal is a signal that does not meet the second condition; the first condition is that a quantity of sampling points greater than the first amplitude threshold in the digital signal is greater than a first count threshold; and the second condition is that a quantity of sampling points greater than the second amplitude threshold in the digital signal is greater than a second count threshold, and the long-term power of the digital signal is greater than a first long-term power threshold.

### Claim 30 (depends on 18)

The method according to claim 18, wherein the first bit width is 16-bit, and the second bit width is 24-bit or 32-bit.

### Claim 31 (depends on 30)

The method according to claim 30, wherein the recording file with a 16-bit is m4a format, and the recording file with a 24-bit or 32-bit is WAV format.

### Claim 32

An electronic device, comprising:
a microphone;
a non-transitory memory comprising instructions; and
a processor coupled to the non-transitory memory, the instructions being executed by the processor to cause the electronic device to:
display a first interface of a sound recording application, wherein the first interface comprises a first control, a search input box and a plurality of recording files, wherein the first control comprises a first option and a second option;
receive an operation performed on the first control;
select the first option or the second option in response to receiving the operation performed on the first control;
receive an operation performed on a recording enabling control;
process a sound signal obtained by the microphone in response to receiving the operation performed on the recording enabling control;
obtain a first recording file, wherein when the first control being selected, a bit width of the first recording file is a first bit width; when the second control being selected, the bit width of the first recording file is a second bit width.

### Claim 33 (depends on 32)

The electronic device according to claim 32, the instructions further cause the electronic device to:
displaying a second interface of the sound recording application, wherein the second interface comprises a second control;
receiving an operation performed on the second control;
displaying a third interface in response to receiving the operation performed on the second control, wherein the third interface comprises a third control;
receiving an operation performed on the third control; and
displaying the first interface of the sound recording application in response to receiving an operation performed on the third control.

### Claim 34 (depends on 32)

The electronic device according to claim 32, wherein a recording time, a recording duration, and a recording playback control corresponding to each recording file are displayed around the each recording file.

### Claim 35 (depends on 32)

The electronic device according to claim 32, further comprising a main chip and a CODEC, the main chip comprises a digital signal processing module, the CODEC comprises a programmable gain amplifier and an analog-to-digital converter.

### Claim 36 (depends on 32)

The electronic device according to claim 32, wherein the recording file with a 16-bit is m4a format, and the recording file with a 24-bit or 32-bit is WAV format.

### Claim 37

A computer program product, the computer program product being embodied in a non-transitory computer readable medium and comprising computer instructions for:
displaying a first interface of a sound recording application, wherein the first interface comprises a first control, a search input box and a plurality of recording files, wherein the first control comprises a first option and a second option;
receiving an operation performed on the first control;
selecting the first option or the second option in response to receiving the operation performed on the first control;
receiving an operation performed on a recording enabling control;
processing a sound signal obtained by the microphone in response to receiving the operation performed on the recording enabling control;
obtaining a first recording file, wherein when the first control being selected, a bit width of the first recording file is a first bit width; when the second control being selected, the bit width of the first recording file is a second bit width.
