x-play
:musical_score: :notes: :musical_note: :musical_keyboard: :violin: :saxophone: :trumpet: :guitar:
[ This description is mirrored from README.md at github.com/hikarock/x-play on 2019-05-22 ]
<x-play>
:musical_score: :notes: :musical_note: :musical_keyboard: :violin: :saxophone: :trumpet: :guitar:
DEMO
Get Started
% npm start
Examples
Piano 1
<x-play sound="piano" tempo="80" repeat="1" melody="d2 e2 c2 c1 g1"></x-play>
Piano 2
<x-play sound="piano" tempo="200" repeat="2"
melody="| g3 e3 e3 - | f3 d3 d3 - | c3 d3 e3 f3 | g3 g3 g3 - |
| g3 e3 e3 e3 | f3 d3 d3 d3 | c3 e3 g3 g3 | e3 e3 e3 - |
| d3 d3 d3 d3 | d3 e3 f3 - | e3 e3 e3 e3 | e3 f3 g3 - |
| g3 e3 e3 e3 | f3 d3 d3 d3 | c3 e3 g3 g3 | e3 e3 e3 - |"></x-play>
Drum
<x-play sound="snare" tempo="100" repeat="2" melody="- c4 - c4 - c4 - c4"></x-play>
<x-play sound="kick" tempo="100" repeat="2" melody="c4 c4 c4 c4 c4 c4 c4 c4"></x-play>
Props
- melody (require)
scale[octave]
- sound (default: "piano")
- "cymbal"
- "hihat"
- "kick"
- "piano"
- "snare"
- "tom"
- tempo (default: "100")
- repeat (default: "1")
Thanks!
Licence
MIT
Author
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
Polymer/polymer#^2.1.1
- Released
- 2017-10-09
- Maturity
- TESTED
- License
- Other
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent
x-play - Vaadin Add-on Directory
:musical_score: :notes: :musical_note: :musical_keyboard: :violin: :saxophone: :trumpet: :guitar:
**[ This description is mirrored from README.md at [github.com/hikarock/x-play](https://github.com//hikarock/x-play/blob/0.1.0/README.md) on 2019-05-22 ]**
# <x-play>
:musical_score: :notes: :musical_note: :musical_keyboard: :violin: :saxophone: :trumpet: :guitar:
## DEMO
[x-play](https://x-play.hika69.com/demo/)
## Get Started
```
% npm start
```
## Examples
Piano 1
```html
```
Piano 2
```html
```
Drum
```html
```
## Props
- melody (require)
- `scale[octave]`
- sound (default: "piano")
- "cymbal"
- "hihat"
- "kick"
- "piano"
- "snare"
- "tom"
- tempo (default: "100")
- repeat (default: "1")
## Thanks!
[全曲無料・フリー音楽素材/魔王魂](http://maoudamashii.jokersounds.com/)
## Licence
MIT
## Author
[hikarock](https://hika69.com)
DocumentationGitHub Homepage
Issue tracker
License
Online Demo
View on GitHub
x-play version 0.1.0
### Dependencies
Polymer/polymer#^2.1.1