Skip to content

Allow importing wav/flac/m4a and initialize snapshot from it #12

@xelrix123

Description

@xelrix123

I have recorded over the years some audio files of movement sounds before/after service. It would be very nice if I could load those recordings (assuming some reasonable minimum length) to tg and have it use the recorded audio as a source (instead of live capture from a mic) for a snapshot. Ideally so that in addition to having import in GUI, I could also do ./tg-timer --input-snapshot ./input.flac to load it directly to snapshot, with ability to give option multiple times so that 1..n snapshots could be initialized from audio files.

Attached a sample capture of recently serviced Valjoux 7734 movement (made using piezo/contact mic) for a reference. It's WAV (because github wouldn't let upload FLAC), but ffmpeg/sox etc can easily used to convert it to flac/raw etc. format if needed. Before importing to tg, or I guess tg could also try to use those internally.

PS. Thanks for your work on tg!!!

valjoux7734.wav

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions