본문 바로가기

전체 글

(26)
SRP (Steered-Response Power) 개념 사람은 귀 두개로 노래가 나오는 방향을 알아낼 수 있다. 그렇다면 컴퓨터도 마이크가 두개 이상 있으면 방향을 알아낼 수 있을까? 란 질문에서 나온 처리 방법이다. 위 그림처럼 4개의 마이크가 일정 간격 직선으로 있고 우리는 방향 즉 세타를 구하고 싶은 것이다. 갑자기 큰 소리가 90도 위치 오른쪽 부분에서 온다고 가정해보자 위그림을 보면 M1에서의 딜레이가 가장 길 것이고 M4가 가장 짧을 것이다. 이를 스피커 신호와 각 마이크에 들어온 신호를 시뮬레이션으로 표현해본 것이다. 여기서 Wikipedia의 SRP 수식을 확인해보자 다른 부분은 빼고 빨간 줄 친 부분만 확인해보면 각 마이크 신호에서 위치에 따른 타임 딜레이를 빼주자는 것이다. 시뮬레이션을 해보면 이렇게 딜레이를 빼준다는 것이다. 다시 수식으로..
OpenCV CMake 프로젝트 생성하기 Windows Visual Studio와 CMake는 이미 설치된 상태에서 진행합니다. Github 링크 https://github.com/jzi040941/opencvcmakeproject jzi040941/opencvcmakeproject Contribute to jzi040941/opencvcmakeproject development by creating an account on GitHub. github.com OpenCV 설치 https://sourceforge.net/projects/opencvlibrary/files/opencv-win/ 위 링크로 들어가서 opencv-4.x.xblabla.exe를 다운받는다. 실행하면 아래와 같은 창이 뜬다. opencv가 설치될 경로를 지정한다. 꼭 기억할것. (본 글..
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..
Case Interview bain&company https://www.bain.com/careers/interview-prep/case-interview/ mckinsey https://www.mckinsey.com/careers/interviewing bcg https://www.bcg.com/en-kr/careers/roles/consulting/interview-resources.aspx
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..