Interference caused by mixing of audio tones #16
-
Hi Georgi, When more than 2 devices are communicating within same area that causes the sound signals mix with each other. Can we implement anything to prevent that interference. For example, If device A and B both are sending signals to device C then how will device C understands both the messages. If this is possible can you explain what should we implement to avoid this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, currently you don't have many options to solve this problem. One way is the following:
This way, on device C, the first ggwave instance will decode data only from one protocol and the second instance will decode data only from the other protocol. Since the protocols don't overlap in frequency space (because we offset the base frequency) you should be able to receive data simultaneously. Obviously, this approach cannot scale for more devices. If we want to make it scale we need to modify somehow ggwave on a more fundamental level. Most likely #9 needs to be implemented first which would allow to use custom frequencies (currently ggwave uses only the frequencies of the FFT bins). Then we could introduce something like a "carrier" frequency and different devices can use different carrier frequencies. Something along this line - I am not sure about all the details yet, but definitely worth looking into. |
Beta Was this translation helpful? Give feedback.
-
Hi Georgi, There is another question I have, the receiver side is able able to decode the message separately even they are sending tones at the same time, just wondering how could this is achieved in the ggwave. |
Beta Was this translation helpful? Give feedback.
Hi, currently you don't have many options to solve this problem.
One way is the following:
F0 = 6750 Hz
:ggwave/include/ggwave/ggwave.h
Lines 237 to 245 in 9315497