Coder Social home page Coder Social logo

High-resolution sampling about pyroomacoustics HOT 2 CLOSED

lcav avatar lcav commented on August 23, 2024
High-resolution sampling

from pyroomacoustics.

Comments (2)

fakufaku avatar fakufaku commented on August 23, 2024

Hi @maelp , I think you are referencing the RIR creation method in this paper (ref [1] in the one you linked). Essentially, these guys are rediscovering 60+ years of signal processing on their own. I wouldn't recommend this as a reference for your own implementation.

In their method, they need to generate the RIR at a higher frequency because they use impulses that are rounded to the nearest sample. Pyroomacoustics doesn't have this problem because we generate fractional delays directly. No rounding to the nearest sample is ever done. What comes out of the simulator is better than what you'll get using this upsampling method.

Regarding computations, OLA is a completely standard method. The STFT method of pyroomacoustics lets you do it. Although it is a good point that this is not actually what we use to convolve the RIR in the room simulation. Instead we use scipy.signal.fftconvolve which uses FFT for the convolution (Real FFT filtering in the paper linked, Eq 4). So from their paper, an efficient implementation of OLA might be 2x as fast. The problem for us is that the OLA in stft is done in python, so it might be actually slower than fftconvolve. This should be checked.

from pyroomacoustics.

maelp avatar maelp commented on August 23, 2024

Thank you

from pyroomacoustics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.