You can adjust the your speaker volume in-app, operating system-wide, or by the physical controls on your speaker setup. Which method is best for optimum sound?

您可以在应用内,整个操作系统范围内或通过扬声器设置上的物理控件来调整扬声器音量。 哪种方法最适合获得最佳声音?

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-drive grouping of Q&A web sites.

今天的问答环节由SuperUser提供,它是Stack Exchange的一个分支,它是Q&A网站的社区推动组织。

问题 (The Question)

SuperUser reader Qqwy poses the following question:

超级用户阅读器Qqwy提出以下问题:

If music isn’t loud enough, how do I get the best quality (even if the difference is in fact so small it’s negligible)?

如果音乐不够响亮,我如何获得最佳质量(即使差异实际上很小,可以忽略不计)?

  • By making the music louder in my music player, game or other sound-producing software program?通过在音乐播放器,游戏或其他产生声音的软件程序中使音乐声音更大?
  • By raising the volume at the operating system level (for instance, by clicking the speaker icon in the Windows notification area and turning the volume up)?通过在操作系统级别提高音量(例如,通过单击Windows通知区域中的扬声器图标并调高音量)?
  • By turning the volume up on the amplifier or speakers that are attached to your computer, and thus changing the volume on the hardware?通过调高与计算机相连的放大器或扬声器的音量,从而改变硬件的音量?

Does programs vs. OS matter? Does software vs. hardware matter?

程序与操作系统是否重要? 软件与硬件有关系吗?

Let’s get to the bottom of things: is it better to crank up the volume at the speaker or within your computer’s settings?

让我们深入探究一下:在扬声器上或在计算机设置内提高音量是否更好?

答案 (The Answer)

SuperUser contributor Indrek jumps in with a definitive answer to the question:

超级用户贡献者Indrek提出了以下问题的明确答案:

Program vs. OS generally doesn’t matter. What matters is whether you’re adjusting volume in software or in hardware.

程序与操作系统通常无关紧要。 重要的是您要调整软件音量还是硬件音量。

Reducing volume in software is basically equivalent to reducing the bit depth. In digital audio, the signal is split up into distinct samples (taken thousands of times per second), and bit depth is the number of bits that are used to describe each sample. Attenuating a signal is done by multiplying each sample by a number less than one, with the result being that you’re no longer using the full resolution to describe the audio, resulting in reduced dynamic range and signal-to-noise ratio. Specifically, every 6 dB of attenuation is equivalent to reducing the bit depth by one. If you started with, say, 16-bit audio (standard for audio CDs) and reduced the volume by 12 dB, you’d effectively be listening to 14-bit audio instead. Turn the volume down too much and quality will start to suffer noticeably.

减少软件体积基本上等同于减少位深度。 在数字音频中,信号被分解为不同的样本(每秒采集数千次),位深度是用于描述每个样本的位数。 通过将每个样本乘以小于一个的数字来完成信号衰减,结果是您不再使用全分辨率来描述音频,从而降低了动态范围和信噪比。 具体而言,每6 dB的衰减等效于将位深度减小1。 例如,如果您以16位音频(音频CD的标准配置)开始并且将音量降低了12 dB,则实际上是在收听14位音频。 调低音量太多,质量将开始明显下降。

Another issue is that these calculations will often result in rounding errors, due to the original value of the sample not being a multiple of the factor by which you’re dividing the samples. This further degrades the audio quality by introducing what’s basically quantisation noise. Again, this mostly happens at lower volume levels. Different programs might use slightly different algorithms for attenuating the signal and resolving those rounding errors, which means there might be some difference in the resulting audible signal between, say, an audio player and the OS, but that doesn’t change the fact that in all cases you’re still reducing bit depth and essentially wasting a portion of the bandwidth on transmitting zeroes instead of useful information.

另一个问题是,这些计算通常会导致舍入误差,这是因为样本的原始值不是您将样本除以的因子的倍数。 通过引入基本的量化噪声,这进一步降低了音频质量。 同样,这主要发生在较低的音量级别。 不同的程序可能会使用略有不同的算法来衰减信号并解决舍入误差,这意味着音频播放器和OS之间的可听信号可能会有所不同,但这并不会改变以下事实:在所有情况下,您仍在降低位深度,并且实际上浪费了一部分带宽来传输零位,而不是有用的信息。

This PDF has more information and some excellent illustrations if you’re interested in learning more.

如果您有兴趣了解更多信息, 此PDF包含更多信息和一些出色的插图。

The result of reducing the volume in hardware depends on how the volume control is implemented. If it’s digital, then the effect is much the same as reducing the volume in software, so there’s probably little to no difference in which one you use, in terms of audio quality.

减少硬件音量的结果取决于音量控制的实现方式。 如果是数字的,则效果与减小软件的体积几乎相同,因此就音频质量而言,使用哪种软件可能几乎没有差别。

Ideally, you should output audio from your computer at full volume, so as to get the highest resolution (bit depth) possible, and then have an analogue volume control as one of the last things in front of the speakers. Assuming all the devices in your signal path are of more or less comparable quality (i.e. you’re not pairing a cheap low-end amplifier with a high-end digital source and DAC), that should give the best audio quality.

理想情况下,您应该以最大音量从计算机输出音频,以便获得尽可能高的分辨率(位深度),然后将模拟音量控制作为扬声器前面的最后一项操作。 假设您信号路径中的所有设备或多或少具有可比的质量(即,您没有将廉价的低端放大器与高端数字源和DAC配对),则应提供最佳的音频质量。

@Joren posted a good question in the comments:

@Joren在评论中发布了一个很好的问题:

So if I want to set software volume control to max, how do I deal with my analog controls suddenly having a super tiny usable range? (Because even turning the analog volume to half is way too loud.)

因此,如果我想将软件音量控制设置为最大,我该如何处理我的模拟控制突然具有很小的可用范围? (因为即使将模拟音量调到一半也太大了。)

This can be a problem when the volume control is part of an amplifier, which is probably the case with most computer setups. Since an amplifier’s job is to, as the name suggests, amplify, this means that the volume control’s gain ranges from 0 to more than 1 (often much more), and by the time you’ve turned the volume control to the halfway point, you’re probably no longer attenuating, but actually amplifying the signal beyond the levels you set in software.

当音量控制是放大器的一部分时,这可能是一个问题,大多数计算机设置可能都是这种情况。 顾名思义,由于放大器的工作是放大,因此这意味着音量控制的增益范围是0到大于1(通常是更大),并且当您将音量控制转到中点时,您可能不再衰减,而是实际上将信号放大到您在软件中设置的水平。

There’s a couple of solutions to this:

有两种解决方案:

  • Get a passive attenuator. Since it doesn’t amplify the signal, its gain ranges from 0 to 1, which gives you a much larger usable range.获取一个无源衰减器。 由于它不会放大信号,因此其增益范围为0到1,这为您提供了更大的可用范围。
  • Have two analogue volume controls. If your power amplifier or speakers have a volume or input trim control, that will work great. Use that to set a master volume level so that your regular volume control’s usable range is maximised.有两个模拟音量控件。 如果您的功率放大器或扬声器具有音量或输入调整控件,则效果很好。 使用它来设置主音量级别,以便最大程度地提高常规音量控件的可用范围。
  • If the previous two aren’t possible or feasible, simply turn down the volume at the OS level, until you’ve reached the best compromise between the usable range on the analogue volume control and audio quality. Keep individual programs at 100% so as to avoid several bit depth reductions in a row. Hopefully there won’t be a noticeable loss in audio quality. Or if there is, then I’d probably start looking at getting a new amplifier that doesn’t have as sensitive inputs, or better yet, has a way to adjust input gain.如果前两个不可能或不可行,只需在操作系统级别调低音量,直到在模拟音量控制的可用范围和音频质量之间达到最佳平衡。 保持单个程序为100%,以避免连续减少多个位深度。 希望不会有明显的音频质量损失。 或者,如果有的话,我可能会开始寻找一种新的放大器,它没有敏感的输入,或者更好的是,它可以调整输入增益。

@Lyman Enders Knowles pointed out in the comments that the issue of bit depth reduction does not apply to modern operating systems. Specifically, starting with Vista, Windows automatically upsamples all audio streams to 32-bit floating point before doing any attenuation. This means that, however low you turn the volume, there should be no effective loss of resolution. Still, eventually the audio has to be downconverted (to 16-bit, or 24-bit if the DAC supports that), which will introduce some quantisation errors. Also, attenuating first and amplifying later will increase the noise floor, so the advice to keep software levels at 100% and attenuate in hardware, as close to the end of your audio chain as possible, still stands.

@Lyman Enders Knowles在评论中指出,降低位深度的问题不适用于现代操作系统。 具体来说,从Vista开始,Windows在进行任何衰减之前会自动将所有音频流升采样到32位浮点。 这意味着,无论您将音量调得多么低,都不应有任何有效的分辨率损失。 尽管如此,最终还是必须将音频下变频(转换为16位,如果DAC支持,则转换为24位),这会带来一些量化误差。 同样,先衰减然后再放大会增加本底噪声,因此仍然建议保持软件电平在100%并在硬件中衰减(尽可能靠近音频链的末端)。



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程 。

翻译自: https://www.howtogeek.com/130353/should-i-adjust-the-volume-by-software-or-hardware/

我应该通过软件或硬件调整音量以获得最佳声音吗?相关推荐

  1. au加载默认的输入和输出设备失败_Mac OS X的音频输入输出时如何调整音量

    本次为大家介绍一款音频管理软件,AudioSwitcher for Mac是一款位于菜单栏的音源设备管理工具.利用这款软件能够帮大家设定音频输入设备和音频输出设备,从而帮助大家迅速调整输入设备的音量以 ...

  2. 使用Vivado软件进行硬件调试

    文章目录 前言 一.例化ILA IP核调试 二.在网表中添加探针调试 总结 前言 本文的主要内容是使用Vivado软件进行硬件的调试,介绍例化ILA IP核和在网表中添加探针这两种硬件调试的方法,重点 ...

  3. ​Au入门系列之三:调整音量

    ◆  ◆  ◆ 音量相关概念 在专业的音频处理软件中,音量 Volume的大小跟音频的振幅 Amplitude成正比关系,但音量的大小并不就是振幅或电平的大小.数字音频中音量通常需要分成客观的瞬间电平 ...

  4. 从软件到硬件,2017 我GET到的15条产品心得总结

    ---- / BEGIN / ---- 2017,大部分时间围绕着微信生态来做产品,从小程序到企业微信,从 C 端到 B 端,不禁引发一些思考. 微信是当今中国最为成功的产品,是否他做的都是对的呢?同 ...

  5. 在Mac上录制视频时如何调整音量?

    在录制视频的时候发现音量不合适如何调整?小编今天就给大家带来了一个简单的方法来解决这一问题. 首先,我们安装Filmage Screen Recorder以获得更好的录制效果 Filmage Scre ...

  6. Radboud科学家探索材料「量子大脑」——没有软件,硬件也可以实现机器学习 | AI日报...

    Radboud科学家探索材料「量子大脑」--没有软件,硬件也可以实现机器学习 「智能材料」可以通过学习来改变自身的物理特性,这类似于人类大脑的运行方式,因此有可能成为全新一代计算机的基础.来自Radb ...

  7. 5.计算机发展个人理解-电路终究是电路 软件如何控制硬件 代码如何操作硬件 硬件是怎么执行代码 代码如何执行 软件与硬件如何交互 计算机思维 抽象 封装 规范 屏蔽 协议分层...

    计算机只是逻辑电路 除了电路还是电路 计算机就是一堆逻辑电路 他并不知道你到底想要干什么,他也不会理解什么是文件,什么是进程 通电的瞬间,就好像你打开开关,灯泡发光一样 所有的一切都是通过通电来启动的 ...

  8. 软件和硬件的关系以及软件调动硬件的工作原理

    软件是一个纯虚拟的东西,他本身就是一块内存,软件在运行时内存在RAM中(目前是这么理解的),运行的时候,主要是通过相应的接口去调用某一块内存,以改变这块内存的数据.改变这块内存的数据的目的就是为了别人 ...

  9. 计算机系统结构专业是软件还是硬件,计算机体系结构中软硬件和架构设计有哪些机会?...

    软件和硬件的架构设计 在编程的时候可以通过程序提高系统的运行效率.当前最为流行的编程方法是运用现代高级语言和脚本语言,如Java.Python等.它们采用解释型执行,支持动态类型,并具有很高的灵活性来 ...

  10. 深入理解软件和硬件(国庆精彩活动预告)

    hi,大家好,今天给大家分享一篇经典好文章PPT(软硬件融合-超大规模云计算架构创新之路), 我们从整体角度来看一下计算机最重要两种角色:软件和硬件:计算机=软件+硬件,硬件提供了专业功能,软件提供了 ...

最新文章

  1. 用c实现跨平台异常捕获机制 1
  2. 恕我直言,很多调参侠搞不清数据和模型谁更重要
  3. (39)Verilog HDL参数:localparam
  4. 继承redis spring_Spring 极速集成注解 Redis 实践
  5. TypeSDK免费手游多渠道SDK接入方案
  6. 数据结构和算法——八种常用的排序算法------基数排序
  7. 微信demo小游戏:飞机大战从无到有
  8. 三对角阵的一维数组表示
  9. Python 批量推送微信公众号模板消息
  10. APP上架应用市场需要准备什么材料
  11. ubuntu20.04安装burpsuite
  12. unix编程艺术读书笔记
  13. 机器学习基础(林軒田)笔记之七
  14. 华为快应用接入广告服务开发指导
  15. 编程入门先要学什么?打怪升级走起来!
  16. 基于struts2 拦截器ResultType为chain的Action之间数据传递 ——表单页面打开优化
  17. DHTML、XHMLT、HTML的区别
  18. React 调用手机,电脑摄像头扫描识别二维码
  19. 10周拿下腾讯数据分析师认证
  20. 走进计算机病毒-受限文件夹的建立

热门文章

  1. dmb: 数据库监控及灾备系统(for mysql)_一个备份MySQL数据库的简单Shell脚本
  2. 游戏出海,技术先行 ——UCloud助力出海业务最佳实践直播公开课
  3. linux VIM 命令详解
  4. windows程序设计简介
  5. java opencv教程_史上最全 java 集成 opencv 教程
  6. php多图片打包下载
  7. [简单dp]toj1179
  8. Google Earth Engine(GEE)——获取RSEI各组成指数(ndvi\lst\wet\ndbsi)的各部分的逐年影像下载
  9. VC知识库的离线包整合
  10. jsp java 登陆界面代码_jsp登陆界面源代码