This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Measurement of the resonance curve (Acoustics)
#61
A simple fix apparently is 1 –> 2 in
Code:
        <if less="true" equal="true" greater="false">
            <input as="a" clear="false">run</input>
            <input as="b" type="value">2</input>
            <input as="true" clear="false">fft2500</input>
            <input as="false" clear="false">FFTaverage</input>
            <output as="result">FFTaverage</output>
        </if>

However, the number of runs is off by two then. I am a bit unsure how to properly fix it as the analysis block is run like

  1. on initialisation, before tapping play,
  2. after tapping play, without audio data,
  3. and higher: “regular” runs are starting
Reply
#62
The “cycle” attribute looks like a quick fix. A proper solution would be checking the buffer length if there is sufficient data for a first run…
Reply


Forum Jump: