문제

I want to analyze the input stream of my audio-in with python.
The contains data from a radio reciever.

Sometimes the radio signal contains a block of 5 tones. I need to analyze the stream for this blocks.
They look like:

Principle

The frequencys look like this:

number       1    2    3    4    5    6    7    8    9    0    R
Frequency/Hz 1060 1160 1270 1400 1530 1670 1830 2000 2200 2400 2600

What is the best way in python to implement this?

도움이 되었습니까?

해결책

Store all your data for a short time into a 70 ms buffer, and constantly take the FFT searching for a spike at each frequency you're searching for. Collect 5 numbers in a row to complete the sequence. Each time you collect a value, wait 70 ms before you collect the next number.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top