Git Product home page Git Product logo

nifsy's People

Contributors

ericentin avatar potatosalad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nifsy's Issues

Request for feedback

Hi @potatosalad!

More developers are using Elixir for data processing and the speed from which we read and write to files has lately been a concern. @antipax decided to explore solutions and one of them is this project: a module that implements file read and write operations as a NIF. For performance, we are reading data into a buffer and then read out of the buffer (similar to Erlang read-ahead). This is considerably faster than Erlang default file handling (that uses a process + port) and about 3x-4x faster than Elixir streams.

The reason we are pinging you is that you have done great work on C libraries so we would love if you could do a code review in your spare time. In particular, we would love to know if we can further optimize our buffer handling, reduce the amount of allocations, etc.

Thank you! ❤️

Reading an audio files.

Hello. I try to read an audio file for later sending to external service.And the data is corrupted while reading

Simple example:

"path/to/input/file.wav"
|> Nifsy.stream!()
|> Stream.into(File.stream!("path/to/output/file.wav"))
|> Stream.run()

The output file has a noise

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.