-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3b21e01
Showing
164 changed files
with
16,697 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/.git | ||
/.github | ||
/.wordpress-org | ||
/node_modules | ||
/vendor | ||
.distignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.js | ||
.stylelintignore | ||
.stylelintrc.js | ||
.wp-env.json | ||
composer.json | ||
composer.lock | ||
package-lock.json | ||
package.json | ||
phpcs.ruleset.xml | ||
README.md | ||
tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
vendor/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module.exports = { | ||
extends: [ | ||
'plugin:@wordpress/eslint-plugin/recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
rules: { | ||
'import/no-extraneous-dependencies': 'off', | ||
'import/no-unresolved': 'off', | ||
'@wordpress/no-unsafe-wp-apis': 'off', | ||
'no-nested-ternary': 'off', | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
useTabs: true, | ||
tabWidth: 2, | ||
singleQuote: true, | ||
printWidth: 100, | ||
bracketSpacing: true, | ||
parenSpacing: true, | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.vscode | ||
node_modules/ | ||
vendor/ | ||
build/ | ||
.wp-env.override.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
...require( '@wordpress/prettier-config' ), | ||
semi: true, | ||
useTabs: true, | ||
tabWidth: 2, | ||
singleQuote: true, | ||
printWidth: 100, | ||
bracketSpacing: true, | ||
parenSpacing: true, | ||
parser: 'typescript' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules/ | ||
build/ | ||
vendor/ | ||
*.js | ||
*.ts | ||
*.tsx | ||
*.xml | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
extends: [ | ||
'@wordpress/stylelint-config/scss', | ||
'stylelint-config-recess-order', | ||
], | ||
rules: { | ||
"no-descending-specificity": null, | ||
"font-weight-notation": null, | ||
"selector-class-pattern": null, | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"core": null, | ||
"plugins": [ "." ], | ||
"config": { | ||
"WP_DEBUG": true | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Piano Block | ||
|
||
![Piano Block](https://raw.githubusercontent.com/t-hamano/piano-block/main/.wordpress-org/banner-1544x500.png) | ||
|
||
"Piano Block" is a WordPress custom block plugin that allows you to play a variety of tones using the piano keyboard on the block editor. | ||
|
||
## Features | ||
|
||
- 14 instruments | ||
- Realistic sound based on sound sources sampled from actual instruments | ||
- Variable volume, switchable octave pitch and sustain pedal status | ||
|
||
## How to build | ||
|
||
``` | ||
$ npm install | ||
$ npm run build | ||
``` | ||
|
||
## Resources, Audio Samples | ||
|
||
### Web Audio framework (Tone.js) | ||
* 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 | ||
|
||
### Gooogle Fonts (Banner Font) | ||
* License: Apache License 2.0 | ||
* Source: https://fonts.google.com/specimen/Yellowtail | ||
|
||
## Author | ||
|
||
[Tetsuaki Hamano (Github)](https://github.com/t-hamano) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "t-hamano/piano-block", | ||
"description": "WordPress Plugin", | ||
"license": "GPL-2.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Tetsuaki Hamano" | ||
} | ||
], | ||
"require-dev": { | ||
"squizlabs/php_codesniffer": "*", | ||
"wp-coding-standards/wpcs": "*" | ||
}, | ||
"scripts": { | ||
"phpcs": "phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs", | ||
"lint": "phpcs ./ --standard=./phpcs.ruleset.xml" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.