Main Content

Impulse Response Measurer Walkthrough

在本教程中,探索关键功能Impulse Response Measurer。这Impulse Response Measurerapp enables you to

  • 配置您的音频I/O系统。

  • Acquire impulse response (IR) measurements using either the exponential swept sine (ESS) or maximum length sequences (MLS) methods.

  • View and manage captured IR data.

  • Export the data to a file, workspace, or other app for further study.

首先,打开Impulse Response Measurerapp by selecting theicon from the app gallery.

Configure Audio I/O System

Impulse Response Measurer应用程序使您可以指定音频设备,样本率,每个帧,播放器频道和录音机频道。音频设备必须是启用的真实或虚拟设备,用于同时播放和录制(全双工模式),并且必须使用受支持的驱动程序。金宝app金宝app支持的驱动程序是特定于平台的:

  • Windows®–– ASIO™: Click thebutton to open the settings panel for the ASIO driver.

  • Mac- - CoreAudio

  • Linux®- - Alsa

Valid values for sample rate and number of samples per frame depend on your specified audio device.

您可以使用级别的监视器来验证音频I/O系统的配置

Configure IR Acquisition Method

要配置您的IR获取方法,请使用方法and方法设置sections of the toolstrip.

您可以选择获得IR测量的方法:

  • Maximum Length Sequences((MLS

  • Exponential Swept Sine((Swept Sine

IR获取的两种方法都具有相同的基本设置,包括:

  • Number of Runs- - 激发信号在单个捕获中发送的次数。多次运行用于平均单个脉冲响应捕获以减少测量噪声。

  • Duration per Run (s)- 每次运行的总时间秒。

  • 激发水平(DBFS)–– The level of the excitation signal in dBFS.

Both methods for IR acquisition also have the same advanced run settings, including:

  • Wait before first run–– Delay before starting first run. The delay allows time for any last-minute tasks, such as exiting a room before testing its acoustics.

  • Pause between runs–– Duration of the pause between runs. During a pause, the excitation signal is not sent, and audio is not recorded. When using theSwept Sine方法,包括在跑步之间暂停以避免混响的积累。在运行之间的暂停始终为零MLSmethod.

  • Number of warmup runs- 在获取前输出激发信号的次数。这MLS方法假设其获得的信号是激发信号及其脉冲响应的组合。使用热身跑步来删除瞬变。

这total capture time is a sum of run durations, pauses, and the initial wait.

Swept Sine方法还有其他Advanced Settings控制激发信号,包括:

  • 扫描开始频率

  • 扫除停止频率

  • Sweep duration

  • 结束沉默持续时间

使用时Swept Sinemethod, theRun Duration被分为Sweep durationand结束沉默持续时间。在末端的沉默期间,该应用程序继续记录音频,从而在整个频率扫描范围内获取响应。

从R2022A开始,您可以自动保存设备,方法和高级设置,并在将来的测量会话中使用它们。

Acquire IR Measurements

对于此示例,请使用MLSmethod with default settings. Once you have your audio device set up, click捕获。打开一个对话框,显示您的捕获进度。IR测量结果两次。

Impulse and magnitude responses acquired from audio device.

分析和管理IR测量

After the capture, theImpulse Response Measurerapp stores the captured data locally. TheData Browserdisplays the title of the captured data, the colors used for plotting, and information about the settings used to acquire the data. You can double-click a color in theData Browser你想要选择哪种颜色与eac有关h impulse response. You can also double-click the title to rename your captured data. Rename your captures as首次捕获andSecondCapture并将颜色更改为粉红色和绿色。要使一个脉冲响应图出现在另一个脉冲响应图上,请选择标题Data Browser。Select the capture you relabeled首次捕获

Impulse and magnitude response plots of captured data.

默认情况下,绘制了脉冲响应和幅度响应。您可以使用该脉冲,大小和相位响应的任何组合使用布局button. Minimize theData Browser, then select the相响应

冲动响应测量器应用显示菜单。

Impulse, magnitude, and phase response plots.

You can toggle the relative size of the plot by moving the dividers. You can zoom in and out or toggle between linear and logarithmic frequency axes by selecting the icons that appear when your pointer is over the plot. Updating either the magnitude response or the phase response updates the other. Zoom in on the impulse response plot and in the range 0–20 Hz of your frequency response plots. Zooming in, you can see the small delay between首次捕获andSecondCapture。当缩放水平足够高时,线条标记会自动出现。

在脉冲,大小和相响应图中放大。

Export IR Measurements

To view export options for further analysis or use, clickExport

将数据导出到工作空间。数据保存为表。要检查数据的保存方式,请显示您导出的表格。

IRDATA_111104
irdata_111104 = 2×16 table TimeOfCapture ImpulseResponse Device SampleRate SamplesPerFrame PlayerChannels RecorderChannel Method NumRuns DurationPerRun ExcitationLevel RawAudioData SamplesDropped OtherMetaData MagnitudeResponse PhaseResponse __________________________ _______________ ____________________ __________ _______________ ______________ _______________ ______ _______ ______________ _______________ ____________ ______________ _____________ _________________ _____________ FirstCapture 20-Oct-2021 11:01:22 -0400 1×1 struct“ FocusRite USB ASIO” 44100 1024 {[1]} 1“ mls” 2 0.5 -6 1×1 struct 0 1×1 struct 1 struct 1×1 struct 1×1 struct 1 struct scholts scholts tocts tocts tocts second Capture 20-OCT-2021 11:01:29 -0400 1×1结构“ FocusRite USB ASIO” 44100 1024 {[1]} 1“ mls” 2 0.5 -6 1×1结构0 1×1结构1×1 struct 1×1 struct 1 x struct 1 struct 1 struct

When you export the data as a MAT-file, the same table is saved as when you export to the workspace. When you select to export the data as a WAV file, each impulse response is saved as a separate WAV file. The title of the capture is the name of the WAV file. In this example, selecting to export data to audio WAV file places two WAV files in the specified folder,首次捕获。wavand第二capture.wav

To analyze your captured data further, view the data in the滤波器可视化工具orSignal Analyzer应用程序。

也可以看看

|||

Related Topics