You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feeding a standard mono-channel WAV file will make numpy extremely unhappy:
Traceback (most recent call last):
File "./pysdr-recviewer", line 5, in <module>
main()
File ".../pysdr/recviewer.py", line 168, in main
sample_rate, signal = read_file(sys.argv[1])
File ".../pysdr/recviewer.py", line 145, in read_file
return (sample_rate, audio[:,0] + 1j * audio[:,1])
IndexError: too many indices
And converting a mono-channel WAV to two channels will produce unreliable results depending on the tool. If both channels contain the same samples, the resulting spectrogram will be an incorrect representation of the signal.
The text was updated successfully, but these errors were encountered:
We always have two-channel complex data eg. I and Q so we do not work with mono wav files. Working with wav mono data is the same as I/Q data stream with identical channels. You should make a wav file with two identical channels.
Feeding a standard mono-channel WAV file will make numpy extremely unhappy:
And converting a mono-channel WAV to two channels will produce unreliable results depending on the tool. If both channels contain the same samples, the resulting spectrogram will be an incorrect representation of the signal.
The text was updated successfully, but these errors were encountered: