本文介绍了如何在Mac OS X 10.6中发出硬件提示音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只希望Mac OS X 10.6发出硬件哔哔声,就像在开放使用和其他发行版中一样.我尝试了以下方法

I just want that Mac OS X 10.6 does a hardware beep sound like in open suse and other distributions. I tried following approaches

终端->哔声= -bash:哔声:找不到命令

Terminal -> beep = -bash: beep: command not found

终端->发出哔声=声音会发出哔声(不是硬件哔声,而是很棒的声音;))

Terminal -> say beep = voice speaks out beep (Not a Hardware beep but awesome ;) )

applescript->哔声= Macintosh铃声(我要发出硬件哔声!)

applescript -> beep = Macintosh bell (I want a Hardware beep!)

有人知道如何在bin/bash或applescript中发出硬件蜂鸣声吗?

Does anybody know how to make the Hardware beep in bin/bash or applescript?

推荐答案

macOS中没有硬件提示音".

There is no "hardware beep" in macOS.

您要考虑的功能是非常古老的IBM PC兼容硬件(1990年代以前)的产物.在大多数计算机装有声卡之前,大多数计算机都将小型扬声器或压电蜂鸣器连接到计时器芯片的一个通道.这可以用来产生简单的声音或蜂鸣声.即使在许多计算机集成了声卡之后,计算机将此输出路由到单独的内部扬声器的时间仍然很长一段时间.最近,许多计算机(尤其是笔记本电脑)已将此功能集成到了板载声卡中.

The functionality you're thinking of is an artifact of very old (pre-1990s) IBM PC-compatible hardware. Before most computers had sound cards, most machines had a small speaker or piezo buzzer connected to one of the channels of a timer chip. This could be used to generate simple tones or beeps. Even after many computers integrated sound cards, it remained common for quite some time for computers to route this output to a separate internal speaker. More recently, many computers, especially laptops, have integrated this functionality into the onboard sound card.

(如果您对PC扬声器界面的工作方式的技术细节感到好奇,请此处有更多详细信息.)

(If you're curious about the technical details of how the PC speaker interface worked, there are more details here.)

此硬件在Apple计算机中从未存在.唯一可用的音频输出是通过声卡,而macOS中唯一的系统提示音是用户的警报声音.

This hardware has never existed in Apple computers. The only audio output available is through the sound card, and the only system beep in macOS is the user's alert sound.

这篇关于如何在Mac OS X 10.6中发出硬件提示音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 06:16