Title: A/B Audio Sync
Author: jcornutt
Published: <strong>2016 年 5 月 24 日</strong>
Last modified: 2017 年 3 月 4 日

---

搜索插件

![](https://ps.w.org/ab-audio-sync/assets/banner-772x250.png?rev=1422793)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/ab-audio-sync/assets/icon-256x256.png?rev=1422797)

# A/B Audio Sync

 作者：[jcornutt](https://profiles.wordpress.org/jcornutt/)

[下载](https://downloads.wordpress.org/plugin/ab-audio-sync.zip)

 * [详情](https://cn.wordpress.org/plugins/ab-audio-sync/#description)
 * [评价](https://cn.wordpress.org/plugins/ab-audio-sync/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ab-audio-sync/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ab-audio-sync/#developers)

 [支持](https://wordpress.org/support/plugin/ab-audio-sync/)

## 描述

**[Click here for a live demo](https://joscor.com/wordpress-ab-audio-sync/)**

The A/B Audio Sync plugin for WordPress allows developers to queue two songs (WAV,

MP3, any format the web browser can handle) and play one at a time, with a toggle
switch between them. This gives users the ability to switch tracks quickly, without
losing the track time, to hear differences in audio tracks.

This is great for demonstrating audio enhancement technology or production/post-
production
 mixes or even the differences between audio format quality.

## 屏幕截图

 * [[

## 安装

 1. Download the plugin and unzip to your wp-content/plugins directory
 2. Alternatively, just upload the zip file via the WordPress plugins UI
 3. Activate plugin via WordPress admin
 4. Include the following elements on your page or post
 5.  
     [](https://cn.wordpress.org/plugins/ab-audio-sync/PATH_TO_AUDIO_A?output_format=md)
    [](https://cn.wordpress.org/plugins/ab-audio-sync/PATH_TO_AUDIO_B?output_format=md)
    Play
 6.  
     [](https://cn.wordpress.org/plugins/ab-audio-sync/PATH_TO_AUDIO_A?output_format=md)
    [](https://cn.wordpress.org/plugins/ab-audio-sync/PATH_TO_AUDIO_B?output_format=md)
    Play Audio A Audio B

Replace _PATH\_TO\_AUDIO\_A_ and _PATH\_TO\_AUDIO\_B_, of course with your own files.
File type will be dependent on browser support.
 This has been tested with MP3 and
WAV audio files with no issues on Google Chrome.

The plugin looks for HTML objects with the class of _audio-sync-group_ as its starting
point.
 From there, it will look for two link (a) or audio elements that have the
class _audio-sync-a_ or _audio-sync-b_. There can be only one of each within an 
audio group. There must also be _audio-btn-sync-play_ button to control play / stop.

There can be multiple audio groups on the same page and they will all act independently
from eachother. This is
 ideal for a “showcase” type of page with many A/B comparisons
happening in one view.

Apple iOS mobile users – Web Audio API is not fully, nor correctly, implemented 
in iPhone devices. If you experience
 issues with this plugin, please enable debug
logging (see support forum sticky thread) and open a ticket.

## 评价

![](https://secure.gravatar.com/avatar/50b8f8508f90b384395d882270f6a37a087f67bbbbcd4e6037f381b945f6d66c?
s=60&d=retro&r=g)

### 󠀁[Works great and very, very useful!](https://wordpress.org/support/topic/works-great-and-very-very-useful/)󠁿

 [soundcore](https://profiles.wordpress.org/soundcore/) 2016 年 10 月 8 日

Definitely a must have plugin for anyone involved with music production!

![](https://secure.gravatar.com/avatar/01e9e16c1ef4ce6c8f17f4dfb85adb3a03518966470fac91bbf067a21db8c456?
s=60&d=retro&r=g)

### 󠀁[Unbelievable Plugin!](https://wordpress.org/support/topic/unbelievable-plugin-5/)󠁿

 [mcpeanut](https://profiles.wordpress.org/mcpeanut/) 2016 年 9 月 3 日

Absolutely superb! I cannot rate this plugin high enough, after searching for endless
hours for a solution to doing this on WordPress I feel like I hit the jackpot with
this plugin, I have managed to style it exactly to my needs. I really hope you update
this when needed dev, as this plugin is really one of a kind. Thank you, for this
great plugin!

![](https://secure.gravatar.com/avatar/2c7d45ffae4a718b6af25e61bd517890c5750267bd2fe8addff96a08024119c4?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin/Awesome Support!](https://wordpress.org/support/topic/awesome-pluginawesome-support-1/)󠁿

 [info@edgewatersound.com](https://profiles.wordpress.org/infoedgewatersoundcom/)
2016 年 9 月 3 日

I’ve been looking for a plugin like this for years! Easy to customize, lays out 
nicely across various browsers, and the support is amazing! I will definitely be
using this plugin on multiple sites!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/)

## 贡献者及开发者

「A/B Audio Sync」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jcornutt ](https://profiles.wordpress.org/jcornutt/)

[帮助将「A/B Audio Sync」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ab-audio-sync)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ab-audio-sync/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/ab-audio-sync/)，或通过[RSS](https://plugins.trac.wordpress.org/log/ab-audio-sync/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ab-audio-sync/)。

## 更新日志

#### 1.0.0

 * COMPLETE REWRITE
 * Enhancement: Mobile support! Tested on Android 7.0, 4.4.4 Chrome and iPhone 6
   Safari.
 * Enhancement: Moved to Web Audio API with HTML5 audio fallback
 * Enhancement: Added several new dataset options (see examples)
 * Enhancement: Added automatic toggle between tracks using timer
 * Change: Removed HTML5 audio players
 * Fix: Warning message due to static method reference

#### 0.3.4

 * Enhancement: Added “disable right-click menu” using “data-show-menu” HTML5 attribute
 * Improvement: User-selected volume now persists between play/pause cycles
 * Fix: Incorrect resume state after pause

#### 0.3.3

 * Enhancement: Added “stop” button support using “data-stop” HTML5 attribute

#### 0.3.2

 * Improvement: Removed dependency that buttons be direct children of the group
 * Improvement: Pause / Play button now re-synchronizes timing
 * Fix: Race condition between “readyState” and “canplay”

#### 0.3.1

 * Enhancement: Added support for multiple A/B audio groups
 * Improvement: Removed dependency on HTML IDs
 * Fix: Audio synchronization timing

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ab-audio-sync/)
 * 标签
 * [a/b testing](https://cn.wordpress.org/plugins/tags/ab-testing/)[audio](https://cn.wordpress.org/plugins/tags/audio/)
   [sync](https://cn.wordpress.org/plugins/tags/sync/)
 *  [高级视图](https://cn.wordpress.org/plugins/ab-audio-sync/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ab-audio-sync/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ab-audio-sync/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ab-audio-sync/reviews/)

## 贡献者

 *   [ jcornutt ](https://profiles.wordpress.org/jcornutt/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ab-audio-sync/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://joscor.com/wordpress-ab-audio-sync)