Enhancing an Audio file

17 次查看(过去 30 天)
I've an audio file with me (Audio File), who's volume is too low. I need a increase the volume just enough so that I could understand what is being said in the audio file.
Is is something which could be done in Matlab? If yes, then can we do it with Matlab code, so that the whole process could be automated. ( I've quite a lot of audio files like this). I just need a quick and dirty solution which could work on such audio files. I haven't done any audio signal processing, so kindly forgive me, if this seems like an obvious thing.
Any help would be greatly appreciated.
Thanks

采纳的回答

Star Strider
Star Strider 2020-10-4
Amplifying it is straightforward:
[y,Fs] = audioread('Madam’s Comments on draft 3 of ppt (mp3cut.net)-2.mp3');
[yh,yl] = bounds(y); % Optional
sound(y*500,Fs)
(I cannot understand any of what is being said.)
  2 个评论
abhimanyu dubey
abhimanyu dubey 2020-10-4
Loll!! :P
Thanks a lot for the quick solution. It makes sense. I should have thought of it. Since audio files are 1-D arrays, I could have simply augmented the sound ( along with noise ), by simple multiplication by a constant.
I had made a very simple addition here, and it worked like a charm.
clear ;
close all ; clc ;
[filename , filepath] = uigetfile('.mp3') ;
pj = [filepath , filename] ;
[y , fs] = audioread(pj) ;
y = 500 * y(y ~= 0) ;
pj = '/Users/abhimanyu/Downloads/PHD Literature survey/matlab_audio_ppt.wav' ;
audiowrite(pj , y , fs ) ;
And yeah, Ofcourse you won't understand it, since we were talking about DNS of a turbulent gas-particle suspension. So yeah, I can't say anything about you, but it makes perfect sence to me now. :)
Thanks once again for the quick reply.
Star Strider
Star Strider 2020-10-4
As always, my pleasure!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Measurements and Spatial Audio 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by