hi…
i am working on rx_voice.py for transmission of audio files. In my
application, i need to capture directly the usrp samples and write them
onto a file. Now, i further want do some processing on them using
MATLAB. Next, what i want is that the file be passed to the python code
where i can demodulate them as it is done in receive_path.py . I have
been able to capture the data directly from USRP and write it onto a
file by making the connection:
fg.connect(self.u,self.dst)
where self.dst refers to the file. I also do the processing using MATLAB
and again write it onto a different file. Now, the problem is that how
should i pass the new file back to the code so that it gets demodulated.
I have tried running the rx_voice again wherein i make a connection as
follows:
fg.connect(self.dst,self.chan_filt,self.packet_receiver)
where self.dst refers to the new file which i want to demodulate.
But, nothing happens on making such a connection. Maybe the problem is
because of the way in which the samples from USRP and files are read.
The other option which i have thought of is to demodulate the entire
signal in MATLAB .But tht i suppose would be pretty tedious because then
i will probably have to study all the C++ implementations of the demod
blocks.
Can anyone please suggest any solution. I jus want that the data from a
file be read and demodulated in the same fashion as it is done when it
reads direct samples from the USRP.
Thanks for all the help in advance
Pratik Hetamsaria
Send free SMS to your Friends on Mobile from your Yahoo! Messenger.
Download Now! Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos