Giter VIP home page Giter VIP logo

Comments (7)

marcrambo avatar marcrambo commented on May 26, 2024 1

Hey!

The Wav format is supported on all platforms. What exactly is the problem you are facing?
As a starting point you could try the code below which will read in an entire wav file into an interleaved vector.

    auto stream = audio::ifstream("hello.wav");
    auto samples = std::vector<float>(stream.info().num_samples());
    stream >> samples;

from ni-media.

ucasiggcas avatar ucasiggcas commented on May 26, 2024

#include <boost/range/difference_type.hpp>
#include <boost/range/has_range_iterator.hpp>
#include <boost/range/value_type.hpp>
Sorry,I can‘t find these three headers,could U help me?

from ni-media.

ucasiggcas avatar ucasiggcas commented on May 26, 2024

Could I use it in windows with Visual Studio??

from ni-media.

marcrambo avatar marcrambo commented on May 26, 2024

It seems like you are missing the boost libraries. Boost is a required dependency. Cmake should have triggered an error during configure time about the missing library. Are you using cmake?

You can use Visual Studio 2015 and above.

from ni-media.

ucasiggcas avatar ucasiggcas commented on May 26, 2024

But U haven't proposed the files !!!
Couldn't find !
Help !
Thx

from ni-media.

FalconPDX avatar FalconPDX commented on May 26, 2024

Hiya.

You need to install the boost libraries and then include them in your VS solution. Here is a guide for windows: https://www.boost.org/doc/libs/1_68_0/more/getting_started/windows.html

from ni-media.

FalconPDX avatar FalconPDX commented on May 26, 2024

Hi @ucasiggcas did you get it to work? :) I'd like to close this issue if so.

from ni-media.

Related Issues (14)

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.