Click to See Complete Forum and Search --> : audio frequency retrieval
sanaahmad17
October 27th, 2008, 12:25 AM
ASLAMOALEKUM,
How i can get per second frequency for an audio file in C#.
if anyone tell me the way/code i could generate a text file/array containingg the per second frequency of the audio file as it is loaded to the application.
thanks!
toraj58
October 27th, 2008, 02:01 AM
one way is to use DirectSound of DirectX; there are a bunch of functions that can be used to manipulate sound.
you can use Managed DirectX by installing DirectX SDK 9.0 and use ready to use libraries for C#.
[Touraj Ebrahimi] [toraj_e] [at] [yahoo] [dot] [com]
toraj58
October 27th, 2008, 02:05 AM
also please check this sound engine for C++ and C#:
irrKlang:
It has all the features known from low level audio libraries as well as lots of useful features like a sophisticated streaming engine, extendable audio reading, single and multithreading modes, 3d audio emulation for low end hardware, a plugin system, multiple rolloff models and more
link:
http://www.ambiera.com/irrklang/
Pimpya
October 27th, 2008, 04:30 AM
Hello, I just downloaded the library and tried using it with a different filename location instead of using the default one, but I have got an error. would you please recheck to see what is it going on ? Also, why it could not work with a media dat file ?
sanaahmad17
October 27th, 2008, 05:05 AM
thanksalot Toraj58, i have already tried both these libraries but didnt get any required result.. well let me explore again.. hopefully this time i would get anything useful....
if anyone knows abt any particular func (belonging to these or any other library) which can help me achieving my target..do tell me!
thanks again!
toraj58
October 27th, 2008, 07:04 AM
dat file is same as mpg file just rename it; it does not any conversion.
also in responce to sanaahmad17:
would you please tell us what format is your audio files(wav, mp3...)
maybe someone here have some experince to gain some information from the e.g. mp3 format and it can help you.
sanaahmad17
October 27th, 2008, 12:32 PM
Hi Toraj58,
well format i havnt decided because its upto me... which format i have to set for my application, if my target could be achievd using mp3 i will restrict to this otherwise wav or avi....
anyways thanxx for response!!
i am also trying to get something helpful... !!
God bless you!
regards,
Sana Ahmad
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.