Speech in noise mixing, signal to noise ratio

Version 1.2.0.0 (4.79 KB) by Nike
a simple function to mix a speech signal with a desired noise desired signal to noise ratios
1.6K Downloads
Updated 7 Feb 2017

View License

This was developed by G Nike Gnanateja for mixing speech signals with noise at difference signal to noise ratios.
This function mixes the speech and noise signals in terms of the RMS signal to noise ratios.
Hope you find it useful
This program has been written by G. Nike Gnanateja, Junior Research Fellow, Dept. of Audiology
All India Institute of Speech and hearing, Mysore,for mixing the speech signals
and noise at desired Signal to Noise Ratios
If you are new to matlab, try any of these
1. Just copy the entire script and paste it in the command window
2. Select all and press F9 (on windows)
3. Drag the speechmix1_rev_1.m file onto the command window

If you desire an SNR lower than -10dB , Change the value of dbs to lower
values eg; -5, -2 etc.Change the File name in the wavwrite command if you
desire a different file name
Changes from the earlier version :

1. The instruction is much better described in the help section for non-matlab users
2. The Speech files selection has been changed to selection of multiple files
rather than selection of a directory as earlier. This allows users to
flexibly choose the files that they desire. The output directory cannot
be selected. I can actually incorporate this (Very easy), but I feel that
the user has to click a lot of dialog boxes and as the script is intended
for non-matlab users, it might be too much.
3. The Verbose file is an important addition. I feel this is very important,
as it helps in identifying location of the original input and output data files.

Copyright : G. Nike Gnanateja (2017)

Cite As

Nike (2024). Speech in noise mixing, signal to noise ratio (https://www.mathworks.com/matlabcentral/fileexchange/37842-speech-in-noise-mixing-signal-to-noise-ratio), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Corrected small glitches in silence padding and processing of a single stimulus
Check the description for the update notes

1.1.0.0

The previous version could only mix the signals with the same sampling rate, however the current update mix signals differing in their sampling rates

1.0.0.0