Closed sTarAnna closed 3 years ago
On Windows platform. In denoise.cpp, train() f1 = fopen(argv[1], "r"); f2 = fopen(argv[2], "r"); is used to read noise and speech file (pcm or raw). But the mode should be set to 'rb'.
f1 = fopen(argv[1], "r"); f2 = fopen(argv[2], "r");
f1 = fopen(argv[1], "rb"); f2 = fopen(argv[2], "rb");
Nice, I didn't know that this is not working in Windows I fixed it!
On Windows platform. In denoise.cpp, train()
f1 = fopen(argv[1], "r"); f2 = fopen(argv[2], "r");
is used to read noise and speech file (pcm or raw). But the mode should be set to 'rb'.f1 = fopen(argv[1], "rb"); f2 = fopen(argv[2], "rb");