GStreamer与音乐处理 我想使用GStuffER库来处理C++应用程序中的声音。你能告诉我有什么方法可以改变音速、音高等吗
谢谢。使用插件,您可以更改音高:GStreamer与音乐处理 我想使用GStuffER库来处理C++应用程序中的声音。你能告诉我有什么方法可以改变音速、音高等吗,c++,audio,gstreamer,C++,Audio,Gstreamer,谢谢。使用插件,您可以更改音高: $ gst-launch filesrc location=sound.mp3 ! decodebin ! audioconvert ! pitch pitch=3 ! autoaudiosink 或节奏: $ gst-launch filesrc location=sound.mp3 ! decodebin ! audioconvert ! pitch tempo=2 ! autoaudiosink 或费率
$ gst-launch filesrc location=sound.mp3
! decodebin ! audioconvert
! pitch pitch=3
! autoaudiosink
或节奏:
$ gst-launch filesrc location=sound.mp3
! decodebin ! audioconvert
! pitch tempo=2
! autoaudiosink
或费率
还有一个巨大的LADSPA库包装器。
我有一些坏的过期,但也许它现在更稳定。
它有几个插件来控制音高、节奏等等
如果您计划使用sound,这也可能会引起您的兴趣:
- 具有各种过滤器的漂亮插件库,例如,有压缩机/扩展器插件
- 插件
$ gst-launch filesrc location=sound.mp3
! decodebin ! audioconvert
! pitch pitch=3
! autoaudiosink
或节奏:
$ gst-launch filesrc location=sound.mp3
! decodebin ! audioconvert
! pitch tempo=2
! autoaudiosink
或费率
还有一个巨大的LADSPA库包装器。
我有一些坏的过期,但也许它现在更稳定。
它有几个插件来控制音高、节奏等等
如果您计划使用sound,这也可能会引起您的兴趣:
- 具有各种过滤器的漂亮插件库,例如,有压缩机/扩展器插件
- 插件
gst-launch-0.10 filesrc location=02-have_you_ever.mp3 ! \
decodebin ! audioconvert ! pitch pitch=1.06 tempo=1.0 ! \
audioconvert ! audioresample ! autoaudiosink
为我做这项工作。从max taldykin的建议开始,该建议在我的GStreamer版本(0.10.35)中返回了一个错误,我找到了一个可行的管道。例如,要将歌曲向上移动1步以保持节奏,您应该将音调调高6%:
gst-launch-0.10 filesrc location=02-have_you_ever.mp3 ! \
decodebin ! audioconvert ! pitch pitch=1.06 tempo=1.0 ! \
audioconvert ! audioresample ! autoaudiosink
为我做这项工作。调查我相信他们可能已经为GStreamer开发了均衡器模块。调查我相信他们可能已经为GStreamer开发了均衡器模块。