Jan Stary <hans@xxxxxxxx> writes: >> >> >> Why do you hate this particular feature so badly? >> >> > >> >> > I don't hate it (or have any other sentiment towards it). >> >> > I just think it's unused cruft of questionable value, >> >> > and thus a candidate for removal. That's why I asked >> >> > if people are using it. (So far, no-one said yes.) >> >> >> >> You could say the same about almost every feature in sox. The vast >> >> majority of effects are very rarely used. >> > >> > The effects are audio signal processors. That's what SoX does. >> > Guessing the format of unknown files is not. That's what file(1) does. >> > So no, this stretched generalization of yours doesn't work either. >> >> "What sox does" also includes processing audio files of unknown >> format. > > ... once the format is known. And why not let sox figure it out? >> >> > If I have an OGG file named *.wav, _that_ is the problem. If an internet >> >> > radio streams a FLAC stream named *.mp3, _that_ is the problem. >> >> > And using libmagic (or any format guessing for that matter) _in_SoX_ >> >> > is not a solution to it. Instead, find out what the format really is, >> >> > maybe using a tool designed for file format guessing such as file(1), >> >> > and fix _that_ first. "Fixing" it within SoX is imho a pollution of SoX. >> >> > That's my point. >> >> >> >> So you want to fix the internet. Good luck with that. >> > >> > And in closing, another meaningless strawman. >> > No, I don't want to "fix the internet", whatever you mean by that. >> >> I mean there are scores of files out there that are misnamed or >> otherwise without indication of format. Unless you can somehow fix >> every mistake on the internet, that's not going to change. > > And even that is not a reason to have the libmagic functionality > in_SoX_itself. Find out what the format is (possibly with file(1)), > and then run sox on it with the appropriate --type. That's your opinion. I don't see anyone agreeing with you. -- Måns Rullgård ------------------------------------------------------------------------------ _______________________________________________ Sox-users mailing list Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users