代数声音合成可能吗?

发布于 2024-09-01 02:50:07 字数 1435 浏览 3 评论 0原文

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

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

发布评论

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

评论(4

方圜几里 2024-09-08 02:50:07

是的,这是可能的,但也可能会有损失,因为声波可以相互抵消(破坏性干扰)。例如,两个异相 180 度的正弦波会产生静音。

Yes it's possible but yes there can be loss as well since sound waves can additively cancel each other out (destructive interference). For example, two sine waves that are 180 degrees out of phase would produce silence.

人生戏 2024-09-08 02:50:07

理想情况下,这应该是可能的。问题是,“理想”是相当有限制的。为了正确地实现这一点,您首先必须拥有一个通过加法合成构建的歌曲文件,即通过将人声轨道添加到您拥有的完全相同乐器轨道中。现在,如果您确实遇到这种情况,那就很简单了;正如其他人所说,您只需将乐器曲目的反面添加到整首歌曲中即可。不幸的是,有很多事情可能会阻碍这一点。例如,如果加法合成在某些点被剪辑(这意味着乐器和声乐轨道的总和大于可以存储的最大音量),您将无法在这些点恢复人声。更一般地说,有损音频压缩往往会根据最听/最难听的内容来删除声音的不同部分,这在很大程度上取决于您是否有声音,因此如果这些声音文件中的任何一个已使用有损编解码器进行压缩,例如MP3,您可能已经丢失了重建声轨所需的信息。问题是,当您将信号添加到另一个信号或从另一个信号中减去它时,即使是很小的变化有时也会产生很大的差异(由于波干扰等),因此当您没有准确的声音。

顺便说一句,如果您确实拥有执行此操作所需的确切信号,则可以使用 Audacity 或任何其他合适的音频编辑器执行减法。您甚至可以使用一些数学程序(例如 Matlab,它能够读取/写入 WAV 文件 IIRC)。

Ideally, it should be possible. The catch is, "ideal" is pretty restrictive. In order to pull this off properly, you would have to have a song file that was constructed by additive synthesis in the first place, i.e. by adding the vocal track to the exact same instrumental track you have. Now, if you do have that situation, then it's simple enough; as others have said, you just add the inverse of the instrumental track to the overall song. Unfortunately, there are a lot of things that can get in the way of that. For example, if the additive synthesis was clipped at some points (which means that the sum of the instrumental and vocal tracks was louder than the maximum volume that can be stored), you won't be able to recover the vocals at those points. More generally, lossy audio compression tends to remove different pieces of the sound depending on what is most/least audible, and that's heavily dependent on whether you have vocals or not, so if any of these sound files have been compressed using a lossy codec like MP3, you've probably lost the information you need to reconstruct the vocal track. The thing is, even minor changes to a signal can sometimes produce a big difference when you add it to or subtract it from another signal (because of wave interference and such things) so the results are kind of unpredictable when you don't have the exact sound to work with.

By the way, if you do have the exact signals you need to do this, you can perform the subtraction using Audacity or any other decent audio editor. There are even some mathematical programs you can use (like Matlab, which is able to read/write WAV files IIRC).

如果没有你 2024-09-08 02:50:07

Using a technique (and software) like this: Audacity Vocal Removals I bet you can achieve what you need. As Daniel and Paolo said if you can apply the inverse of a soundwave to the original soundwave you are able to cancel it out (muting the sound).

扶醉桌前 2024-09-08 02:50:07

一般来说,“综合”一词的使用略有不同,尽管字典的含义可能与您的问题一致。正如所指出的,存在“提取人声”的 audacity/vst 插件/pro-tools 版本。

// 会不会有损失? // 当然,会有一些损失。声乐和器乐曲目被“混合”和“掌握”。平移、添加效果(回声/混响)和附加整形(压缩等)发生在这些阶段。此外,现在制作的大多数音乐中都会有许多乐器曲目(键盘、吉他、贝斯、鼓)。

我的意思是,即使你自己制作音乐 - 有 1 个乐器轨道和 1 个声乐轨道,如果你只是平移轨道,你的减法逻辑也会受到影响。而且,如果您录制了这些曲目,例如通过弹吉他和唱歌,很可能这两首曲目都会出现一些“泄漏”,这会让事情变得更糟。

假设来说,有了这个想法,奇妙的事情就成为可能。实际上,实际的音乐制作过程中存在太多的不完善之处。

Generally, the word 'Synthesis' is used slightly differently, though the dictionary meaning might agree with your question. As pointed out, audacity/vst plugin/pro-tools versions of 'extract vocals' exist.

// Is there going to be a loss?// Of course, there will be some loss. Vocal and Instrumental tracks are 'mixed' and 'mastered'. Panning, adding effects (echo/reverb), and additional shaping (compress etc) take place in these stages. Besides, there'll be many instrument tracks (keyboards, guitars, bass, drums) in most of the music that's produced these days.

I mean to say, even you make your own music - with 1 instrument track and 1 vocal track, if you just pan your tracks, your logic of subtraction is going to be affected. And, if you had recorded those tracks, say by playing guitar and singing, most probably there'll be some 'leak' in both of the tracks, that makes matters worse.

Hypothetically speaking, wonderful things are possible with this idea. Practically, there are too many imperfections in the actual music production process.

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