how to generate voice with C# without tts (Speech synthesis)? - voice

Is it possible to create voice with C# without using tts (Speech synthesis)? I tried all kinds of things and i could just make a beep sound. i need an example of generate a single letter or word.

You can only play sounds if you have a pre-recorded source. See this link: c# play sound with one line of c# code
If you need to play speech sound from dynamic text, then you have no option but use one of TTS libraries.

Related

Tool to make mindmap for test strategy

I need to draw a more elaborate Mindmap to present my test strategy to my client. I have no experience of creating mind map with any tool.
Can someone suggest any good mindmap making tool?
For "pure" mind mapping I would suggest Freeplane (free and open source). I know people using Freeplane for professional test case generation. Very helpful in this respect are
extensive scripting support that can be used to support testcase entry and for customized exports
multiple fields per node that can be used for different purposes: attributes (tabular data), notes, detail
If your primary focus is the generation of presentations then you should probably use a different tool.
For more elaborate mindmap I would suggest XMind.
With XMind you can even create testcases inside your mindmap using its matrix features. There are lots more features like:
Timeline
Gantt view
Filters
Drilldown
Try https://github.com/mindolph/Mindolph , this desktop application provides features that you can create and manage mind map easily.
You may try online service MindMup or desktop ConceptDraw MINDMAP. Though the first one is not that professional and intuitive as ConceptDraw tool, it is free. The second product has a 21-day trial period, brainstorm mode, multiple hyperlinks, export to MS PowerPoint or Web pages and so on.

Need basic advice on creating a phone based search engine

I am thinking to build a Telephone based search engine.
The concept is simple:
User Dials the number.
We record his input and convert the speech into text.
Use Google API to search for the query.
Fetch the top results and convert them into speech.
Send output to the user.
I'm comfortable in coding the mechanism. But i don't know how to implement this on a telephone line. I will need a IVR which will guide the user and a back end application for processing. I can code the backend application.
Can you guys please tell me how can I implement my app over a telephone line. I did some research and come up with something called Asterisk and VoiceXML. Is it possible to do the task using any of these methods.
If the question was "Is it possible to do the task using any of these methods?" then the simple answer is yes.
VoiceXML lets you define an application executed on a VoicePlatform like Cisco CVP, Avaya AVP, Genesys GVP, ... The only "issue" which you will have is that you need one of those for it (and they tend to be relatively expensive).
If you had a speech recognizer and a speech synthesis engine then you may be able to have calls coming into an Astrisk platform and sending these via SIP into a SIP-capable server which builds the dialog in any programming language you like (e.g. Java). Here you'll need a speech recognizer and a speech synthesis engine to do the "conversions".
Even though my answer implies it is simple, there are many issues to overcome on the way, like: speech quality, recognition accuracy, error handling, etc.

QPainTextEdit add wave line

I've working on a small SQL IDE App which is a neat tool for writing SQL procedure for Oracle & DB2. I'm using Qt 4 as the GUI base.
Still I want to add instant grammar check function for My SQL IDE, it will write a wave line under the SQL code with grammar error,just like the VS2010 and eclipse. But I really don't know how to deal with this function.
I've using the QPlainTextEdit for the document edit class.
I'd appreciate if you can give some tips and hints!
Thank you for your time!
Take a look at QSyntaxHighlighter. It consists of code example on how to use it. Also QPlainTextEdit has chapter Using QPlainTextEdit as an Editor. Another thing that may become useful for you is Syntax Highlighter Example

How can I convert avi to mp4 using graphedit and ffdshow?

I´m working on an application based on directshow that has to convert an AVI source file to to an mp4-file that can be played back with Quicktime.
Since 3ivx, according to my web research the most popular way to fulfill this task, has become commercial (and my budget is quite limited), I decided to use a solution based on ffdshow.
I created a simple graph in graphedit, using LAME for audio encoding and GDCL MPEG 4 Multiplexor for the muxing, but everytime I try to play the movie with Quicktime, I´m getting an error indicating a wrong "sample description".
Playback with Windows Media Player is working, except that there is no sound.
My guess is that there´s a problem with the muxer, because every time I try to add audio encoding, graphedit automatically adds an decoder after the encoding unit (see picture link).
http://imageshack.us/photo/my-images/39/graphjrgr.png/
Any ideas on how to integrate ffdshow in a better way, tips for alternative mp4 muxers, or a complete different approach are appreciated!
The GDCL muxer has limited number of audio formats that it supports, probably you should check the source code for the muxer to see if the formats you are using are in fact supported. Basically, you need to choose an audio encoder that the mux recognizes as valid. It might be possible to use GraphEdit to choose different properties for the encoder filter that allow things to work better.
I have had some luck with the Monogram x264(video) and AAC(audio) encoders. See http://blog.monogram.sk/janos/directshow-filters/
Finally, try the debug version of the GDCL mp4 muxer.
Also, you must be aware of MPEG-4 LA licensing requirements for x264 http://www.mpegla.com/main/programs/AVC/Pages/FAQ.aspx

How to generate QR codes using library in .Net

I am planning to explore on QR code generation . I saw the google api http://chart.apis.google.com/chart?cht=qr&chs=75x75&chl=test and its pretty impressive. But it works only for URL's and small data's. So i am thinking about writing a .net app to generate the QR code. So any information on libraries to start with ,will be helpful.
Thanks,
It does not just work for URLs. You can put whatever text you want as an argument (just URL-encode it correctly). It also works for any data size that QR codes can support.

Resources