Code Monkey home page Code Monkey logo

Comments (6)

filoe avatar filoe commented on July 17, 2024

Take a look at the following document: https://msdn.microsoft.com/en-us/library/windows/desktop/ee415798%28v=vs.85%29.aspx
CSCore provides most of the XAudio2 features.

from cscore.

lukasz-matylla avatar lukasz-matylla commented on July 17, 2024

Thank you. This partially answers my question.

Does CSCore provide API for creating, attaching and configuring effects and effect chains (for example, a wrapper for XAudio2CreateReverb)? Or do I need to create them through C++ code?

from cscore.

filoe avatar filoe commented on July 17, 2024

I would recommend you to use the DmoWavesReverbEffect instead or why do you need exactly the XAudio2ReverbEffect?

from cscore.

lukasz-matylla avatar lukasz-matylla commented on July 17, 2024

I am currently using DmoWavesReverbEffect. The problem is, it's something that acts on a source and as such, does not give the intended results in a 3d scene (with 5.1 or 7.1 speakers).

What I need to get is sound sources being directional, but the reverbed sound being omnidirectional. The best way of implementing it that I've found for now is using a submix voice, with the reverberation applied to the submix only, not the sources (to keep the directional sound from the sources reverb-free). And that's the reason for using reverberation that I can put into a voice's effect chain.

Unless I missed something, CSCore has methods for setting up an effect chain for a source or submix voice, but not for creating the effects themselves.

from cscore.

filoe avatar filoe commented on July 17, 2024

Sorry for the late response. But you're right. There is currently no real support for xaudio2 effect chains. I am going to add this with the next release.

from cscore.

filoe avatar filoe commented on July 17, 2024

I'll close it for now. But it is marked as "open feature request". Hopefully we'll come back to this.

from cscore.

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.