推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
SystemLight
V2EX  ›  Python

通过 Python 或者 js 有什么方法可以生成音频的波形图?

  •  
  •   SystemLight ·
    SystemLight · Apr 28, 2020 · 3365 views
    This topic created in 2402 days ago, the information mentioned may be changed or developed.
    9 replies  •  2020-04-30 11:26:18 +08:00
    HuHui
    HuHui
    Apr 28, 2020
    1
    AudioContext
    zdnyp
    zdnyp
    Apr 28, 2020
    2
    源代码里有画图的方法,挺有规律的
    Mozshaw
    Mozshaw
    Apr 28, 2020
    3
    wavesurfer.js
    xiaoming1992
    xiaoming1992
    Apr 28, 2020
    4
    感觉像是在一堆的图片里面随机挑了一个显示出来的
    zhw2590582
    zhw2590582
    Apr 28, 2020
    5
    SystemLight
    SystemLight
    OP
    Apr 29, 2020
    6
    @zhw2590582 请问下横轴是时间,纵轴代表的是什么,水平的分割线是分割的左右声道么?
    zhw2590582
    zhw2590582
    Apr 29, 2020
    7
    纵轴是单一声道的数据,声道默认是 0,一半都是指左声道,你想切换右声道,可以 wf.changeChannel(1)
    zhw2590582
    zhw2590582
    Apr 29, 2020
    8
    笔误:一半 => 一般
    SystemLight
    SystemLight
    OP
    Apr 30, 2020
    9
    @zhw2590582 哈哈,您可能理解错了,可能我表达的不是很准确,我其实想知道的是这个纵轴的数据是不是代表的音频当前时间点的信号强度,这个应该是时域下的表现吧,时域到频域下,通过傅里叶变换,横轴变为不同的频率,纵轴代表振幅,而实际上还有一条 z 轴是代表当前时间点吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2383 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 00:20 · PVG 08:20 · LAX 16:20 · JFK 19:20
    ♥ Do have faith in what you're doing.