How To: Export Impulse Response from REW for use in VituixCAD

Collapse
X
Collapse
  •  

  • How To: Export Impulse Response from REW for use in VituixCAD (prior to 2.0.98.6)

    Update: Since VituixCAD 2.0.98.6, exporting IR using windowing as described here is no longer required. the impulse response can be exported directly, make sure to uncheck "normalize" on export. VituixCAD will automatically set "skip samples" to 1m (2.907ms) prior to the start time of the exported impulse response to maintain correct timing on import.

    REW can export the measured impulse response directly as MLSSA formatted text file, which can be used within the VituixCAD IR -> FR tool, however the way REW exports this data is a bit weird. By default, it provides 1 second of data prior to the peak of the impulse, which is not very useful for retaining the timing information, t=0 on the impulse response chart. One way around this is to apply windowing to the impulse response file prior to export.

    The following procedure will erase all data prior to t=0 in the measurement, so make sure that the recorded impulse occurs after t=0 for this process. The measurement guide for REW for VituixCAD mentions to apply a timing offset when measuring, so the impulse occurs at t=0. This is due to REW's odd way of processing phase, which uses t=0 as the timing reference for phase, rather than the window reference time location. Applying the timing offset removes the excess phase from the measurement for more readable phase information.

    For this process I would suggest not using a timing offset, in which case t=0 will be the loopback reference time, and the impulse will occur a few ms after t=0.

    To export impulse response from REW with timing information included, set the IR window to 0ms (t=0), left window to 0ms, and set the right window to 1000ms to capture the entire measurement data. This will ensure that the first sample in the exported data is t=0, and the exported data is effectively not windowed. Note that if the impulse data occurs prior to t=0, like in a single channel measurement where impulse peak is at t=0, the window reference time should be decreased to a negative value to capture the impulse data. I would suggest 2ms prior to the impulse.
    Click image for larger version  Name:	dataurl478962.png Views:	0 Size:	28.5 KB ID:	927358






    ​Export the impulse response as text, un-check “normalize samples to peak value” to maintain the measured amplitude information, and check “Apply IR Window before Export” to export only the windowed information.

    Click image for larger version  Name:	dataurl514907.png Views:	0 Size:	42.1 KB ID:	927359






    That's it, you can now process the impulse responses in VituixCAD following the guide for ARTA, starting at page 7 "Exporting far field responses​".
    https://kimmosaunisto.net/Software/V...ement_ARTA.pdf
    Last edited by Reet; 14 January 2023, 16:06 Saturday.

    • kimmosto
      #3
      kimmosto commented
      Editing a comment
      MLSSA impulse response as text file starts with:
      0
      0.020833
      262144
      3.276819E-07
      2.736350E-07
      ...
      1st line is just 0
      2nd line is sampling interval in ms
      3rd line is length of data
      Data starts at line 4
      So REW's text export is not MLSSA format.

      One possible solution is that I modify text file reader in Convert IR to detect sample rate, start time and length from REW text format, and skip most of empty samples (with negative time) automatically. After that process would be closer to ARTA and CLIO.

    • Reet
      #4
      Reet commented
      Editing a comment
      Hi kimmo,
      Sorry, I’m not well versed in MLSSA file formatting. The problem observed if I export the impulse from REW directly without windowing is that the peak of the impulse occurs always at 1 second mark, so timing information of t=0 is lost in the export process. Applying the window allows for sample 1 of saved impulse file to be at t=0.

    • Reet
      #5
      Reet commented
      Editing a comment
      Oh I see what you mean now, Kimmo. The exported mipulse from REW does include timing reference, as one of the first lines in the text file, however is rejected by VituixCAD because it's not proper MLSSA format.
    Posting comments is disabled.

Latest Articles

Collapse

  • Breaking with modern conventions - a highly musical 2-way system using an 8" woofer
    by theSven
    By Jon Hancock

    This article will describe the fruits of my efforts to build a moderate sized speaker which might be moderately above average in performance for a basic two-way system. I desired a speaker like this both for my own use in secondary systems, and to fill a need for some friends, who desired fairly full range response (i.e., “it’s gotta have good bass”). Also, though I have access to a good wood shop, many potential DIY enthusiasts may not, so I hoped to use a modified...
    31 December 2024, 17:31 Tuesday
  • Cult of the Infinitely Baffled
    by theSven
    IB- F.A.Q.
    1)What's an IB?
    For purposes of this forum, an Infinite Baffle is a alignment where the drivers are free-air mounted, in a space adjacent the listening room. They fire into the listening area through a common opening between the two areas. This can be the attic, basement, or any room with shares a common wall with the listening area.

    2)Which space is best?
    Any space that provides a mounting location for the baffle, offers adequate volume for the IB, and
    ...
    15 December 2024, 12:17 Sunday
  • How to: Measure with REW for Room EQ
    by Reet
    REW is a powerful tool, as is EQ, but getting it right can be challenging. The first step to achieving a good EQ profile for your space is to take in-room measurements. This document will detail an easy method to achieve quick and reliable results.

    For room EQ, a single measurement at your listening location will not produce a good depiction of the overall room response. An average of many measurements around the listening area should be completed to create a room response for equalization...
    12 April 2023, 10:42 Wednesday
  • Minimum Phase and Accurate Crossover Simulation
    by Reet
    Minimum phase for a speaker can be described of the phase of the frequency response of the speaker at it’s acoustic centre, or the phase without any excess phase or “time of flight” included. It can be calculated from the speaker’s frequency response using Hilbert-bode transform, or HBT. When comparing multiple minimum phase responses, we can say that the responses occur at the same point in space, ie. there is no physical distance between them. When measuring speakers and processing the...
    26 December 2022, 14:27 Monday
  • How To: VituixCAD Extended Impedance Model For Any Driver
    by Reet
    Loudspeaker T/S often includes only a single Le value for inductance, however driver motors are usually much more complex than a single coil of wire, so Le on its own is not a very good description of the driver characteristics. An extended impedance model, or “semi-inductance” model can provide additional characterization of the impedance curve for greater accuracy.

    Many Scan-Speak drivers include this data in the “advanced parameters” section of their datasheets, however the...
    26 December 2022, 14:07 Monday
  • How To: Measuring impedance and T/S with ARTA/LIMP
    by Reet
    With a simple jig, loudspeaker impedance and T/S parameters can be easily measured with LIMP. The same jig may also be used to measure component value for resistors, capacitors, and inductors, as well as measure transfer functions of passive and active filters.

    The setup is quite simple, the following diagram is taken from the LIMP manual:
    https://artalabs.hr/download/LIMP-user-manual.pdf
    Measurement Jig


    This instruction is following what is in...
    26 December 2022, 14:02 Monday
Working...
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"