Java or C # library for analyzing signals on sound card

Is there a Java or C # library for analyzing signals using a PC sound card? I'm not interested in mixing music, but rather general purpose signal analysis - have a look at SIGVIEW - I'm interested in a Java or C # library that can do this. Another example is the scEEG project , which seeks to build a soundcard electroencephalograph by analyzing the brainwave signal captured by the soundcard.

+2


source to share


6 answers


You can access audio inputs in Java using the JavaSound API (classes in javax.sound.sampled). The last time I used .NET to do this, you had to use the Managed DirectX API, which was not that easy to use, but for newer .NET frameworks, there might be a simpler API for this.



When it comes to signal processing, I think you should be a little more precise about your requirements. This is a very broad field and it may or may not be available libraries to do the analysis or processing you need, but no one can guess what you are doing.

+2


source


Depends on what you want to do Exocortex.DSP, entered into trying Math.NET, etc. It is worth investigating whether it works enough or well.

Alternatively, use what the pros use and interact with, the Intel DSP and Math core packages have some work to do and a lot of worthwhile attempts there to interface with easily. And to add, neither Java nor C # do a good job on primitive arrays, and their implementation is usually orders of magnitude larger for any decent sized dataset.



[part for the ruled world]

0


source


Check out NAudio . Looks pretty functional in terms of extracting data from audio

0


source


I am only familiar with the java stuff. Unfortunately, I don't know of any beautiful, free, easy-to-use signal processing libraries. I've always used a little and so.

Capture:

  • JavaSound API (http://java.sun.com/docs/books/tutorial/sound/capturing.html) for capturing audio from a sound card.

  • Sphinx4 (http://cmusphinx.sourceforge.net/sphinx4/) implements capture and more ... it is, however, a large project with a complex structure

DSP:

  • http://www.webkitchen.com/brainathlon is used for EEG analysis and has implemented some signal processing procedures (filters)

  • http://www.falstad.com/mathphysics.html has many examples of applets, namely signal handling. the code is not always very clear, but it helped me in the past

Hope it helps

0


source


MATLAB has several powerful signal analysis tools that work well for audio. Not sure if you can feed live streams out of the box, but this should be easy to hack. MATLAB is best known as an interactive application, but also an embedded version .

0


source


It depends on what kind of signal processing you want, there are sound libraries like irrklang ( http://www.ambiera.com/irrklang/features.html ) that will do a lot of manipulation etc. and there is also the ones that will just change basic things like tempo / pitch ( http://www.surina.net/soundtouch/ ).

I've personally used BASS ( http://www.un4seen.com/ ) before and it's awesome, however it has a license fee for non-commercial use, so you might need to look around a bit if you're using it for a commercial project. It uses the DirectSound API which the hardware uses, so it is basically an abstraction API.

-1


source







All Articles