>>https://github.com/goretkin/soundcard-radar>>spectrum.py Hi,Gustavo It's very good! I really enjoy it.I want to run your spectrum.py. But I did not have the sound input and hardware.So, I want to run spectrum.py with the recorded wav file. How can i get the wav file e.g.: radar20110120_103812_proc.wav'thanks & Regardseric.
Hi Eric,A link to that particular wave file exists here: http://goretkin.blogspot.com/2011/01/on-cars.htmlThat file was acquired with the kit in Doppler mode (not ranging). The flags need to be set accordingly as follows:#only one of the two should be set TrueLIVE_INPUT = False #capture from soundcardPLAYBACK_RECORDING = True #playback a recorded PCM .wav fileRADAR_RANGING = False #Doppler or Ranging?Let me know if there's anything else!Gustavo
Hi,GustavoHappy new year!!!I download and add the audio,But It seems can't work.LIVE_INPUT = FalsePLAYBACK_RECORDING = TrueRECORD_LIVE_INPUT = FalseRADAR_RANGING = Falselog:IOError: [Errno Invalid output device (no default output device)] -9996My email:email@example.comThanks & RegardsEric.
Hi Eric,That's a problem in the pyaudio configuration, and I'm not sure how to resolve it. You can try these examples  and see if there's a problem there too. http://people.csail.mit.edu/hubert/pyaudio/#examples
Eric, are you using the Enthought Python Distribution by any chance?
I directly installed the epd-7.2-1-rh5-x86.shThanks for your heartly support.
Did you try the examples on the PyAudio page? I experienced a similar problem with epd too, but I never got it resolved. I resorted to using my own Python installation. I think Ubuntu had all the packages I needed for this project.
Yes, I ran the examples(play and Record), It works well on my PC.I am checking the source code and trying to fix the problem now. I will update my investigation state.keep in touch:)
Can any one explain how to use the source code from beginning please?
Hello Gustavo.. I am from india... i am electrical engineering student.. I am working on the coffee canes radar.. But i don't have any such matlab programming and codes of this project.. and the second one is we have different voltage & frequency in india..230 voltage, 50 Hz fre. So tell me that any changes in output for radar for 230V ,50 Hz compare with yours 110 V,60 Hz .. plz i request you for give me programs and codes for my better work... thank you