GNU Radio block to play back files with delays between replays and/or limited replay counts
conda install ryanvolz::gnuradio-filerepeater
A set of GNU Radio blocks with more control over how files are played.
Shows in widgets now as [Advanced File] Group Advanced File Source: Files can be started with an initial delay before starting to output data (output 0's until the timer is hit), played with delays in between (output 0's in between), or played once then output zero's rather than just returning no samples. The block can also directly play signed8/HackRF and unsigned8/RTL-SDR saved IQ data and dynamically convert it to native complex.
The delay capabilities can all be useful if you're trying to combine multiple sample files into a single larger signal with different intervals or trying to do blind signal analysis and decoding where the standard file source repeat option causes signal discontinuities when it restarts.
Flow Input Synchronizer: If you play two file sources (even if you create two file source blocks but assign the same file to each), the data point flows will not be point-synchronized. The Flow Input Synchronizer is a sync block that just puts all inputs and outputs in step. In other words if you plotted the same file from two different file sources on a frequency sink using this block, the plots would now overlap/align whereas they do not without it.
Example gnuradio-companion flowgraphs are installed with the package and can be found in:
- (Linux/macOS) $CONDA_PREFIX/share/gnuradio/examples/filerepeater
- (Windows) %CONDA_PREFIX%\share\gnuradio\examples\filerepeater