Code covered by the BSD License  

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

Be the first to rate this file! 33 Downloads (last 30 days) File Size: 29.38 KB File ID: #20962
image thumbnail

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

by Eric A. Lehmann

 

04 Aug 2008 (Updated 10 Mar 2012)

Simulates audio data at one or more microphones from a source moving in a reverberant environment

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
05 Aug 2008

keywords updated

05 Aug 2008

minor update in title and keywords

06 Aug 2008

updated keywords

11 Aug 2008

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

17 Mar 2009

Updated URL for full documentation

12 Jul 2009

BSD license

28 Nov 2009

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.

10 Mar 2012

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).

Tag Activity for this File
Tag Applied By Date/Time
audio processing Eric A. Lehmann 22 Oct 2008 10:13:09
acoustics Eric A. Lehmann 22 Oct 2008 10:13:09
image source Eric A. Lehmann 22 Oct 2008 10:13:09
auralization Eric A. Lehmann 22 Oct 2008 10:13:09
room impulse response Eric A. Lehmann 22 Oct 2008 10:13:09
reverberation Eric A. Lehmann 30 Oct 2008 21:01:07
acoustics yuli zhang 15 Mar 2010 22:13:31

Contact us at files@mathworks.com