Playing Sound Using Tapi?

Jan 13, 2008

Im developing a TAPI Applicationi had many problems with Acepting the call and detecting DTMF tones, but now these problems are solved,,, now the problem im facing is to play a wave file to the user who is on the phone...... Is there anyone who can gimme code or tel me how to do this in Vb.net

View 5 Replies


ADVERTISEMENT

Sound Playing Using Both Channels?

Aug 25, 2010

I am creating a program in VB 2010 that needs to play two synthesized sine waves at the same time, one in the right channel and the other tone in the left channel.

These tones will be 2 slightly different frequencies.

I tried to start a thread a week or so ago, but I did not make it clear exactly what I needed, and did not get my project started yet.

View 9 Replies

.net - BSOD While Playing A Sound Resource?

Sep 21, 2010

I have a VB.NET application that crashes on a client's computer with a BSOD error... KERNEL_DATA_INPAGE_ERROR.This error occurs at a point where my program does two things:

Locks the computer
Plays a sound in BackgroundLoop mode

For locking the work station, I am just using this:

<DllImport("user32")> _
Public Shared Sub LockWorkStation()
End Sub

For playing the sound, I am doing this:

My.Computer.Audio.Play(My.Resources.ResourceManager.GetStream("somesound"), AudioPlayMode.BackgroundLoop)

Now, this sound loops until the user logs back in. My software detects the session state switch and stops playing the sound. Sometimes when I log back in, the sound card plays garbage data for a split second, instead of the rest of the audio buffer. I get the impression that this has something to do with session switching.Could my client be having an issue where there is memory corruption occurring at the point of locking the computer?I apologize for the vagueness of this post... I am not sure where to begin as I cannot reproduce the problem myself.

Edit: If the sound is left to play on its own, even without locking the computer, eventually the computer will lock up and then bluescreen. Playing the sound while locking at the same causes it to happen sooner.

Edit #2: So I've seen it fail now. The sound loop starts playing correctly but quickly switches to looping of garbage data. It's as if it is just reading a random location in memory and looping that. Very strange behavior!

View 1 Replies

Application - Playing WIndows Sound

Sep 11, 2009

I want to have a applacation then wehen somthing happens (like, uhh a error message but without the message box.) what would be the code that plays the windows alert sounds, and one that applies to the current sound scheme i have running.

View 1 Replies

Make The Sound Repeat Itself After It Is Done Playing?

May 10, 2011

Here is the code that I have that plays a certain sound

Dim Alarm As System.Media.SoundPlayer = New System.Media.SoundPlayer(Steven_Anderson_HW5.My.Resources.Alarm)
Alarm.Play()

Well, is there a way to make the sound repeat itself after it is done playing?

View 2 Replies

Playing All Sound Formats In Pocket Pc?

Jul 2, 2009

I want to play all sound formats in visual basic pocket pc.I'm using visual studio 2005 . net

View 2 Replies

VS 2008 - Playing MP3 Over Certain Sound Device?

Nov 26, 2009

I've been looking for a way to play an MP3 file over a specific sound device for a while now and I just haven't been able to find any decent code examples in VB.NET. Basically I need a way to find and list all the sound devices on the system and then play an MP3 file over one of them. I have found code examples in C# and similar but I couldn't find any VB.NET code.

View 2 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

ListBox - Playing Sound When Click One Of Names In LI

Sep 20, 2009

I made a Listbox but there is an issue.. I want to play a sound when I click one of the names in the listbox.

View 6 Replies

Playing A Short Sound On Timer Tick?

Feb 12, 2010

I'm writing a metronome program (a.k.a. click track; it's used for keeping you in time in music), and can't for ther life of me figure out how to play a sound byte (a short beep) as the beat.

I know I need to place this code in the Timer Tick event, but I just have no idea how to import/reference etc. the sound.

View 5 Replies

VS 2008 : Application To Get Any Sound Playing From Pc And Play It?

Dec 6, 2009

Is their a way for my application to get any sound playing from my pc and play it?

View 6 Replies

VS 2010 Display Text While A Sound Is Playing?

Nov 20, 2010

How can I display text while a sound is playing? It keep pausing until the sound has completed.

View 1 Replies

Forms :: Stop The Sound In Form1 From Playing When Form2 Open?

May 30, 2009

im trying to open another form2/app that have music but i wanna stop the sound in form1 from playing when form2 open?

View 1 Replies

Use WinAPI Recording And Playing Sound Without To Output To A File In VB Language?

Nov 19, 2007

I want to make a function to record the sound and then to play the record,like the telephone. I have ever download some articles,but they were all too complex,or they have too many unassociate code,so I can not understand the courses of the recording and playing.I want to get some code here?

View 2 Replies

WAV File Play - Detect When A Sound File (WAV) Stops Playing?

Feb 25, 2009

For stopping by, is there a way to detect when a sound file (WAV) stops playing?

e.g.> There is a FORM with a PLAY button on which is coded to play a WAV file. But how does VB detect when the WAV file has finished playing?

Here is the code I have on the PLAY button

My.Computer.Audio.Play("test.wav", AudioPlayMode.BackgroundLoop)

View 3 Replies

Get Media Playing Now Playing Using Sendmessege / Wmp.dll?

Jan 22, 2010

How I can get the Media playing now playing using Sendmessege or wmp.dll?

View 5 Replies

Capture Sound - Using Mcisendstring Function But The Sound Quality, Is Poor?

Jun 20, 2011

I have a question about of capture sound function, someone have a code example for visual basic 2010 in windows 7?, I tried using mcisendstring function but the sound quality, is poor.

View 5 Replies

Play Another Sound (like A Beep) When Desired Without Stopping The Background Sound?

Apr 19, 2009

I have background sound loop with the My.Computer.Audio and it works fine. I want to play another sound (like a beep) when desired without stopping the background sound. Several examples I have found don't seem to work. I am in VB.NET 2008 Professional.

View 8 Replies

VS 2010 Adding Sound To A 3D Game / Finding A Sound Library?

Aug 24, 2011

I'm ready to start adding sound to a 3D game and I'm looking for a decent Free library.it would not require DX and be something like:

dim MySound as SoundLib.Sound
MySound = SoundLib.LoadSound("soundfile.wav")

SoundLib.Play3DWorld(Location.X, Location.Y, Location.Z, VolumeModifier, MySound)so far all Im finding is expensive, C#, old, or not .NET compatible.

View 9 Replies

How To Save Sound They Make And Catshing A Sound Recorder

Aug 14, 2009

im making a techno progam in visual basic 2008 and after 3 hour im think how to save the sound they make and catshing a sound recorder but what the code im try to find on internet but find 0 pleas give me the code im try to find

View 1 Replies

VS 2010 Using 3 Or More Sound Outputs Or Multiple Sound Devices

Jul 21, 2011

I'm creating an application that will have 3 streams of audio. I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance. However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre. An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.

[Code]...

View 1 Replies

Good / Updated Tapi Sdk?

Aug 12, 2010

Does anyone know if Visual Studio 2010 has a good/Updated Tapi sdk? Or Does any one know where I can get a Tapi Sdk that is in .Net format?

View 1 Replies

Raising TAPI Events?

Jul 26, 2010

I have a TAPI program that is very similar to [URL] I have a delegate ...

Delegate
Sub TapiEventCallback(ByVal
dwMessage As TapiEvent,
ByVal dwParam1

[code].....

From my program TAPI will call the number. My problem is that its not raising any events. I really need CallStateChange. I raised it from address and moved it up to my TAPI Manager. I put break points everywhere and I can not get anything to raise.

View 1 Replies

TAPI And Voice Modems?

Jul 27, 2010

I have a modem that CLAIMS to be voice, i still can not get it to do what I want.

1) The modem dials and makes my phone ring, when I pick it up the program does not reconize the event. I have to physically click on button that says Talk. Then my CallStateChanged fires.

2)My other issue is that I can not get any sound to come over the line. I essentially have a wav file that play nicelys on the computer but the modem is not picking it up. Is there some way that I can test the modem to be voice?

View 2 Replies

Getting Multiple TAPI Addresses For Extension?

Mar 22, 2010

We have a VB.NET application that is using the TAPI3Lib.dll. At this one site we can multiple addresses for the same Phone extension. For example for extension 149 we are getting Extension 149 - Address # where # is 0 thru 208. Is there a way to just get "Extension 149"? Have downloaded some free utilities and they only show "Extension 149".Below is the same of code:

Code
Dim AddressCollection As ITCollection = coTAPI.Addresses()
For Each loAddress As ITAddress In AddressCol

[code]....

View 2 Replies

Play A Wav Using TAPI Over The Phone Line?

May 27, 2012

I have problems by paying a wav through the phone line could somebody help me I use getLineID to get the id device for the wav/out but my wav steel plays over the sound card

View 1 Replies

TAPI Application Not Receiving All Events?

Sep 8, 2009

I'm writting what I thought would be a fairly simple TAPI program in VB.Net 2008 SP1 using the TAPI3Lib.dll. It is supposed to dial out a number and once connected play a wav file then wait for digit input. I got through the dialing but it seems I never get the CS_CONNECTED event letting me know the line was picked up. All I get is CS_INPROGRESS then the call is placed and a CS_DISSCONNECTED if I call the call.disconnect method.

I've double checked my registering for events and my event filter and they both check out (otherwise I wouldn't get the two call states I do get). Is there anything else I'm missing or is this normal? I'm calling out with a Conexant HDA D330 MDC V.92 Modem. The call is correctly placed, my phone rings and I answer it. The call state never changes to connected. If I hang up my phone you hear me hang up through the modem and you then hear a dial tone since the modem in the computer hasn't hung up.

View 4 Replies

Use Tapi To Check A Modem Is Busy?

Mar 22, 2010

I am trying to determine if a modem is busy. I have tried using serial ports which from what i can see just tells me that something is tied to a port or not. It does not tell me if the modem is busy.

My overall question is How do can I determine if a modem is busy? For an added bonus, also is there a way to tell what device is using a particullar port?

View 1 Replies

Get The Decibel Level Of Sound Being Sent To The Sound Card?

Apr 15, 2010

I need to get the decibel level of sound being sent to the sound card (not the actual sound level the speakers are instructed to emit via volume level)There is next to no information i can find on the net to even access sound data. Could anyone point me in a direction for this? The OS will be vista/7.

View 2 Replies

Using 3 Or More Sound Outputs Or Multiple Sound Devices

Jul 21, 2011

I'm creating an application that will have 3 streams of audio.I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance.However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre.An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.I've been searching the net for 2 days now trying to find a solution, but have so far been unsuccessful. I've tried a few alternative libs such as DirectShow.Net, DirectSound, BASS.Net, QuickTime and OpenTK.Some of them do what I need to do, but they are either too difficult to use and therefore impractical or they are missing some other essential features such as Events which are required to make the rest of the application work. Would anyone oppose to me posting this same thread on other forums?I will of course post a solution if one is found elsewhere without advertising external websites.

View 4 Replies







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