麦克风音频流->串行输出 [英] Mic Audio Stream -> Serial Output

查看:73
本文介绍了麦克风音频流->串行输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在尝试从麦克风获取数据并通过串行端口发送.我已经对通过串行端口发送数据的部分进行了编码,但是我不确定如何从C#中的麦克风中获取数据.

如果有帮助,我可以使用using.VisualBasic从麦克风中获取数据,但是我不确定如何将其作为字节流返回到我的代码中.

谢谢您的帮助.

Hi everyone,
I''m trying to get data from a mic and send it over the serial port. I''ve coded the part that sends data over the serial port, but I''m not sure how to get data from the mic in C#.

If it helps, I''m able to get data from the mic with using.VisualBasic, but I''m not sure how to get that back to my code as a bytestream.

Thank you for any help.

推荐答案

我已经对通过串行端口发送数据的部分进行了编码

如果编码为将数据发送到串行端口..",则还可以使用 SerialPort.Read 方法
I''ve coded the part that sends data over the serial port

If coded for Send the data to the serial Port.., You can also read data from the same serial Port using SerialPort.Read method


这篇关于麦克风音频流->串行输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆