Image-source method for room impulse response simulation (room acoustics)

Simulates audio data at one or more microphones from a source moving in a reverberant environment
3.7K Downloads
Updated 10 Mar 2012

View License

These files can be used to simulate a sound source moving in a reverberant environment and generate the corresponding samples of audio data received at one or more microphones. In addition, the user can define the desired level of environmental reverberation time in a simple and accurate manner. The audio data can be simply generated by executing the following two commands:

>> ISM_RIR_bank(my_ISM_setup, 'ISM_RIRs.mat');
>> AuData = ISM_AudioData('ISM_RIRs.mat', SrcSignalVec);

where SrcSignalVec contains the source signal, and my_ISM_setup.m contains the various user-defined parameters needed for the simulation (such as room dimension, positions of the microphones, trajectory of the sound source, desired reverberation time of the environment, etc.). The multi-channel matrix of audio data AuData contains the signals generated at each of the sensors.

These files further allow the user to define a range of simulation parameters such as automatic saving of the audio data into a .mat or .wav file, addition of white noise to the resulting signals, how much to crop the generated impulse responses, different ratios of absorption coefficients in the room, etc.

A full documentation of these files, as well as detailed explanations regarding the simulation process can be found at http://www.eric-lehmann.com

Cite As

Eric A. Lehmann (2026). Image-source method for room impulse response simulation (room acoustics) (https://www.mathworks.com/matlabcentral/fileexchange/20962-image-source-method-for-room-impulse-response-simulation-room-acoustics), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.5.0.0

Minor updates to ISM_RoomResp.m and ISM_RIR_DecayTime.m so as to better handle anechoic environments (thanks to comments from Maryam Naghibolhosseini). Anechoic responses can now be achieved by setting either RT_VAL=0 or BETA=[0 0 0 0 0 0] (or both).

1.3.0.0

Function 'ISM_RIR_DecayTime.m' updated to allow for a greater accuracy in the predicted decay time results. Several other functions were modified and/or created as a result of this update.

1.2.0.0

BSD license

1.1.0.0

Updated URL for full documentation

1.0.0.0

small bug fixed in ISM_AudioData.m (thanks to Benedikt Lösch!)