Title: Piano Block
Author: Aki Hamano
Published: <strong>March 1, 2022</strong>
Last modified: March 3, 2026

---

Search plugins

![](https://ps.w.org/piano-block/assets/banner-772x250.png?rev=3392153)

![](https://ps.w.org/piano-block/assets/icon-256x256.png?rev=2687908)

# Piano Block

 By [Aki Hamano](https://profiles.wordpress.org/wildworks/)

[Download](https://downloads.wordpress.org/plugin/piano-block.2.9.0.zip)

[Live Preview](https://test.wordpress.org/plugins/piano-block/?preview=1)

 * [Details](https://test.wordpress.org/plugins/piano-block/#description)
 * [Reviews](https://test.wordpress.org/plugins/piano-block/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/piano-block/#installation)
 * [Development](https://test.wordpress.org/plugins/piano-block/#developers)

 [Support](https://wordpress.org/support/plugin/piano-block/)

## Description

Piano Block is a plugin that allow you to play a variety of tones using the piano
keyboard.
 This plugin does not add any useful features to WordPress, nor does it
add any useful blocks to help you write posts. Let’s insert this block and enjoy
the music if you are stuck in writing an article or just want a little distraction.

 * 15 instruments
 * Realistic sound based on sound sources sampled from actual instruments
 * Variable volume, switchable octave pitch and sustain pedal status
 * Synthesizer with 18 oscillators and customizable envelope

Note: The keys are optimized for the QWERTY keyboard and may not map correctly on
other keyboards.

### Resources, Audio Samples

#### Tone.js (Web Audio framework)

License: MIT License
 Source: https://github.com/Tonejs/Tone.js/

#### Splendid Grand Piano (Acoustic Piano)

License: Public Domain
 Source: https://github.com/sfzinstruments/SplendidGrandPiano

#### Greg Sullivan’s E-Pianos (Electric Piano1, 2)

License: CC-BY-3.0
 Source: https://github.com/sfzinstruments/GregSullivan.E-Pianos

#### tonewheel organ sound samples by hammondman (Organ)

License: CC0-1.0
 Source: https://freesound.org/people/hammondman/packs/18844/

#### Shinyguitar by Karoryfer Samples (Electric Guitar, Acoustic Guitar)

License: CC-BY-4.0
 Source: https://github.com/sfzinstruments/karoryfer.shinyguitar

#### Pastabass by Karoryfer Samples (Electric Bass)

License: CC-BY-4.0
 Source: https://github.com/sfzinstruments/karoryfer.pastabass

#### Meatbass by Karoryfer Samples (Acoustic Bass)

License: CC-BY-4.0
 Source: https://github.com/sfzinstruments/karoryfer.meatbass

#### Bear Sax by Karoryfer Samples (Sax)

License: CC-BY-4.0
 Source: https://github.com/sfzinstruments/karoryfer.bear-sax

#### VS Chamber Orchestra (Flute, Harp, Muted Trumpet, Violin, Xylophone)

License: CC0-1.0
 Source: https://github.com/sgossner/VSCO-2-CE

#### SVG Repo (Block Icon)

License: CC0
 Source: https://www.svgrepo.com/svg/47923/piano-keys-part

#### Free SVG (Block Background Image)

License: Public Domain
 Source: https://freesvg.org/wg-3

#### Google Fonts (Banner Font)

License: Apache License 2.0
 Source: https://fonts.google.com/specimen/Yellowtail

## Screenshots

 * [[
 * Piano Block
 * [[
 * Piano Block Synthesizer Setting

## Blocks

This plugin provides 1 block.

 *     Piano Play the melody.

## Installation

 1. Upload the `piano-block` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the \’Plugins\’ menu in WordPress.

## FAQ

### How will this block be displayed on the frontend ?

By default, nothing is output to the front end. If you turn on “Display on the front
end” in the sidebar settings, the piano will also appear on the front end and the
visitors to yout site can play. However, multiple pianos cannot be displayed on 
the same page.

### Is it possible to record the sound of my play ?

Recording is not supported in the current version due to technical or licensing 
issues.
 I may add it in a future update if those issues can be resolved.

## Reviews

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

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-40181/)󠁿

 [gransort](https://profiles.wordpress.org/gransort/) February 22, 2025

Great plugin, would be great if there was an option to visually expand to 3 and 
5 octaves.

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

### 󠀁[Great plugin, but with frontend it would be perfect.](https://wordpress.org/support/topic/great-plugin-but-with-frontend-it-would-be-perfect/)󠁿

 [musictheorist](https://profiles.wordpress.org/musictheorist/) April 11, 2022

I really like this plugin. I use it whenever I get bored when developing. Not encountered
any problems with it, although it would be great if it could be toggled to show 
on the frontend for music education websites.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/piano-block/reviews/)

## Contributors & Developers

“Piano Block” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ Aki Hamano ](https://profiles.wordpress.org/wildworks/)

“Piano Block” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/piano-block/contributors)
for their contributions.

[Translate “Piano Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/piano-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/piano-block/), check
out the [SVN repository](https://plugins.svn.wordpress.org/piano-block/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/piano-block/) by
[RSS](https://plugins.trac.wordpress.org/log/piano-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.9.0

 * Tested to WordPress 7.0
 * Enhancement: Polish block sidebar
 * Drop support for WordPress 6.8

#### 2.8.0

 * Tested to WordPress 6.9
 * Enhancement: Add border support
 * Enhancement: Polish the control section style with 32px size
 * Enhancement: Add aria roles to toggle buttons
 * Enhancement: Add label to piano container and improve focus style
 * Enhancement: Polish Synthesizer settings modal
 * Enhancement: Polish modal style
 * Enhancement: Change order of options in Octave dropdown
 * Drop support for WordPress 6.6 and 6.7
 * Drop support for PHP 7

#### 2.7.0

 * Tested to WordPress 6.8
 * Enhancement: Polish the style of the control section
 * Accessibility: Respect user preference for CSS transitions
 * Fix: Block is not rendered on the front-end in certain configurations
 * Drop support for WordPress 6.5

#### 2.6.0

 * Tested to WordPress 6.7
 * Enhancement: Improve playing responsiveness
 * Enhancement: Update API version from 2 to 3
 * Enhancement: Improve block icon appearance
 * Enhancement: Polish the style of the control section
 * Drop support for WordPress 6.4

#### 2.5.0

 * Tested to WordPress 6.6
 * Drop support for WordPress 6.3

#### 2.4.0

 * Tested to WordPress 6.5
 * Enhancement: Improve compatibility with theme styles on the front end
 * Enhancement: Improve layout consistency
 * Enhancement: Apply custom scrollbar
 * Enhancement: Reduce the size of the keyboard
 * Fix: Typo
 * Drop support for WordPress 6.2

#### 2.3.0

 * Tested to WordPress 6.4
 * Add: Keyboard indicator setting
 * Drop support for WordPress 6.1

#### 2.2.0

 * Tested to WordPress 6.3
 * Add: Keyboard layout setting
 * Enhancement: Allow multiple blocks to be inserted
 * Enhancement: Improve keyboard and focus events
 * Enhancement: Improve compatibility with theme styles on the front end
 * Drop support for WordPress 5.9, 6.0
 * Drop support for PHP 7.3

#### 2.1.0

 * Tested to WordPress 6.2

#### 2.0.0

 * Add: Synthesizer
 * Enhancement: Accessibility Improvements
 * Fix: Duplicate script loading on the front end

#### 1.1.1

 * Tested to WordPress 6.1
 * Enhancement: Polish front-end styles
 * Fix: browser console error
 * Fix: Apply translation on the front end

#### 1.1.0

 * Add: Rendering option on the front-end
 * Add: margin block support
 * Add: background block support
 * Enhancement: Polish the style of the control section
 * Clean: Remove unnecessary files
 * Doc: Update readme

#### 1.0.2

 * Tested to WordPress 6.0
 * Fix: Don’t enqueue scripts on frontend
 * Doc: Update author name

#### 1.0.1

 * Doc: Fix typo and spelling inconsistencies

#### 1.0.0

 * Initial release

## Meta

 *  Version **2.9.0**
 *  Last updated **2 months ago**
 *  Active installations **100+**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 8.0 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/piano-block/) and [Japanese](https://ja.wordpress.org/plugins/piano-block/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/piano-block)
 * Tags
 * [audio](https://test.wordpress.org/plugins/tags/audio/)[gutenberg](https://test.wordpress.org/plugins/tags/gutenberg/)
   [music](https://test.wordpress.org/plugins/tags/music/)[piano](https://test.wordpress.org/plugins/tags/piano/)
 *  [Advanced View](https://test.wordpress.org/plugins/piano-block/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/piano-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/piano-block/reviews/)

## Contributors

 *   [ Aki Hamano ](https://profiles.wordpress.org/wildworks/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/piano-block/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/thamanoJP)