Skip to content

The signal generator is a mex-function for MATLAB that can be used to generate the response of a moving sound source and receiver in a reverberant environment.

License

Notifications You must be signed in to change notification settings

ehabets/Signal-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Signal-Generator

The signal generator is a mex-function for MATLAB that can be used to generate the response of a moving sound source and receiver in a reverberant environment. The user can specify the position of the source and the receiver at each discrete time instance. The output signal is computed by convolving the (anechoic) source signal with the time-varying room impulse response. Multiple receiver positions can be specified to generate multiple responses simultaneously. The room impulse responses are generated using the image method, proposed by Allen and Berkley in 1979 [1]. The user can control the reverberation time (or reflection coefficients), reflection order, room dimension and microphone directivity in a way similar to the RIR generator.

This package includes a MATLAB example, the mex-function, and the source code of the mex-function.

More information can be found here.

[1] J.B. Allen and D.A. Berkley, "Image method for efficiently simulating small-room acoustics," Journal Acoustic Society of America, 65(4), April 1979, p 943.

About

The signal generator is a mex-function for MATLAB that can be used to generate the response of a moving sound source and receiver in a reverberant environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published