File Exchange

image thumbnail

Equalizer, audioplayer, GUI

version 1.0 (15.6 KB) by

Possible to change equalizer during playing

4.57143
10 Ratings

79 Downloads

Updated

View License

http://simulations.narod.ru/
There are player with digital equalizer matlab. Each slider is second order linear filter, infinite impulse response (IIR) filter. Direct-form I used to combine all filters to one filter object. Signal processing toolbox and Data Acquisition Toolbox are used.

Sometimes playing stop if GUI activity is hight: when move slider too long by pressed up or down button.

All audio file is read to variable s before start play. It can read pcm wav files with wavread function. To read other types (mp3 wma ect) it is need to downlad mmread codes:
http://www.mathworks.com/matlabcentral/fileexchange/8028-mmread
and unzip all files to folder where the equalizer codes.

It is possible to change number of sliders, see n-variable in equalize.m Also need to change f Q filts_type

Formulas for a and b coeficients for peak, low-shelving, high-shelving filters was get here:

http://www.apogeemems.com/ddx/PDFs/AN-06.pdf

See how it works here:

http://www.youtube.com/watch?v=fUYmFjdrCQA

Run equalizer.m

Comments and Ratings (16)

Yue Huang

What is mmread

Yue Huang

analogoutput undefined

wow!

jing zhang

I downloaded this program and found that the function "analogoutput" is no longer supported. I was wondering how do you solve this issue.

I can not boost or cut in real time using slider, i have to press a button first but not real time. Could you tell me why?

Lam Phan Ngoc

Samer Shennar

needs updating to work on 64 bit.

ALI

ALI (view profile)

hey can any one help me, im getting the same errors specified by Isma Rekathakusuma. pls some one help me....

gud but im getting sum errors...

Maxim Vedenyov

Maxim Vedenyov (view profile)

For mp3 reading it is need to download mmread codes as explaned in the description.

??? Undefined function or method 'mmread' for input arguments of type 'char'.

Error in ==> read_audio at 13
        [video, audio] = mmread(fln);

Error in ==> equalizer>browse_Callback at 187
    read_audio(fln);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> equalizer at 42
    gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)equalizer('browse_Callback',hObject,eventdata,guidata(hObject))

 
??? Error while evaluating uicontrol Callback

when open mp3 file, it's just reading... and can't play the file.
why ?

interesting
(y)

TOMA Hadrien

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video