#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

КОМЕНТАРІ • 42

  • @panduwilantara3070
    @panduwilantara3070 Місяць тому

    very good

  • @ece_matlab
    @ece_matlab 27 днів тому

    plotWave_YW , this command is not found in my MATLAB . how can I fix this ???

  • @whatmaggiedid9765
    @whatmaggiedid9765 4 роки тому +1

    谢谢大哥!!!orz

  • @saikrishnareddysatti5375
    @saikrishnareddysatti5375 6 років тому +1

    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.

    • @jarvus
      @jarvus  6 років тому +1

      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.

  • @GuizaoFerraz
    @GuizaoFerraz 6 років тому

    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));

    • @jarvus
      @jarvus  6 років тому

      Be sure your input speech is single channel.
      s = s(:,1)

  • @mkhedre
    @mkhedre 4 роки тому

    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?

    • @jarvus
      @jarvus  4 роки тому

      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.

  • @LM-sk2rr
    @LM-sk2rr 4 роки тому +1

    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 ): ):

    • @jarvus
      @jarvus  4 роки тому

      Send the mail to me so that I can reply the code file.
      yiwen1210.chen@gmail.com

  • @miexnotes1114
    @miexnotes1114 6 років тому

    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?

    • @jarvus
      @jarvus  6 років тому

      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);

  • @ye4us
    @ye4us 4 роки тому

    Thanks. Your online analysis is not working

  • @malsawmdawngliana2928
    @malsawmdawngliana2928 6 років тому +1

    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

    • @jarvus
      @jarvus  6 років тому

      sorry, I didn't try bafore

  • @kierlopez7152
    @kierlopez7152 4 роки тому

    How can i get the numerical value of Frequency base on the Strong Energy ? Sorry for the question.

    • @jarvus
      @jarvus  4 роки тому +1

      Use this command: abs(fft(s))

    • @kierlopez7152
      @kierlopez7152 4 роки тому

      @@jarvus thank you!

  • @utkarshsrivastava4159
    @utkarshsrivastava4159 4 роки тому

    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

    • @jarvus
      @jarvus  4 роки тому

      What is “portion” meaning you mentioned here?

  • @kanishkaravindranath9314
    @kanishkaravindranath9314 3 роки тому

    thank yooo

  • @YinSuJanSam0w0
    @YinSuJanSam0w0 5 років тому

    受益良多! 感謝!

  • @bensalemyoussef945
    @bensalemyoussef945 6 років тому +1

    have any idea how to find data from audio signal ? wich function can i used?

    • @jarvus
      @jarvus  6 років тому

      You can refer this vodeo
      ua-cam.com/video/ZeFTXS-8X34/v-deo.html
      Or what do you mean?

    • @bensalemyoussef945
      @bensalemyoussef945 6 років тому

      I have an audio signal with noise and I wanted to remove this noise.
      How to do?

    • @jarvus
      @jarvus  6 років тому +1

      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 );

    • @bensalemyoussef945
      @bensalemyoussef945 6 років тому

      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?

    • @jarvus
      @jarvus  6 років тому +1

      Can you send me the audio file and I can understand exactly
      yiwen1210.chen@gmail.com

  • @aarpitasood3100
    @aarpitasood3100 5 років тому

    how to calculate mfcc of a wav file

    • @jarvus
      @jarvus  5 років тому

      You can refer this one:
      www.mathworks.com/matlabcentral/fileexchange/32849-htk-mfcc-matlab

  • @xavierlim2736
    @xavierlim2736 5 років тому

    hi yiwen
    can i ask you some question regarding this audio processing?

    • @jarvus
      @jarvus  5 років тому

      Sure, please tell me your question

    • @xavierlim2736
      @xavierlim2736 5 років тому

      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

    • @jarvus
      @jarvus  5 років тому

      @@xavierlim2736 You can refer the video introduction, what is the error on you window?

    • @xavierlim2736
      @xavierlim2736 5 років тому

      @@jarvus yiwen is it possible we chat in wechat?

    • @xavierlim2736
      @xavierlim2736 5 років тому

      if can i really appreciates .

  • @zhengzhengshen3188
    @zhengzhengshen3188 6 років тому

    真希望你说的是中文,英文表示听着很费劲

    • @jarvus
      @jarvus  6 років тому

      嗨~我有開設中文的線上課程(內容完整、適合新手)
      hahow.in/cr/audio-processing