I am playing a .wav file stored in my computer and I am going to record the speech of an user into a .wav file. For recording i'm using this link.
http://www.c-sharpcorner.com/UploadFile/GemingLeader/696/
Now I want to compare these two .wav files. Can any one help me?
Thanks in advance.
look at the SpeechSDK5.1 http://www.microsoft.com/downloads/en/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en
If you look at the following: http://www.codeproject.com/KB/audio-video/SoundCatcher.aspx you can notice the Spectrogram, basically if the two spectrograms are exact same thing, then the audio is exact same thing. You need to capture the spectrogram data and use some sort of comparing algorithm to compare both data.
Related
There is audio file. Where few "words" with different time between them. I need to make as many .wav files as "words" in the file. Audio file is very clear, there is no noise, so it must be very easy to find the "words". Any ideas how to make it with C#? Maybe somebody knows any libraries?
Please check an example of waveform of the file:
NAudio is good. You'll be able to read the WAV header so you know what format was used to store the file. Then you can just scan it and grab the regions where the entropy is higher.
https://naudio.codeplex.com/releases/view/612263
a bit of background:
this summer, i set myself a programming project,
where i want to make an E-jay clone(a program with simple drag-drop blocks which are little bits of music and beat to make a track)
now i dont really know where to start on the whole encoding music bit.
for example:
how does a sound file work?
how do i transform a piece of a sound file into a universal piece of sound information
how do i create a sound file from scratch
how do i add pieces of sound to a previously newly created sound file
im sorry if i seem like one of those guys that cant use google n stuff. but i have no experience with sound or anything on that part.
programming language: C#
ultimate goal: be able to encode a new mp3 file using small sound files which are inserted on certain points in the file to ultimatly make music
any help is appreciated,
thank you for reading my question.
I think you should check NAudio site - it has lots of examples.
Do some research into the MPEG compression standard, as you'll need to know about decoding as well as encoding. If you are going to be ambitious, maybe look into other audio file types as well.
MP3 Links:
MP3 Format
ISO Draft on the MPEG standard
I am newbie to c#. I have functionality of concatenating two or more video files using directshow.net. I have seen the documentation form http://msdn.microsoft.com/en-us/library/windows/desktop/dd375143(v=vs.85).aspx but i didn't understand how to start. I will be having two video files in the server in some folder. I want to combine those two video files and save as single video file. How can i do that using directshow.net. I am struct at this. Any help is appreciated.
DES can work good, but keep in mind it has been discontinued. Maybe this page describing how to append two wav files can help you get started. See the Time Line Model page on MSDN for an overview.
I have two audio files that I need to merge on top of each other. Each mp3 is one side of a conversation, so in theory when I merge these two files together I should hear a complete conversation. Has anybody ever accomplished this in .Net?
I've seen examples of people concatenating audio files together, but I repeat, I don't want to do that. I want to merge/mix two audio tracks so the are on the same audio file.
Any help would be appreciated.
I am looking at the NAudio library. Actual code answers would be very helpful as well.
This should get you started with nAudio.
Convert the mp3's to wav32*
Mix the 2 wav (check this code)
Convert the mixed wav to mp3*
*the samples/discussion at nAudio shows how to convert between formats
I ended up using Sox to do the merge.
http://sox.sourceforge.net/
sox.exe -m fileone.mp3 filetwo.mp3 output.mp3
Sox doesn't have support for mp3s so you need to download this version which has those references compiled into the executable. Additionally you can search for the dll and the latest should pick them up.
http://www.codeproject.com/KB/aspnet/Compiling_SOX_with_Lame.aspx
Use a Process class to call this from .Net.
What I am trying to do is read the Pitch/Amplitude of one wave file, then increase the pitch of another wave file depending on the Pitch/Amplitude of the first. The second part should be simple enough for me. But what library do I need to use (and what method). It would be great if anyone can help. At the moment I am using the SoundTouch http://code.google.com/p/soundtouchnet/ library to up the pitch.
Any help or tips is appreciated.
Try using DirectSound. This tool allows you to do whatever with wav files. There are plenty of sources to find tutorials too.