Image-source method for room impulse response simulation (room acoustics)
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
引用格式
Eric A. Lehmann (2024). 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. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Signal Processing > Audio Toolbox > Audio I/O and Waveform Generation >
- Test and Measurement > Data Acquisition Toolbox > Multichannel Audio Input and Output >
- Engineering > Mechanical Engineering > Acoustics, Noise and Vibration >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
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!) |