필터 지우기
필터 지우기

How to select a preferred channel on the audiorecorder

조회 수: 3 (최근 30일)
Venkat Ta
Venkat Ta 2022년 11월 25일
답변: Sameer Pujari 2022년 11월 28일
I understand that currently only one and two channel audio is supported, but if I want to select a specific channel number to record, how do I do that with this function?
For example, if I wanted to register the 14th and 12th ADC inputs instead of the defaults of 1 and 2, how would I do that in the function (recObj = audiorecorder(48000,24,2,2))?

답변 (1개)

Sameer Pujari
Sameer Pujari 2022년 11월 28일
Hi Venkat
The "audiorecorder" function is a lightweight function for most common usages (acquire sound from a stereo source, only 2 channels).
If you would like to acquire sound from a source that has more than 2 channels, you should use the Audio System Toolbox.
You can specify the channels to sample using the Channel Mapping property of the audioDeviceRecorder object:

카테고리

Help CenterFile Exchange에서 Code Generation and Deployment에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by