본문 바로가기

WebRTC

(9)
Chromium debug log WebRTC테마에 chromium debug log가 왠말이냐 할 수 있다. audioproc_f.exe 등과 같은 WebRTC 안의 음성처리 테스트툴 에서는 아래와 같은 debug 로그들을 확인할 수 있고 이를 통해 다음 단계를 나아갈 수 있다. (audio_processing_impl.cc:526): AudioProcessing::ApplyConfig: AudioProcessing::Config{ pipeline: {maximum_internal_processing_rate: 48000, multi_channel_render: 0, , multi_channel_capture: 0}, pre_amplifier: { enabled: 0, fixed_gain_factor: 1 }, high_pass_fil..
audioproc_f argument 200907 audioproc_f는 webrtc audio_processing module의 파일모드 테스트 툴이다. 이 툴을 사용하기 위해서는 build option에 apm_debug_dump=true로 주어야한다. webrtc.gni 파일에 apm_debug_dump = true //false를 true로 변경 .\audioproc_f.exe -ri C:\Users\nohseonghun\Documents\develop\echo-cancellation-tester\src\assets\IR_random_RT60_0.3_SNR_0_FarEnd_music_sil_0.5_cutoff_768_NonLin_0\4\far-end_1.wav --use_stream_delay 1 --stream_delay 4 --all_defa..
WebRTC 실제 테스트 webRTC의 audioprocessing module을 변경하였다면 이제 실제 테스트를 진행하기 위해 일대일 화상 회의를 진행해야 한다. 이때 appr.tc라는 사이트를 사용하였고 다른 apm을 disable시키기 위해 아래의 js내용을 개발자모드에서 입력한다. loadingParams.mediaConstraints.audio = { "echoCancellation": {"exact": true}, "noiseSuppression": {"exact": false}, "highpassFilter": {"exact" :false}, "autoGainControl": {"exact" :false} }
SoX 명령어 cheat sheet Today the command line audio utility sox gave me some head aches while I was working on some sample files for a listening test I prepare for my current research. I actually just needed to convert a stereo 44.1kHz floating point WAV file to 48kHz, split it into single mono files (one for each channel), convert the mono files to raw PCM, process some filter on the raw files, convert them back to mono WAV..
aec_dump 관련 내용 Using unpack_aecdump After building unpack_aecdump I copied it to a different location and used it as follows: ./unpack_aecdump audio_debug.4440.aec_dump.1 The first line below is the input file, the others are the output files (file size in bytes at the front). If the output files already exist they are overwritten. 163865593 audio_debug.4440.aec_dump.1 643 settings.txt 39862916 reverse0.wav 21..
webRTC aec3 pipline audioproc_f.exe rtc_tools/audioproc_f/audioproc_float_main.cc //main api/test/audioproc_float.h //안쪽의 껍데기 modules/audio_processing/test/audioproc_float_impl.h //실제 테스트 툴 코드 이 안에서 input output 외부로 부터 전달 받고 RunSimulation()에서 modules/audio_processing/test/audio_processing_simulator.h 을 기반으로 만들어진 modules/audio_processing/test/aec_dump_based_simulator.h OR modules/audio_processing/test/wav_based_simu..
chromium echo cancellation 테스트 아래 옵션을 주게 되면 마이크 입력 대신 테스트 wav 파일로 대체할 수 있게 된다. ./chrome.exe --use-file-for-fake-audio-capture=C:\Users\nohseonghun\Documents\develop\echo-cancellation-tester\src\assets\input.wav --use-fake-device-for-media-stream https://github.com/paulrosen/echo-cancellation-tester paulrosen/echo-cancellation-tester This is a simple test of whether echo cancellation can be turned off. - paulrosen/echo-cancell..
chromium 빌드하기 WebRTC 혼자만 가지고는 테스트 하기가 매우 어렵다고 판단하여 브라우저를 빌드하여 WebRTC 부분만 변경해보면 될것이라는 생각이 들어 chromium을 빌드하기로 결정하였다. chromium 공식사이트 빌드 설명 Checking out and Building Chromium for Windows Checking out and Building Chromium for Windows There are instructions for other platforms linked from the get the code page. Instructions for Google Employees Are you a Google employee? See go/building-chrome-win instead. System ..