#1 Plot Audio Wave in Time and Frequency domain by MATLAB
Вставка
- Опубліковано 5 вер 2024
- Audio Processing by MATLAB #1
1. Plot signal wave (wav/mp3 file) in time or frequency domain
2. Choose x-axis as time or samples
3. Remove spectral energy under a value when show the spectrogram
音訊處理 #1
使用MATLAB讀取音檔,並畫出音訊的時域或頻域圖
Introduction & Download
/ plot-audio-wave-in-tim...
Tutorial & Contact Jarvus
/ audio-processing-by
Online Analysis For Audio Time & Frequency Domain
jarvus.dragonbe...
#MATLAB #Audio #Tutorial #Jarvus
very good
plotWave_YW , this command is not found in my MATLAB . how can I fix this ???
谢谢大哥!!!orz
Hi. Thankyou very much for the video. I want to do spectral analysis for the audio recorded when an object is being tapped by hammer. I recorded the audio with my phone. But could not get any results. Can you please tell what are the factors I need to take into consideration? Thankyou once again.
Try to show its spectrogram first, then find some features inside. You can send the figure and audio file to my email: yiwen1210.chen@gmail.com. I will take a look.
what I can do to fix this?
Error using specgram>specgramchk (line 155)
Requires vector (either row or column) input.
Error in specgram (line 14)
[x,nfft,Fs,window,noverlap]=specgramchk(varargin);
Error in plotWave_YW (line 69)
[B,f,T] = specgram(signal,frameSize*2,fs,hanning(frameSize),round(frameSize/2));
Be sure your input speech is single channel.
s = s(:,1)
can you help me ....i need to give matlap a record for myself speaking with a voice from a radio in the background then separate the two voices how can i do it?
You can refer this video to record your sound (ua-cam.com/video/ZeFTXS-8X34/v-deo.html).
Then, search about "sound source separation" so that you can find some method to do it.
dude i really do need this code and the matlabwebsite isn't available here is Syria so please uploaded somwhere else and please i hurry coz' i need it pretty much ): ):
Send the mail to me so that I can reply the code file.
yiwen1210.chen@gmail.com
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be
aware that exceeding your available stack space can crash MATLAB and/or your computer.
I tried it with long duration of wave file...it results with an error in recursion. How can to fix it sir?
Are you trying to plot a long WAV file by my function?
You can divide them into short parts and plot it.
Here is an example:
[s, fs] = audioread('speech.wav');
s1 = s(1:fs*60); %for first minute
s2 = s(:fs*60+1:fs*120); % for second minute
.....
plotWave_YW(1, s1, fs, 'time', 0);
plotWave_YW(1, s2, fs, 'time', 0);
Thanks. Your online analysis is not working
thanks you for the matlab code,may i request one thing i want to do 16qam modulation on wav files,is it possible,that is part of my project
sorry, I didn't try bafore
How can i get the numerical value of Frequency base on the Strong Energy ? Sorry for the question.
Use this command: abs(fft(s))
@@jarvus thank you!
i want to know about the portion that is present in command history....because without that part ....the part that you are discussing in this video is useless. so i request you to provide me that portion
What is “portion” meaning you mentioned here?
thank yooo
受益良多! 感謝!
have any idea how to find data from audio signal ? wich function can i used?
You can refer this vodeo
ua-cam.com/video/ZeFTXS-8X34/v-deo.html
Or what do you mean?
I have an audio signal with noise and I wanted to remove this noise.
How to do?
You need to use some noise reduction method.
It depends on what kind of noise you want to remove.
The basic way is the high pass filter by the function as following
speech = filter( [1 -0.97], 1, speech );
i describe my Problem: For ship propellers can because of the low pressure spontaneous evaporation of water. This evaporation is called cavitation.Now i have an audio file is the result of an acoustic measurement at cavitation of the ship's propeller. So in addition to background noise, cavitation can perceive as a slight click. So In a first stage of the work, the individual cavitation events in the measurement data must be found and isolated. This task can be performed with automatic learning procedures. But my question is how?
Can you send me the audio file and I can understand exactly
yiwen1210.chen@gmail.com
how to calculate mfcc of a wav file
You can refer this one:
www.mathworks.com/matlabcentral/fileexchange/32849-htk-mfcc-matlab
hi yiwen
can i ask you some question regarding this audio processing?
Sure, please tell me your question
Yiwen Chen just now I try to using your code to try to get frequency domain but fail ...may I ask how to use plotWave_YW this function? Tq
@@xavierlim2736 You can refer the video introduction, what is the error on you window?
@@jarvus yiwen is it possible we chat in wechat?
if can i really appreciates .
真希望你说的是中文,英文表示听着很费劲
嗨~我有開設中文的線上課程(內容完整、適合新手)
hahow.in/cr/audio-processing