GNU Radio World

Paint a PNG Into a Waterfall

Paint a PNG into a waterfall display. The image is fetched from this site; open the Image File Source properties and press Browse to paint a picture from your own computer instead.

Press Load to open this flowgraph in an editor embedded above, then ▶ to run it. Nothing is downloaded until you do.

Open in the full editor ▶ Download the .grc

Blocks used

BlockModuleUsed
Image File Sourcegr-paint1
QT GUI Waterfall SinkGNU Radio1
Spectrum Paintergr-paint1
ThrottleGNU Radio1
VariableGNU Radio1

Flowgraph source

paint/paint_image_waterfall.grc
options:
    parameters:
        author: gr-paint (Ron Economos, W6RZ)
        copyright: ''
        description: Paint a PNG into a waterfall display. The image is fetched from this site; open the Image File Source properties and press Browse to paint a picture from your own computer instead.
        generate_options: qt_gui
        id: Paint_a_PNG_Into_a_Waterfall
        title: Paint a PNG Into a Waterfall
    states:
        coordinate: [10, 10]
        rotation: 0
        state: enabled
blocks:
-   name: samp_rate
    id: variable
    parameters:
        comment: ''
        value: '163840'
    states:
        coordinate: [600, 10]
        rotation: 0
        state: enabled
-   name: image
    id: paint_image_source
    parameters:
        affinity: ''
        alias: ''
        autocontrast: '0'
        bt709_map: '1'
        comment: ''
        image_file: /example_images/gnuradio_logo.png
        image_flip: '0'
        image_invert: '0'
        maxoutbuf: '0'
        minoutbuf: '0'
        repeatmode: '1'
    states:
        coordinate: [10, 130]
        rotation: 0
        state: enabled
-   name: painter
    id: paint_paint_bc
    parameters:
        affinity: ''
        alias: ''
        comment: ''
        equalization: EQUALIZATION_OFF
        maxoutbuf: '0'
        minoutbuf: '0'
        randomsrc: INTERNAL
        repeats: '4'
        width: '288'
    states:
        coordinate: [380, 160]
        rotation: 0
        state: enabled
-   name: throttle
    id: blocks_throttle2
    parameters:
        affinity: ''
        alias: ''
        comment: ''
        ignoretag: 'True'
        limit: time
        maximum: '0.02'
        maxoutbuf: '0'
        minoutbuf: '0'
        samples_per_second: samp_rate
        type: complex
        vlen: '1'
    states:
        coordinate: [720, 150]
        rotation: 0
        state: enabled
-   name: waterfall
    id: qtgui_waterfall_sink_x
    parameters:
        affinity: ''
        alias: ''
        alpha1: '1'
        axislabels: 'True'
        color1: '0'
        comment: ''
        fc: '0'
        fftsize: '4096'
        grid: 'False'
        int_max: '-57'
        int_min: '-83'
        label1: ''
        legend: 'True'
        maxoutbuf: '0'
        minoutbuf: '0'
        name: Painted Spectrum
        samp_rate: samp_rate
        update_time: '0.025'
    states:
        coordinate: [1050, 140]
        rotation: 0
        state: enabled
connections:
- [image, '0', painter, '0']
- [painter, '0', throttle, '0']
- [throttle, '0', waterfall, '0']
metadata:
    file_format: 1
    grc_version: 3.11.0.0