convert Audio file to text file c# library or source code - c#

I just want to know if there is any built in libraries or external libraries in Java or C# that allow me to take an audio file and parse it and extract the text from it.

You can use the built in .NET speech recognition APIs to accomplish this. MSDN has a set of complete samples that read an audio file and then write the recognised speech to the console. With a little bit of work they can be modified to output to a plain text file:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine.setinputtoaudiostream.aspx

Related

How to extract audio features using Accord.net C#

i want to extract features of input audio files in C#. (frequencies , length , etc)
for this task i was trying to use Accord.audio nuget library. But I've failed to find a how to guide or working example that suits my need.
Can you please show me how to extract audio features of a file using accord.audio nuget library.
For an example, when i input "song.mp3" file, i want a requency array , decibal array , length etc feature of "song.mp3"
If you are looking for some tutorials on how to do stuff with Acoord.net, I think this is all you need.
and I don't think that C# is the best choice when it comes for Sound preprocessing related stuff. If you are willing to use Python, You can make use of Librosa for all your Sound Preprocessing and feature Extraction things, Dump the datasets into json file or whatever and Use it from C#.

The best way to extract text from common documents formats (primarily rtf, doc, docx, pdf, epub, mobi) that works with UWP?

I'd like to implement support for these types of files in my application, but for this I need something that will let me extract raw text from these filetypes.
I'm looking for either a solution that doesn't require any additional libraries, or an all-in-one library/NuGet package. I took a look at GemBox.Document but it doesn't seem to be working with UWP projects.
What would be the best option for this?
I'm looking for either a solution that doesn't require any additional libraries, or an all-in-one library/NuGet package.
There is no such package.
In the standard UWP app we can read .rtf file with the Rich edit box, there is code sample in this document shows how to edit, load, and save a Rich Text Format (.rtf) file in a RichEditBox.
For .doc, .docx, aka. MS Word document, especially the version after 2007, it uses Open-XML-SDK and currently it doesn't support UWP platform.
For .pdf documents, you can refer to #Franklin Chen's thread: [UWP]PDF Viewing on a Windows Universal App.
For epub files, it is a ZIP archive file, to parse this file, you can refer to the thread: [WP8.1][C#] How can i read an EPub file in c# on Windows Phone!?.
For mobi files, sorry I couldn't find any useful information for development for the moment, I can only now suggest to convert it to pdf file with free online service.
But in a word, since Open-XML-SDK currently doesn't support UWP platform. It is not possible to find a solution or package for standard UWP app. You can try to find such a web service and implement this service in your app, or you can use commercial libraries which can read documents in all these formats.

Converting Audio Files to Text in C# or Java

I need to convert audio files, being specific mp3 files to simple Text, and then converting back that text to mp3 again, one of feature of my mobile application, is it possible? if Yes, then how? guideline please.
You can find the answer for audio to text here (second post)
For the text to audio, i would use any Text-to-Speech. In c# you could also use System.Speech.

Extracting and splitting a MP3 audio stream from an AVI file

I want to develop a desktop application by programming in C# and using the .Net framework 4.
The goal of my application is to extract a MP3 audio stream from a supplied AVI file.
I have learned from the Internet that an AVI file is a container and it might contain different audio streams.
If the supplied AVI file contains one MP3 audio stream at least then I want to extract it and split it.
I want to split the MP3 audio stream into MP3 audio parts identified with a start time and an end time.
I have looked on the Internet for any .Net library I could use but without success.
Does someone know what documented .Net library would be useful ?
Maybe you can try this:
Simple C# Wrapper for the AviFile Library
It is targeted at AVI video but there might be some clues as how to use the same methods to extract the audio only.
Either use it as-is or use the example to incorporate what you need into your own code.
Since tools for this task already exist, I see no point in creating another one unless you're curious about how to do this yourself and learn something new.
If so, using a ready-made library would defeat the entire idea of learning something which is why I strongly recommend you try implementing the splitter yourself.
You can find descriptions of the AVI file format online, that should get you started.

Working with AVI files in C#

I need to create an application in C# capable of playing AVI files and cutting certain portions of it write subtiles for marked portions etc. Which library should I use for basic play/forward/stop operations?
I've not used it but a quick google turned up AForge.NET

Categories

Resources