Linux Studio Plugins Project

# Room Builder Mono

Detailed: LSP Room Builder Mono (RB1M)

Formats: LV2, VST2, JACK

Categories: Reverb

Developer: Vladimir Sadovnikov

Description:

This plugin allows to simulate impulse response of any modelled room or space. The basic principle is based on generating of unit audio impulse and then capturing all it's reflections from environment by special capturing objects that simulate microphone capsules.

So, in fact, this algorithm is a kind of raytracing algorithm but instead of single rays it performs tracing of ray groups. This allows to simulate large spaces withous significantly loose in quality and precision.

The typical simulation workflow is peformed in the following way:

- Prepare a room model in Wavefront OBJ file format.
- Load room model in the plugin's main window.
- Edit environment settings like: audio sources, audio captures, objects' spacial parameters and material properties.
- Launch the rendering process which will simulate physical processes and generate the impulse response of the room.
- Obtain final samples after the rendeing is complete.

Additionally, generated samples can be immediately applied to the input signal as a convolution. This allows to understand the final result with minimum number of actions.

The simulation algorithm relays on the following physical model.

The sound source emits unit audio impulse which consists of infinite number of audio rays.

Each ray has it's own characteristics: the velocity vector vfalling and the amplitude Afalling.

This ray reaches the border of two different materials at the the αfalling angle to the border's normal vector nface.

Then, the ray is split into two rays: reflected and refracted.

The reflected ray has the same velocity value but the negated projection to the face normal. This, still, keeps the rule that the reflected angle is similar to the falling angle.

The refracted ray has the altered velocity value multiplied by the relative permeability of the material n. Also, if n is not equal to 1, the refracted angle αrefracted is not equal to αfalling.

Additionally, the physical model considers that crossing of the border yields to some energy losses Kabsorption (in percents) and that fact that each material has it's own transparency factor Ktransparency (in percents).

All these rules can be written using the following equations:

To simulate sharpness of the surface, additional coefficients Kdiffusion and Kdispersion are available, as shown on the image above.

To simulate anisotropy features of the material, different coefficients Kabsorption, Ktransparency, Kdiffusion, Kdispersion are available for both cases: when audio ray enters the material and when audio ray leaves the material.

Controls:

- FFT frame - the maximum size of the FFT frame used for convolvers.
- IR Eequalizer - enables additional equalizer for processed (wet) signal.

'Room browser' section:

- Room orientation - set the orientation of the 3D model. This is useful for cases when the model is exported in different coordinate system.
- Sz X - additional 3D scene scaling coefficient by the X axis.
- Sz Y - additional 3D scene scaling coefficient by the Y axis.
- Sz z - additional 3D scene scaling coefficient by the Z axis.
- 3D model - button for loading 3D scene.
- Camera - set of parameters for manipulating camera position:

- X Axis - position of the camera relative to the origin by the X axis.
- Y Axis - position of the camera relative to the origin by the Y axis.
- Z Axis - position of the camera relative to the origin by the Z axis.
- Yaw - camera's yaw rotation angle.
- Pitch - camera's pitch rotation angle.

'Sample' section:

- Export - button for saving the rendered audio sample to the file.
- Reverse - allows to reverse sample in time domain.
- Head cut - cut amount of milliseconds from the beginning of the sample, can be used to remove early reflections of reverb.
- Tail cut - cut amount of milliseconds from the end of the sample, can be used to remove large reverberation tail.
- Fade in - adds additional fading at the beginning of the sample.
- Fade out - adds additional fading at the end of the sample.
- Listen - this button allows to listen contents of the sample.
- Makeup - additional fader to control the gain of the rendered impulse response.

'Source editor' section:

- Source - the selector of the current audio source.
- Enabled - the button that enables the audio source.
- Shape - allows to select the shape of the wave front generated by the audio source.
- Phase - allows to invert the phase of the audio source.
- X Axis - position of the audio source relative to the origin by the X axis.
- Y Asis - position of the audio source relative to the origin by the Y axis.
- Z Axis - position of the audio source relative to the origin by the Z axis.
- Yaw - yaw rotation angle of the audio source.
- Pitch - pitch rotation angle of the audio source.
- Roll - roll rotation angle of the audio source.
- Hue - the hue of the audio source color in a Room browser view.
- Angle - The additional diffuse angle of the audio source.
- Size - The size of the audio source.
- Height - Additional height of the audio source.
- Curvature - Additional curvature of the audio source.

'Capture editor' section:

- Capture - the selector of the current audio capture.
- Enabled - the button that enables the audio capture.
- Mode - the microphone setting mode for audio capture, available configurations are:

- Mono - mono capsule.
- XY - two capsules pointing at 90 degrees one to another by default.
- AB - two parallel capsules set far one from another.
- ORTF - two capsules simulating the location of human ears.
- MS - mid/side configuration of microphones.

- Reflections - sets the range of reflection orders that will be captured by this audio capture. This allows to eliminate early reflections or late reflections in the rendered result.
- Mic. direction - specifies the microphone direction:

- Cardioid
- Supercardioid
- Hypercardioid
- Bidirectional
- 8-directional
- Omnidirectional

- Side direction - specifies the side microphone direction for the XY mode:

- Cardioid
- Supercardioid
- Hypercardioid
- Bidirectional
- 8-directional
- Omnidirectional

- X Axis - position of the audio capture relative to the origin by the X axis.
- Y Asis - position of the audio capture relative to the origin by the Y axis.
- Z Axis - position of the audio capture relative to the origin by the Z axis.
- Yaw - yaw rotation angle of the audio capture.
- Pitch - pitch rotation angle of the audio capture.
- Roll - roll rotation angle of the audio capture.
- Hue - the hue of the audio capture color in a Room browser view.
- Capsule - the size of the microphone capsule.
- Distance - the distance between microphones.
- Angle - the angle between microphones.

'Object editor' section:

- Object - current object selector
- Enabled - enables the object in the scene
- X Move - position of the object relative to it's initial location by the X axis.
- Y Move - position of the object relative to it's initial location by the Y axis.
- Z Move - position of the object relative to it's initial location by the Z axis.
- Yaw - yaw rotation angle of the object.
- Pitch - pitch rotation angle of the object.
- Roll - roll rotation angle of the object.
- XScale - assitional scale factor of the object by the X axis.
- YScale - assitional scale factor of the object by the Y axis.
- ZScale - assitional scale factor of the object by the Z axis.
- Hue - the hue of the object color in a Room browser view.

'Material editor' section:

- Object - current object selector.
- Enabled - enables the object in the scene.
- Material preset - allows to quickly adjust sound speed and absorption of the material.
- Sound speed - the knob for controlling speed of the sound in the material.
- Absorption:

- Out->In - the absorption of material when the sound ray enters the object.
- Link - the linkage between Out->In and In->Out parameters.
- In->Out - the absorption of material when the sound ray leaves the object.

- Transparency:

- Out->In - the transparency of material when the sound ray enters the object.
- Link - the linkage between Out->In and In->Out parameters.
- In->Out - the transparency of material when the sound ray leaves the object.

- Dispersion:

- Out->In - the dispersion of material when the sound ray enters the object.
- Link - the linkage between Out->In and In->Out parameters.
- In->Out - the dispersion of material when the sound ray leaves the object.

- Diffusion:

- Out->In - the diffusion of material when the sound ray enters the object.
- Link - the linkage between Out->In and In->Out parameters.
- In->Out - the diffusion of material when the sound ray leaves the object.

'Rendering' section:

- Status - current rendering status
- Threads - allows to select number of threads for parallel rendering
- Quality - specifies the quality of rendering. The higher quality takes more time.
- Progress - the indicator of the completion of the rendering process.
- Launch - the button that starts the offline rendering process.
- Stop - the button that terminates the offline rendering process.

'Output' section:

- Dry Pan L/R - the panning of the dry (unprocessed) signal.
- Pre-delay - amount of pre-delay added to the wet (processed) signal.
- Dry - amount of gain applied to the dry (unprocessed) signal.
- Wet - amount of gain additionally applied to the wet (processed) signal.
- Output - amount of gain additionally applied to the output signal.

'Convolvers' section:

- Pre-delay - amount of pre-delay added to the processed signal. Can be used to individually control pre-delay of processed signal for each processor that can provide additional stereo effect for reverbs.
- Source - combos allow to select file and track to use as the convolution for the processor.
- Mute - button allows to disable the processor.
- Active - led that indicates that the processor is active.
- Makeup - amount of gain added to the processed signal for the processor.
- Out L/R - the output balance of the processed signal between two channels in the stereo pair.

'IR Equalizer' section:

- Low-cut - sets the slope of the high-pass butterworth filter, possible slopes are 6, 12 and 18 dB/octave.
- Low-cut freq - the cutoff frequency of the high-pass butterworth filter.
- Faders - faders that allow to change the loudness of eight corresponding frequency bands in range of -12..+12 dB
- High-cut - sets the slope of the low-pass butterworth filter, possible slopes are 6, 12 and 18 dB/octave.
- High-cut freq - the cutoff frequency of the low-pass butterworth filter.