Audio data transmitting method and data transmitting system
09798511 ยท 2017-10-24
Assignee
Inventors
Cpc classification
G10L19/0017
PHYSICS
G10L19/167
PHYSICS
International classification
G10L21/00
PHYSICS
Abstract
An audio data transmitting method applied to an audio data transmitting device. The audio data transmitting method comprises: (a) receiving first audio data from at least one audio data source, wherein the first audio data follows a first audio format; and (b) outputting the first audio data from the audio data transmitting device without encoding or decoding the first audio data.
Claims
1. A wireless audio data transmitting method, comprising: (a) receiving, by an audio data transmitting device, first audio data from at least one audio data source, wherein the first audio data follows a first audio format; and (b) wirelessly outputting, by the audio data transmitting device, the first audio data without encoding or decoding the first audio data, wherein the step (b) is performed in a lossless mode, wherein the audio data transmitting method further comprises: decoding the first audio data to generate fourth audio data via the audio data transmitting device in a normal mode, wherein the fourth audio data follows a second audio format; and outputting the fourth audio data from the audio data transmitting device in the normal mode.
2. The audio data transmitting method of claim 1, wherein the step (b) transmits the first audio data to an audio data receiving device comprising a decoder, wherein the audio data transmitting method further comprises: decoding the first audio data to second audio data via the decoder, wherein the second audio data follows a second audio format.
3. The audio data transmitting method of claim 2, further comprising: transmitting volume index from the audio data transmitting device to the audio data receiving device; and adjusting a volume of the second audio data according to the volume index.
4. The audio data transmitting method of claim 3, further comprising: determining whether the audio data receiving device supports the volume index or not; wherein the step (b) is performed if the audio data receiving device supports the volume index; wherein the step (b) is not performed if the audio data receiving device does not support the volume index.
5. The audio data transmitting method of claim 1, further comprising: playing third audio data by the audio data transmitting device if the audio data transmitting device is controlled to output the third audio data while transmitting the first audio data, wherein third audio data follows a second audio format.
6. The audio data transmitting method of claim 1, further comprising: controlling the audio data transmitting device to operate in the lossless mode or the normal mode according to a user command.
7. The audio data transmitting method of claim 1, further comprising: (c) determining a volume value of the audio data transmitting device; and (d) controlling the audio data transmitting device to operate in the lossless mode or the normal mode according to the relation between the volume value and a predetermined volume.
8. The audio data transmitting method of claim 7, wherein the step (d) controls the audio data transmitting device to operate in the normal mode if the volume value is larger or equals to the predetermined volume.
9. A wireless audio data transmitting device comprising: a transmitting interface, configured to receive first audio data from at least one audio data source, wherein the first audio data follows a first audio format; and a control unit, configured to control the transmitting interface to wirelessly output the first audio data without encoding or decoding the first audio data, wherein the control unit controls the transmitting interface to output the first audio data from the audio data transmitting device without encoding or decoding the first audio data in a lossless mode; wherein the audio data transmitting device further comprises a decoder configured to decode the first audio data to generate fourth audio data following a second audio format; wherein the control unit controls the transmitting interface to output the fourth audio data from the audio data transmitting device in the normal mode.
10. The audio data transmitting device of claim 9, wherein the control unit controls the audio data transmitting device to operate in the lossless mode or the normal mode according to a user command.
11. The audio data transmitting device of claim 9, wherein the control unit controls the audio data transmitting device to play third audio data if the audio data transmitting device is controlled to output the third audio data while transmitting the first audio data, wherein third audio data follows a second audio format.
12. An electronic system comprising: a wireless audio data transmitting device comprising: a transmitting interface, configured to receive first audio data from at least one audio data source, wherein the first audio data follows a first audio format; and a control unit, configured to control the transmitting interface to wirelessly output the first audio data without encoding or decoding the first audio data; and a wireless audio data receiving device, comprising a decoder configured to wirelessly receive the first audio data and configured to decode the first audio data to second audio data following a second audio format.
13. The audio data transmitting device of claim 12, wherein the control unit determines a volume value of the audio data transmitting device, controls the audio data transmitting device to operate in the lossless mode or the normal mode according to the relation between the volume value and a predetermined volume.
14. The electronic system of claim 13, wherein the control unit controls the audio data transmitting device to operate in the normal mode if the volume value is larger or equals to the predetermined volume.
15. The electronic system of claim 12, wherein the control unit generates volume index, and controls the transmitting interface to transmit the volume index from the audio data transmitting device to the audio data receiving device; wherein the data receiving device adjusts a volume of the second audio data according to the volume index.
16. The electronic system of claim 15, wherein the control unit further determines whether the audio data receiving device supports the volume index or not; wherein the control unit controls the transmitting interface to output the first audio data if the audio data receiving device supports the volume index; wherein the control unit does not control the transmitting interface to output the first audio data if the audio data receiving device does not support the volume index.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10)
(11) The transmitting interface 201 can be, for example, a wireless transmitting interface such as a Bluetooth interface. However, other wireless transmitting interfaces or transmitting interfaces with wires can be applied as the transmitting interface for the present disclosure.
(12) The transmitting interface 201 receives the first audio data AD_1 from at least one audio source AS. The audio source AS can be a source in the audio data transmitting device 200, for example, a storage device. However, the audio source AS can be a source outside the audio data transmitting device 200 as well, for example, a web site. The first audio data AD_1 follows a first audio format. In this implementation, the first audio format is one of MP3, AAC and FLAC, but not limited. After receiving the first audio data AD_1, the transmitting interface 201 outputs the first audio data AD_1 without encoding or decoding the first audio data AD_1.
(13) Please refer to
(14)
(15) As depicted in
(16) Besides the path depicted in
(17) In one implementation, the third audio data AD_3 is audio data triggered by incoming events. For example, the audio data transmitting device 400 is a mobile phone and receives a call or message, and the third audio data AD_3 is a ring or a message notification generated by the audio data transmitting device 400. Also, in one implementation the third audio data AD_3 and the fourth audio data AD_4 follow the audio format PCM. Besides, the local playing device 405 is a device which is provided inside the audio data transmitting device 400 and can play audio data, for example, a speaker provided in the audio data transmitting device 400.
(18)
(19) For the second path P_2, the audio track is mixed in the step 509, if necessary. In the step 511, the fourth audio data AD_4 is streamed out. In the step 515, the transmitting interface outputs the audio data. For the third path P_3, in the step 513, the third audio data AD_3 is streamed out. In the step 515, the transmitting interface outputs the audio data. In one implementation, the transmitting interface has only one channel thus only one of the paths P_2, P_3 can be applied.
(20) A volume of the first audio data AD_1 cannot be adjusted since a mix step is not included in the third path P_3, thus a volume adjust step 517 is further included in the third path P_3. A volume index is provided and transmitted to the audio data receiving device via the transmitting interface. After that, the audio data receiving device adjusts the second audio data (ex. AD_2 in
(21) As above-mentioned, in one implementation the transmitting interface has only one channel. Therefore, a method for determining the path is provided in one implementation.
(22) Step 601
(23) Audio track join. The determining flow starts when an audio object is created. If the audio track follows the first audio format, that is, the audio track is the first audio data AD_1, go to the step 603-609. On the contrary, if the audio track follows the second audio format, go to the steps 611-617.
(24) Step 603
(25) The first audio data AD_1 joins.
(26) Step 605
(27) Determining if the audio data following the second audio format is being outputted by the transmitting interface. If yes, go to step 609. If not, go to step 607.
(28) Step 607
(29) Output the first audio data AD_1 via the transmitting interface. That is, the third path P_3 in
(30) Step 609
(31) Reject the first audio data AD_1, since the channel of the transmitting interface is already occupied.
(32) Step 611
(33) Audio data with second audio format joins. Such kind of audio data may be the third audio data AD_3 or the fourth audio data AD_4 depicted in
(34) Step 613
(35) Determining if the first audio data AD_1 is being outputted by the transmitting interface. If yes, go to step 615. If not, go to step 617.
(36) Step 615
(37) Since the channel of the transmitting interface is already occupied, transmit the audio data with second audio format to the local playing device, that is, the first path P_1 in
(38) Step 617
(39) Transmit the audio data with second audio format to the transmitting interface, that is, the second path P_2 in
(40) In one implementation, the second path P_2 depicted in
(41) As depicted in
(42) In one implementation the predetermined volume is less than the max volume, and the audio data transmitting device operates in the normal mode if the volume is less or equals to the predetermined volume.
(43) Also, the audio data transmitting device applies the second path P_2 (i.e. the normal mode) if the user adjusts the volume of the audio data transmitting device to a volume other than the predetermined volume. By this way, the user can still adjust the volume of the audio data he or she listens even if the audio data receiving device does not support the volume index. Further, since the volume of the first audio data is fixed at a constant value in the lossless mode, the volume of the audio data played by the audio data receiving device will not suddenly drop or increases.
(44) In one implementation, the user can set if the lossless mode is activated or not via a setting screen. That is, the audio data transmitting device is controlled to operate in the lossless mode or the normal mode according to a user command.
(45) Please note, the losses mode can be activated by other mechanisms. For example, in one implementation, if the data receiving device does not support the above-mentioned volume index, the lossless mode cannot be triggered. In such implementation, a step for determining whether the audio data receiving device supports the volume index or not is performed. The lossless mode cannot be triggered if the audio data receiving device does not support the volume index. Also, the lossless mode can be triggered if the audio data receiving device does supports the volume index
(46) In view of above-mentioned implementations, an audio data transmitting method applied to an audio data transmitting device is acquired, which comprises the following steps: (a) receiving first audio data (ex. AD_1 in
(47) Other detail steps can be acquired in view of above-mentioned implementations, thus are omitted for brevity here.
(48) In view of above-mentioned implementations, the audio data can be transmitted without decoding or encoding, and only one time of decoding/encoding is needed before the audio data is played. Further, the volume of the audio data can be adjusted even if the lossless mode is applied.
(49) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the disclosure. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.