# US 2017/0287497 A1 · Method and apparatus for determining coding mode

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

- Number: US 2017/0287497 A1
- Document ID: US20170287497A1
- Status: Published application
- Kind: A1
- Application number: 15/629,375
- Filed: 2017-06-21
- Published: 2017-10-05
- Earliest claimed: 2008-07-09
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Ho-sang SUNG; Jie ZHAN; Ki-hyun CHOO
- Web page: https://patentgrep.com/patent/US20170287497A1

## CPC

- G10L 19/20: using sound class specific coding, hybrid encoders or object based coding
- G10L 19/18: Vocoders using multiple modes
- G10L 19/22: Mode decision, i.e. based on audio signal content versus external parameters
- G10L 25/78: Detection of presence or absence of voice signals (switching of direction of transmission by voice frequency in two-way loud-speaking telephone systems H04M9/10)
- G10L 25/81: for discriminating voice from music
- G10L 25/90: Pitch determination of speech signals
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Provided is a method and apparatus for determining a signal coding mode. The signal coding mode may be determined or changed according to whether a current frame corresponds to a silence period and by using a history of speech or music presence possibilities.

## Claims

### Claim 1

A coding mode determination method comprising:
determining a coding mode of a current frame, wherein the coding mode of the current frame is one a music coding mode and a speech coding mode;
obtaining signal characteristics obtained from a plurality of frames;
determining, performed by at least one processing device, whether to change the determined coding mode of the current frame, based on the signal characteristics and a parameter associated with frequent switching between the music coding mode and the speech coding mode;
changing the determined coding mode of the current frame to another mode which is one of the music coding mode and the speech coding mode, when it is determined to change the determined coding mode of the current frame;
encoding the current frame, according to either the determined coding mode when it is determined not to change the determined coding mode of the current frame or the corrected coding mode when it is determined to change the determined coding mode of the current frame; and
transmitting a bitstream including a result of the encoding, for reproduction of music or speech.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining of whether to change the determined coding mode comprises:
applying and accumulating a history, related to the signal characteristics; and
determining whether to change the determined coding mode based on the accumulated history.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining of whether to change the determined coding mode by using the accumulated history comprises determining whether to change the determined coding mode by comparing the accumulated history to a pre-set value.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
determining the coding mode of the current frame as a coding mode of a previous frame, when the current frame corresponds to a silence period.

### Claim 5 (depends on 4)

The method of claim 4 further comprising:
resetting parameters related to previous frames, when the current frame corresponds to the silence period.

### Claim 6

A coding mode determination apparatus comprising:
at least one processor configured to:
determine a coding mode of a current frame, wherein the coding mode of the current frame is one of a music coding mode and a speech coding mode;
obtain signal characteristics obtained from a plurality of frames;
determine whether to change the determined coding mode of the current frame, based on the signal characteristics and a parameter associated with frequent switching between the music coding mode and the speech coding mode;
change the determined coding mode of the current frame to another mode which is one of the music coding mode and the speech coding mode, when it is determined to change the determined coding mode of the current frame;
encode the current frame, according to either the determined coding mode when it is determined not to change the determined coding mode of the current frame or the corrected coding mode when it is determined to change the determined coding mode of the current frame; and
transmit a bitstream including a result of the encoding, for reproduction of music or speech.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the change determination unit applies and accumulates a history, related to the signal characteristics, and determines whether to change the determined coding mode based on the accumulated history.

### Claim 8

A coding mode determination method comprising:
determining a coding mode of a current frame, wherein the coding mode of the current frame is one of a music coding mode and a speech coding mode;
determining, performed by at least one processing device, whether to change the determined coding mode of the current frame, based on at least one of coding modes and signal characteristics, obtained from a plurality of frames, and a parameter associated with frequent switching between the music coding mode and the speech coding mode;
changing the determined coding mode of the current frame to another mode which is one of the music coding mode and the speech coding mode, when it is determined to change the determined coding mode of the current frame;
encoding the current frame, according to either the determined coding mode when it is determined not to change the determined coding mode of the current frame or the corrected coding mode when it is determined to change the determined coding mode of the current frame; and
transmitting a bitstream including a result of the encoding, for reproduction of music or speech.

### Claim 9 (depends on 8)

The method of claim 8 further comprising:
determining the coding mode of the current frame as a coding mode of a previous frame, when the current frame corresponds to a silence period.

### Claim 10 (depends on 9)

The method of claim 9 further comprising:
resetting parameters related to previous frames, when the current frame corresponds to the silence period.
