Hello!
I've following working code:
src = audio.source (sample_rate, options.audio_input)
dst = audio.sink (sample_rate, options.audio_output)
fft_size = 1024
s2p = gr.serial_to_parallel(gr.sizeof_float, fft_size)
fft = gr.fft_vfc(fft_size, True, window.hanning(fft_size))
ifft = gr.fft_vcc(fft_size, False, window.hanning(fft_size))
abs = gr.complex_to_mag()
p2s = gr.parallel_to_serial(gr.sizeof_gr_complex, fft_size)
self.connect((src, 0), s2p )
self.connect(s2p, fft )
self.connect(fft, ifft )
self.connect(ifft, p2s )
self.connect(p2s, abs, (dst, 0))
self.connect((src, 1), (dst, 1))
now I want to modify data between fft and ifft.
Do I have to make a custom block in python (I'd like to do this anyway...)?
Patrick
--
Engineers motto: cheap, good, fast: choose any two
Patrick Strasser <patrick dot strasser at tugraz dot at>
Student of Telematik, Techn. University Graz, Austria
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio