Coder Social home page Coder Social logo

WAV Output about audiolet HOT 3 OPEN

oampo avatar oampo commented on July 21, 2024
WAV Output

from audiolet.

Comments (3)

sntx avatar sntx commented on July 21, 2024

This will be great because the .wav file could be downloaded to the user's computer, but also, it could be sent to a server using AJAX.

from audiolet.

imgntn avatar imgntn commented on July 21, 2024

any news on this? working on an interactive (not-quite) game where this would be most excellent.

from audiolet.

oampo avatar oampo commented on July 21, 2024

Depends slightly what you want it for. Now I've switched to using https://github.com/jussi-kalliokoski/sink.js you can use the record method of audiolet.output.device.sink to record the master output, then encoding that to a wav is pretty simple (have a look at http://www.sk89q.com/playground/jswav/ for how to encode the raw data).

Eventually I want to encapsulate this more neatly into a RecordBuffer node which will allow you to grab data from anywhere in the processing graph and encode it. For now though it should be not too tricky to hack it in if you just need the output recording.

Let me know how you get on, and if there's any of this you are struggling with and I'll do my best to help out.

from audiolet.

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.