abcjs - a new feature for the forums

For sharing and discussing tunes in abc notation
cwalshaw
Site Admin
Posts: 63
Joined: Wed Jun 10, 2009 11:50 am

abcjs - a new feature for the forums

Postby cwalshaw » Mon May 17, 2010 7:08 am

NEWS: I've just installed abcjs in the forums - the marvellous new javascript rendering engine abc from Gregory Dyke and Paul Rosen.

How does it work - well just paste some abc into a forum post and (provided you've got javascript turned on in your browser), the post should automatically included the dots and a midi player!

X:1
T:Speed the Plough
M:4/4
L:1/8
C:Trad
K:G
|:GABc dedB|dedB dedB|c2ec B2dB|c2A2A2BA|
|GABc dedB|dedB dedB|c2ec B2dB|A2F2G4:|
|:g2gf g2Bd|g2fe dBGB|c2ec B2dB|c2A2A2df|
|g2gfg2Bd|g2fe dBGB|c2ec B2dB|A2F2G4:|

The only restrictions are that the abc has to include an X: field (so that abcjs can recognise it) and that, due to a technical Microsoft restriction, Internet Explorer will not display the midi player (though it works just fine in FireFox).

Apart from that it works like magic.

Enjoy!

Chris

Tirno
Posts: 1
Joined: Mon May 17, 2010 8:55 am
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: abcjs - a new feature for the forums

Postby Tirno » Mon May 17, 2010 10:19 am

X:1
T:begin
G

Thanks for the vote of confidence. I am just testing why stuff isn't showing right.
X:1
T:middle
G

X:1
T:blank lines on either side
G

in the middle it should work
X:1
T:end
G

farvardin
Posts: 12
Joined: Mon Jun 22, 2009 9:17 pm

Re: abcjs - a new feature for the forums

Postby farvardin » Fri Jul 16, 2010 4:04 pm

it looks really great, and I'm sure it will be useful for talking about tunes here.

I'm also installing it on my website, do you know if it's possible to resize the score ? On my website it looks wider. (it's also not so wide when using the editor instead of the plugin).

Well, I'm testing the tune here just to compare:

X:1
T:Amis, buvons !
D:La Bamboche - Quintessence
O:France
M:C
L:1/4
Q:1/4=120
K:D
B B/B/ A>A | A/>B/ A/G/ F2 | B B/B/ A G/F/ | GA B2 |
B/B/ A/B/ d>d | A/A/ G/A/ B2 | B/B/ A/B/ G/>G/ B/B/ | A B E2 |
E/F/ G/E/ B c/e/ | d c B2 ||

cwalshaw
Site Admin
Posts: 63
Joined: Wed Jun 10, 2009 11:50 am

Re: abcjs - a new feature for the forums

Postby cwalshaw » Wed Jul 28, 2010 12:19 pm

I don't know how to resize it (or if it's possible) - probably best to ask the authors (http://code.google.com/p/abcjs/)

Chris

Wolfieee
Posts: 3
Joined: Sat Nov 12, 2011 5:06 am
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: abcjs - a new feature for the forums

Postby Wolfieee » Sat Nov 12, 2011 5:08 am

midiplayer doesn't seem to work in Firefox on Linux

martinio2
Posts: 1
Joined: Fri Dec 30, 2011 12:26 pm
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: abcjs - a new feature for the forums

Postby martinio2 » Fri Dec 30, 2011 12:28 pm

Player doesn't work in chrome


Return to “Tunes”

Who is online

Users browsing this forum: No registered users and 1 guest

cron