New Posts New Posts RSS Feed - Routing line through speakers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Way2call telephony device is your ultimate telephony integration solution!

Routing line through speakers

 Post Reply Post Reply Page  <12
Author
doronsh View Drop Down
Way2call
Way2call


Joined: Mar 16 2009
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote doronsh Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 8:07pm

The Hi-Phone Desktop Lite is a telephony device and not using the Voice modem drivers. It has full duplex voice capabilities, and supplies all the required signals and waves for applications development.

There is no one command to switch the audio to the PCâ?Ts speaker. This command is a modem specific.

One way is to take the audio from the Hi-Phone input and route it to the PCâ?Ts speaker (wave to wave).

More simple solution is to plug the speaker to the Hi-Phoneâ?Ts speaker out jack, and hear the Line.

The Hi-Phone has few switching modes, which define the way the audio flows.

In order to get the Line audio in the handset, or headset you should choose the right switching mode.

Switching mode description and commands can be found in the SDK .net help file.

CWay2callDriver.CDevice.SwitchingModes Enumeration

Choose: Line_PcAudio_Phone mode.

Use the headset switch

This will route the audio to the PC,  Line and handset together.

In order to use the headset, the headset should be chosen. (handset or headset can be used, but not together)

In order to choose between the handset and headset use the CWay2callDriver.CDevice.LOCAL_DEVICE

Back to Top
ZenArcher View Drop Down
Newbie
Newbie


Joined: Feb 13 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ZenArcher Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 5:58pm
I am writing an AAC (augmentative and alternative communication) package which is available at ALSMatters.org. I am attempting to add a telephone interface. By that I mean the ability to send synthesized speech on demand and listen to incoming speech through the computer speakers.

I have accomplished this using a cheap voice modem and TAPI 3.1 using Julmar's ITAPI wrapper using C# however due to the half duplex issues the lag between generating and sending speech and switching back to listening makes it unusable.

For testing I have developed the same application using the Way2Call USB Lite and the .Net SDK. I am able to send text via a wav file but I am unable to hear the speaker (ie handset with no earpiece).

In Tapi I use:
TTerminal _speakerTerminal = address.GetDefaultStaticTerminal(TAPIMEDIATYPES.AUDIO, TERMINAL_DIRECTION.TD_RENDER);
and all incoming sound is routed through my speakers (default audio). What is the equivalent in the .Net SDK?

Way2call Drivers Information:

Package Version: 2.01.11 64bit (beta)

OS version: 6.1.7600 

Device Information:

1. Hi-Phone Desktop Lite 019224
    Firmware Version: 5.03.23
    P/N: HD00LTGR01
    S/N: 1028-07-019224
 

Software Components:

File: ScTsp64.tsp
    Description: Way2call Multiple Hi-Phone Devices TSP
    Version: 2.01.11
    Build: 0

File: scwiz32.exe
    Description: Way2Call Multiple Hi-Phone Devices PBX Wizard
    Version: 2.00.34
    Build: 0

File: TestWiz.exe
    Description: Way2call Multiple Hi-Phone Devices Test Wizard
    Version: 2.00.34
    Build: 0

File: w2cMdSound.exe
    Description: Way2call Multiple Devices As Sound Cards
    Version: 1.0.0.7
    Build: 0

File: w2cTspSetup64.exe
    Description: Way2call TAPI Setup
    Version: 1.0.0.2
    Build: 0

File: ml_setup.exe
    Description: Way2call Multiple Hi-Phone Devices Drivers installer
    Version: 2.0.0.43
    Build: b001

File: w2cMultiInfo64.exe
    Description: Way2call drivers infromation
    Version: 1.0.0.4
    Build: 0

File: w2cUSBM.dll
    Description: Way2call Multiple Hi-Phone Devices DLL
    Version: 1.3.7.0
    Build: b004

File: w2cUSBM64.dll
    Description: Way2call Multiple Hi-Phone Devices DLL
    Version: 1.3.7.0
    Build: b002


Audio IN devices:
  0. Microphone (Hi-Phone Desktop Li
  1. Modem #0 Line Record
  2. Digital Audio Interface (Hi-Pho

Audio OUT devices:
  0. Speakers (2- High Definition Au
  1. Modem #0 Line Playback
  2. Digital Audio (S/PDIF) (2- High
  3. Speakers (Hi-Phone Desktop Lite

Back to Top
doronsh View Drop Down
Way2call
Way2call


Joined: Mar 16 2009
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote doronsh Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 5:16pm

Please send more information about the way2call device that you are using, include part number and s/n.

You can find this information at start menu >>> programs >>> way2call Multiple Hi-Phone devices >> way2call drivers information

Also, are you using off the shelf TAPI application, or one of the Hi-Phone SDKâ?Ts API?

Back to Top
Steve View Drop Down
Newbie
Newbie


Joined: Mar 17 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 5:01pm

I canâ?Tt understand what exactly you are trying to do, Iâ?Tm using the way2call products for few years and Iâ?Tm sure that everything you can do with a TAPI and a Modem you can do with the Hi-Phone devices as well, and with better audio quality.

Can you explain in more details what you are trying to do step by step?

Back to Top
ZenArcher View Drop Down
Newbie
Newbie


Joined: Feb 13 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ZenArcher Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 2:13pm
Even utilizing the test application I am unable to hear incoming voice unless I record it then play it back. I can accomplish that with TAPI and a $19 voice modem.

I purchased this modem for the full duplex capabilities to be used in an AAC application. Outgoing text is a wav generated by a text to speech engine. I now simply wish to route the line to the speakers so that I can hear the other party. If that is not possible please let me know so that I can return the unit.
Back to Top
Steve View Drop Down
Newbie
Newbie


Joined: Mar 17 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve Quote  Post ReplyReply Direct Link To This Post Posted: Feb 15 2010 at 9:27am

You should write a small application that uses the PC wave devices.

Route the Hi-Phone line wave file (Hi-Phone recording device) To the speaker (Sound card Playback device)

Back to Top
ZenArcher View Drop Down
Newbie
Newbie


Joined: Feb 13 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ZenArcher Quote  Post ReplyReply Direct Link To This Post Posted: Feb 13 2010 at 10:25pm
How do I route the line through the computer speakers without using a 3.5mm plug?
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.