Code Monkey home page Code Monkey logo

Comments (4)

michaeltyson avatar michaeltyson commented on July 18, 2024

Doesn't -[AEAudioUnitChannel setVolume] handle this?

from theamazingaudioengine.

zobkiw avatar zobkiw commented on July 18, 2024

So this is the output volume of the channel, correct? In theory you could manage the input volume by knowing the make-up of the graph and appropriately adjusting the output of the "thing" that is being input to this channel. However, it would be nice to not have to know that - what if you have multiple "things" connected to this input? For instance, if you have an AudioUnit that you know needs 3db of headroom to do its best work, it would be helpful to be able to adjust the gain on the input to that audio unit to -3db regardless of what is connected to that input.

Does that make sense? Or is my understanding wonky? :-)

from theamazingaudioengine.

michaeltyson avatar michaeltyson commented on July 18, 2024

Ah, you're referring to audio unit filters (AEAudioUnitFilter), not channels, I think. It sounds a bit hacky, adding gain settings to filters like that - if the audio unit requires certain input/output parameters, is there not a way to specify these on the audio unit directly? Sounds like an audio unit bug if not!

from theamazingaudioengine.

zobkiw avatar zobkiw commented on July 18, 2024

I'll be digging into this again after this week and will report back with more detail.

from theamazingaudioengine.

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.