I'm trying to write a small app that displays the contents of an audio file in the frequency domain. I'm looking for a Mono-compatible library that can read an audio file and give me the contents in a physically meaningful way. Can anyone make any recommendations?
Asked
Active
Viewed 2,650 times
-1
-
What Audio Formats are you interested in reading? Just .wav or something else? – Sebastian Gray Aug 26 '09 at 12:13
-
As many as possible, so long as the API works in a format-independent way. – Simon Aug 26 '09 at 14:53
-
I think you may need to break this question in to two pieces. One is for the reading of audio files such that you can get a consistent representation of the audio data and the other component is how you then can interpret the information that has been decoded. Otherwise you should consider the Banshee Source Code that has been mentioned because you would need to access these functions together. – Sebastian Gray Aug 26 '09 at 21:28
-
I'm just asking for a library that will read the audio files. So long as the representation is physically meaningful, I can do the interpretation myself. – Simon Aug 27 '09 at 08:31
-
So for all the clarifications; when you say Mono compatiable are you specifically looking for a libary which is cross platform and doesn't rely on windows Interop? – Sebastian Gray Aug 27 '09 at 21:43
-
Not necessarily - I'd be satisfied with a windows-specific library so long as I could use it with mono to create a GTK# app. – Simon Sep 01 '09 at 08:20
4 Answers
2
Judging from responses to my question asked half a year ago there's currently no other way than to DllImport calls to some binary libraries.
2
I would suggest maybe having a look at the Banshee source code.
As you probably know, Banshee is an open-source media library and player for Linux that runs on Mono. Chances are there's some source code you could use in there.

rusvdw
- 443
- 3
- 7
1
Banshee uses the gtkstreamer library, there's a mono implementation called gtkstreamer#
this might help:
0
You could also use the MonoMac bindings which include CoreAudio bindings on MacOS X.

jstedfast
- 35,744
- 5
- 97
- 110