Plugin / ABC Notation

Paul Rosen

Frequently Asked Questions (FAQ)

Anywhere that shortcodes are accepted. That is, on pages, post, and widgets. It will not work on comments.
The plugin includes the abcjs JavaScript library. The string that is put in the shortcode is passed to that library, which translates it and renders it in an SVG element that it places on the page instead of the shortcode.
There is much written about ABC Notation around the web. You can start here
The shortcode can take the same parameters as abcjs. See the documentation for details. There is also an interactive way to play with the parameters: Configurator. Here are some examples: To make the music responsive:[abcjs engraver="{ responsive: 'resize' }"] ... some ABC string ... [/abcjs] To set or override the tempo:[abcjs-midi midi="{ qpm: 150 }"] ... some ABC string ... [/abcjs-midi] List of parameters to the [abcjs] shortcode: [abcjs class="abc-paper"] etc... [/abcjs] puts the named class on the generated `` element. [abcjs parser="{}" engraver="{}" render="{}"] etc... [/abcjs] passes the javascript objects straight through to `abcjs.renderAbc`. See the abcjs documentation for details. [abcjs file="https://url/to/abc/file"] loads the string from the specified file instead of the embedded string. You can upload this file using Add New Media or it can reside in any publicly available place. [abcjs number_of_tunes=2] if there are more than one tune in the ABC string, this specifies how many should be printed out. If this is set to more than the number of tunes in the string, that's ok, the additional places are ignored, so if you want to be sure you have all the tunes, then use a high number for this. List of parameters to the [abcjs-midi] shortcode: [abcjs-midi class="abc-paper"] etc... [/abcjs-midi] puts the named class on the generated MIDI element. [abcjs-midi parser="{}" midi="{}"] etc... [/abcjs-midi] passes the javascript objects straight through to `abcjs.renderMidi`. See the abcjs documentation for details. [abcjs-midi file="https://url/to/abc/file"] etc... [/abcjs-midi] loads the string from the specified file instead of the embedded string. You can upload this file using Add New Media or it can reside in any publicly available place. [abcjs-midi number_of_tunes=2] etc... [/abcjs-midi] if there are more than one tune in the ABC string, this specifies how many should be printed out. If this is set to more than the number of tunes in the string, that's ok, the additional places are ignored, so if you want to be sure you have all the tunes, then use a high number for this. List of parameters to the [abcjs-audio] shortcode: [abcjs-audio class-paper="abcjs-paper"] etc... [/abcjs-audio] puts the named class on the generated `` element. [abcjs-audio class-audio="abcjs-audio"] etc... [/abcjs-audio] puts the named class on the generated MIDI element. [abcjs-audio params="{}"] etc... [/abcjs-audio] passes the javascript objects straight through to `abcjs.renderAbc` and `abcjs.renderMidi`. See the abcjs documentation for details. [abcjs-audio file="https://url/to/abc/file"] etc... [/abcjs-audio] loads the string from the specified file instead of the embedded string. You can upload this file using Add New Media or it can reside in any publicly available place. [abcjs-audio number_of_tunes=2] etc... [/abcjs-audio] if there are more than one tune in the ABC string, this specifies how many should be printed out. If this is set to more than the number of tunes in the string, that's ok, the additional places are ignored, so if you want to be sure you have all the tunes, then use a high number for this. [abcjs-audio animate="false"] etc... [/abcjs-audio] If true, this will cause a cursor to follow the music as it is playing. [abcjs-audio qpm="undefined"] etc... [/abcjs-audio] If this is present, then it sets the beats per minute. If is not set, then the beats per minute is set by the `Q:` line in the ABC string.
Try pasting the ABC string in using the “Text” editor instead of the “Visual” editor. That will help keep the quotation marks and any other interpreted characters from being changed by WordPress.

Ratings

4.3
3 reviews

Rating breakdown

Details Information

Version

5.8.1

First Released

31 Mar, 2015

Total Downloads

2,537

Wordpress Version

4.0 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

There is no tag found

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.