VS 2008 - Voice Recording And LAN Stream
Jul 19, 2011
I am trying to make a program that can send voice over LAN. I already have the connection between the computers working, but I can't really seem to find a way to actually record + stream sound.
I've found out that I can use
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer
and then
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0)
mciSendString("record recsound", "", 0, 0)
mciSendString("save recsound *PATH*", "", 0, 0)
to save and record sound.
But I haven't really been able to find any documentation on that function, so I haven't been able to find out for myself, how I can send the recorded sound over LAN, instead of saving it on the computer.
View 1 Replies
ADVERTISEMENT
Feb 11, 2010
I want to have an application, that records voice, saves and play it. I have a 3 buttons
btnrecord
btnsave
btnplay
What I did is
Process.Start("SoundRecorder.exe")
How can I make the sound recorder.exe start recording. It only opens the application.
View 6 Replies
Sep 17, 2011
I have got the program to record from the microphone and save it, while this works fine, what im trying to figure out is when the program is recording the voice of the user i would like it to display this in a ProgressBar to show the input moving up and down and the user speaks? any help would be apriciated.
Here's My full source
[code]...
View 3 Replies
Aug 4, 2010
Anyone have any examples, or source code or SDK's that are FREE?I'd like to setup a simple voip program to play with.Was curious whats the simplest way of doing it, using UDP across an IP.I planned on having a server program, as i'd want multiple clients.My question is, how can i stream voice, without using alot of bandwidth with minimal delay between talking?
View 1 Replies
Feb 25, 2010
How would i broadcast/specific(one person) a live voice over a tcp connection for my voice chat room im making.
View 1 Replies
Mar 25, 2009
I have a voice program that can compare voices to stored voice files and identify people based on that. It's not the most accurate thing, since being sick or other weird things can make it fail, but it does work for the most part. I was wondering if there was a way to keep the voice recognition running during an unlock and wait for the person who locked it to come back. Upon giving the command and voice verification, if it passes, the computer is unlocked by my program. Is there anyway to do this in VB.NET?Summary: Can a program unlock a computer after it's locked?
View 4 Replies
Sep 5, 2009
I have this problem for some days now and i did not figure it out yet.When i use 2 buttons one for recording and one to stop recording is just fine, but when i use a timer to stop recording does not stop.
Here`s my First i have a button named start recording which calls the Public Sub record and enables timerRecordStop to TRUE.
[Code]...
View 9 Replies
Mar 7, 2010
how would i record a live .avi video on to a network stream?
View 1 Replies
Oct 20, 2009
I have seen that there are many "Mouse & Keyboard Macros/Recorders" out there & I was wondering how they are being created in visual basic. I have looked within the Microsoft forums, but havent really seen any specific coding that works for the kind of recorder that I'm trying to create.
[Code]...
View 14 Replies
May 10, 2009
Im trying to make a program that will automaticly do something for me so what i want it to do is record clicks from when u press f12 say for example till u press f11 then i want it to play them back when i click a button so it clicks automaticly in place where i recorded the clicks i also want it to play over and over again. Can anyone help me get started because im not sure where to start i dont know much about simulating mouse click and mousing mouse automatically and also i dont know how i would do the F12 and F11 thing.
View 13 Replies
Jan 26, 2011
I am trying to save the sound that comes from my text to speech program. I want it so if i click the save button it will read the text in textbox1 and then it will save it.
Imports System.Speech.Synthesis
Imports System.Collections.ObjectModel
Public Class Form1
[Code].....
View 2 Replies
Aug 5, 2009
How would I make this? Or if there is any tuts on this I would love the link!
View 1 Replies
Mar 21, 2009
Im trying to make a program that can talk using windows vista with this code but it errors when I try to play it.[code]
View 2 Replies
Mar 20, 2012
Basically I'm aware that using the code shown below you can get the default 'microsoft Sam' voice to work and read a textbox for example.
[Code]...
View 2 Replies
May 25, 2012
in an winForm app in VS2010 win 7 compiling to x86, I try to do what Alvas.Audio seems to work. See (c# ex: [URL] for reference.
Dim data() As Byte = wr.ReadData(second * i, second)
The result give me data.length()=0. I do not have any exception, I can read format from it and whatever reader I use I got this problem.EDIT : After some tests, it seems like the uncompressed file I create in the first step (in PCM format, with .wav extension) can not be recognized by the Alvas.audio library for the second step. I must miss something around Audio file markups or something alike.
Here is the code that might be the source (basically this is step 1):
Dim functOut As String = String.Empty
Dim wr As Alvas.Audio.IAudioReader = Nothing
Dim fs As IO.FileStream = Nothing
[code]....
How can I write the resulted stream to be sure I can read it again later?
View 1 Replies
May 5, 2011
Im making a desktop player for a online web radio, and for the program I wanna make it show all the stream info. Like the stream name, and such. However I dont know how to do this? I looked everywhere
The server url is setup like this "[URL]" And it has all the stream info and that there. So is there a way I can get the info from there onto like say a label? Live updates btw.
View 1 Replies
Jun 11, 2009
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]
View 2 Replies
Nov 22, 2011
I have a problem with the cryptostream, if i write the stream to a memorystream the memory that the stream used is still alocated and i have no way of unalocating it.what am i missingdoing wrong? im using-using on the streams,readers and crypto stuffs so the framework should shut them all down right? i tryed calling .close and .dispose but nothing ,in fact i moved it all over I have provided the sub that im using for the encrytion im in .net 4.5 so there is a lil async stuff but i know thats not the problem coz i moved this code out of my main app(.net 4) for testing to see if i could fix the problem.[code...]
View 12 Replies
Jul 1, 2009
I'm sending an http request through a proxy using tcp, and then using a streamreader to read the netstream...The streamreader is supposed read each line up to </html> , however it doesn't seem to be waiting for the packet/response to be fully received, as it always returns only the first 5-10 lines of HTML.If I add a breakpoint at the line "Using sr", and pause it there for a few seconds and then continue the execution, it will return the full HTML up to the </html> as it should.This is the part of my code which reads the response.
Dim sendbytes As Byte()
sendbytes = System.Text.Encoding.ASCII.GetBytes(ReqHeaders)
netstream = tcp.GetStream()
netstream.Write(sendbytes, 0, sendbytes.Length)
[code].....
View 3 Replies
Jul 5, 2010
I am developing a VB.NET 2008 application, consisting of a main EXE application and several resource DLLs.
I need two functions for the DLL:
1) one function to get a list of all files in the resources of the DLL.
2) one function to return 'by name' a resource file as a System.IO.Stream type.
NOTE: The files will not be "Embedded Resource" (this doubles the size of the DLL), so I think cannot use 'GetManifestResourceStream'.
[Code]...
View 1 Replies
Jul 6, 2010
I am developing a VB.NET 2008 application, consisting of a main EXE application and several resource DLLs.I am trouble with two functions for the DLL:
1) one function to get a list of all files in the resources of the DLL.
2) one function to return 'by name' a resource file as a System.IO.Stream type.
NOTE: The files will not be "Embedded Resource" (this doubles the size of the DLL), so I think cannot use 'GetManifestResourceStream'.
I currently use:
Return New System.IO.MemoryStream(My.Resources.MyFileName)
but I want it to be called by name.I am adding the resources using the VS 2008 "Resources" tab, from the My Project screen, I'm not manually editing Resources.resxAs I said before, it works with:
Return New System.IO.MemoryStream(My.Resources.MyFileName)
but I need to get the resources by name, which also works by using
GetMAnifestResourceStream
but this requires to set the resources Build Action to "Embedded Resource", which doubles the size of my DLL file.I currently use "None" as Build Action, but I can use any Build Action that does not increase the file size more than the actual resources size.
View 2 Replies
Apr 16, 2011
How can I get html document from a stream?
View 3 Replies
Nov 30, 2009
I have a dataGridView and tied it to a button that saves every time you click it. and every time you click it, I want to write a line to a txtfile that displays how many records were changed and the date that they were changed. Everything works fine but every time a save has been made it over write the previous entry on the text file. Here is some of the code.
If changes > 0 Then
MessageBox.Show(changes & " changed rows were stored in the database.") ' changes shows how many entries were changed
swDate.WriteLine(changes & " record changes on " & entryDate) 'entryDate is formated as date with value of "Now"
Else
[code]....
I am getting the right results in the text file except it over writes previous entry's so there is only one entry saved in the text file at any given time. I want it to keep building the text file so every time something is streamWrited the previous things in the text file stay there and it add to it. Looking at my problem I cant really justify or implement a For Each..Next or a Do While..Loop. My vb knowledge is limited so go easy on me.
View 5 Replies
May 10, 2011
I'm trying to write code to download from an FTP site. I got it to work in some cases - mostly text files, but when the reader reads a value greater than 256 it seems to have difficulty. Right now I'm trying with a ZIP file, and the file downloads, but always says, 'File is Corrupted' when I try to open it.
[Code]...
View 1 Replies
Apr 4, 2009
I am interested in streaming video from a webcam on one PC to another PC. Could this be done without streaming to a server. Could this be achieved by streaming using P2P?
View 4 Replies
Apr 20, 2009
im trying to use a 2 combo boxes each with a list of 7 cities these need to link up with numbers in a stream reader to give a total distance.[code]
View 12 Replies
Feb 10, 2009
I need to read strings by stream! Is this possible? I've been searching for quite a while now, without results.So what i have is an application which gets song lyrics. The lyrics come in a string and i need to separate the string into multiple lines. Just to make that clear, lets say that im getting this text and put it into a string:
Bla bla bla..
Na nana na
And in string format = "Bla bla bla... Na nana na" but what i need to do is separate them into its original, line by line.I created an for each loop which looked for upper chars and when found, create a new line. But that didn't work out so well since the lyrics are written in proper english, using the upper "I" everywhere. So i created a new loop which ignored "I":es if they were followed by a space/blank " ". That didn't work either, it skipped some sentences.
View 8 Replies
Nov 25, 2010
I have create a Stored procedure which is creates the Streaming Data Base.This SP needs to have the path on which will put the mdf files (and some other things).Until now i was run this procedure after i first create the above mentioned path.Now i want to run the same procedure without interference in the server.So I give the following path in order the procedure to execut it and understand where i want to give the path guide.
\ServerNameSharedFolderNameSQL
The stored procedure takes the path and tries to go to the folder of 'SQL' in order to do her job.But in this point i receive an error which says:CREATE DATABASE failed. Some file names listed could not be created, Check related errors.
-I'm Cheking the way of puting the path and it is absolutelly right, I mean accepted from the server machine and from the client machine as well.
View 1 Replies
Jul 19, 2011
I am using StreamWriter and StreamReader in VB.NET 2008 Express to read and write ASCII text files. When I create the file and later read it, there is no problem, because I use System.Text.Encoding.UTF8 on both the write and read sides, so extended text is handled without problem. But sometimes, I have text files come in that are just straight 8 bit ASCII without the Unicode BOM... and they get a lot of junk when I try to read in anything with extended ASCII characters in it. It seems like the 8 bit extended characters are translated into multi-byte codes, and since they are filenames, of course, that doesn't work. Since the filenames just have straight 8 bit ASCII filenames. I have tried all sorts of encodings, and nothing seems to work.
The most common character that causes a problem is an "a" ... it is used in a lot of proper names. The funny thing is that sometimes is seems to workout... is there a way to read these types of text files? Some way to just tell StreamReader not to decode the text, just treat it as straight plain 8 bit ASCII text (with the old IBM PC mapping, I think). The one thing that works is to manually edit the input, replacing the extended characters with their un-accented partner and then renaming the files to match the new spelling. Maybe I should just go to read them as byte input and breaking the lines apart in my code.
View 3 Replies
Feb 24, 2010
I need to pass to the BackgroundWorker1_DoWork a stream and 3 textboxes.I can pass the 3 textboxes as an array but the stream complicates it:
BackgroundWorker1.RunWorkerAsync() <== from here?
View 1 Replies