EliasOenal/multimon-ng

Timestamp output for file inputs?

cchadowitz opened this issue · 0 comments

I noticed that there is a --timestamp option that does the following: "Add a time stamp in front of every printed line"

However it seems that this adds the system timestamp at the time of decoding. If the input is a file and not a stream, would it be possible to instead print the timestamp of the location in the audio file that was decoded (maybe the sample number or something similar)? In this case, the system time when decoding isn't particular useful, but I would still like to be able to identify at what point in the audio file a particular signal was decoded.

I'm happy to patch this in myself, I'm just not familiar with how or where this would go, so any suggestions are more than welcome!