I need is to send a .wav message to a phone.
No problem with dial a number and connect tothe phone.
I just need to know how to transmit a voice message.
Printable View
I need is to send a .wav message to a phone.
No problem with dial a number and connect tothe phone.
I just need to know how to transmit a voice message.
Use MsComm control to dial the number, then simply play the wav file through the phone
I don't think it's that easy. First you need a "voice" phone. If you have one, then you must enable voice, and the voice part will became a sound card. So when you play, you have to choose the right sound card (the modem's sound card), and play on that card to play in the phone.Quote:
Originally Posted by baja_yu
If you just want to play, then you don't need MsComm at all...
I think most modems today have voice and fax capability. I think that MSComm can do all that (of course it can dial a number) but it can transmit sound through the modem. I think I saw an application for that on planetsourcecode. I think it was a dialer, that dials all numbers in range and plays a wav file.
Ok, of course I have a voice modem.
I also can dial a number.
What I don't know is how to transmit the .wav message.
I understand I should enable the modem microphone mode, or something like that.
But how to do that?
Control Panel -> Sounds and Audio Devices
There is one more way, which is really easy. Simply buy a cable that has stereo jacks on both end, then plug one end into the speaker output, and the other into the modem, in modems microphone input. Then what ever you play (anyway you play it) will be sent to the modem. Of course, play it after you establish a voice connection.
one question.
can it be done linkin two sound card or one sound card and one voice modem?
if u speak into sound cards mic plug in, then the data is sent by modems voice out. And reverse. And thats all in full duplex.
when i click im vb app on button 1, then it uses modem 1, when i click on button 2, then it uses modem 2. But always it uses one sound card where are speakers and microphone.
Google is your friend. Here is a complete (untested by me) app with VB source code. I can't distribute it, but you can get it here.
http://www.geocities.com/sfrare/index.html TAPI - 3
Reading thru the notes tells me that it is more trouble than it is worth to try to do something like this myself, so I would reconsider. Take a look at his notes, and try out his app. If it doesn't work right, post part of it here.
Read the post above yours.Quote:
Originally Posted by alphaest
i readed it.Quote:
Originally Posted by baja_yu
tahts what u say'd is comptabile with one modem, but my question was to do it with multiple modems.
Have readed all, its seems very complex. I have now external voice modem, but i try it out once i get internal, witch has the soundcard "effect".Quote:
Originally Posted by dglienna
thanx for the link
Why is it only compatible with one modem? It can work on all modems that have microphone input (which I think is most of them)
Do you mean by this way?
http://alpha.lutsu.ee/upload/modem.gif
I think here is one prob.: the voice level goes down by using more that one input/output parallel.
i have one question more:
how u can change windows voice in/out adapter with VB app?
these settings, what dglienna posted on 06-07-2005, 05:54 PM (Control Panel -> Sounds and Audio Devices)
Take a look at this page. There are registry settings that can be changed.
http://www.exceletel.com/support/wht...thWAVFiles.htm
I did something like this, but I only needed from phone line to sound card.
The way I did was using an electronical device wich I made to filter and amplify the sound to go into sound card (auxiliary input wich is Stereo).
That way I could record from 2 lines using only one sound card. So basically you would need a sound card per 2 lines.
This is the schematic for the device I made:
This is for one line, for 2 lines I just made 2 of them, and connected to the same jack, but one went to left channel, and the other to the right channel.
http://www.vbforums.com/attachment.p...id=35972&stc=1
And heres a simple diagram of how it works
http://www.vbforums.com/attachment.p...id=37393&stc=1
ok.. got my prob resolved. Big thanx for the link and the amplifilter pic. I made 4 of them an but 1 filter per modem(the sound i made mono) and plugged them directly to Line-In(like my pic up). My sound card(AC '97) has realtek drivers and there from equalizer i taked 100 and 200 Hz down to -12dB. So no noise is generated. For my modems i send At commands( ATM 3, ATL2 ) to make them generate less noise. So all is nice.
Thanx again. :)
Is it possible to send .wav file rather than using systems sound card and Modem Mic.. if so ..plz tell me how to do it.
If your modem has voice, and you enable it, you'll be using the modem's sound card, not the system sound card. (The modem I have does not have voice, so I had to use the main sound card)Quote:
Originally Posted by vkhere
iam using an external modem that is connected to serial port, i want to play wave file through it not through sound card.. .....give me some idea plzzz
How come I don't have my modem in the default device list of sound playback in Sounds and Audio settings ??
I have checked VB-TAPI_3 project.Quote:
Originally Posted by dglienna
It can save as a wave file in a folder. But I want to here the sound directly in my head set. How can I do it?
Could you describe this project briefly?
Can You briefly Describe how can his project works?Quote:
Originally Posted by dglienna
(These are my doubts
:confused: Takes receiver?
:confused: Play Audio in telephone line?
:confused: Get Audio from telephone line?
:confused: Record it?
:confused: Get the key press in the telephone?
:confused: Hang-up connection?)
Please answer the questions you have known.