Microphone Audio Stream DIRECTLY To Speaker In VB?

May 6, 2011

It SOUNDS simple. In aVusual Basic application, how do I made an open (or controlled thread) connection to continuausly stream the microphone to the speakers?

View 1 Replies


ADVERTISEMENT

How To Record Audio Output Of Speaker

Apr 18, 2010

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.

View 5 Replies

Audio Capture From Microphone Line?

Feb 23, 2010

Can I use Visual Basic 2008 Express Edition to make a program that can take audio directly from the microphone line and decode it to from data? ( I'm building wireless transmition software for ameteur radio )

View 1 Replies

Audio Which Has Been Streamed As Input To Virtual Microphone?

Mar 11, 2010

I would like to add a virtual microphone (similar to how you can have a virual CD drive and then mount ISO files on it.) so that it can be selectable in programs like MSN and skype. But have the source of the audio be streamed from over a network(I know how to stream the audio over the network in VB.net) but how do I get that audio which has been streamed as the input to the virtual microphone?

View 3 Replies

Getting Microphone Stream And Using Speech Recognition?

Sep 29, 2011

I want to basically have a program that recognizes certain phrases from the microphone just like windows speech recognitionI pretty much think that it is probably going to be a microphone stream and then have speech recognition somewhat like Kinect speech recognition but in VB and not using XNA game studio.

View 6 Replies

Adjust Audio Volume Directly Using .net?

Mar 25, 2012

Is there any way to adjust audio volume directly using .net?

I can only find C++ coding which, sadly means nothing to me.

I would like to be able to record the current Audio Volume setting, change it (up or down), play a *.wav file, then return it to it's original level.

View 15 Replies

Adjust Master Audio Volume Directly Using .net?

Mar 26, 2012

Is there any way to adjust master audio volume directly using .net?

I can find C++ coding which, sadly means nothing to me. There's also quite a lot out there for VB4, 5 and 6 but I can't get any of that to relate to .net. Most of those seem to want to invoke the 'Slider' via the mouse which is not what I'm after.

I would like to be able to: -

Record the current Audio Volume setting,
Change it (up or down),
Play a *.wav file, then
Return it to it's original level.

I've had some success with 'AxWindowsMediaPlayer' but only with it's own increase / decrease functions. I can only get it to increase the volume as far as the main system volume is set, so if that's at zero I get no output at all. As for part one of my requirement, record the current level, I've got nowhere with that at all. I tried putting the one file I want to use in resources but can't find how to access it, I have had to put the file in a folder and call it from there, it works but it seems a little crude.

View 3 Replies

Adjust Master Audio Volume Directly?

Mar 28, 2012

Is there any way to adjust master audio volume directly using VB.NET ?

I can find C++ coding which, sadly means nothing to me. There's also quite a lot out there for VB4, 5 and 6 but I can't get any of that to relate to .net. Most of those seem to want to invoke the 'Slider' via the mouse which is not what I'm after.

I would like to be able to: -

Record the current Audio Volume setting, Change it (up or down), Play a *.wav file, then Return it to it's original level.

I've had some success with 'AxWindowsMediaPlayer' but only with it's own increase / decrease functions. I can only get it to increase the volume as far as the main system volume is set, so if that's at zero I get no output at all. As for part one of my requirement, record the current level, I've got nowhere with that at all. I tried putting the one file I want to use in resources but can't find how to access it, I have had to put the file in a folder and call it from there, it works but it seems a little crude.

View 1 Replies

Audio Stream Capture From Web

Nov 18, 2009

I have link: [URL]

I want capture the audio stream on my computer in mp3/wav.

I have no idea from what i should start. What should i use for start developing? I'm working in VS2008 on VB. Can i do it in VB? What additional software i need?

View 2 Replies

.net Capture System Audio To Stream?

Jun 21, 2011

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.

View 1 Replies

Convet My.resources Audio To Stream?

Jan 4, 2011

I'm using vb.net and "my.resources" to store wav audio files.I know I can play such files using:

My.Computer.Audio.Play(MyProjectName.My.Resources.Resources.resourcename, AudioPlayMode.BackgroundLoop)

However I want to use bass.net to play the file and it requires either the the file name on the file system or a stream. how do you get the data inside an audio resource into a stream?This is what I have so far:

Dim imgByteArray() As Byte
imgByteArray = CType(MyProjectName.My.Resources.ResourceManager.GetObject("resourcename"), Byte())
stream = New System.IO.MemoryStream(imgByteArray)

[code]....

I get this error on the bold line above:

Unable to cast object of type 'System.IO.UnmanagedMemoryStreamWrapper' to type 'System.Byte[]'.

1. Is there a way to cast from System.IO.UnmanagedMemoryStreamWrapper to type System.Byte?

2. What would be the best method to get the audio resource into a stream format?

View 5 Replies

Replay A VB Audio File Or Stream?

Sep 21, 2010

I am trying to write a little synthesizer program, and as a first step I am creating .wav files opened for reading and writing using the code below called from a button click event handler. The audo plays but once, no matter how many instances of the Audio.Play method are called. I also tried closing the file and then calling the Audio.Play method on the full path name. In each case, the audio plays but once. If I click the button again, the file will be played once more. The duration for the audio is one second, so I am sure that it is only being played once every time. I do not want to loop the data. The idea is that when the user plays a new note, I update the file and replay it with the new data. Since the file is recreated every time I click the button, I guess what I *need* is working, but I am still curious why I cannot replay the content of the file.

' Create a file stream object for reading and writing.
Dim FS As New IO.FileStream(fileNamePath, _
IO.FileMode.Create, _

[Code]....

View 9 Replies

Detect Silence Of Audio In Buffer Of WMA Stream?

Aug 24, 2010

I have a standard WMA stream, streaming in constantly via the internet. I need to write an application to stream this audio, and looks for any periods of 'silence'. When it detects silence, it runs an event.

For the purposes of this, silence is defined as three seconds of zero-level audio. The stream keeps going in a technical sense, but there is no audible noise coming through it.

However, I want the program to detect the silence while it is still in the 'buffer'. That is, the user won't hear this silence before the program detects it is there.

The audio shouldn't stop as it is analysing this silence - it needs to keep playing the audio constantly to the user.

I'm open to using whatever suitable API is out there - such as BASS, or the Windows Media extensions built into the dot net platform.

View 2 Replies

Redirect Audio Stream To/from The Serial Port?

Jan 19, 2011

I'm writing a program that will allow me to send SMS and call using a GSM modem.

I'm communicate with the modem using AT commands.

I have a problem with "connect" sound from the modem to the speakers.

After installing the modem is visible in the system as two ports.

On one of them sends and receives commands.

The second is just for voice communication.

I can't redirect PC audio input/output to the modem serial port. (So I can't hear callers and vice versa)

From what I've managed to find I have to use SAPI. (ISpVoice::SetOutput)

View 10 Replies

Stream Audio And Video In The Local Area Network?

Oct 26, 2009

I am developing an application where in I need to stream audio and video in the local area network. There is calling option from my application where users can call each other(audio call or video call) in the LAN.

View 3 Replies

Audio Management System - Allow User To Add Audio Files Itself Into Database Together With Audio Information

Jan 28, 2010

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

[CODE]............................

View 2 Replies

Audio Converter And Compressor - Audio & Video - Dream.In.Code

Mar 13, 2009

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.

View 2 Replies

VS 2008 Recording Audio - Capture The Audio Played On My Laptop

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

Make A VU Meter For Audio To Monitor Audio Input?

Feb 26, 2007

make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?

View 7 Replies

Routing Modem Audio Out To SR Engine Audio Input Under VB / VBA?

May 20, 2009

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?

View 7 Replies

Adjusting Windows Speaker Volume?

May 23, 2011

How do I change the Windows Speaker Volume (The Main Output Volume Control Volume Value) via VB.NET? I want a way to like indirectly change the whole system's volume like we do it from the Volume Control application on Windows 7

View 1 Replies

Create A Tone Sound From Speaker?

Sep 30, 2009

show code for creating several tones to play in my computer speaker that have different frequencies for the tones and have different time lengths the tones play for!

View 11 Replies

Detecting A Beep Sound By Speaker In .net?

Oct 26, 2010

i need to make an app which detects if the speaker has given out beep sound or not

View 3 Replies

Detecting A Beep Sound By Speaker?

Oct 26, 2010

i need to make an app which detects if the speaker has given out beep sound or not

View 7 Replies

VS 2008 Current Song Going Through Speaker?

May 25, 2009

is it possible to retrieve the current song (mp3) that is being played through your computer's speakers? No matter which program is playing the song.. This has to be possible since when a program plays an mp3 some code has to be passed through Windows telling it to play the song SongABC.mp3 using the computer's default speakers...

View 9 Replies

Stream Read Return Length 0 While Stream Is Open And Has Valid Data In It?

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

Detect What Frequency Of The Sound That Is Playing On A Speaker?

Sep 8, 2009

how to detect what frequency of the sound that is playing on a speaker on vb2005. what reference should i have. what function should i use.

View 3 Replies

Use The Internal System Speaker To Generate Sound?

Jun 12, 2011

I know it is possible to use the internal system speaker to generate sound.

EG
System.Console.Beep(500, 500)
'Beep(FREQUENCY,DURATION)

However i was wondering if anyone knows if it is possible and how to go about using said system speaker to speak - MESSAGE YOU ARE NOT AUTHORISED - for example

I am creating an app that allows admin access via a usb key (this is working fine) and i want their system to sound an alarm with a warning message should they try to force thier way into the admin section without the admin usb key.

View 3 Replies

VS 2010 Make Shoutcast Stream Info Like The Stream Name

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

Basic Speaker Volume Control - VolumeControl Is Not Declared

Jan 3, 2009

I ve blackled it and found a 1000 lines code. I need something more simplified...

[Code]...

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved