File:Audio passthrough.grc

From GNU Radio
Revision as of 00:44, 7 January 2022 by MarcusMueller (talk | contribs) (This flowgraph takes audio from the audio source, squares it, to get something proportional to the instantaneous power, then low-pass filters it to approximate an averaged-out power, applies a Threshold to it. The latter starts outputting 1s as so...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Audio_passthrough.grc(file size: 4 KB, MIME type: text/plain)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

This flowgraph takes audio from the audio source, squares it, to get something proportional to the instantaneous power, then low-pass filters it to approximate an averaged-out power, applies a Threshold to it. The latter starts outputting 1s as soon as the smoothed power crosses 10% of the maximum power, and turns back to generating 0s when it falls below 5%.

The resulting stream of 1s and 0s is multiplied with a 440 Hz tone and then fed into an Audio Sink, allowing the user to hear a tone for as long as there's enough sound at the input.

Screenshot: Audio passthrough.png

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current00:44, 7 January 2022 (4 KB)MarcusMueller (talk | contribs)This flowgraph takes audio from the audio source, squares it, to get something proportional to the instantaneous power, then low-pass filters it to approximate an averaged-out power, applies a Threshold to it. The latter starts outputting 1s as so...

The following page uses this file: