When I referenced speechlib directly there was a method GetAudioOutputs which would return all local audio outputs, which you could later use to select which output to speak to. I don't see that function in System.speech. How can I select which sound card to speak to with System.speech?
I'm developing a standslone system for my school project. I'm developing an audio management system which allow user to add audio files itself into database together with the audio information such as artist name and album year. I just started it few days ago and face some problems.. my song in the playlist wont continue to play after 1 finished and i need some idea on how to store the audio files into database ... in blob types may be?
Heres the screenshot and codes
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_add.Click
I am new to programming and I am developing a simple application to convert a text which is made using SSML to a audio file,for a personal task. When I use the function
SetOutputToWaveFile or SetOutputWToWaveStream, the file can be created and played using media player, but there is an error in the file. When I use the function setOutputToAudioStream, The audio file can be created, But it can't be played with any media player.[code]...
I've written a "quick and dirty" GUI interface for a CLI chat program, and I've been trying to integrate TTS and Speech Recognition into it, so that the user can "have a conversation" with a chat bot, rather than just "type and read". The TTS portion works well (barring some small pronunciation issues - I have yet to find a TTS voice that can properly pronounce "Geek" without my having to mangle the spelling), and the SR module works well.
If I have the TTS module disabled. The problem I'm having is that the SR module is processing the output from the TTS, and causing issues where an ever-increasing string of TTS output occurs, causing undesirable results. I've tried several methods of temporarily disabling Speech recognition, none of which have proved useful. Below are some short code snippets that I've tried to use:
Imports SpeechLib Imports System.Drawing Imports System.Net.Sockets Public Class Form1 Public voice As New SpVoice [Code] .....
I know it is possible to have more than one audio output device attached to a computer. For example, my home machine has a soundblaster card as well as stereo speakers attached via a USB M-Audio controller. I know that windows and other applications can select which output device to use... I use the sound card for normal Windows sound, but I use my M-Audio output when mixing music in Cubase.The question is, from inside my own program, I need to be able to detect what audio devices are available, show the user the list and let him choose one, and then use that output device for all audio output generated by the program.
It would also help if I could determine which audio output device is being used by Windows.
Oh, almost forgot, I am using Microsoft.DirectX.AudioVideoPlayback.Audio to play mp3 files.
Is it possible to capture all/any audio played by a PC into a system.io.stream, so that it can then be run through speech recognition (System.Speech.Recognition.SpeechRecognitionEngine)?Essentially I'm looking to pefrom speech recognition on any audio on the client PC, google seems to suggest that capturing a stream like this can be done using Microsoft.DirectX.DirectSound, however I cannot honestly determine how.
I'm working on a side project which, put simply, allows for the playing of audio files of multiple types through the form or system (My.Computer.Audio.[...]). I need to grab the audio levels of sound currently playing on the system -- not necessarily what's just playing through my form.
A "full-audio graphic visualizer" if you will. However I just need a method of grabbing the data in the first place - the rest I have taken care of. The different values you see in a graphic equalizer are what I need to grab.
If you had music playing via Songbird, and started playing a podcast voice MP3 in Windows Media Player, I want to have it all-inclusive. I've looked in the My.Computer.Audio namespace, looked into Fast Fourier Transforms (which turned out to seem much more adequate for equalizers as opposed to visualizers), and more.
I'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.
The user can select from either print or audio books and add to the shopping cart. The list box shows all items in the shopping cart. There is a 6%. sales tax on the total cost of the items in the shopping cart and a 2 dollars shipping charge per item in the shopping cart. to remove an item from the shopping cart, the user selects it in the list box and clicks the remove button. the subtotal, tax, shipping, an total fields should be adjusted accordingly.
To add one of the items in the list to the shopping cart, the user selects it and clicks the add book to cart button. to cancel the operation, the user clicks the cancel button. I am using a standard module to declare global variables. My file is attach I have the problem that everytime I add a new item, it will just add 2 and then I add another item and it add 2 it does not show the subtotal or the tax and shipping and the real total....
Module PriceCalcModule 'constants for Print Public Const g_decDID_YOU_KNOW As Decimal = 11.95 Public Const g_decHISTORY_SCOTLAND As Decimal = 14.5 Public Const g_decLEARN_CALC As Decimal = 29.95 Public Const g_decFEEL_STRESS As Decimal = 18.5 [Code] .....
I just want to ask or I need some idea on how to convert wav files to mp3 and compressed the file to make the size smaller. I've search on the internet and find vorbis.dll as a reference object and lame.exe for converter. With regards to the audio compression, i downloaded monkey's audio software but doesnt have an idea on how to incorporate it.
Im trying to capture the audio played on my laptop. so i have searched the internet and found a source code for doing exactly that. the problem i have is that my audio device is not listed in the dropdown box (see picture) but it does when its run on windows xp (im running windows 7 x64) the goal of this application would be to capture my friends radio stream and save the individual played mp3's to a loction on my hard drive.(yes i have permission) i have included the source code so perhaps some 1 could have a look at it. (source code)[URL]
I have a database application developed around Access with VBA,I have used the Speech SDK and developed an application that in conjunction with MSCOMM 6.0 library calls into a remote IVR system.It sends in the credentials and queries information in response to that IVR's verbal requests. All seems successfull except for one problem;I'm using a shared SR engine and its using the system microphone as its audio input, this in turn gets the sound from the speakers which are routed to the telephone line through the modem. Of course this has a number of disadvantages - noise added to the sound from the environment and sound quality degredation as well as speaker volume dependency.
I would like the SR engine to take its audio input from the modem in paralell with the sound that goes to the speakers (so we can listen in to the call as well). This means that I must route the system audio output to the SR engine audio input. It seems that I must use an InProc SR instance - however in VBA that type is not recognized - since the shared SR uses the microphone as input by default. there is some statement to the effect that it is difficult in Microsoft's Help file. I'm unable to set the SR audio input to the modem output stream in VBA.As needed I can accomplish the C++ interface using an ActiveX object or a DLL to expose the missing API to VBA?
I have two checkedlistboxes (chkLB_Sentinel and chkLB_Scourge) binded to my database.I have a listbox (LBPlayers) with 10 players in it (0 To 9) which I fill using the items checked in the checkedlistboxes and the display member is Nickname.Whenever I want a msgbox to popup containing the first player which is 0, I'm recieving the msgbox "System.Data.DataRowView"
I have this simple code:
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim con As New SqlClient.SqlConnection con.ConnectionString = My.Settings.MyConnectionString
[code]....
The problem is if I write the msgbox without .toString I get an error "cannot convert to prompt" so I'm obliged to put .toString Why am I getting this kind of error even if I have the DisplayMember binded and how can I fix it ?
I have searched the web for code relating to changing the system volume, muting the system volume, and outputing the current level of the volume as an integer, using VB.NET.
All the code that I have found either doesn't work, or is very long.
how can i play the audio after the previous audio play is finish by using directx.
assume i have audio1.wav and audio2.wav.
i play audio1.wav by this code.
audio1 = audio.fromfile("D:audio1.wav", false)
how can i play audio2.wav after audio1.wav is finish? without use any button or signal. just depends on when the audio1.wav is finish, then audio2.wav will play automatically.
I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.
What I am trying to do: There are three powershell scripts with different time delays as shown below.I am trying to run them asynchronously in .NET and I followed this article to implement Asyncrhonous programming. Where I am stuck:The I am not able to retrieve output after the events are invoked.The scripts are being called but then the program ends and it shows "Press any key to continue" in console windows.I don't what I am missing here.
Info: JobRequest is a class that I use to pass around information keep track of jobs.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Microsoft.VisualBasic.Interaction.Beep() System.Diagnostics.Debug.WriteLine(3 + 2) End Sub
Why I don't see in Output window number 5 as output?
I'm just going to throw all my code in here in case there's something wrong with a piece of the code not in the "SelectName()" sub.
Module Module1 Dim selectednames As String = "" Dim index As Short = 0 Dim inarray As Boolean = False
[code]....
Here's an image of what it does (I suppose you can see what went wrong)13 inputs, 3 outputs expected, only 1 output given.As from what I've figured out so far, it's doing the correct amount of loops etc. It's just as soon as it starts generating the "winner" for the 2nd game key it doesn't get a string value from namesarray.Also, why is
For x = 0 To totalnames - 1 Debug.Print("namesarray(" & x & ") = " & namesarray(x)) Next
I'm doing my senior project on an audio project; when I came to using the Speech SDK it was great when it was about Text to speech; but I'm finding a hard time using it the other way round; speech to text. is there any sample code to help me start off?, and is it possible to change the vocabulary list in a way that when ever I say a word that is in the list than it is written down; if it is not possible is it possible that I can use the dictation function to write words according to the phonemes I say?
I use an already developed module in VB.NET with ASP.NET to use in a web-based application? The goal is to use the speech technology without having to use another language syntax. I have a windows application that manages a local server database, but how if I want to exchange information from my local database over the internet? I am new to web services (Just developed windows applications).