MATLAB 도움말 센터
audioplayer 객체 재생 또는 audiorecorder 객체 기록 중지
audioplayer
audiorecorder
stop(audioObj)
stop(audioObj)는 audioplayer 객체의 재생이나 audiorecorder 객체의 기록을 중지합니다.
audioObj
예제
모두 축소
녹음 세션을 시작하고, 레코더를 일시 중지했다가, 세션을 재개하여 전체 오디오 클립의 녹음을 완료합니다.
audio recording 객체를 만들고 시스템의 마이크를 사용하여 녹음을 시작합니다.
recObj = audiorecorder; record(recObj); disp('Recording in progress now ...')
Recording in progress now ...
녹음을 일시 중지하고 audiorecorder 객체의 상태를 확인합니다. isrecording 함수는 녹음이 진행 중일 때는 1을, 녹음이 진행되지 않고 있을 때는 0을 반환합니다.
isrecording
1
0
pause(recObj); isrecording(recObj)
ans = logical 0
지금까지 녹음된 오디오를 듣습니다.
playerObj= getplayer(recObj); play(playerObj);
녹음 세션을 진행하기 전에 audioplayer 객체의 상태를 확인합니다. isplaying 함수는 재생 중일 때는 1을, 재생되지 않고 있을 때는 0을 반환합니다.
isplaying
isplaying(playerObj)
다음으로, 녹음을 재개하여 오디오를 audiorecorder 객체로 더 캡처합니다.
resume(recObj)
자료를 더 녹음한 후에 녹음을 중지하여 오디오 클립을 완료합니다.
stop(recObj)
audiorecorder 객체에서 전체 오디오 클립을 가져와서 재생합니다.
playerObj= getplayer(recObj) play(playerObj)
오디오 객체로, audioplayer 또는 audiorecorder 객체로 지정됩니다.
audioObj가 audioplayer 객체이면 stop 함수는 진행 중인 오디오 재생을 중지합니다.
stop
audioObj가 audiorecorder 객체이면 stop 함수는 진행 중인 오디오 녹음을 중지합니다.
audioplayer 객체를 만들려면 audioplayer 함수를 사용하십시오.
audiorecorder 객체를 만들려면 audiorecorder 함수를 사용하십시오.
R2006a에 개발됨
resume | pause | audiorecorder | audioplayer
resume
pause
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의