blob: a422a75ec2ed7abe9f619dc784f8252f8eca7fb8 [file] [log] [blame]
Signal Generator Script 1.0
===============================================================================
This script takes command line arguments to broadcast the sum of various signals
with differing strengths. The script takes in arguments by specifying a type of
signal to broadcast followed by the corresponding parameters for that signal.
This script requires the user to specify at least 1 signal in order to operate.
In order to broadcast from file, use the '-f' flag and specify the path to the
file as well as a factor which corresponds to a db-gain on the specific signal.
A general db-gain can also be specified by using the '-g' flag to amplify the
combined signal.
Usage: signal_generator.py [options]
To print usage info use "./signal_generator.py -h" option.
Note: If you are playing from a file and are getting Underruns (U), try moving
the file to local storage.
A set of useful recordings have been placed at "/google/data/rw/teams/gfiber/sdr/recordings"
that can be used for testing or other purposes.