Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
psychoacoustical Masking.

Subject: psychoacoustical Masking.

From: Mohammad salehizadeh

Date: 26 Mar, 2010 13:42:04

Message: 1 of 4

I am trying to make those frequencies of my speech signal combined by white gaussian noise inaudible .First,I mapped from frequency to Bark scale by z=13*atan((.76*T)/1000)+3.5*atan((T/7500).^2); second, defined energy per critical band E.then obtained the spread masking across CBR which is defined as C=conv(E,B); here B is basiilar membrane spreading function B(dB)=B=15.81+7.5*(z+.474)-17.5*sqrt(1+(z+.474).^2); finally,masking threshold function is calculated by MASK=((10.^(P-Q))./N);

where :
                         P=(log10(C));
                         Q=(Ofset/10);

My problem is reffered to as Matrix mistmatch between P and Q in matlab.that sounds reasonable because if you assume E and B by size L.their convolution C should be at most 2*L-1 and at least L.This is due to the Convolution property,considering Ofset=delta*(14.5+z)+(1-delta)*5.5; Q seems to be a matrix by size L.I really need your help to find out how these matixes fit together dimensionally to calculate MASK.

Regards,
Mohammad

Subject: psychoacoustical Masking.

From: Sadik

Date: 27 Mar, 2010 00:03:04

Message: 2 of 4

Hi Mohammad,

Why not take the central part of the convolution?

Best.

Subject: psychoacoustical Masking.

From: Sadik

Date: 27 Mar, 2010 00:14:05

Message: 3 of 4

By the way, needless to say, the central part should be L elements long in order to avoid dimension mismatch.

Best.

Subject: psychoacoustical Masking.

From: Mohammad salehizadeh

Date: 27 Mar, 2010 00:38:02

Message: 4 of 4

Thank you for this wise way.Does anybody have code example to Bark's scale implementation applied as a frequency masking?

Many thanks in advance

Mohammad

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us