用 C# 管理两个语音调制解调器

发布于 2024-09-29 06:55:27 字数 131 浏览 0 评论 0原文

我需要有关如何将两个语音调制解调器相互链接的信息。 我从调制解调器 1 拨号并播放 .wav 文件 然后我拨打调制解调器 2 并连接它们以允许它们讲话。

在 C# 中链接两个调制解调器需要什么,技术上可行吗?

谢谢。

I need information how to link two voice modems to each other.
From modem 1 I dial and play a .wav file
then I dial modem 2 and link them to allow them speak.

What do I need to link two modems in C#, is it technically possible?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

死开点丶别碍眼 2024-10-06 06:55:27

这是可能的,但需要做大量的工作。

  1. 您需要向调制解调器发送命令以解除、拨打电话等。您可以通过 AT 命令和 System.IO.Ports.SerialPort 类来完成此操作。这一点是相当标准的,我确信您可以找到一个示例/lib,它将在比 AT 命令更高的级别上处理所有这些。

  2. 链接调制解调器的语音部分取决于具体的调制解调器。大多数调制解调器都会为操作系统安装音频组件。如果您这样做,那么您需要做的是使用 directX 读取/写入特定的音频设备。

您在这里构建的是一个简单的语音开关,它们确实需要一些工作。祝你好运。

it is possible, but it will require a fair bit of work.

  1. You need to send commands to the modem to lift, make the call etc. You can do this through AT commands, and the System.IO.Ports.SerialPort class. This bit is fairly standard, and i'm sure you can find an example/lib out there that will handle all this at a higher level than AT commands.

  2. To link the voice part of the modems will depend on the exact modem. Most modems will install an audio component for the OS. If yours do, then what you need to do, is use directX to read/write to the specific audio devices.

What you're building here is a simple voice switch of sorts, and they do require a bit of work. Good luck.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文