触摸屏使用声音输入?

发布于 2024-08-31 02:07:44 字数 194 浏览 5 评论 0原文

我真的不知道这是否真的可能,但我相信它可以实现。如何可能制作一个程序来识别从屏幕上弹起的不同声音并将其转换为稍后将馈送到鼠标的位置。

我知道这听起来有点愚蠢,但最近我注意到触摸屏幕时会发出非常沉闷、强烈的声音,而且在不同位置触摸时声音会有所不同。麦克风“听到”的声音可能会有所不同,因为屏幕充当带有外壳的鼓。不管怎样,你觉得怎么样,有人有过声音编程的经验吗?

i don't really know if it is actually possible, but i believe that it can be made. How possible is it to make a program that recognizes different sound bouncing from the screen and turn it into a position that will obviously be later fed to the mouse.

I know that it sounds kind of dumb, but lately i've been noticing that a very dull, strong sound is made when touching the screen, and that sound varies when doing so at different positions. Probably the microphone "hears" differently because the screen acts as a drum with the casing. Anyways, what do you think, anyone has any experience programming with sound?

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

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

发布评论

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

评论(2

像极了他 2024-09-07 02:07:44

首先,大多数家用触摸屏的工作原理是基于显示层下方的十字形网格层来检测压力。

然而,我见过一个例子,触摸界面被询问到一块玻璃上,它使用 4 个麦克风来确定角落,当你点击屏幕的某个部分时,它会测量声音到达每个麦克风的延迟,因此允许一个对触摸进行三角测量。

这就是你将使用的方法,你甚至不需要设置硬件来测试它,你可以在VB中抛出一个界面,当你点击一个框时,它会发出一个圆形波,然后使用时间进行计算需要到达指针所在的 4 个点。

编辑

正如 nikie 建议的那样,拖动并编辑使用麦克风方法不可能实现跌落或任何类型的手势,因为该技术需要声波来检测输入。

http://computer.howstuffworks.com/question7161.htm

First of all most domestic touch screens work by detecting pressure based on a criss-cross mesh layer underneath the display layer.

However I have seen an example where a touch interface was interrogated onto a pane of glass, it used 4 microphones to determine the corners, when you tapped a certain part of the screen it measures the delay in the sound getting to each microphone, therefore allowing one to triangulate the touch.

This is the methodology you would use, you don't even need to set up the hardware to test it, you could throw up an interface in VB, when you click in a box it sends out a circular wave and just calculate using the times it takes to reach the 4 points where the pointer is.

EDIT

As nikie suggested, drag & drop, or any kind of gestures would be impossible using the microphone method, as the technique needs a wave of sound to detect the input.

http://computer.howstuffworks.com/question7161.htm

夜还是长夜 2024-09-07 02:07:44

我不知道这是否能让您走得更远,但您可以研究 MIDI 鼓中使用的技术来返回演奏的各种细微差别。

I don't know if this will get you far, but you can investigate the techniques used in MIDI drums for returning various nuances of play.

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