rnnoise icon indicating copy to clipboard operation
rnnoise copied to clipboard

Output file has no profile?

Open kaz260 opened this issue 7 years ago • 3 comments

I tried to rnnoise_demo with my data, which is 16 bit monaural format converted from 24 bit monorail format using ffmpeg. Rnnoise succeeded to produce a new data, but I could not play that. What's wrong? Would you tell me some hint?

kaz260 avatar Nov 08 '17 03:11 kaz260

The demo program works on raw (no header) audio. You probably want to convert that from/to wav. There's a bunch of programs that can do that. I use sox on Linux, but most audio editors should be able to do the job as well.

jmvalin avatar Jan 12 '18 17:01 jmvalin

@jmvalin - I'm having this problem also. How can I add a header to the file so I can hear it?

Edit: I was able to import as raw in Audacity and then from there you can re-render the file in Audacity. Works pretty darn well!

GrahamboJangles avatar Oct 14 '19 18:10 GrahamboJangles

Linux:

  • ffmpeg -y -map_metadata -1 -codec copy -i output.wav
  • play --encoding signed-integer --rate 48000 --bits 16 output.wav

liviu-rolo avatar Apr 29 '21 13:04 liviu-rolo