1. Field of the Disclosure
The instant disclosure relates to an audio connecting apparatus; in particular, to a virtual signal source generating apparatus.
2. Description of Related Art
With a continuous advancement in technology, an electronic connecting apparatus is a mainly used as a switching element in transmitting electronic signals for a variety of electronic products, wherein an audio connecting apparatus, specifically used for an audio signal to input/output, has been broadly used in all kinds of video and audio products such as mobile phones, personal digital assistants (PDA), MP3 players, Voice recorders, laptops, Apple iPods, and also audio connectors of different sizes.
Under a recording mode, because a host is in an active state, the host collects information from a passive audio connecting apparatus actively. During a recording process, if a signal source connected to the audio connecting apparatus is unplugged or disappearing, the information transmitted will be discontinuous or even cut off, and further leads the host crashed and thus a user is not able to have the host process other tasks smoothly.
The instant disclosure provides a virtual signal source generating apparatus, and the virtual signal source generating apparatus includes at least an audio interface, a control module, a detecting module and a processing module. The audio interface is coupled to at least a signal source. The control module is coupled to the audio interface, acquiring an audio signal from a signal source, wherein the audio signal includes a clock information and an audio information. The detecting module is coupled to the audio interface and the control module, detecting if the audio interface is coupled to the signal source. The processing module is coupled to the control module, transmitting the audio signal. If the detecting module detects that the signal source disappears when the virtual signal source generating apparatus is under a recording mode, the control module transmits a control signal to the processing module so that the processing module transmits a virtual audio signal to a host.
In an embodiment of the instant disclosure, the signal source is an electronic apparatus.
In an embodiment of the instant disclosure, the host acquires a sampling length information from the clock information of the audio signal so as to sample the audio signal according to the sampling length information for the recording.
In an embodiment of the instant disclosure, the content of the virtual audio signal may be a mute content or a pre-state maintain content, and the virtual audio signal is coincident with the sampling length information of the host.
In an embodiment of the instant disclosure, the pre-state maintain content is defined as an audio content repeated with the last sampling point of the audio signal before the signal disappears.
In an embodiment of the instant disclosure, when the detecting module detects that the audio signal representing the signal source which transmitting an identical but disappearing audio signal appears again, the control module transmits the control signal to the processing module so that the processing module continuously transmits the audio signal to the host.
The instant disclosure provides a virtual signal source generating method, the virtual signal source generating method includes steps as follows: detecting if there is at least a signal source; determining if the signal source disappears; transmitting an audio signal to a host if the signal source does not disappear; generating a virtual audio signal and transmitting the virtual audio signal to the host if the signal source disappears, wherein the virtual signal source generating apparatus generating the virtual audio signal is under a recording mode, and the audio signal includes a clock information and an audio information.
In an embodiment of the instant disclosure, the signal source of the virtual signal source generating method is an electronic apparatus.
In an embodiment of the instant disclosure, the host acquires a sampling length information from the clock information of the audio signal so as to sample the audio signal according to the sampling length information for the recording.
In an embodiment of the instant disclosure, the content of the virtual audio signal may be a mute content or a pre-state maintain content, and the virtual audio signal is coincident with the sampling length information of the host.
In an embodiment of the instant disclosure, the pre-state maintain content is defined as an audio content repeated with the last sampling point of the audio signal before the signal disappears.
In an embodiment of the instant disclosure, when the detecting module detects that the audio signal representing the signal source which transmitting an identical but disappearing audio signal appears again, the control module transmits the control signal to the processing module so that the processing module continuously transmits the audio signal to the host.
To sum up, when the signal resource received by the audio interface disappears under the recording mode, the virtual signal source generating apparatus and the method thereof are able to automatically generate a virtual audio signal with a coincident sampling length information as the audio signal, and transmits the virtual audio signal to the host to allow the host to be able to keep acquiring the audio information from the virtual signal source generating apparatus, and further allows the host to operate as usual instead of being crashed. Accordingly, when the user is using the host to acquire the audio information for recording, the host may even be multi-functioned for convenience and efficiency, which explains that the host is prevented from being crashed and failing to process other tasks smoothly.
For further understanding of the instant disclosure, reference is made to the following detailed description illustrating the embodiments and examples of the instant disclosure. The description is only for illustrating the instant disclosure, not for limiting the scope of the claim.
Accompanying drawings are referred to the descriptions above for a specific instruction of embodiments of the instant disclosure, and thereby the disclosure is able to be understood in detail. In the drawings:
The aforementioned illustrations and following detailed descriptions are exemplary for the purpose of further explaining the scope of the instant disclosure. Other objectives and advantages related to the instant disclosure will be illustrated in the subsequent descriptions and appended drawings. In the drawings, the size and relative sizes of layers and regions may be exaggerated for clarity.
It will be understood that, although the terms first, second, third, and the like, may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only to distinguish one element, component, region, layer or section from another region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the instant disclosure. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
It is to be understood that, when an element is “connected” or “coupled” to another element, the element may be directly connected or coupled to the other element, or there may be a case that one of the elements is inserted to the other. On the contrary, when an element is “directly connected” or “directly coupled” to another element, then there will not be any element is inserted. A way of explaining a relation between elements as described above should be applied into other descriptions such as “between” versus “directly between, “adjacent” versus “directly adjacent.”
[Embodiment of a Virtual Signal Source Generating Apparatus]
Referring to
Continuously referring to
For an easy instruction and understanding, in the following embodiments, the S/PDIF is taken as an example to instruct the content of the instant disclosure. In addition, to teach an operation flow of the virtual signal source generating apparatus of the instant disclosure, another drawing is referred for further detailed instruction. The embodiment below is meant for a comprehensive understanding of the instant disclosure, not to limit the instant disclosure.
In the embodiments recited as below, there are only parts different from the embodiment in the
[Embodiment of a Virtual Signal Source Generating Apparatus]
Referring to
The control module 122 is used for acquiring an audio signal AS in a signal source, wherein the audio signal AS includes a clock information and an audio information, and in the present embodiment, the signal source may be an electronic apparatus 130 or another apparatus, such as an audio voice (AV) amplifier, or a digital video disc (DVD) player, which is able to generate the audio signal AS, and it is not limited thereto. The detecting module 124 is used for detecting if the plurality of the audio interface 1201-120N is coupled to the signal source; which means, the detecting module 124 detects if the plurality of the audio interface 1201-120N receives the audio signal AS in the signal source. The processing module 126 transmits the audio signal AS to a host 110 or generates a virtual audio signal and then transmits the virtual audio signal to the host 110. It is to be noticed that, in the present embodiment, it is either the audio signal AS or the virtual audio signal; in other words, it is not possible for the processing module 126 to transmit the audio signal AS and the virtual audio signal to the host 110 simultaneously. In the present embodiment, when the host 110 and the virtual signal source generating apparatus 120 are under a recording mode, if the detecting module 124 detects that the signal source is unplugged or disappearing, the control module 122 transmits a control signal CS to the processing module 126 so as to have the processing module 126 generate and transmit the virtual audio signal to the host 110.
Moreover, there is further teaching about specific operation of the embodiment in the
Continuously referring to
When the detecting result shows that the signal source is not unplugged, fallen off, or disappearing, the control module 122 transmits the audio signal AS decoded and the control signal CS to the processing module 126 so that the processing module 126 is able to transmit the audio signal AS decoded to the host 110 to process the recording. The audio signal AS includes the clock information and the audio information; therefore, the host 110 is able to acquire a sampling length information from the clock information of the audio signal AS, and the sampling length information is a sampling rate. For example, in an embodiment, the sampling rate is 48 sampling points per second. Afterwards, the host 110 samples the audio signal according to a sampling length information for the recording.
On the other hand, when the detecting result is that the signal source is unplugged, fallen off, or disappearing, the control module 122 transmits the control signal CS to the processing module 126. After the processing module 126 receives an operation command from the control signal CS, the virtual audio signal with a coincident sampling length information is generated according to the operation command of the control signal CS, and the audio signal is transmitted to the host 110 to allow the host 110 in the active mode to keep acquiring related a bit data of the virtual audio signal for the recording, and the host 110 is able to be operated as usual instead of being crashed. Accordingly, when the user uses the host 110 to acquire the audio information for the recording, the host 110 may be multi-functioned for convenience and efficiency, which explains that the host 110 is prevented from being crashed and failing to process other tasks smoothly. In addition, a content of the virtual audio signal may further be designed by the user according to an actual demand; in the present embodiment, the content of the virtual audio signal may be a mute content or a pre-state maintain content, and the so called “pre-state maintain content” is defined as an audio content repeated with the last sampling point of the audio signal AS before the signal disappears; however, it is not limited thereto.
It is to be noticed that the detecting module 124 still keeps detecting if the audio interface 1201 is in a state of being coupled to the signal source to receive audio signal AS at the moment. If the audio interface 1201 is back coupled to the electronic apparatus 130 and receives the audio signal AS transmitted by the electronic apparatus 130, the control module 122 transmits the audio signal AS decoded and the control signal CS to the processing module 126 according to the detecting result, and the processing module 126 stops generating the virtual audio signal and transmits the audio signal AS decoded to the host 110 for the recording.
Briefly, ideas which are relative to generating a virtual audio signal to the host when the signal source disappears are within the scope of the technique and the idea of the instant disclosure.
[Embodiment of a Virtual Signal Source Generating Apparatus]
Referring to
It is to be explained that the steps of the embodiment in the
To sum up, when the signal resource received by the audio interface disappears under the recording mode, the virtual signal source generating apparatus and the method thereof are able to automatically generate a virtual audio signal with a coincident sampling length information as the audio signal, and transmits the virtual audio signal to the host to allow the host to be able to keep acquiring the audio information from the virtual signal source generating apparatus, and further allows the host to operate as usual instead of being crashed. Accordingly, when the user is using the host to acquire the audio information for recording, the host may even be multi-functioned for convenience and efficiency, which explains that the host is prevented from being crashed and failing to process other tasks smoothly.
The descriptions illustrated supra set forth simply the preferred embodiments of the instant disclosure; however, the characteristics of the instant disclosure are by no means restricted thereto. All changes, alternations, or modifications conveniently considered by those skilled in the art are deemed to be encompassed within the scope of the instant disclosure delineated by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
101143425 | Nov 2012 | TW | national |