Skip to content

基于vue+wavesurfer的音频可视化组件,支持播放、暂停、缩放、调节音量、调节播放速度等功能。

Notifications You must be signed in to change notification settings

hotYan/vue-wavesurfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

vue-wavesurfer

官网

wavesurfer.js 官网点这里


学习小结

在Vue中使用音频可视化插件wavesurfer.js点这里


使用

  1. 安装依赖

    $ npm install wavesurfer.js --save
    # or 
    $ yarn add wavesurfer.js
  2. 将代码拷贝到可运行的vue项目中,将组件添加到路由文件即可:

    // 例如
    {
      path: '/audio',
      component: Layout,
      redirect: '/audio/index',
      children: [
        {
          path: 'index',
          component: () => import('@/components/ZyAudio/index.vue'),
          name: 'AudioIndex',
        }
      ]     
    },

About

基于vue+wavesurfer的音频可视化组件,支持播放、暂停、缩放、调节音量、调节播放速度等功能。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published