Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: RHmusic on June 21, 2015, 07:08:29 AM

Title: Introducing WebMusicScore (beta)
Post by: RHmusic on June 21, 2015, 07:08:29 AM
Hi,

I developed a web app to create ABC music sheet called WebMusicScore recently. And lucky me, Chris Walshaw (ABC system inventor) just added WebMusicScore on the ABC software list: http://abcnotation.com/software#web (http://abcnotation.com/software#web)

here's the link: http://www.ronaldhutasuhut.com/wp-content/wms/WebMusicScore.html (http://www.ronaldhutasuhut.com/wp-content/wms/WebMusicScore.html)

It's one of my experiments using browsers to work with music notation. The idea is to create ABC music notation sheet without writing any code/syntax of ABC system; this method is to get more user. WebMusicScore offer easier way to write ABC notation (I hope) and a new way to create music notation at the same time.

More than that, I hope ABC system can be used as standard music notation format for web. Instead of using .png and .pdf (and musicxml), ABC music notation can have its own format to display AND to play the score; the score will have a playback and audio conversion. Instead of using pc-based software plugin or score app such as Scorch from Sibelius and Musescore score app, which are limited for specific file format, ABC system offers simple web playable audio score for any user with any music notation software (if companies allow ABC conversion on their software).

WebMusicScore is using abcjs to render ABC notation, it's a very effective way to create music notation online. However, browser can't play MIDI file presently that caused ABC couldn't have audio on the web. Chris Walshaw and Paul Rosen (abcjs creator) are looking another way to have MIDI/audio for ABC. Meanwhile, I'm using web audio API oscillator to replace MIDI role; not enough but looks good for now.

WebMusicScore is still in beta version, I need volunteers to try the app, please visit WebMusicScore at:
http://www.ronaldhutasuhut.com/wp-content/wms/WebMusicScore.html (http://www.ronaldhutasuhut.com/wp-content/wms/WebMusicScore.html)

Feature on progress..
- Stop function
- Voices (multi voice)
- MIDI
- Instrumentation
- Print
- and more music symbols

Thanks for reading.
Title: Re: Introducing WebMusicScore (beta)
Post by: Lester on June 21, 2015, 07:57:37 AM
Had a quick go and would offer the following observations:


Looks as if it could be a useful tool for non-ABC literate people but currently would be far slower then just writing ABC for me, in my world of English folk tunes, single voice and melody only.

Keep up the good work.
Title: Re: Introducing WebMusicScore (beta)
Post by: Pete Dunk on June 21, 2015, 03:38:46 PM
Welcome to the forum!

My PC is out of action/possibly dead and I'm currently synching my laptop to my Box account for the next couple of hours. I'm unable to run anything much on the iPad and too busy this evening to be playing with new software. I'll give it a go though, something clever that runs on the net would be very helpful to me.
I'll be watching out for your reply to Lester's observations too as he can usually make things work if the means to do it are there.
Title: Re: Introducing WebMusicScore (beta)
Post by: syale on June 21, 2015, 04:33:44 PM
Had a quick go and would offer the following observations:

  • I can find no way of changing the Key Signature in a tune (ABC Equivalent [K:D] )


Key Sign changes key in the properties (must be capital). It does Bb for B flat etc.
Title: Re: Introducing WebMusicScore (beta)
Post by: Pete Dunk on June 21, 2015, 04:53:35 PM
Key Sign changes key in the properties (must be capital). It does Bb for B flat etc.

That sets the key for the tune in the header, what Lester wants to do is change key part way through the tune - an in line command.
Title: Re: Introducing WebMusicScore (beta)
Post by: Pete Dunk on June 21, 2015, 05:36:30 PM
I'm a bit baffled by the use of the # symbol in the tune body, do I understand the insructions to mean that instead of AdcF I must write A#d#c#F#?

Adding the tempo 3/8=100 (common in 6/8 and 9/8 tunes) resulted in a displayed tempo of crotchet (or quarter note) = 100
Title: Re: Introducing WebMusicScore (beta)
Post by: RHmusic on June 22, 2015, 05:48:26 AM
Thank you Lester!


Welcome to the forum!

My PC is out of action/possibly dead and I'm currently synching my laptop to my Box account for the next couple of hours. I'm unable to run anything much on the iPad and too busy this evening to be playing with new software. I'll give it a go though, something clever that runs on the net would be very helpful to me.
I'll be watching out for your reply to Lester's observations too as he can usually make things work if the means to do it are there.

Thanks Pete! If WebMusicScore goes well, we can consider an app for devices.



Title: Re: Introducing WebMusicScore (beta)
Post by: RHmusic on June 22, 2015, 06:08:57 AM
I'm a bit baffled by the use of the # symbol in the tune body, do I understand the instructions to mean that instead of AdcF I must write A#d#c#F#?

Unfortunately, the answer is yes. There's a math logic that I haven't solved good enough. ABC system using blank spaces to control note beam, this method caused the creation of array from ABC notation to Javascript object became a bit complicated. So I had to add the # char. to separate each ABC object, so they can converted to Javascript array object; these array keeps the buttons work on WebMusicScore.

Quote
Adding the tempo 3/8=100 (common in 6/8 and 9/8 tunes) resulted in a displayed tempo of crotchet (or quarter note) = 100

WebMusicScore allow vary tempo marking. It's something to do with the abcjs, I will send a note to Paul about this issue so he can add more tempo marking symbols. Thanks for spotting this.
Title: Re: Introducing WebMusicScore (beta)
Post by: Chris Ryall on June 22, 2015, 06:27:49 AM
That seems to me such a bad idea as to make the facility unusable.

why not just pars into logical word blocks, then use JS string.split method with a parameter of "" => a character array? That's what it's design for. And all at native.machine code speed (:)

The array.concat/splice methods can then get you to the required token stream - and Bob's your father's brother (as we say in England). Strikes me that Chris almost designed ABC to be parsed that way.
Title: Re: Introducing WebMusicScore (beta)
Post by: RHmusic on June 22, 2015, 09:05:12 AM
Hi Chris,

yes, I'm using js split("").

*I hope it's okay to discuss a little bit js code(?)

The js split("") method will separate ABC note with its properties, for example:

ABC: ^C2
JS: ^,C,2

ABC: ^C2 _B4
JS: ^,C,2, ,_,B,4

an array element should be a note and its properties to create Undo function.
Example: ^C2, _B4, G2

it resulted error on ABC notation. But I will take a look at this method again, maybe I can do it without adding the # char.

Thank you Chris!
Title: Re: Introducing WebMusicScore (beta)
Post by: Chris Ryall on June 22, 2015, 12:16:41 PM
You are going to have to code a little finite state automaton to scan the token stream and pick up on those pre and post-fixed properties, and  report the inevitable quirks and errors.  Guess that'll avoid the need for a pre-split by words but essentially ABC is a very permissive code with respect to white space, so good luck (:)  But I can't see people using anything separated by '#'s

I faced similar issues in melodeon explorer (http://chrisryall.net/chords/), where the token stream is rather better controlled. But JS is up to it.  Here's what a 4th start DG (default) looks like - voicingnote tokens. Space is immaterial - I use the arrows to indent the simulation. I separate pull and push because that's how I think of melodeon (and how all chording works) - next version allows combined eg G/F# notation as well

Code: [Select]
→ push↓ → ©  ºD  ©  ºG
→→→→ →→ ©  ºB  ©  ºC
→ ²F  ¹B  ¹D  ¹G  ²B  ²D  ²G  ³B ³D  ³G
¹Aâ™­ ºF♯ ¹A  ¹D  ¹F♯ ²A  ²D  ²F♯ ³A  ³D  ³F♯
=
→ pull↓ → ©  ºA  ©  ºD
→→→→ →→ ©  ºE  ©  ºC
→ ²Eâ™­ ¹D  ¹F♯ ²A  ²C  ²E  ²F♯ ³A  ³C  ³E
²Bâ™­ ¹A  ¹C♯ ¹E  ¹G  ²B  ²C♯ ²E  ²G  ³B  ³C♯

Won't converse further as it will put me in melnet Admins' sin bin for being off topic.   Chris
Title: Re: Introducing WebMusicScore (beta)
Post by: Pete Dunk on June 22, 2015, 02:43:31 PM
I think this subject is nerdy enough that nobody will know what is on or off topic!  >:E
Title: Re: Introducing WebMusicScore (beta)
Post by: RHmusic on June 22, 2015, 05:11:49 PM
No.. yes.. I mean I got what Chris said.  (:)
I will try to not to use the # char on the body tune.

And please, suggestions on the ABC implementation with WebMusicScore are still welcome.

p.s.
Seeing Melodeon Explorer made me want to know more about the instrument. It called Accordion in my place and it's a very very rare person.  :||:
Title: Re: Introducing WebMusicScore (beta)
Post by: Pete Dunk on June 22, 2015, 06:10:22 PM
It's also called an accordion here too, a diatonic button accordion in fact. Such a thing wouldn't survive very long in some parts of the world, particularly anywhere with high humidity.

You'll just have to get a melodeon app and have a go on that!
SimplePortal 2.3.5 © 2008-2012, SimplePortal