I use SoX for recording on Windows, mostly. It's the tool I find the easiest to use, and it has never let me down so far.
SoX doesn't seem to support Opus yet, however. I asked on the SoX mailing list about that some time ago, but all I got, was someone translating my question into Esperanto, and telling me to ask all further question in Esperanto as well. No answer as such, though.
Does anybody know when Opus support will come to SoX? I don't need it desperately, but the computers that do the recordings only run Windows, and on that, SoX is the only sound recording tool that makes sense to me. I'd like to play around a bit, see how well it works with my 8 hours long live recordings.
I guess you could probably use sox as 'rec' to record 48kHz audio and direct it as WAV PCM or a similar raw stream but direct that output to stdout then direct that to opusenc as input. You could try testing that.
I'm just curious if pre-resampling with SoX to 48khz is good enough, i.e. no internal resampling by libopus is made
Curious? Then, as usual, simply check http://src.infinitewave.ca/ (http://src.infinitewave.ca/). As you will see, SoX does pretty great, particularly at “VHQ”. I really doubt you need to worry. I presume the resampler in Opus is equally competent.
I presume the resampler in Opus is equally competent.
It uses the Xiph Speex resampler (also from that link), which is quite good.
I guess you could probably use sox as 'rec' to record 48kHz audio and direct it as WAV PCM or a similar raw stream but direct that output to stdout then direct that to opusenc as input. You could try testing that.
It's actually what I do right now:
rec -t raw - | opusenc --raw - %filename%
It works OK, and all, but I still need to install the Opus tools, etc. On windows, that isn't exactly pleasant. That is, using the console in general, isn't a pleasant experience on Windows.
Why? Don't use console, use ConEmu