discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Write I/Q to WAV file.


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Write I/Q to WAV file.
Date: Tue, 28 Jan 2014 00:51:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jordan,

you have to be aware that WAVs are only meant to hold real-valued
data. So the question stands: how to "store" complex signals in WAVs?
Usually, this is done by mapping the real and imaginary parts to the
two stereo channels. Since I don't know what the programs you mention
expect, I can't really help you diagnose that. So: What does your
"complex>real" stage look like?

If the GNU Radio WAV source tells you that there are no samples,
chances are good that the file is empty, and something in your signal
generation went wrong.

If you generate a well known complex signal in GRC and output it (the
same way as you intend to do it for sdr#) to a wave file, can you then
open that file in software such as audacity?

I don't quite see what you mean with "FFT attached to the complex >
float stage". FFT is something you usually do to complex vectors, not
only to the real/imag parts isolated.

Looking forward to hearing from you,
Marcus

On 28.01.2014 00:35, Jordan Johnson wrote:
> Long time reader, first time poster so hopefully I'm doing this
> whole mailing list thing right.
> 
> I was hoping someone could point me in a direction towards fixing
> this odd problem I am having.  I have a GRC graph which outputs
> complex samples. I would like to write these samples specifically
> to a WAV file so I can view them in SDR programs on Windows such as
> DREAM or, more importantly, SDR#.
> 
> I can't seem to do so however as when I run a Complex > Float --
> WAV File sink, SDR# says the WAV file isn't valid; and DREAM shows
> fullband noise. Playing the WAV in GNURadio also says there are "no
> samples".
> 
> I have an FFT attached to the Complex > Float stage and it shows
> the signal coming out just fine. What am I doing wrong?
> 
> Any assistance is massively apprechiated.
> 
> - Jordan.
> 
> 
> 
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS5vEcAAoJEAFxB7BbsDrLBUYIAICL2OYa0feVqKb2CJQ3FkY+
SykdNjnDBpkJTLcrgpyH0e0EZAWxDnkhVKvNQ2Ohhwjw/FPAZjKm5rncOZ2UfZfd
WQwYbseCi0QgZcfko6WqVq0cNs4SPJoIBo5Ffgye9chavzqLwS/mLrPe0uWlojzu
ND4wN6dPLZ1uTwYggAaeycOlh8K8ZHUuCEneqXnGnhS0mv8BZOxM7F9ZRCfBTmVN
aB544KEAh9wAuenFMxFW2vPMb/iUO0YZE4jn99+kUxgmW/FYZHp3kIvULpdCvnUI
zwo8bOb2YxnP0TwLSGy91BWJhYbmvoEHsNUfFJZuT5s/qai0rCHRO5HPEb1YDVU=
=vcnN
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]