Windows   发布时间:2022-05-07  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了命令行 – 在Windows 2008 Server中从MP3 / WAV文件生成可视化(波形)?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
是否有(某处) Windows的命令行程序,将从MP3 / WAV创建PNG / JPEG视觉?

编辑:
这是一个很好的例子,说明图像的外观.

Sox,“瑞士军刀的音频操纵”,可以从声音文件中产生准确的PNG谱图.它几乎播放任何东西,二进制文件可用于Windows.在最基本的层面上,你会使用这样的东西:
sox my.wav -n spectrogram

如果你想要一个没有轴,标题,图例和100px高的浅色背景的谱图:

sox "Me,London.mp3" -n spectrogram -Y 130 -l -r -o "Me,London.png"

如果您只想分析一个通道,Sox就可以接受很多选择.如果您需要您的视觉效果更加冷静,您可以对所得的PNG进行后处理.

以下是命令行中关于所有可用参数的简要概述,manpage has more details:

-x num  X-axis size in pixels; default derived or 800
-X num  X-axis pixels/second; default derived or 100
-y num  Y-axis size in pixels (per chAnnel); slow if not 1 + 2^n
-Y num  Y-height @R_392_10586@l (i.e. not per chAnnel); default 550
-z num  Z-axis range in dB; default 120
-Z num  Z-axis maximum in dBFS; default 0
-q num  Z-axis quantisation (0 - 249); default 249
-w name Window: HAnn (default),HAMMing,Bartlett,Rectangular,Kaiser
-W num  Window adjust parameter (-10 - 10); applies only to Kaiser
-s  Slack overlap of windows
-a  Suppress axis lines
-r  Raw spectrogram; no axes or legends
-l  Light BACkground
-m  Monochrome
-h  High colour
-p num  Permute colours (1 - 6); default 1
-A  Alternative,inferior,fixed colour-set (for compatibility only)
-t text Title TEXT
-c text Comment text
-o text Output file name; default `spectrogram.png'
-d time Audio duration to fit to X-axis; e.g. 1:00,48
-S time Start the spectrogram at the given time through the input

大佬总结

以上是大佬教程为你收集整理的命令行 – 在Windows 2008 Server中从MP3 / WAV文件生成可视化(波形)?全部内容,希望文章能够帮你解决命令行 – 在Windows 2008 Server中从MP3 / WAV文件生成可视化(波形)?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:标题