如何更改音乐文件的音高,节奏,每分钟节拍数? [英] How to change the pitch,tempo, beats per minute for a music file?

查看:100
本文介绍了如何更改音乐文件的音高,节奏,每分钟节拍数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何计算和实现任何* .wav文件的每分钟节拍,音高和节奏并将其每分钟节拍更改为任何其他值,使用vc ++,mfc 可以降低bpm或增加bpm

How to calculate and implement the beats per minute, pitch and tempo of any *.wav file and change its beats per minute to any other value which can decrease bpm or increase bpm using vc++,mfc

推荐答案

这些不是wave文件中的字段或属性.

波形文件仅包含随时间变化的波形表示.

您正在寻找的是有关波形分析的信息.有一些工具可以近似您要寻找的某些功能.这不是一门精确的科学,因为从分析的角度来看音乐非常混乱.对于计算机来说,处理信息极其困难,因为我们的耳朵和大脑似乎相对容易处理.

这是您一生都可以致力于的话题.

但是你去了,谷歌波形分析"
These are not fields or properties in a wave file.

A wave file simply contains a representation of a waveform over time.

What you''re looking for, is information on waveform analysis. There are tools that will approximate some of the functions you''re looking for. It''s not an exact science, as music is very messy from an analysis point of view. It''s extremely difficult for computers to process information, that our ears and brain seem to process relatively easily.

This is a topic that you could devote your entire life to.

But there you go, google ''Waveform Analysis''


关于音调和速度,杰克说的是对的,如果按bpm表示每分钟的位数,请检查WAVEFORMATEX结构文件包含.

http://msdn.microsoft.com/zh-我们/library/windows/desktop/dd390970%28v=vs.85%29.aspx [ http://stackoverflow.com/questions/939904/changing-speed-of-a-声音文件 [ ^ ]

http://social.msdn.microsoft. com/Forums/zh-CN/windowspro-audiodevelopment/thread/da25f8cc-30e1-4f78-aa28-e66597b85c62 [
About pitch and tempo, what Jack said was right, if by bpm you mean bits per minute, please check WAVEFORMATEX structure that a wave file contains.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd390970%28v=vs.85%29.aspx[^]

Please check the following links too:

http://stackoverflow.com/questions/939904/changing-speed-of-a-sound-file[^]

http://social.msdn.microsoft.com/Forums/en-US/windowspro-audiodevelopment/thread/da25f8cc-30e1-4f78-aa28-e66597b85c62[^]


最简单的事情可以做的就是更改文件标题中的采样率.效果就像以较低或较高的速度播放磁带/记录.
请勿更改每个样本的位,否则将导致垃圾.
如果要独立更改效果,则必须进行可怕的数学运算.抱歉,我找不到该算法的描述出版物,在搜索音频相似性算法"时Google的一些热门报道可能有助于理解该理论.
但是可以实现这些效果的开源程序可能会为您提供更多帮助:audacity
http://audacity.sourceforge.net/ [ ^ ]
The simplest thing you can do is changing the sampling rate in the header of the file. The effect is like playing a tape/record at lower or higher speed.
Do not change bits per sample, that will result in garbage.
If you want to change effects independently, you''ll have to do terrible maths. Sorry I do not find the publication where the algorithm is described anymore, some of the hits of Google when searching for "audio similarity algorithm" might help to get to the theory.
But an open source program which can do those effects might help you more: audacity http://audacity.sourceforge.net/[^]


这篇关于如何更改音乐文件的音高,节奏,每分钟节拍数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆