Coder Social home page Coder Social logo

Audio looping about ngaudio HOT 6 CLOSED

danielstern avatar danielstern commented on August 23, 2024
Audio looping

from ngaudio.

Comments (6)

danielstern avatar danielstern commented on August 23, 2024

This would be a good feature indeed, and much used by the community. You would need to add one line of code in the directive to create a scope attribute for loop. Then in the ngAudioObject, you need to add a watcher for that directive and update the sound.

If you are getting started on this, please update this issue and also push your progress in its branch regularly to this repo so I don't assign this to someone else or do it myself.

DS

from ngaudio.

bartvanremortele avatar bartvanremortele commented on August 23, 2024

Hey Daniel,

Thank you for the hints. I will give it a shot coming weekend and submit a PR.

Thanks

from ngaudio.

danielstern avatar danielstern commented on August 23, 2024

Sounds good! Please update this thread with pull request details / progress by Monday.

from ngaudio.

danielstern avatar danielstern commented on August 23, 2024

@bartvanremortele Any progress?

from ngaudio.

bartvanremortele avatar bartvanremortele commented on August 23, 2024

I started the implementation but it's not finished yet. I want to provide a way to enable looping in general but also provide a way to loop it a certain amount of times (my own use case). I have an initial implementation to loop it endlessly but not for the certain amount of times. I'll be unable to continue the development before friday, so I'll submit a PR next weekend.

from ngaudio.

danielstern avatar danielstern commented on August 23, 2024

Hey @bartvanremortele This feature has been added in the latest version

from ngaudio.

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.