Git Product home page Git Product logo

Comments (4)

octetta avatar octetta commented on August 27, 2024

Miniaudio has a simple WAV encoder that can be used inside its callbacks.

I've done light hacking on this, but as my WIP just starts writing at startup, I wind up with huge WAV files of mostly silence while hacking.

from amy.

dpwe avatar dpwe commented on August 27, 2024

from amy.

octetta avatar octetta commented on August 27, 2024

We could add a flag to stop writing audio after some max duration of silence? DAn.

Sorry for the random observation... actually not concerned about writing silence... just that my naive strategy of writing all the time might not be awesome.

My amy-message binary already intercepts strings starting with "?" for my own reasons. Maybe I could add a recording on/off global the callback can see that enables/disables WAV writing.

I owe y'all a PR for this.

from amy.

octetta avatar octetta commented on August 27, 2024

Solved locally by making a copy of frames in the callback. Also, on ALSA/Jack there's an option for a "null" device. Between these two options, this request is irrelevant.

from amy.

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.