VS 2008 - Realtime Microphone Playback (Like Amplifier)
Mar 13, 2011
I need to make an application that plays the microphone line in the same time I speak to it, somewhat like an amplifier, so I can talk to the microphone without recording and my speakers play that sound at the same time! Its pretty difficult for me because I am really new at this type of applications and off course I don't have any idea about microphone line in volume control coding too!
View 2 Replies
ADVERTISEMENT
Mar 23, 2012
I'm developing a Public Announcement appplication with two main features:
1. Record audio and playback on event (I've achieved this)
2. Allow 'realtime' playback on event - no recording, just a live announcement
So, how can I cause the microphone input to be sent to the speakers simulatiously as the announcer speaks?
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0)
mciSendString("play recsound", "", 0, 0)
View 2 Replies
Apr 30, 2009
how to draw in realtime? I have this code in a timer:
Dim picBoxWidth As Integer = PictureBox1.Size.Width
Dim picBoxHeight As Integer = PictureBox1.Size.Height
Dim halfWidth As Integer = PictureBox1.Size.Width / 2
Dim halfHeight As Integer = PictureBox1.Size.Height / 2
[code]....
this would draw a graph, and when x has counted to 1000 it should start again. The center cross is written, but no graph.
View 5 Replies
Feb 28, 2011
i need a little advice/help here. There is a particular scenario that is coming up and I am clueless as to how to go about it."I will soon have a lease line through which I will get realtime stock market data. This data will be available every second and it will contain prices of stocks. Now assume I am able to get that data on my local computer. How can I transmit data so that users can get that data through my software.
For e.g. assume it's 11 AM. Now if you select a stock e.g. Google, then my program should fetch data for google till 11 AM and also show new data every second or so with minimum lag. Something like a terminal where you see stock prices getting updates every second. In my case I need to get past data and show current data which get updated at short intervals."
Now I have a linux vps webserver which hosts my site. (I get one or two static ip free) What to do so that data goes from my local computer to my server and then my program (developed in vb.net) is able to get it and show it to end user. This whole system should such that its fast (real-time) and delay is minimum.
View 6 Replies
Oct 10, 2009
I have the following problem: I have a combobox in my application. Sometimes the data inside are too wide to be displayed (see here). Is it possible to use tooltiptext to display the whole data line if the user stands on this line? Or perhaps sending the whole data to a right-click context menu? If so - how?
View 1 Replies
Sep 12, 2009
get data like the pitch and volume of the sound currently being "heard" through a microphone?
Do you know the little graph which the Windows 98/XP sound recorder used to show? It used to show the pitch and volume of the sound which was being recorded. Like I want to get the data from that.
Basically, I will start experimenting this stuff by showing the volume of the sound entering the microphone in a label. And maybe the pitch too.
View 4 Replies
Aug 22, 2010
Well I made this application [URL] and I need to be able to change the speed which the CD Plays at?
View 1 Replies
Dec 27, 2009
I am making a program that works with my hometrainer so i can now have my speed and distanse on my screen but now when i start byking i would like to play a video on my screen also when i am biking slow the video has to play slow when i am biking fast the video has to play fast is there any one how can tell my how todo this whith a sample
View 3 Replies
May 2, 2010
I have a program that I have been building for quite some time, which is sort of a media center type of program. One of the features it includes is a CallerID and call management system that I have integrated into it.I am actually turning the ringers off on my phones, and the program will have it's own ringer instead. One reason i'm doing that is, it is programmed only to ring if I actually have the number already in my phonebook (i.e. no more telemarketers), and other features like quiet time (after a preset time, let's say 11:00 the phone won't ring).So anyhow I have 2 sound cards in my system. One sound card is connected to my living room home theater, which would be for watching tv, movies, etc.The other sound card is going to a separate amplifier that will power speakers that are throughout the house. I want to be able to programatically tell my program to output sound on the secondary sound card.It will be just a simple wav file, and hopefully speech as well (using the system. speech.speech synthesizer).So no matter if your watching a movie, or playing xbox (meaning the stereo will no longer be playing audio from the computer),when the phone rings you will hear the ringer over the speakers, along with a voice saying "Joe Schmoe is calling".I don't know if I can specifically have it play certain sounds over one card, or if it is a per application setting.For instance, if you are watching a movie (meaning the movie is playing through the windows media player control, inside of my program), and the phone rings, I want the phone to ring on the other card without changing the audio from the movie. If i'm not able to do it that way, and if the program itself is only able to play through one card at a time, I will simply make the caller id portion it's own separate application, that way I could make it happen.
View 19 Replies
Nov 18, 2009
I'm using Windows 7 with VS 2008 in VB. I'm trying to play some sounds in a playlist, but I don't want the media player window to show up when I play them. I've tried the following, but the media player shows up on the screen when the last line is executed. How do I hide the media player?
Dim mp As New WMPLib.WindowsMediaPlayer
mp.uiMode =
"invisible"
[Code]....
View 1 Replies
Jan 17, 2010
I am working on mouse recorder and I got it where it will record and playback the mouse movement by using 2 simple listbox and some codes. But now I am stuck on how to get it to record the clicks and also playback that as well. I was wondering if I could just use another list box to store the clicks in it? But I am sure I got to do something more extreme.
View 4 Replies
Sep 10, 2011
How to find the default audio playback device
View 5 Replies
Oct 8, 2010
I am writing a program to record and playback all the keyboard and mouse events using the journalrecord and journalplayback methods. The code also stores this recorded event in the file and opens the file for playing. The mouse movements are playing fine but none of the mouse clicks or keyboard keypresses are playing fine. Attaching the record and playback hook procedure.
Private Function RecordHookProc( _
ByVal nCode As Integer, ByVal wParam As IntPtr, _
ByVal lParam As IntPtr) As Integer
'Stop recording at "BREAK" key press
[Code] .....
Win32 is a class file which I have used for declaration of constants and importing DLL files.
readFs and writeFs are the Filestreams
View 1 Replies
Jan 9, 2012
What I need is an application that can have several audio files open up, which in turn can be routed to any of the audio output devices (e.g. external audio card channels). See the attached image for an illustration.
View 1 Replies
Apr 23, 2012
So im trying to figure out how i can change sound playback from head phones to speakers and from speakers back to headphones with 2 buttons, if u didnt get me: [Speaker button]<-- click=sound playback from speakers [Headphone button]<-- click=sound playback from headphones.
View 2 Replies
Mar 21, 2011
Basically my program has a "shuffle" music feature:
vb For i = 0 To 26 num = randomObject.Next(0, 27) My.Computer.Audio.Play("C:UsersMcturtlesMusicSongs" & num & ".wav", AudioPlayMode.BackgroundLoop) Next
Which selects a random number 0 - 26 and selects the corresponding song.
And a straight play feature:
vb Dim counter As Integer Do Until counter > 26 My.Computer.Audio.Play("C:usersmcturtlesmusicsongs" & counter & ".wav", AudioPlayMode.WaitToComplete) counter += 1 Loop
All of these activated by a button(separate for each)
When I click one, it makes the program stop responding. I'm pretty sure it is the .WaitToComplete mode, but I can't find a way to make it continuously play without it. If you can find my error. Also if you could tell me a way to make the shuffle never play the same song twice, that would be awesome as well.
View 2 Replies
Apr 28, 2009
Is there a way to access WMP10+'s playback speed controls in a dotnet app?
User level information on the Playback control information
View 2 Replies
Jan 29, 2012
i wanted to make a pinging program that could send pings to websites, i have all the code written, i just cant get it to display what is going into the cmd in a text box.... The reason i am having trouble with this is because the code says " output = (process.StandardOutput.ReadToEnd)" it will only display it in the text box AFTER the code has finished....
[Code]...
View 5 Replies
Sep 29, 2010
I am writing an application in VB .NET which calls external executables (written in C++)and passes them some command line arguments. What I need to do is read back their stdout outputs inealtime , i.e. as they run.I am currently using the ProcessStartInfo class and setting the RedirectStandardOutput property to true and reading it back in from a StreamReader. However, I cannot read this back in realtime. Once the process finishes, the StreamReader will allow me to
View 12 Replies
Aug 8, 2010
I'm currently working with a project where I need to transfer the internal audio (sound from the computer) to another computer and play it back there.
I thought of transferring the audio with a TCP server-client connection since I already have the knowledge of how to do that.
My problem now is that I don't know how I would capture the internal audio and how to be able to play it back as a stream on the target computer. I have searched a bit and many people recommend using MCI but I'm not sure if this will work on an "almost realtime audio stream" connection.
So my question is: What is the best way to grab the audio from the computer and then play back the data on another computer (as a stream)? I want to do it in realtime and not "recording" the sound and then send it to the target computer.
View 4 Replies
Feb 19, 2010
i am trying to make a simple scripter. my scripter has a Run button to run the written scripts in a RichTextBox.But in new version of my program i want to make a RealTime run scripter, So don't need to a run button and scripts should process when user type in richtexbox. a way that i had used in my program is this :
On Error Resume Next
FileOpen(1, "c:windowsmagico(test).txt", OpenMode.Output)
PrintLine(1, frmMain.page_script.txtScript.Text)
[code]......
View 1 Replies
May 12, 2011
I have hit a brick wall with my latest project.In essence the entire tab control is created on the fly, i have successfully added any number of tabs with the tabpage title being filled correctly. my problem however is when i add the content itself to the correct page, i have no item displayed on any tabs and however i can retrieve the contents and change them with code.
My code takes a pricelist xml file from my works website and my code is supposed to allow this content to be edited and returned to the server with adjusted prices to reflect updates in our costing. All the code works except the part to display the data, and consequently the code to use this data to update the array used for the xml while the program is running is not written.
[Code]...
View 2 Replies
Jul 31, 2011
You can easily get the memory usage of the current process using workingset64 However I could not find any event like OnMemUsageChanged so I can display a little mem usage meter that displays live/real time the mem usage value. Updating in a timer every second can be done but looks inefficient. Is there anyway I can get an event or callback every time the mem usage changes ?
View 1 Replies
Mar 10, 2011
Is there a way to detect whether the value the user is entering using keypress method is within the lower and upper limits?For example, the lower limit is 30 and the upper limit is 112 and the current value the user enter is 33 so the next digit is not allowable because it will exceed the upper limit. On the other hand if the user's current value is 11 the next allowable digit is either 0 or 1 but not above I am current using the below method to allow only numbers. Can i expand this code to meet the above requirement?
If Not "1234567890".Contains(Char.ToUpper(e.KeyChar)) AndAlso e.KeyChar <> vbBack Then
e.Handled = True 'When a wrong value is Entered
End If
[code].....
View 6 Replies
Dec 31, 2009
i am trying to make a simple scripter. my scripter has a Run button to run the written scripts in a RichTextBox.But in new version of my program i want to make a RealTime run scripter, So don't need to a run button and scripts should process when user type in richtexbox. a way that i had used in my program is this :
ileOpen(1, "c:windowsmagico(test).txt", OpenMode.Output)
PrintLine(1, frmMain.page_script.txtScript.Text)
FileClose(1)
[code].....
View 7 Replies
Nov 23, 2011
I have a text file that is going to store some data in this current project. Instead of having it stored on a location on the PC (like C:Test.txt) - I wanted it to be a .txt resource of the application.Using a streamwriter isn't working when I'm attempting to write to the file. This following code runs without error however when I exit the application and look at the text resource file it remains blank instead of showing "Testing".
Dim Writer As New System.IO.StreamWriter(My.Resource.TXTRESOURCE)
Writer.WriteLine("Testing")
Writer.close()
View 1 Replies
Apr 11, 2011
I got a properties class that I send to a PropertyGrid. I want to change the [readonly] attribute of some properties in realtime. Below is an example of such a property in vb.net...
<CategoryAttribute("Graph Limits"), _
Browsable(True), _
[ReadOnly](False), _
BindableAttribute(False), _
[code]....
View 2 Replies
Apr 27, 2012
I am trying to write a VB .NET program that runs a Perl script and reads and uses the standard output. I'd like to be able to handle each line separately as it is printed, and update my program display accordingly. Here's some code I have "written" (read: "mostly copied off the internet"):
Private WithEvents pscript As Process
Private Sub myProgram_Load(sender As Object, e As System.EventArgs) Handles Me.Load
pscript = New Process()
[Code]....
This works with one problem: the program waits until the test script has run to completion, and then fires several OutputDataReceived events one after the other. This means that when I make it use the real script, it's likely to do nothing for as much as several hours, and then have to deal with, like, 5,000 events at once, despite the fact that stuff was being printed at fairly regular intervals throughout that time.
Is there any way I can make it deal with each line of text when it is written, instead of all of it at once at the end?
View 2 Replies
Sep 12, 2011
We have a reporting app thats needs to update it's charts as the data gets written to it's corresponding table. (the report is based off just one table). Currently we just keep the last read sessionid + rowid (unique combo) in memory and a polling timer just does a select where rowid > what we have in memory (to get the latest rows added). Timer runs every second or so and the fast sql reader does it's job well. So far so good. However I feel this is not optimal because sometimes there are pauses in the data writes due to the process by design. (user clicking the pause button on the system that writes data). Meanwhile our timer keeps hitting the db and does not get any new rows. No errors or anything. How is this situation normally handled. The app that writes the data is separate from the reporting app. The 2 apps run on different machines. Bottomline : How to get data into a c# app as and when it is written into a sql server table without polling unnecessarily.
View 4 Replies
Dec 14, 2011
I am working with a very simple (so far..) little program where i use som trig to create a circle using pixels created vith the Ellipse-comand "(x, x, 1, 1)" etc.
But I want to se when the graphics is drawn, just not the finished circle, how do I do that?
I use the "Paint" version of the form. I am a beginner so excuse my poor skills. Shouldn´t this be a very simple little problem?
I work with Visual Basic 2008 Express
View 9 Replies