Hi <br>
<br>
I want to play the following program :<br>
<br>
from gnuradio import gr<br>
from gnuradio import audio<br>
from gnuradio.eng_option import eng_option<br>
from optparse import OptionParser<br>
<br>
class my_top_block(gr.top_block):<br>
<br>
    def __init__(self):<br>
        gr.top_block.__init__(self)<br>
<br>
        parser = OptionParser(option_class=eng_option)<br>
        parser.add_option(&quot;-O&quot;, &quot;--audio-output&quot;, type=&quot;string&quot;, default=&quot;&quot;,<br>
                          help=&quot;pcm output device name.  E.g., hw:0,0 or /dev/dsp&quot;)<br>
        parser.add_option(&quot;-r&quot;, &quot;--sample-rate&quot;, type=&quot;eng_float&quot;, default=48000,<br>
                          help=&quot;set sample rate to RATE (48000)&quot;)<br>
        (options, args) = parser.parse_args ()<br>
        if len(args) != 0:<br>
            parser.print_help()<br>
            raise SystemExit, 1<br>
<br>
        sample_rate = int(options.sample_rate)<br>
        ampl = 0.1<br>
<br>
        src0 = gr.sig_source_f (sample_rate, gr.GR_SIN_WAVE, 350, ampl)<br>
        print src0<br>
        #src11    = [src0(1),src0(2)]<br>
        src1 = gr.sig_source_f (sample_rate, gr.GR_SIN_WAVE, 440, ampl)<br>
        dst = audio.sink (sample_rate, options.audio_output)<br>
        self.connect (src0, (dst, 0))<br>
        self.connect (src1, (dst, 1))<br>
<br>
<br>
if __name__ == &#39;__main__&#39;:<br>
    try:<br>
        my_top_block().run()<br>
    except KeyboardInterrupt:<br>
        pass<br>
<br>
<br>
though i get the output but i also get the following statement<br>
&lt;gr_block sig_source_f (1)&gt;<br>
<br>
i donot understand what this line means. My aim is to capture the samples of src0. for that purpose i have given <b>print src0 </b>command.<br>
<br>
Regards,<br>
Harshal<br>