GithubHelp home page GithubHelp logo

Comments (7)

loic-hamdi avatar loic-hamdi commented on July 18, 2024

Any solution found?

from just_waveform.

ryanheise avatar ryanheise commented on July 18, 2024

Do you mean you want a parameter to switch between 16 bit and 8 bit resolution while decoding?

from just_waveform.

BenCherif avatar BenCherif commented on July 18, 2024

what i mean instead of extract the wave form audio into a file ,is there away to extract it as uint8list so i can save it as string and send with the message to recipient (use it in chat application).

from just_waveform.

ryanheise avatar ryanheise commented on July 18, 2024

Why not just read the file and you'll obtain the data you need?

from just_waveform.

BenCherif avatar BenCherif commented on July 18, 2024

it's a long process to extract the wave to file and read file as bytes . we talk about chat realtime app .I need to make things simple as i can also i can't read file to get data every time to i want to set the waveform (maybe it will be a list of audio files so the ui will get stuck ).anyway thanks for your help

from just_waveform.

ryanheise avatar ryanheise commented on July 18, 2024

(Bro?) I'm not convinced that reading from the file is slower, I'd imagine it would be faster because sending data through the platform channels has more overheads. The slowest part of the process by far is the actual decoding. The question is whether you need to display intermediate results of the decoding before the complete decoding has taken place. If you need to display intermediate results, then yes that requires an API for streaming the waveform. But if your app can wait until the entire audio is decoded before displaying it (or sending it over the network), then I believe reading the file would be one of the most efficient ways of doing it.

from just_waveform.

BenCherif avatar BenCherif commented on July 18, 2024

Thank you for your help . i will try what u suggest

from just_waveform.

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.