Play an audio file with different volume
조회 수: 4 (최근 30일)
이전 댓글 표시
How i can write program to play an audio file with different volumes such that
- double the volume
- unchanged the volume
- half the volume
댓글 수: 0
답변 (1개)
Star Strider
2020년 7월 4일
Use the sound function with the appropriate multiplicaiton factor. (Note, there is no guarantee that the result will not be clipped or otherwise distorted.)
Also see Play Audio for other options. (I am not certain if play automatically scales the output. I know that sound does not.)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!