WAV到MIDI转换 [英] wav to midi conversion

查看:622
本文介绍了WAV到MIDI转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何开源的API供WAV到MIDI转换?你会发现许多开源软件,但我找不到的API。有没有什么办法可以找到他们呢?还是否有任何开源的API提供的音乐转录? (即,产生一个音乐片的数字版本)。大大AP preciate任何形式的方向或援助。先谢谢

Are there any Open source APIs available for wav to midi conversion? You find many open source software, but I couldn't find APIs. Is there any way I can find them? Also are there any Open source APIs available for music transcription? (i.e. generating a digital version of a music sheet). Greatly appreciate any form of direction or assistance. Advance Thanks

推荐答案

从WAV转换成MIDI是一个很难并容易出错的操作,因为据我所知不是经常做,这将非常经常给效果差,所以有一个API来完成,这将是愚蠢的,但可能存在库它在你提到的开源软件的使用。 .wav文件都没有,可以帮助你找回MIDI有用的元数据。它的比讲话更难文本做的很好! (谐波和噪声物质)。也许可以工作的确定的单乐器演奏虽然与可与傅立叶变换来挑选出较强的基本频率。

Converting from wav to midi is a very difficult and error prone operation, not often done as far as I know, which will very often give poor results, so having an API to do that would be silly, though libraries may exist for it used in the Open Source software you mention. .wav files have no useful metadata that can help you get back to midi. It's much harder than speech to text to do well! (harmonics and noise matter). Will probably work OK for single instruments playing though, with strong fundamental frequencies that can be picked out with fourier transform.

有关乐谱OCR,我发现了一块GPL的软件名为 Audiveris 。这个任务并不难,因为在previous的事情,但仍然是一个高度复杂的操作,可能需要手动干预来纠正错误,即具有一个简单的API是没有意义的。

For OCR of sheet music, I have found a piece of GPL'd software called Audiveris. This task isn't as hard as the previous thing, but is still a highly complex operation, probably requiring manual intervention to correct errors, that having a simple API for is pointless.

如果你是自己做一些开源软件,你当然可以尝试,以适应从任何使用你记住,虽然我很怀疑这将是值得的,这些项目code的大片。

If you are making some Open Source software yourself, you can of course attempt to adapt swathes of code from these projects for whatever use you have in mind, though I doubt it would be worth the effort.

如果任何你发现有一个命令行界面,即可开始转换,你可以从你自己的软件执行 shell命令,以使他们做相应的转换软件的自动

If any of the software you find has a command line interface to start a conversion, you could execute shell commands from your own software to make them do the required conversions automatically.

这篇关于WAV到MIDI转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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