Method and device for sending and receiving audio signals
A technology of audio signal and sending device, which is applied in the field of communication and can solve problems such as low baud rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] figure 1 The implementation flow of the method for sending an audio signal provided by Embodiment 1 of the present invention is shown, and the sending is taken as an example for illustration, and the details are as follows:
[0058] In step S101, the audio data to be sent is divided into at least two data packets.
[0059] In this embodiment, the audio data to be sent is divided into packets with a predetermined length, and divided into at least two data packets. For example, if the length of the audio data to be sent is 16 bits and the predetermined length is 4 bits, the audio data to be sent may be divided into four 4-bit data packets.
[0060] In step S102, divide every two data packets into a group.
[0061] In this embodiment, every two data packets are divided into a group, and all data packets are divided into several groups. If the number of data packets obtained by step S201 is an odd number, the last data packet and an all-0 Packets combined, the two form a...
Embodiment 2
[0071] figure 2 The implementation flow of the method for sending an audio signal provided by Embodiment 2 of the present invention is shown, and the sending end is taken as an example for illustration, and the details are as follows:
[0072] In step S201, the audio data to be sent is divided into at least two data packets.
[0073] In step S202, divide every two data packets into a group.
[0074] In step S203, calculate the value of the difference OR after every two data packets, and use this value as the third data packet in this group.
[0075] In the embodiment of the present invention, the value of the two data packets in each group after XOR processing is calculated, and this value is used as the third data packet in this group.
[0076] In step S204, pre-selected carrier signals of different frequencies are used to encode each data packet in each group to obtain encoded symbol sample point values, and the symbol sample point values are superimposed to generate su...
Embodiment 3
[0089] Figure 4 The implementation flow of the audio signal receiving method provided by Embodiment 3 of the present invention is shown, and the receiving end is taken as an example to illustrate, and the details are as follows:
[0090] In step S401, start the recording module to record audio signals and generate recording files.
[0091] In the embodiment of the present invention, the receiving end first performs system initialization, starts the recording module to record audio signals, and generates recording files.
[0092] In step S402, according to the frequency value of the carrier signal selected by the sending end, a decoding thread of carrier signals of different frequencies is started, and the audio file is decoded by the decoding thread.
[0093] In the embodiment of the present invention, the receiving end can start decoding threads of carrier signals of different frequencies according to the frequency value of the carrier signal selected by the sending end, an...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


