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'
Hi Eric, That's a problem in the pyaudio configuration, and I'm not sure how to resolve it. You can try these examples [1] and see if there's a problem there too.
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.
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
>>https://github.com/goretkin/soundcard-radar
ReplyDelete>>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 & Regards
eric.
Hi Eric,
ReplyDeleteA link to that particular wave file exists here: http://goretkin.blogspot.com/2011/01/on-cars.html
That 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 True
LIVE_INPUT = False #capture from soundcard
PLAYBACK_RECORDING = True #playback a recorded PCM .wav file
RADAR_RANGING = False #Doppler or Ranging?
Let me know if there's anything else!
Gustavo
Hi,Gustavo
ReplyDeleteHappy new year!!!
I download and add the audio,
But It seems can't work.
LIVE_INPUT = False
PLAYBACK_RECORDING = True
RECORD_LIVE_INPUT = False
RADAR_RANGING = False
log:
IOError: [Errno Invalid output device (no default output device)] -9996
My email:helloeric2008@gmail.com
Thanks & Regards
Eric.
Hi Eric,
ReplyDeleteThat's a problem in the pyaudio configuration, and I'm not sure how to resolve it. You can try these examples [1] and see if there's a problem there too.
[1] http://people.csail.mit.edu/hubert/pyaudio/#examples
Eric, are you using the Enthought Python Distribution by any chance?
ReplyDeleteI directly installed the epd-7.2-1-rh5-x86.sh
ReplyDeleteThanks 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.
ReplyDeleteYes, I ran the examples(play and Record), It works well on my PC.
ReplyDeleteI 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?
ReplyDeleteHello 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
ReplyDelete