Subversion Repositories svnkaklik

Rev

Rev 515 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 515 Rev 524
Line 2... Line 2...
2
##################################################
2
##################################################
3
# Gnuradio Python Flow Graph
3
# Gnuradio Python Flow Graph
4
# Title: untitled
4
# Title: untitled
5
# Author: unknown
5
# Author: unknown
6
# Description: gnuradio flow graph
6
# Description: gnuradio flow graph
7
# Generated: Fri Feb 20 19:47:38 2009
7
# Generated: Sat Feb 21 13:28:44 2009
8
##################################################
8
##################################################
9
 
9
 
10
from gnuradio import audio
10
from gnuradio import audio
11
from gnuradio import gr
11
from gnuradio import gr
12
from gnuradio.wxgui import fftsink2
12
from gnuradio.wxgui import fftsink2
Line 52... Line 52...
52
		##################################################
52
		##################################################
53
		# Connections
53
		# Connections
54
		##################################################
54
		##################################################
55
		self.connect((self.gr_noise_source_x_0, 0), (self.audio_sink_0, 0))
55
		self.connect((self.gr_noise_source_x_0, 0), (self.audio_sink_0, 0))
56
		self.connect((self.audio_source_0, 0), (self.wxgui_fftsink2_0, 0))
56
		self.connect((self.audio_source_0, 0), (self.wxgui_fftsink2_0, 0))
-
 
57
		self.connect((self.gr_noise_source_x_0, 0), (self.audio_sink_0, 1))
57
 
58
 
58
	def set_samp_rate(self, samp_rate):
59
	def set_samp_rate(self, samp_rate):
59
		self.samp_rate = samp_rate
60
		self.samp_rate = samp_rate
60
 
61
 
61
if __name__ == '__main__':
62
if __name__ == '__main__':