This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Choon Player


Choon Player is a simple audio player that supports loops and slowing down music for learning by ear. It was developed for learning Irish Traditional music. It supports two players:

  1. A player for MP3 files. To display the player, put a valid URL pointing to an MP3 or M4A recording between the shortcodes [choon] and [/choon] on your page or post.

  2. A player for ABC notation. To display the player, put valid ABC notation between the shortcodes [choon-abc] and [/choon-abc] on your page or post.

It also supports the display of ABC notation as standard music notation by including Paul Rosen’s ABCJS library. That plugin has many more features than this software but was overkill for what I wanted! There are three options:

  1. To produce sheet music, put a valid ABC Notation string between the shortcodes [abcjs-tools-music] and [/abcjs-tools-music] on your page or post.

  2. You can also display music with the audio player available in abcjs version 6.0.0 using the shortcodes [abcjs-tools-player] and [/abcjs-tools-player].

  3. If you want a simple ABC editor on your WordPress page then including the tags [abcjs-tools-editor] and [/abcjs-tools-editor] will draw a ‘textarea’ on the page where you can input ABC notation.

Where can this be used?

Anywhere that shortcodes are accepted. Tested on pages and posts but not on widgets using the Neve theme. Some CSS adjustment likely needed with other themes.

How does it work?

The plugin includes the [choon] and [choon-abc] JavaScript libraries. The URL or ABC notation that is put in the shortcode is passed to the relevant library, which places the player on the page instead of the shortcode.

See for usage examples.

What can be put in the url that is placed in the [choon] shortcode?

A pointer to an MP3 file. Other audio formats supported by the HTML5 audio player should also work.

What can be put in the block of text that is placed in the [choon-abc] and [abcjs-tool-*] shortcodes?

A block of valid ABC text. See for examples.

See for a more a comprehensive description of the ABC format.

What parameters may be used?

At this stage, none!


Special thanks to Paul Rosen for all his work on abcjs. The WordPress plugin parts of this code were based on his excellent ABC Notation plugin. Any bugs or features are all my own work!

The javascript code for the [choon] players was based on the players used on the New Zealand Irish Sessions site.

All the code for that site is available at:


  • screenshot-1.png
  • screenshot-2.png


  • Download the WordPress plugin available from


  • Upload the contents of the GitHub archive at to the /wp-content/plugins/choon-player/ directory.

Activate the plugin through the ‘Plugins’ menu in WordPress.


Not yet!


There are no reviews for this plugin.

Contributors & Developers

“Choon Player” is open source software. The following people have contributed to this plugin.


Translate “Choon Player” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial version


  • Minor tidyup of php code to simplify it


  • Now supports more than one tune per page – lots of tunes on the same page are not a good idea!


  • Add a ‘choon’ prefix to function and other variable names to avoid clashes
  • Load additional libraries from local sources


  • Minor changes to support Choon Player’s addition to the WordPress
    plugin scheme


  • Added support for URLs with non-ASCII characters e.g. accents in
    Irish, Scots Gaelic etc


  • Fixed the link to the “play” and “pause” buttons


  • updated choon-player.js to use “module.exports”


  • added support for a simple ABC player with similar features to the MP3 player


  • strip any lyrics from ABC notation (lines that start with ‘w:’) as
    they mess up tune length calculations


  • fix version number


  • add to documentation


  • upgrade code to allow more than one instance of the shortcodes of each page


  • remove unwanted parametes from some functions


  • tested against WordPress 5.7


  • Improve playback of multiple ABC tunes in a single [choon-abc] tag


  • Explicitly load MP3 file on playback – avoids long session with webserver


  • Add pointer to documentation examples on + tested up to WP 5.9.1


  • Add code for displaying ABC notation as “dots” + tested up to WP 5.9.3


  • Add code for displaying ABC notation as “dots” + tested up to WP 5.9.3


  • Fixing missing files


  • Added Download ABC option to [abcjs-tools-editor] shortcode