Giter Site home page Giter Site logo

online-piano-player's Introduction

Online-Piano-Player

Send keys in rhythm to the active window. Used for pianos like https://virtualpiano.net/. Change the "music" string to alter what the program plays. Every note is played at quarter a beat at the bpm (tempo). Spaces are a quarter rest. F4 pauses the music, F5 stops the music entirely.

Syntax

" " = A quarter rest.

" | " = A half rest.

"[abc]" or "{abc}" = A chord of notes, wherein each letter (a, b, c) equates to a note (in thise case: b, a, f).

Letters and numbers correspond to notes (see letter index for more). Capital letters (and number equivalents) are a half-note above the "lowercase" version (e.g. q = f, Q = f#; 1 = c, ! = c#).

For compatibility with certain scores:

  • {} are converted to []
  • Newlines (\n) are converted to " "
  • "-" are removed (i.e. converted to "")
  • "-\n" (dashes with newlines) are removed (i.e. converted to "")
  • " - " are converted to "   " (three quarter rests)

Letter index

Letter Note
1 c
! c#
2 d
@ d#
3 e
4 f
$ f#
5 g
% g#
6 a
^ a#
7 b
8 c
* c#
9 d
( d#
0 e
q f
Q f#
w g
W g#
e a
E a#
r b
t c
T c#
y d
Y d#
u e
i f
I f#
o g
O g#
p a
P a#
a b
s c
S c#
d d
D d#
f e
g f
G f#
h g
H g#
j a
J a#
k b
l c
L c#
z d
Z d#
x e
c f
C f#
v g
V g#
b a
B a#
n b
m c

online-piano-player's People

Contributors

alexmusabelliu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.