Giter Site home page Giter Site logo

Comments (2)

merktj avatar merktj commented on June 12, 2024

If there are multiple points at the same timestamp, the current implementation always creates 2 blocks. The first block defines the interpolation towards the first point and the second block the interpolation between the first and the last point on the timestamp, but the duration of second block equals 0.
I don't really understand here how to get rid of one of the two blocks. Wouldn't this change the envelope's values, because you would have to chose whether to interpolate towards the first or the last point?
What could be done is setting a JumpPosition for the second block with duration 0 to prohibit interpolation problems for this case.

Regarding the threshold for minimum distance, is there a reference where this is described? Unfortunately so far I couldn't find one.

from ear-production-suite.

firthm01 avatar firthm01 commented on June 12, 2024

Having looked in to this again, I think this all arose from testing with Dolby. The minimum block duration comes from the Dolby ADM profile which specifies that blocks within 2ms of a 'breakpoint' can be discarded, and that jumpPosition should be used when instant changes are required. (section 2.5.1 of https://developer.dolby.com/globalassets/documentation/technology/dolby_atmos_master_adm_profile_v1.0.pdf)
Since this is profile specific and zero-duration blocks are legal in BS. 2076, and also given that jump position can not eliminate zero duration blocks in many circumstances, I don't think this is worth worrying about.
However, having spoken with the ADM team here, there is a strong case for at least identifying where these instantaneous jumps occur. The simplest way is as shown by figure 10 of BS.2076-2. That is, just to set the jumpPosition flag to 1 for any zero-duration block (except for the very first block in a channel format since that is just setting initial values). The rest of the existing logic can then remain the same.

from ear-production-suite.

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.