discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: help request with simple live mic tx


From: Stefano Zorzanello
Subject: Re: help request with simple live mic tx
Date: Tue, 30 Mar 2021 19:10:01 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0

Here again, struggling with another attempt to transmit in AM instead of FM, I've copied/modified the grc file found at https://wiki.gnuradio.org/index.php/Simulation_example:_AM_transmitter_and_receiver

I get the following error line, which I don't understand as it seems to me identical to the original simulation file

===========

Executing: /usr/bin/python3 -u /home/pi/Desktop/SDR STUFF/top_block.py

  File "/home/pi/Desktop/SDR STUFF/top_block.py", line 105
    self.uhd_usrp_sink_0.set_normalized_gain(500m, 0)
                                                ^
SyntaxError: invalid syntax

>>> Done (return code 1)

=============

Any suggestion? thank you for your time and patience

Stefano

system:

HackRF one

Raspberrypi + usb card for input

GRC 3.8.2.0





Il 30/03/2021 08:23, Marcus Müller ha scritto:
Why are you doing short to float, if the output of the audio source is already 
float?


On 30.03.21 01:47, Stefano Zorzanello wrote:
Dear list,

as a newbie I ask you for your help with the attached file. For a 
sound-installation
purpose I'd like to transmit a weak signal, which is generated live, over a 
particular FM
frequency. In my attempt based on a grc file found here
https://wiki.gnuradio.org/index.php/Simulation_example:_AM_transmitter_and_receiver
<https://wiki.gnuradio.org/index.php/Simulation_example:_AM_transmitter_and_receiver>
 I
get errors even if I change the vector lenght to 2 of [short to float] and 
[multiply
const] blocks, and I don't know what values to change in order to make it work.

Any help is greatly appreciated,

thank you

stefano

system:

HackRF one

Raspberrypi + usb card for input

GRC 3.8.2.0



Attachment: AM-tx02.grc
Description: Text document


reply via email to

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