discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Write WAV file in integer format?


From: Andy Walls
Subject: Re: [Discuss-gnuradio] Write WAV file in integer format?
Date: Sun, 07 Jan 2018 18:19:55 -0500

> From:         John Ackermann N8UR
> Date:         Sun, 7 Jan 2018 16:59:32 -0500
> 
> I need to output IQ data from a Gnuradio script in 2-channel WAV
> format using integer rather than floating point, as required by the
> target program.
> 
> 
> Starting with a complex stream, is there a trick in GRC to output
> integer WAV data? I think I recall a reference to doing a "mult
> const" but Google isn't helping me find it.


Ensure your I & Q components are scaled down to +/-1.0 max, then just
use a "Complex to Float" block feeding a 2 channel "Wav File Sink"
block set for 16 bits per sample.

-Andy



reply via email to

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