Josh Blum wrote on 2007-02-13 00:56:
Is there a square wave source? And can sig_source_* be expanded to produce square waves, triangle, sawtooth..?
There is a simple switch on the waveform in the code[0], with some code for each case to create the waveform. Should be no problem at all.
What I have not figured out is how to get a compact overview of the waveform constants. In Python this gets gr.GR_SIN_WAVE and siblings, and for the noise sources you have gr.GR_UNIFORM and fiends. Is there any way to get an collection you can scan to get all wave forms?
Patrick [0] gnuradio-core/src/lib/general/gr_sig_source_X.cc.t ps: grc rocks! -- Engineers motto: cheap, good, fast: choose any two Patrick Strasser <patrick dot strasser at tugraz dot at> Student of Telematik, Techn. University Graz, Austria _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio