audio - Raspberry Pi running Raspian in Telnet
问题描述
I have a few Raspberry Pi devices (b3+) running a telnet session to our server at work. Warehouse employees scan bar codes to move product through the warehouse. These Raspberry Pi devices are running Raspbian and have replaced handheld scanners (since the warehouse staff kept breaking them). These Pi devices boot up into the terminal and establish a telnet connection with the server.
The handheld scanners that were replaced by these Pi devices, provided an audio warning tone if something didn't scan correctly (we're assuming it was an ascii generation), which allowed users to be notified of the error. After bashing my head against the wall - and pretty much anything else I can find - I'm hoping someone here can help me out.
I'm looking for a way for the Pi to generate a warning sound while in the telnet session...using ascii 7 (I'm not sure if any text is returned when the error is received or not). The sound will need to be transmitted from the Pi to the display speakers via an HDMI connection. Any suggestions?
NOTE: We can get wav files to play off the Pi using the CLI...we just can't quite get ascii 7 to return a warning/beep.
Thanks
解决方案
推荐阅读
- node.js - 如何在没有 npm 和节点模块的情况下使用 Vue.js?
- matlab - Matlab中的阴影图
- javascript - 映射函数多次插入相同的数据(React-Redux)
- angular - Angular 9:创建动态 ViewContainerRef 以循环组件数组
- jquery - laravel刀片中的foreach jQuery对象
- java - Log4j DailyRollingFileAppender 不是每天都创建新文件
- python - 另一个字符串内的字符串中的换行符
- angular - Angular 自动将 http 更改为 https 以加载资源
- uwp - 在 Xbox 上按下 GamePad.A 时如何获取 Slider 的事件
- android-studio - 安装颤振插件时,Android Studio 4.1 在索引时冻结