cppc
Newbie level 1

So I have two files: an audio file recorded in a (assumed) perfectly quiet room, and a real noise file recorded on street. I want to simulate the real noise condition at different SNR. I measure the power of the audio and noise, and based on that I assign a factor R to noise to achieve the desired SNR. Basically:
Mix Signal = Audio Signal + Noise * R
My main questions are:
1. Is the method I use valid?
2. When I write the Mix Signal in Matlab, it is automatically clipped to the range from -1 to 1. I know I can normalize the Mix Signal to the range from -1 to 1 before using wavwrite, but which way is better/more accurate for my task?
Thanks, I appreciate all the help.
Mix Signal = Audio Signal + Noise * R
My main questions are:
1. Is the method I use valid?
2. When I write the Mix Signal in Matlab, it is automatically clipped to the range from -1 to 1. I know I can normalize the Mix Signal to the range from -1 to 1 before using wavwrite, but which way is better/more accurate for my task?
Thanks, I appreciate all the help.