CN115334414A - Sound channel switching method, device, equipment and medium - Google Patents

Sound channel switching method, device, equipment and medium Download PDF

Info

Publication number
CN115334414A
CN115334414A CN202210969390.8A CN202210969390A CN115334414A CN 115334414 A CN115334414 A CN 115334414A CN 202210969390 A CN202210969390 A CN 202210969390A CN 115334414 A CN115334414 A CN 115334414A
Authority
CN
China
Prior art keywords
target
channel
sound
determining
switching
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210969390.8A
Other languages
Chinese (zh)
Inventor
罗志成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
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
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210969390.8A priority Critical patent/CN115334414A/en
Publication of CN115334414A publication Critical patent/CN115334414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S2400/00Details of stereophonic systems covered by H04S but not provided for in its groups
    • H04S2400/01Multi-channel, i.e. more than two input channels, sound reproduction with two speakers wherein the multi-channel information is substantially preserved

Abstract

The embodiment of the disclosure relates to a method, a device, equipment and a medium for switching sound channels, wherein the method comprises the following steps: in response to switching of a display direction of the display device, determining a target speaker to be channel-switched among a plurality of candidate speakers fixedly provided on the display device; determining a target sound channel of a target loudspeaker; and controlling the target loudspeaker to play the sound source corresponding to the target sound channel in response to the sound playing instruction. In the embodiment of the disclosure, the playing sound channels of the relevant speakers are adjusted based on the switching of the display direction of the display device, so that the stereo effect of sound playing is ensured, the target speakers with the switched sound channels are directly determined based on the switching of the display direction, the switching processing of the sound channels is only performed for the target speakers, and the sound channel switching efficiency is improved.

Description

Sound channel switching method, device, equipment and medium
Technical Field
The present disclosure relates to the field of device control technologies, and in particular, to a method, an apparatus, a device, and a medium for switching a sound channel.
Background
Stereo sound refers to sound having a stereoscopic effect. The sounds emitted from nature are stereophonic sounds, but if the stereophonic sounds are recorded, amplified, etc. and then reproduced, all the sounds are emitted from a loudspeaker, and the reproduced sounds (compared with the original sound source) are not stereophonic. This is because various sounds are emitted from the same speaker, and the original spatial feeling (particularly, the spatial distribution feeling of the sound group) disappears. Therefore, in order to restore the original spatial feeling to a certain extent from recording to reproduction, the system plays the sound of different sound sources through different speakers, and the effect of playing stereo sound can be realized.
In the related art, a plurality of speakers are preset on a display device such as a television, a sound channel played by each speaker is preset, and sound sources of different sound channels are played through the plurality of speakers, so that stereo sound is played.
However, as manufacturing technology advances, it is common that the display device can rotate to display, and when the display device rotates, the above-mentioned way of fixedly setting the sound channel played by each speaker obviously affects the stereo playing effect because the set sound channel direction does not match the display direction.
Disclosure of Invention
In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a method, an apparatus, a device, and a medium for switching a sound channel, where a playing sound channel of a relevant speaker is adjusted based on switching of a display direction of a display device, so as to ensure a stereoscopic effect of sound playing, and a target speaker for switching the sound channel is directly determined based on switching of the display direction, and only the target speaker is subjected to a sound channel switching process, so as to improve sound channel switching efficiency.
The embodiment of the disclosure provides a sound channel switching method, which includes: in response to switching of a display direction of a display device, determining a target speaker to be channel-switched among a plurality of candidate speakers fixedly provided on the display device; determining a target channel of the target speaker; and responding to a sound playing instruction, and controlling the target loudspeaker to play a sound source corresponding to the target sound channel.
The embodiment of the present disclosure further provides a sound channel switching apparatus, where the apparatus includes: the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for responding to the switching of the display direction of the display equipment and determining a target loudspeaker to be subjected to sound channel switching in a plurality of candidate loudspeakers fixedly arranged on the display equipment; a second determining module for determining a target channel of the target speaker; and the playing control module is used for responding to a sound playing instruction and controlling the target loudspeaker to play the sound source corresponding to the target sound channel.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the channel switching method provided by the embodiment of the disclosure.
The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program for executing the channel switching method provided by the embodiment of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the sound channel switching scheme provided by the embodiment of the disclosure, in response to the switching of the display direction of the display device, determines a target speaker to be subjected to sound channel switching among a plurality of candidate speakers fixedly arranged on the display device, determines a target sound channel of the target speaker, and further, in response to a sound playing instruction, controls the target speaker to play a sound source corresponding to the target sound channel. Therefore, the playing sound channels of the related speakers are adjusted based on the switching of the display direction of the display equipment, the stereo effect of sound playing is guaranteed, the target speakers with the switched sound channels are directly determined based on the switching of the display direction, the sound channels are only switched aiming at the target speakers, and the sound channel switching efficiency is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a schematic view of a rotating scene of a display device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a channel switching method according to an embodiment of the disclosure;
fig. 3 is a schematic view of a sound channel switching scene according to an embodiment of the present disclosure;
fig. 4 is a schematic view of another channel switching scene provided in the embodiment of the present disclosure;
fig. 5 is a schematic view of another channel switching scene provided in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a sound channel switching apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As mentioned in the above background art, the way of presetting the sound source channels of the speakers cannot adapt to the rotatable display device, for example, as shown in fig. 1, when the speakers 1 to 4 are respectively arranged at four corners of the display device, the default display direction of the display device is the horizontal screen direction, the corresponding speaker 1 and speaker 3 play the sound of the left channel, the speaker 2 and speaker 4 play the sound of the right channel, and when the display device is switched to the vertical screen direction, if the speaker 4 continues to play the sound of the right channel, the speaker 1 continues to play the sound of the left channel, it obviously affects the stereo playing effect of the sound.
In order to solve the above problem, embodiments of the present disclosure provide a channel switching method, which is described below with reference to specific embodiments.
Fig. 2 is a flowchart of a channel switching method provided in an embodiment of the present disclosure, where the method may be performed by a channel switching apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 2, the method includes:
in step 101, in response to the switching of the display direction of the display device, a target speaker to be switched is determined among a plurality of candidate speakers fixedly provided on the display device.
It is to be understood that a plurality of candidate speakers of the disclosed embodiments are fixedly disposed on the display device, with the rotation of the display device, with the corresponding speakers rotating.
In addition, the switching of the display direction of the display device according to the embodiment of the present disclosure may be detected by a sensor such as a gyroscope, or may be determined when a display direction switching instruction is detected.
In one embodiment of the disclosure, in response to switching of a display direction of a display device, a target speaker to be channel-switched is determined among a plurality of candidate speakers fixedly provided on the display device, wherein the target speaker is a speaker of a channel to be switched, and a display direction of the display device before and after switching of the target speaker is not matched.
It should be noted that, in different application scenarios, the manner of determining the target speaker to be switched between channels is different among a plurality of candidate speakers fixedly disposed on the display device, and the following examples are given:
in some possible implementations, the corresponding relationship between the display direction of the display device and the speaker requiring channel switching is stored in advance, for example, in the first display direction, the corresponding speaker to be switched is a1, a2, and in the second display direction, the corresponding speaker to be switched is b1, b2, and so on.
In this embodiment, after the current display direction of the switched display device is determined, the preset corresponding relationship is queried to obtain the target speaker corresponding to the current display direction.
In some possible implementations, if the display device and the speakers are as shown in fig. 1, then as shown in fig. 3, in the case of landscape screen, the speaker 1 and the speaker 3 play the sound of the left channel, the speaker 2 and the speaker 4 play the sound of the right channel, in the case of portrait screen, the speaker 3 and the speaker 4 play the sound of the left channel, the speaker 1 and the speaker 2 play the sound of the right channel, the speaker 3 always serves as the left channel, and the speaker 2 always serves as the right channel, therefore, when the landscape screen and the portrait screen are switched, the sound channels of the speaker 1 and the speaker 4 need to be selected, and no matter whether the display direction is from landscape screen to portrait screen or from portrait screen to landscape screen, only the sound channels of the speaker 1 and the speaker 4 need to be switched.
Therefore, in the present embodiment, the speakers whose channels do not match the display direction when the display direction changes are set in advance, and the preset speakers are directly determined as the target speakers, for example, the speaker 1 and the speaker 4 are directly determined as the target speakers.
In an embodiment of the present disclosure, to avoid that the switching of the display direction is a short-time switching, before determining a target speaker to be subjected to channel switching, a timing process may be performed on a display duration of the display device in the corresponding display direction after switching, and it is determined that the timing duration is greater than a preset time threshold, so that in the case of the short-time switching, channel switching is not performed on the speaker, and consumption of computing resources is avoided.
Step 102, determining a target channel of a target speaker.
It should be understood that, in the embodiment of the present disclosure, the determination of the channels is performed only for the target speaker, instead of the determination of the playing channels for each channel, which greatly improves the channel switching efficiency and further improves the real-time performance of sound playing.
In different application scenarios, the target channel of the target speaker is determined in different ways, which is illustrated as follows:
in some possible embodiments, if the display device is a rectangular device, and the four corners of the rectangular device are provided with the candidate speakers, the preset speaker is a candidate speaker on a preset diagonal line of the rectangular device.
For example, with continued reference to fig. 3, it is determined that speaker 1 and speaker 4 are located at both ends of the same diagonal line, and the candidate speaker on the diagonal line on which they are located may be determined as the target speaker. Therefore, the target loudspeaker can be determined directly based on the position, and the determination efficiency of the target loudspeaker is greatly improved.
In some possible embodiments, if the sound channel is a binaural channel, an original sound channel of the target speaker before the switching is determined, if the original sound channel is a left sound channel, the target sound channel of the target speaker is determined as a right sound channel, and if the original sound channel is a right sound channel, the target sound channel of the target speaker is determined as a left sound channel.
That is, as shown in fig. 4, if the display device is shown in fig. 3, the speakers 1 and 4 are subjected to channel selection, if the original channel is a left channel, the target channel of the target speaker is determined to be a right channel, and if the original channel is a right channel, the target channel of the target speaker is determined to be a left channel.
In some possible embodiments, when the sound channel is a four-sound channel or a plurality of sound channels, the current display direction of the target speaker after switching may be directly determined, and a preset sound channel corresponding relationship corresponding to the current display direction is obtained, where the preset sound channel corresponding relationship includes the sound channel of the target speaker in the corresponding display direction.
For example, as shown in fig. 5, that is, the scene shown in fig. 3 is taken as an example, the current display direction of the target speaker after switching is detected, if the current display direction is the horizontal screen display direction, the speaker 4 is switched to the right channel, and the speaker 1 is switched to the left channel, and if the current display direction is the vertical screen display direction, the speaker 4 is switched to the left channel, and the speaker 1 is switched to the right channel.
And 103, responding to the sound playing instruction, and controlling the target loudspeaker to play the sound source corresponding to the target sound channel.
In one embodiment of the present disclosure, in response to a sound playing instruction, a target speaker is controlled to play a sound source corresponding to a target sound channel, and in a specific playing process, a state value corresponding to the target sound channel is set in audio driving of the target speaker by notifying the AudioService through a setParameter interface, so that the target speaker is controlled to play the sound source corresponding to the target sound channel through the audio driving of the target speaker.
In summary, the sound channel switching method according to the embodiment of the disclosure, in response to the switching of the display direction of the display device, determines a target speaker to be subjected to sound channel switching among a plurality of candidate speakers fixedly disposed on the display device, determines a target sound channel of the target speaker, and further, in response to a sound playing instruction, controls the target speaker to play a sound source corresponding to the target sound channel. Therefore, the playing sound channels of the related speakers are adjusted based on the switching of the display direction of the display equipment, the stereo effect of sound playing is guaranteed, the target speakers with the switched sound channels are directly determined based on the switching of the display direction, the sound channels are only switched aiming at the target speakers, and the sound channel switching efficiency is improved.
In order to implement the above embodiments, the present disclosure further provides a sound channel switching apparatus.
Fig. 6 is a schematic structural diagram of a channel switching apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device for channel switching. As shown in fig. 6, the apparatus includes: a first determination module 610, a second determination module 620, and a play control module 630, wherein,
a first determining module 610, configured to determine, in response to switching of a display direction of a display device, a target speaker to be switched between channels among a plurality of candidate speakers fixedly disposed on the display device;
a second determining module 620, configured to determine a target channel of a target speaker;
and a playing control module 630, configured to control the target speaker to play the sound source corresponding to the target sound channel in response to the sound playing instruction.
The sound channel switching device provided in the embodiments of the present disclosure can execute the sound channel switching method provided in any embodiments of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method, which are not described herein again.
To implement the above embodiments, the present disclosure also proposes a computer program product comprising a computer program/instructions that, when executed by a processor, implement the channel switching method in the above embodiments.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Referring now specifically to fig. 7, a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 700 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle mounted terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 may include a processor (e.g., central processing unit, graphics processor, etc.) 701, which may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 702 or a program loaded from a memory 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; a memory 708 including, for example, tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the memory 708, or may be installed from the ROM 702. The computer program, when executed by the processor 701, performs the above-described functions defined in the channel switching method of the embodiment of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the switching of the display direction of the display device, a target speaker to be subjected to channel switching is determined among a plurality of candidate speakers fixedly arranged on the display device, a target channel of the target speaker is determined, and further, in response to a sound playing instruction, the target speaker is controlled to play a sound source corresponding to the target channel. Therefore, the playing sound channels of the related speakers are adjusted based on the switching of the display direction of the display equipment, the stereo effect of sound playing is guaranteed, the target speakers with the switched sound channels are directly determined based on the switching of the display direction, the sound channels are only switched aiming at the target speakers, and the sound channel switching efficiency is improved.
The electronic device may write computer program code for carrying out operations of the present disclosure in one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages, or combinations thereof. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A channel switching method, comprising the steps of:
in response to switching of a display direction of a display device, determining a target speaker to be channel-switched among a plurality of candidate speakers fixedly provided on the display device;
determining a target channel of the target speaker;
and responding to a sound playing instruction, and controlling the target loudspeaker to play a sound source corresponding to the target sound channel.
2. The method of claim 1, wherein the determining a target speaker to be channel switched comprises:
determining the current display direction of the display equipment after switching;
and inquiring a preset corresponding relation to obtain the target loudspeaker corresponding to the current display direction.
3. The method of claim 1, wherein the determining a target speaker to be channel switched comprises:
and determining a preset loudspeaker as the target loudspeaker.
4. The method of claim 3,
if the display device is a rectangular device, and candidate speakers are arranged at four corners of the rectangular device, the preset speakers are the candidate speakers on the preset diagonal line of the rectangular device.
5. The method of claim 1, wherein the determining the target channel for the target speaker comprises:
determining an original channel of the target speaker prior to the switching;
if the original sound channel is a left sound channel, determining that a target sound channel of the target loudspeaker is a right sound channel;
and if the original sound channel is the right sound channel, determining that the target sound channel of the target loudspeaker is the left sound channel.
6. The method of claim 1, wherein the determining the target channel for the target speaker comprises:
determining a current display direction of the target speaker after the switching;
acquiring a preset sound channel corresponding relation corresponding to the current display direction;
and inquiring the corresponding relation of the preset sound channels to determine the target sound channel of the target loudspeaker.
7. The method of any of claims 1-6, further comprising, prior to the determining a target speaker to be channel switched:
timing the display duration of the display equipment in the corresponding display direction after switching;
and determining that the timing duration is greater than a preset time threshold.
8. A channel switching apparatus, comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for responding to the switching of the display direction of the display equipment and determining a target loudspeaker to be subjected to sound channel switching in a plurality of candidate loudspeakers fixedly arranged on the display equipment;
a second determining module, configured to determine a target channel of the target speaker;
and the playing control module is used for responding to a sound playing instruction and controlling the target loudspeaker to play the sound source corresponding to the target sound channel.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the channel switching method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the channel switching method of any of the preceding claims 1-7.
CN202210969390.8A 2022-08-12 2022-08-12 Sound channel switching method, device, equipment and medium Pending CN115334414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210969390.8A CN115334414A (en) 2022-08-12 2022-08-12 Sound channel switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210969390.8A CN115334414A (en) 2022-08-12 2022-08-12 Sound channel switching method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115334414A true CN115334414A (en) 2022-11-11

Family

ID=83924093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210969390.8A Pending CN115334414A (en) 2022-08-12 2022-08-12 Sound channel switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115334414A (en)

Similar Documents

Publication Publication Date Title
JP6006749B2 (en) Method and system for providing incoming call notification using video multimedia
CN110289024B (en) Audio editing method and device, electronic equipment and storage medium
US20240127856A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN110958481A (en) Video page display method and device, electronic equipment and computer readable medium
US20220264053A1 (en) Video processing method and device, terminal, and storage medium
CN114095671A (en) Cloud conference live broadcast system, method, device, equipment and medium
CN113542856B (en) Method, device, equipment and computer readable medium for reverse playing of online video
WO2021203906A1 (en) Automatic volume adjustment method and apparatus, and medium and device
CN113889140A (en) Audio signal playing method and device and electronic equipment
CN114125551B (en) Video generation method, device, electronic equipment and computer readable medium
CN110996155B (en) Video playing page display method and device, electronic equipment and computer readable medium
CN112000251A (en) Method, apparatus, electronic device and computer readable medium for playing video
CN115334414A (en) Sound channel switching method, device, equipment and medium
CN113542792B (en) Audio merging method, audio uploading method, device and program product
CN115114463A (en) Media content display method and device, electronic equipment and storage medium
CN114363654A (en) Video plug-flow method, device, terminal equipment and storage medium
CN113360117A (en) Control method and device of electronic equipment, terminal and storage medium
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN111367592A (en) Information processing method and device
CN111045635B (en) Audio processing method and device
CN112073878B (en) Control method and device of audio equipment, audio equipment and storage medium
CN111048108B (en) Audio processing method and device
CN111291254A (en) Information processing method and device
CN113709652B (en) Audio play control method and electronic equipment
CN118051197A (en) Audio focus control method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination