.. _mics:

Microphones (Panel)
--------------------

.. image:: ../_images/mics.JPG
    :alt: Microphones Panel.

In the same way as measurement microphones can be used to determine a transfer function in real life, mics can do the same thing within System Optimiser. Mics placed within the :ref:`3D View<3dview>` show the complex summation of all loudspeaker sources within the 3D Scene that are currently unmuted.

Microphones are displayed in a list on the right-hand side of the Microphones Panel. Clicking the green 'crosshairs' allows a new microphone to be placed in the :ref:`3D View<3dview>` by clicking on a :ref:`layer<usinglayers>`.

| In order to allow multiple independent Microphone windows, Microphones are organised in so-called *Mic Sets*. A Mic Set is just a collection of Microphones and they are shown at the top of the list on the right-hand side. A mic set can be deleted by clicking the red 'bin'. New Mic Sets can be created by opening the drop-down and selecting *Create new Mic Set*.
| The Mic set to be used for a specific Microphone window is selected by the dropdown. Microphones from versions prior to v0.6.0, where the concept of Mic Sets did not exist, are automatically transferred to a new Mic Set called 'Migrated Project Microphones'
| Mic Sets can be renamed by clicking the 'pencil' to the left of the dropdown (i.e. "Audience" or "Avoidance Areas")

.. image:: ../_images/multiple_mic_sets.JPG
    :alt: Multiple Mic windows with multiple Mic Sets

Clicking the red 'bin' will delete a microphone.

'Expanding' a microphone using the arrow in the microphones list allows for precise location input. Microphones can also be assigned custom names (like "FOH", "Stage", etc...)

Microphones features both :ref:`2FR<2FR>` and :ref:`SPA<SPA>` modes. The following operation is identical for both modes:

Smoothing for the graph can be adjusted using the drop-down list in the top-right of the Microphones Panel.
To simplify the design process, an average curve of all shown traces can be shown by enabling the 'AVG' button. The average curve is plotted in thick white to make it stand out.
The colour of the displayed traces will follow the :ref:`global colour scheme<colours>`, and will use a :ref:`custom colour scheme<customcolourschemes>` if one is applied.

**SPA Mode**

The *SPA Mode* is the main mode of operation for Microphones. It can be imagined as grabbing an Acoustic Analyzer / Sound Pressure Meter, playing back the stimulus at the calculated level into the system and then looking at the results.
Sound pressure levels in SPA Mode are directly influenced by the settings made in the :ref:`Maximum SPL / Headroom Panel<maximumsplpanel>` panel.

In the dropdown menu in the header, different :ref:`stimuli<stimuli>` can be selected for plotting, depending on the tuning goals and objectives.

Additionally, a weighting (Z / flat, A and C) filter can be selected. You will immediately see the effect of the weighting filter on the plotted responses. 

Users can choose between different banding modes for plotting:

- ASD (Amplitude Spectral Density)
- 1/24 Oct
- 1/3 Oct
- 1 Oct

For a more in-depth discussion of the background, please refer to the :ref:`SPA<SPA>` section. To cut a long story short, ASD behaves more like a transfer function and is the square root of the PSD (Power Spectral Density). This means that in ASD mode, assuming a perfectly flat system response, White Noise will be flat and Pink Noise will be a straight line (due to the logarithmic scale). In any fractional octave mode, White Noise will get 'louder' with increasing frequency, while Pink Noise will have a 'flat' response (again, assuming perfectly flat system response).

Values shown in SPA mode are by default **RMS sound pressure levels**. If you need peak levels, please refer to the :ref:`Preferences<prefs>`.

In SPA mode, each microphone (and the average curve) has an additional sound pressure level assigned in the panel on the right side. This is the broadband or total sound pressure level for the selected stimulus, smoothing and weighting. **Please do not use those sound pressure levels to assess the possibility for hearing damages** (:ref:`Disclaimer<EULAAndDisclaimer>`)

CODA has decided to **not implement** yet another mode of showing SPL Levels which is called *Octave smoothing / sweeping* in *ARTA* or *Banding* in *Smaart*.
We believe this mode is highly misleading as it performs the Fractional Octave Band calculation not at discrete standard frequencies, but rather in a continuous / sweeping manner at all frequencies
and thus gives the impression that there's more power than there actually is, especially if you switch from e.g. 1/24 Oct to 1/3 Oct and the overall level increases.

**2FR Mode**

Because :ref:`2FR mode<2FR>` is supposed to show a transfer function, the absolute SPL response of the system must somehow be normalised (level shifted).
This is achieved by subtracting the value inside the *Reference* field from all curves. By default, this level is determined automatically by System Optimiser and the *Auto* button is selected. Determining where the 0dB line should be is a difficult question and is solved on a best-effort basis with a complex statistical analysis by System Optimiser. The automatically calculated *Reference* value can be overridden by deselecting the *Auto* button and entering a manual value.

*2FR Mode* is useful if you want to tune the system response, tonality or homogeneity and maximum achievable sound pressure is not a primary goal.


:ref:`Microphones should not be confused with the Frequency Response Panel<frvsmics>`, which shows only the selected array, soloed.


As with all :ref:`Panels<panels>`, the Microphones Panel can be resized and moved using :ref:`Panel Drag & Drop<paneldrag>`, and 'popped out' into an :ref:`additional System Optimiser window<discreet System Optimiser Windows>`. The location of this Panel will be saved as part of the current :ref:`tab<View Modes>`.