Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I would like to mix several sound (wave) streams into one.
Each stream might have a different format (bits/sample, channel count, etc.), so conversion is needed also.
I am looking for a library to do this, which I can link into my VS C++ project, before jumping in and implementing my own.
If you just want a library you can use the SOX library. It is pretty good and easy to use.
If you want more control over how the mixing is done, and maybe have more than 2 files to mix, you should take a look at the STK library
It is very simple yet quite powerful. The following is an example of how you can use a single line of code to mix two waves (simple superpositioning of the signals)
output.tick( input1.tick()*0.5+ input2.tick()*0.5 );
Hope this helps.
FMOD is quite good.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have to work on a small project. I am just preparing for it. It has to do with audio signals. I have heard that openAL a c++ library, focuses only on audio stuff. Can this library perform cross-correlation, fft etc to find if the two audio files are identical? If so, then please post any link to tutorials or any other helpful materials on openAL. And if not, then suggest me any other library that can perform these operations.
The idea is that I want an audio input, compare that input with other audio files, and want to get the best match, then print the corresponding word . Some thing like voice recognition, not the pure voice recognition but something similar.
Thanks!!!
You dont need OpenAL for comparing files if they are exactly the same.
For a file comparison, look for the <fstream> header.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
For a more complex project, I need to compute the approximate, relative distances of objects from two images (from stereo-cameras). Practically what this neat tutorial explains: https://chrisjmccormick.wordpress.com/2014/01/10/stereo-vision-tutorial-part-i/ and with a result like that
Think I shouldn't be reinventing the wheel for this project and since speed is very important (realtime from two videostreams) I'm looking for a native library (preferably in C++ where the whole project is written in) for this task.
Does anyone have a suggestion?
Open source would be greatest but not mandatory.
Huge thanks in advance!
try with LIBELAS library (Library for Efficient Large-scale Stereo Matching).
Best!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there anything in std library or boost (or good enough libraries) which let me make good plots in c++? I would need something like matplotlib of python or gnuplot.
Thank you
There are a couple of "native" C++ libraries for plotting. The two I'm familiar with are:
CERN's ROOT framework - This gives you a lot more than just plotting, and is specifically geared toward analysis of large amounts of data, but it does have a lot of fairly advanced plotting tools.
MathGL - though not as powerful or as easy to use as ROOT, it provides a simple way to plot all but the most complex of plots.
There is nothing "standard " about these libraries, but they are both fairly well supported.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
How might one implement data frame in R, Python, and other languages using C++?
In general, data.frame solves a problem which is solved fundamentally differently in C++ (and other languages) – namely via class hierarchies, or, in the simplest case, via a vector of tuples.
Since you haven’t given specifics it’s hard to know what exactly you are after but if it’s ease of computation, Armadillo is a good linear algebra library for C++ (one among many). I haven’t yet found a good statistics framework for C++ – I suggest simply sticking with R for that.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We want to include data visualization in our desktop GUI (mostly timelines and graphs; clickable, draggable). We want to restrict to open-source, non-copyleft C++ libraries that allow commercial use and are portable across many platforms. Which library can I use? Our GUI is based on WxWidgets.
there is VTK.
And if data visualization is your thing, have a look at opendx too.
I think this question would be easier to answer if you also stated which other GUI components you use. Perhaps that limits the choice of available libraries. Since you're C++ and cross-platform, maybe wxWindows? Would be good not to have to guess.