Title: Piano Block
Author: Aki Hamano
Published: <strong>2022 年 3 月 1 日</strong>
Last modified: 2026 年 11 月 4 日

---

搜尋外掛

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

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

# Piano Block

 由 [Aki Hamano](https://profiles.wordpress.org/wildworks/) 開發

[下載](https://downloads.wordpress.org/plugin/piano-block.2.11.0.zip)

[即時預覽](https://tw.wordpress.org/plugins/piano-block/?preview=1)

 * [詳細資料](https://tw.wordpress.org/plugins/piano-block/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/piano-block/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/piano-block/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/piano-block/#developers)

 [技術支援](https://wordpress.org/support/plugin/piano-block/)

## 外掛說明

Piano Block is a plugin that allows 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. If you get stuck writing an article
or just want a little distraction, insert this block and enjoy some music.

 * 15 instruments
 * Realistic sounds sampled from real instruments
 * Adjustable volume, octave shift, and sustain pedal
 * Synthesizer with 18 oscillator types and a customizable envelope

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

### Resources and 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 Piano 1, 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

## 螢幕擷圖

[⌊Piano Block⌉⌊Piano Block⌉[

Piano Block

[⌊Piano Block Synthesizer Settings⌉⌊Piano Block Synthesizer Settings⌉[

Piano Block Synthesizer Settings

## 適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

 *     Piano Play a variety of tones using the piano keyboard.

## 安裝方式

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

## 常見問題集

### How is this block displayed on the front end?

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

### Can I record what I play?

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

## 使用者評論

![](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/) 2025 年 2 月 22 日

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/) 2022 年 4 月 11 
日

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.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/piano-block/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Piano Block〉的開發相關工作。

參與者

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

〈Piano Block〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/piano-block/contributors)
為這個外掛做出的貢獻。

[將〈Piano Block〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/piano-block)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/piano-block/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/piano-block/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/piano-block/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/piano-block/)。

## 變更記錄

#### 2.11.0

 * Tested up to WordPress 7.2
 * Enhancement: Reduce the bundle size
 * Enhancement: Polish the style of the control section
 * Enhancement: Polish UI text and add context for translators
 * Accessibility: Improve screen reader support on the front end
 * Fix: Block cannot be dragged with the mouse in the editor
 * Fix: Pressed key state is lost when playing chords
 * Fix: Control labels wrap in some languages
 * Drop support for WordPress 7.0
 * Drop support for PHP 8.0 and 8.1

#### 2.10.0

 * Tested up to WordPress 7.1
 * Fix: Stale icon data in block.json
 * Drop support for WordPress 6.9

#### 2.9.1

 * Security: Properly escape the synthesizer setting attribute
 * Fix: Apply the keyboard indicator setting on the front end

#### 2.9.0

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

#### 2.8.0

 * Tested up to WordPress 6.9
 * Enhancement: Add border support
 * Enhancement: Use 32px-sized controls in the control section
 * Enhancement: Add ARIA roles to toggle buttons
 * Enhancement: Add label to piano container and improve focus style
 * Enhancement: Polish the synthesizer settings modal
 * Enhancement: Polish modal style
 * Enhancement: Change the order of options in the Octave dropdown
 * Drop support for WordPress 6.6 and 6.7
 * Drop support for PHP 7

#### 2.7.0

 * Tested up 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 up 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 up to WordPress 6.6
 * Drop support for WordPress 6.3

#### 2.4.0

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

#### 2.3.0

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

#### 2.2.0

 * Tested up 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 and 6.0
 * Drop support for PHP 7.3

#### 2.1.0

 * Tested up to WordPress 6.2

#### 2.0.0

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

#### 1.1.1

 * Tested up 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 up to WordPress 6.0
 * Fix: Don’t enqueue scripts on the front end
 * Doc: Update author name

#### 1.0.1

 * Doc: Fix typo and spelling inconsistencies

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **2.11.0**
 *  最後更新 **5 天前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 7.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.2**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/piano-block/) 及 [Japanese](https://ja.wordpress.org/plugins/piano-block/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/piano-block)
 * 標籤:
 * [audio](https://tw.wordpress.org/plugins/tags/audio/)[gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)
   [music](https://tw.wordpress.org/plugins/tags/music/)[piano](https://tw.wordpress.org/plugins/tags/piano/)
 *  [進階檢視](https://tw.wordpress.org/plugins/piano-block/advanced/)

## 評分

 4.5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/piano-block/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/piano-block/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/piano-block/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/piano-block/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/thamanoJP)