add white noise to my voise

Status
Not open for further replies.

sara_s

Newbie level 4
Joined
Dec 24, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Iran
Activity points
1,311
hello
I want to add white noise to my voise ( in matlab)
but I don' know how ?

pls help me
thanks
 

you can use the randn function:

noise=sigma*randn(1,N);
where N is the length of your data.
 

thanks for youre help
but my problem is any thing else !

I have white noise(downloaded from internet)
and I want to add white noise to my voice(that is 2 secend)
these are diffrent in length ,
how can I do this?

thanks indeed
 

let's say that v is voice and n is noise. what you want to do is vn=v+n but length(v) is different from length, correct?
let's say that N=min(length(v),length), than you can do vn=v(1:N)+n(1:N).

I hope this help!
 

    sara_s

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…