Code Monkey home page Code Monkey logo

Comments (7)

zobkiw avatar zobkiw commented on July 18, 2024

This also applies to removing channels. When a channel is playing (ie: looping ambient audio) and is removed it can cause a click. Attempting to ramp the volume of the channel down before removal doesn't seem to help. Note that the channel in question is an AEAudioFilePlayer playing an uncompressed, small, looping wav file.

Another potential fix for this problem would be the ability to re-assign the file that the channel is playing instead of having to remove and recreate it in these circumstances.

Would adding the channel to a group and adjusting the volume of the group possibly be a work-around? So the removal of the channel is done when the group is essentially muted?

from theamazingaudioengine.

zobkiw avatar zobkiw commented on July 18, 2024

Initial tests seem to indicate that putting a channel removal behind a channel group with its volume set to 0 causes the click to not occur.

from theamazingaudioengine.

michaeltyson avatar michaeltyson commented on July 18, 2024

This is due to #22, which I'll fix soon.

from theamazingaudioengine.

zobkiw avatar zobkiw commented on July 18, 2024

Thanks Michael!

from theamazingaudioengine.

michaeltyson avatar michaeltyson commented on July 18, 2024

Is this still a problem, Joe?

from theamazingaudioengine.

zobkiw avatar zobkiw commented on July 18, 2024

I have not heard it lately but also been focusing on other parts of the app - once I get settled back I will look into it and report back.

from theamazingaudioengine.

michaeltyson avatar michaeltyson commented on July 18, 2024

Cool =) Have a good flight home!

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.