Git Product home page Git Product logo

sjb / naudio Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 13.0 3.85 MB

NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET. It has been in development since 2001 and has grown to include a wide variety of features. While some parts of the library are relatively new and incomplete, the more mature features have undergone extensive testing and can be quickly used to add audio capabilities to an existing .NET application.

Home Page: http://naudio.codeplex.com/

License: Microsoft Public License

C# 100.00% Shell 0.01%

naudio's Issues

Send short[] data to bufferedwaveprovider

Hi
I seem to be missing something here. I have signed up for the PluraSight course and followed many examples out there on the web but keep running into the same issue.
I have an array of shorts. Each int16 value is an audio sample. The array contains left channel and then right channel. So far so good.
However, bufferedwaveprovider only takes a byte[] array. All the examples in the Plurasight course as well as on line show how to convert from a Byte[] array to a short or float and so on. This seems useless to me when the classes in nAudio all seem to take a byte[] array. So somehow I need to take this short[] array and get it into a byte[] array for naudio.
So why are the examples the reverse?
Can someone show me how to deal with getting my short[] data into the bufferedwaveprovider?
Thanks

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.