Forum: GNU Radio building complete mbpsk modulator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
63718417e7b370e31b55ba4010d800fd?d=identicon&s=25 df fd (Guest)
on 2007-04-17 12:35
(Received via mailing list)
hello im a telecommunications engineering student and  i cant build
complete
bpsk modulator, when i multiply the signal that returns of
gr_chunks_to_symbols_bc by the local oscillator the output signal its
wrong
and i dont know what can i do wrong
this is my code:

src = gr.file_source (1, 'audio_1.dat', False)

self.bytes2chunks=gr.packed_to_unpacked_bb(self.bits_per_baud(),
gr.GR_MSB_FIRST)  #

self.chunks2symbols = gr.chunks_to_symbols_bc(psk.constellation[arity])
#

self.connect(src,self.bytes2chunks,self.chunks2symbols)

if_rate=48e3
lo_freq=2*math.pi*10

          # Local oscillator
lo = gr.sig_source_c (if_rate,gr.GR_COS_WAVE,lo_freq, 1.0, 0)

mixer = gr.multiply_cc ()

self.connect(self.chunks2symbols,(mixer,0))

self.connect(lo,(mixer,1))

dst = gr.file_sink (gr.sizeof_gr_complex,'float.dat')

self.connect(mixer,dst)
self.star()


maybe this code dont work  god but is the essence
thanks for your atencion

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras
en
MSN Motor. http://motor.msn.es/researchcentre/
47cd2588a66d59a4aae0d6fce281c073?d=identicon&s=25 Manav Rohil (manav)
on 2008-03-04 18:35
I was trying to do a bpsk modulator on the similar line..what is the
flaw in the code
This topic is locked and can not be replied to.