IP Library Granted Patent US 11,536,796
Granted Patent B2
US 11,536,796 · App. 16/933,412 · Granted Dec 27, 2022

Sound source determining method and apparatus, and storage medium

Inventors: Hanhao You (Shenzhen, CN); Xiaobin Shen (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G01S3/8083A63F13/537G01S5/20G06F3/162A63F2300/306A63F2300/6072A63F2300/6081A63F2300/8076
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,536,796
App. No.
16/933,412
Granted
Dec 27, 2022
Kind
B2
Abstract

This application discloses a method and apparatus for determining characteristics of a sound source. The method may include: acquiring a first position of a first virtual role controlled by an application client in a virtual scene; detecting, in a sound source detection area associated with the first position, a second position of a sound source virtual object in the virtual scene; determining transparency of a position mark that matches the sound source virtual object, according to a sound source distance between the first position and the second position, the position mark identifying the second position of the sound source virtual object; and displaying, on an interaction interface of the application client, the position mark of the sound source virtual object according to the transparency.

Claims (80)

1. A method for determining characteristics of a sound source comprising:

acquiring a first position of a first virtual role controlled by an application client in a virtual scene;

detecting, in a sound source detection area associated with the first position, a second position of a sound source virtual object in the virtual scene;

determining transparency of a position mark that matches the sound source virtual object, according to a sound source distance between the first position and the second position, the position mark identifying the second position of the sound source virtual object;

in response to a plurality of sound source virtual objects being detected and located in different directions of the first virtual role, displaying, for each of the plurality of sound source virtual objects, a position mark of the each sound source virtual object according to transparency of the position mark of the each sound source virtual object on an interaction interface of the application client;

displaying a map on the interaction interface of the application client, the first position corresponding to a third position on the map; and

displaying the position mark of the sound source virtual object at a fourth position on the map, wherein the fourth position relative to the third position reflecting a direction of the second position relative to the first position.

2. The method of claim 1 , wherein determining the transparency of the position mark that matches the sound source virtual object comprises:

acquiring a detection radius of the sound source detection area that matches the sound source virtual object; and

determining the transparency according to a ratio of the sound source distance to the detection radius, wherein the transparency is decreased in response to the ratio decreasing and the transparency is increased in response to the ratio increasing.

3. The method of claim 2 , wherein acquiring the detection radius of the sound source detection area that matches the sound source virtual object comprises:

acquiring a sound source type of a sound made by the sound source virtual object and an environment identifier of an environment in which the sound source virtual object is located; and

determining the detection radius according to the sound source type and the environment identifier.

4. The method of claim 3 , wherein determining the detection radius according to the sound source type and the environment identifier comprises:

acquiring an initial detection radius corresponding to the sound source type, a frequency of a sound indicated by the sound source type being inversely proportional to the initial detection radius;

acquiring a sound triggering threshold associated with the environment identifier; and

decreasing the initial detection radius according to the sound triggering threshold, to obtain the detection radius.

5. The method of claim 1 , wherein displaying the position mark of the sound source virtual object according to the transparency comprises:

acquiring a sound source type of a sound made by the sound source virtual object; and

displaying the position mark of the sound source virtual object that matches the sound source type.

6. The method of claim 5 , wherein displaying the position mark of the sound source virtual object that matches the sound source type comprises:

displaying the position mark according to at least one of a color matching the sound source type, a shape matching the sound source type, or an identifier matching the sound source type.

7. The method of claim 5 , wherein displaying the position mark of the sound source virtual object that matches the sound source type comprises:

displaying the position mark of the sound source virtual object at the second position in a map displayed on the interaction interface of the application client or in a direction corresponding to the second position in a universal wheel displayed on the interaction interface of the application client.

8. The method of claim 5 , wherein displaying the position mark of the sound source virtual object that matches the sound source type comprises:

increasing a display range of the position mark in response to the sound source virtual object being equipped with a silencing apparatus.

9. The method of claim 1 , wherein displaying the position mark of the sound source virtual object according to the transparency comprises:

in response to a plurality of sound source virtual objects are detected and located in a same direction of the first virtual role, acquiring respective sound triggering start moments of each of the plurality of sound source virtual objects;

acquiring a triggering time interval between sound triggering start moments of two adjacent sound source virtual objects in the plurality of sound source virtual objects;

in response to the triggering time interval being greater than a first threshold:

determining transparencies of position marks that respectively matches each of the two adjacent sound source virtual objects, and

displaying, in sequence, position marks of the two adjacent sound source virtual objects according to the determined transparencies; and

in response to the triggering time interval being less than the first threshold:

selecting one of the two adjacent sound source virtual objects whose sound triggering start moment is later as a target sound source virtual object,

determining transparency of a position mark that matches the target sound source virtual object, and

displaying the position mark of the target sound source virtual object according to the determined transparency.

10. The method of claim 1 , wherein subsequent to acquiring the first position of the first virtual role, the method further comprises:

in response to a plurality of virtual objects that make sounds being detected and associated with a same virtual role in a sound source detection area associated with the first position, acquiring a sound triggering start moment of each of the plurality of virtual objects; and

determining one of the plurality of virtual objects as the sound source virtual object according to the sound triggering start moment.

11. The method of claim 10 , wherein the displaying the position mark of the sound source virtual object according to the transparency comprises:

acquiring a direction mark included in the position mark of the sound source virtual object, the direction mark indicating a moving direction of the sound source virtual object relative to the first virtual role at the sound triggering start moment; and

displaying the direction mark in a display cycle that matches the sound source virtual object.

12. The method of claim 1 , wherein prior to the displaying the position mark of the sound source virtual object according to the transparency, the method further comprises:

forbidding displaying the position mark of the sound source virtual object, in response to:

the second position of the sound source virtual object being in a designated position of the virtual scene, the designated position comprising a birth place of the sound source virtual object in the virtual scene,

the sound source virtual object being in a designated posture, the designated posture comprising a creeping state, or

the sound source virtual object and the first virtual role having the same camp mark.

13. The method of claim 1 , wherein displaying the position mark of the sound source virtual object comprises:

displaying the position mark of the sound source virtual object and a moving direction of the sound source virtual object in a mini-map displayed on the interaction interface of the application client.

14. An apparatus for determining characteristics of a sound source, comprising:

a memory operable to store program code; and

a processor operable to read the program code and configured to:

acquire a first position of a first virtual role controlled by an application client in a virtual scene;

detect, in a sound source detection area associated with the first position, a second position of a sound source virtual object in the virtual scene;

determine transparency of a position mark that matches the sound source virtual object, according to a sound source distance between the first position and the second position, the position mark identifying the second position of the sound source virtual object;

in response to a plurality of sound source virtual objects being detected and located in different directions of the first virtual role, display, for each of the plurality of sound source virtual objects, a position mark of the each sound source virtual object according to transparency of the position mark of the each sound source virtual object on an interaction interface of the application client;

display a map on the interaction interface of the application client, the first position corresponding to a third position on the map; and

display the position mark of the sound source virtual object at a fourth position on the map, wherein the fourth position relative to the third position reflecting a direction of the second position relative to the first position.

15. The apparatus of claim 14 , wherein the processor is configured to:

acquire a detection radius of the sound source detection area that matches the sound source virtual object; and

determine the transparency according to a ratio of the sound source distance to the detection radius, wherein the transparency is decreased in response to the ratio decreasing and the transparency is increased in response to the ratio increasing.

16. The apparatus of claim 15 , wherein the processor is configured to:

acquire a sound source type of a sound made by the sound source virtual object and an environment identifier of an environment in which the sound source virtual object is located; and

determine the detection radius according to the sound source type and the environment identifier.

17. The apparatus of claim 16 , wherein the processor is configured to:

acquire an initial detection radius corresponding to the sound source type, a frequency of a sound indicated by the sound source type being inversely proportional to the initial detection radius;

acquire a sound triggering threshold that matches the environment identifier; and

decrease the initial detection radius according to the sound triggering threshold, to obtain the detection radius.

18. The apparatus of claim 14 , wherein the processor is configured to:

acquire a sound source type of a sound made by the sound source virtual object; and

display the position mark of the sound source virtual object that matches the sound source type.

19. The apparatus of claim 18 , wherein the processor is configured to:

display the position mark according to at least one of a color matching the sound source type, a shape matching the sound source type, or an identifier matching the sound source type.

20. A non-transitory machine-readable media, having processor executable instructions stored thereon for causing a processor to:

acquire a first position of a first virtual role controlled by an application client in a virtual scene;

detect, in a sound source detection area associated with the first position, a second position of a sound source virtual object in the virtual scene;

determine transparency of a position mark that matches the sound source virtual object, according to a sound source distance between the first position and the second position, the position mark identifying the second position of the sound source virtual object;

in response to a plurality of sound source virtual objects being detected and located in different directions of the first virtual role, display, for each of the plurality of sound source virtual objects, a position mark of the each sound source virtual object according to transparency of the position mark of the each sound source virtual object on an interaction interface of the application client;

display a map on the interaction interface of the application client, the first position of the first virtual role corresponding to a third position on the map; and

display the position mark of the sound source virtual object at a fourth position on the map, wherein the fourth position relative to the third position reflecting a direction of the second position relative to the first position.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2022
From: YOU, HANHAO; SHEN, XIAOBIN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 061455/0293 →
Priority Claims (1)
CN 201810532413.2 · May 29, 2018 · national
Continuity (2)
Continuation PCTCN2019081259 · Apr 3, 2019
Related Publication 20200348387A1 · Nov 5, 2020