How To Record A Specific Applications Audio
Jul 6, 2010How can I make an application that can record the audio output of another application using VB.net?
View 1 RepliesHow can I make an application that can record the audio output of another application using VB.net?
View 1 RepliesI'm trying to get started with a simple audio application under .NET 3.5 (preferably in VB.NET, but will happily use C#). What I'd like to do is: Continuously record audio from (the default) Windows audio input device in 8-bits-per-sample PCM format For every N bytes captured, do some analysis on the raw audio (some RMS and/or SPL calculations -- basically what you'd need for a pretty VU bar graph thingy) If the audio fragment is found interesting after analysis, save it using a compressed file format (e.g. MP3)
[Code]...
I've hit a snag in sound recording. It's some years now since I last messed around with the win32 mciAPI. But I'd thought I'd give it a go from vb.net - but it only 'partially' works with vb.net The code below (in vb6) used to let me record audio in glorious stereo at CD quality.But the following code now only let's me record in crappy 11025 hz mono at 88 kbps Somethings changed in Windows or how vb talks to the mciAPI grrrrrrrrrrrrr. I really, really hate MS - they're evil. can I record in stereo (at CD quality) using vb.net - I've spent two days trying to get the mciAPI to work ok and no joy.
The code is/was:
Imports System.Runtime.InteropServices
Imports System.Text
Public Class frmSoundRecorder2
[code]....
I'd like to make a program, what records audio, not sound
View 5 RepliesI'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
[CODE]............................
if anybody can help me to get the code to record the audio, that is the out put of the speaker?
i got the code to record voice from the microphone, but cant record the audio from speakers on the same time, that is my need.
Imports System.Data.SqlClient
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim connetionString As String
Dim connection As SqlConnection
[code]....
How would I access a specific record and put it into a variable to compare against user input?I have a table CASHIERS and part of that table is a BadgeID and a PIN number. What I want to do is when a cashier swipes there badge to logon to a POS.. it searches the DB to see if the cashier exists. Then, once it establishes that they do exist, it pulls their PIN # and prompts them to enter it. It compares the data retrieved from the DB to the data that they entered.
I am using crystal report to make my report. But problem is that I cant use same SQL Command there in report parameter because its different. I am going to show you my code so that you can understand it. I have a report & a form where I have one text box one button & one crystal report viewer. I have imported all fields by using report wizard. Even I have created parameter(name) there. So that user can get specific record by typing it there in the text box. However here is my code for button1:
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class Form1
[Code]......
It means it will not show student`s ID & name again & again. On the top of the report it will show student`s ID & name for once & depending on ID it will show student`s mark on report. I guess I have to use something like that Select * from result where text1.text = name of the parameter. But problem is that I cant use same command there in formula workshop.
i want to create login form in VB.NET i will done a lot of work like inserting data and also retrieving data but i want to know that how can i get specific record from data base and want to match with my input .
Imports System.Data.OleDb
Public Class frmmain
Dim da As OleDbDataAdapter
[Code].....
I Have A form With With Data source DS1 Is There A Way To Filter The DS1 To Show A Specific Record Parameter Input Textbox
View 2 RepliesI have finally taken the plunge and am trying to get my head around VB 2010 after years of playing with VB6. I am using the free VB 2010 Express edition to get me started I am not an acomplished programmer in VB6 - being totally self taught from books, files , forums like this and internet searches so I am finding the transition to .NET syntax very painfull. Unfortunately,
[Code]....
can i ask how do i insert my records from my textbox to specific column name of my table
IsConnected("Insert into products values(" & _
Me.TextBox1.Text & ",'" & _
Me.TextBox3.Text & "','" & _
[code].....
i'm not expert in writting vb codes. but there's this IT project im doing in access
View 3 Replieshow do you retrieve a specific record from a database. i have a database with records of stock an i need to be able to check the stock for specific items on the database. The collumn is quantity and im trying to retrieve the integer value based on oledb querry "SELECT Quantity FROM Stock WHERE ItemID=ITemID"
btw i have tried oledb data reader but don't seem to understand it .
I want to know how can I get specific record to make report? For example I have student information there in my program. Its easy to create a report of all students. but if user wants to get & print specific record of a student what should I do? I have another question to ask. I have heard it that its possible to show each specific record there in each page by using NewPageAfter or NewPageBefore. I need to know is there any way that user will select ID number from combo box & when he will click on report button it will create report of that student what has been selected from the combo box?
View 1 RepliesI 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.
View 2 RepliesIm 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 RepliesI want to know if is there's a way to update a certain record if it reaches a specific date. [code] I wanted to automatically update the "IN" status to "OUT" status when the date.today = DateUpdate.. I am using MsAccess2003 to connect VB.Net2005express edition (using Odbc Connection) Coded it at back end(no controls)
View 1 RepliesI want it to take the text from the text box and use that to search the badge column from the db and tell me if it exists or not.[code]...
View 3 RepliesI am using the following line of LINQ to drill down into an element. Is it possible to expands this code to drill further down so that I can add content to the <population> element in "Test2". I want to be able to do somthing like element.SetValue(1000000). However I need to expand the code below so that I can pass the entire query results into the variable called "element"'
Dim eles = From c In doc.Descendants("File") _
Where c.Attribute("Name").Value = "Test2" _
Select c
[code]....
I have made a form i want to search a specific record by passing peramiters.
I have tried it by using this code:
OleDbDataAdapter1.SelectCommand.Parameters("CustomerName").Value = TextBox1.Text
Dataset11.Clear()
OleDbDataAdapter1.Fill(Dataset11)
When i use showposition() it gives me error.
I am using oledbadapter to find the record it doesa nothing and also when i tey to insert another oledbadapter it doesn't allow me to insert another olebadapter why?
My application will start (dataset filtered by username/date) and if it's the first time the user has used it today it will be a blank entry form because there is no record for today created. The user can just type data into the blank form and close it. On the form closing event I want it to run a tableadapter.insert(username, date, x,x,x).
If it starts a second time it will load showing today's entry because today's date was inserted previously when they closed the form. So this time when they close the form I want the form closing event to just run a tableadapter.updateall(dataset) command. I need some help with my form closing event...
[Code]....
make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?
View 7 RepliesI 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?
how can I get specific record there in report by passing string parameter from vb.net to crystal reports? For example - I have text box, button & crystalreportviewer there in my form. When user will use it he will write specific word there in the text box & click on view report button then it will automaticlly find out the specific record & show it there in report.
View 1 RepliesI can show information by specific ID there in crystal report by following code.
[Code]...
how can i insert record in specific column name..i've used this code it works but how can i insert my record in a specific column name?? here is my code in my btnAddRecord :
If frUpdate = False Then
IsConnected("Insert into products values(" & _
Me.TextBox1.Text & ",'" & _
Me.TextBox2.Text & "','" & _
[code]....
I have this frm_customers and this button called View/Edit.
What I want is that when i click this button it should ask me a customer Id and then go to that customer id in frm_customer
I have a gridview displaying all employees. Upon selecting an employee, I'd like to open a new page or window that would display all of the information for that employee with the option to edit/delete/update. Once this transaction is complete, return to previous page with gridview of all employees. ((language I'm usings is VB))
[code]...
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.