Input and output of sound

Key points

  1. In physics, sound is a vibration that propagates as an acoustic wave through a transmission medium, such as a gas, solid or liquid.
  2. In computer science, all type of information has to be in binary form(digitized) so that it can be stored and manipulated by computer.
  3. The input of sound is a process of digitizing sound.
  4. The output of sound is a process of converting digital signals to analog signals.

Input

For input, microphone is needed. Microphone converts sound into electronic signal. A microphone has a diaphragm. The diaphragm vibrates when subjected to pressure. The diaphragm is connected to a circuitry. The vibration causes a change in electrical signal.
Two types of microphone:

  1. Condenser microphone
    Condenser is the old name of capacitor. The condenser microphone uses capacitances change as the mechanism.
  2. Piezoelectric microphone
    It uses the phenomenon of piezoelectricity, that is, the ability of some materials to produce voltage when subjected to pressure. In such a way, the vibration of diaphragm is converted to electrical signal.
    NOTE: the electrical signal has to be converted to digital signal before it can be stored and manipulated by computer. That is what an ADC (Analog-to-Digital Converter) does.

Output

The output of sound is the revers process to that of input. A DAC (Digital-to-Analog Convert) is used to convert the digital signal generated by computer to analog signal. The analog signal is used to produce vibration to generate sound.

For output, usually a speaker is needed. The main components of a speaker are: a coil, a magnet, a diaphragm. The analog signal is passed to the speaker. The current flows through the coil which is suspended in the magnetic field provided by the permanent magnet in the speaker. As the direction of current keeps reversing, the coil moves backwards and forwards. This movements control the vibration of diaphragm to produce sound.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值