SamWindell / Signet

Command-line program for bulk editing audio files on Windows, Linux and Mac
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Retaining metadata on remove silence #7

Closed faxinadu closed 4 months ago

faxinadu commented 2 years ago

I wonder about this caveat:

"However, in the case that Signet chops away part of the audio that contained a marker or loop, a warning will be issued as there is no reasonable way to resolve this."

The most common case I would think is removal of silence at the sample start. In that case, can not the loop points just be adjusted by subtracting from the loop start and end the number of samples removed?

SamWindell commented 2 years ago

If there are no markers in the silent bit that is trimmed away, but there are markers later in the file, the remaining marker will be adjusted so that they still line up with the data before the trim.

If there are markers in the bit that is trimmed away I'm still not sure what we can do? Is that what you mean here?