Giter Club home page Giter Club logo

Comments (4)

flibitijibibo avatar flibitijibibo commented on August 12, 2024

Yeah, it's probably about 16ms off since that's when you're calling AudioEngine.Update.

If you want you can try to incorporate AL looping into the Cue looping setup, but note that there's no real way to detect loopback, only buffer lengths. You'd have to base new variations on when, according to the Cue timer, the sound is likely to have looped, and then apply new variations, in addition to turning off loops at the right time and swapping out sounds if loops include randomized tracks.

from fna.

flibitijibibo avatar flibitijibibo commented on August 12, 2024

This is definitely an accuracy issue, but I'll leave this up to you. My solution for this internally is to just write FACT, but that's a multi-month task and I imagine you'll want a fix sooner than that, and the one thing I've got that does looping in this way doesn't need this level of accuracy so I can't really put it in as a priority.

from fna.

teamtwentythree avatar teamtwentythree commented on August 12, 2024

Yea, that makes sense to me. Should be able to find some solution on our end.

from fna.

flibitijibibo avatar flibitijibibo commented on August 12, 2024

Closing as WONTFIX for the existing audio implementation, and FIXED in the FAudio rewrite coming up.

Note that even in Microsoft's XACT runtime there are still tiny gaps (and sometimes even overlaps) for variations on loop, FAudio just makes it act similarly to that.

from fna.

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.