Melodeon.net Forums
Discussions => General Discussion => Topic started by: Jim on August 09, 2010, 03:12:10 PM
-
Hello,
I was getting bored of pasting ABC from the forum (and other places) into an ABC viewer so I wrote a bookmarklet to do it. It allows you to highlight some ABC and immediately see it rendered as dots. Maybe it would be useful to others here?
To use it you need to save the bookmarklet into your browser bookmarks. Then when you see some ABC you can select it with the mouse and click the bookmark. You will be taken to the Montreal Session Tunebook pages where they have an ABC converter and the selected ABC will be loaded and converted for you.
The bookmarklet is here: http://jim.hawkridges.co.uk/abcbookmarklet (http://jim.hawkridges.co.uk/abcbookmarklet)
I've tested it in IE 8, Firefox 3.5 and Chrome. Let me know if you have any problems or can think of any improvements.
Edit: IE 6 appears not to be supported (sorry).
Cheers,
Jim
-
I like this (:)
-
Nothing happened. I just get a blank text box and have to paste in myself (MSIE-6) Should it copy and process automatically or what?
As for improvements - 'fraid I like to hear the tune. Dot is only slightly better than ABC to an ear player. Chris
-
Works for me. Just highlight the below and click.
X:1
T:The Four Seasons
C:adapted from Thompson's MS
M:6/8
L:1/8
K:D
P:A
aba fdf|agf e2A|d2A e2A|agf e3|
aba fdf|agf e2A|d2A e2A|fge d3:|
P:B
F2F EFG|GFE F2D|F2F EFG|GFE D3|
F2F EFG|GFE F2D|F2F EFG|GFE D3:|
P:C
ABA d3|ABA F3|ABA GFG|EFG F2D|
ABA d3|ABA F3|ABA GFG|EFE D3:|
W:
W:
W: Adapted from the following sources:
W:
W: 1. Thompson's "200 Favourite Country Dance Tunes" (c. 1800) in:
W:"A Northern Lass" - Traditonal Dance Music of North-West England,
W:compiled by Jamie Knowles. (Dave Malinson Publications 1995)
W:
W: 2. The playing of Brian Peters. ("The Beast in the Box", Pugwash Music 1998)
W:
W: 3. Music sessions in the Sheffield area 2007.
-
Nothing happened. I just get a blank text box and have to paste in myself (MSIE-6) Should it copy and process automatically or what?
As for improvements - 'fraid I like to hear the tune. Dot is only slightly better than ABC to an ear player. Chris
Yes it should copy and paste automatically - that's the point of it really! I haven't tested on IE6 though. I will dig out my IE6 and try it out.
On the matter of hearing the tune - the converter does generate midi (but that part is nothing to do with me do no credit to me for that (:) ).
-
That's great, Jim, thanks very much! The first thing I want to do with ABC is convert it to dots, and your bookmarklet works perfectly. (I was using the Montreal Session Tunebook converter anyway).
Bill (IE8)
-
Won't work for me - (both Firefox & AOL) - I'm obviously doing something wrong???
AL
-
I just get a blank text box and have to paste in myself (MSIE-6)
We'll you got further than me then - I couldn't get it to work in IE6 at all ???. Either way it appears that there is some constraints (bookmarks can have at max 508 characters) in IE6 that are likely to prevent it ever working. Sorry about that.
-
Yey! Just got it to work in the latest IE on my puter! Thanks Jim
AL
-
Won't work for me - (both Firefox & AOL) - I'm obviously doing something wrong???
AL
Al, I've just tried it in Firefox and it works fine. Are you following Jim's instructions? Put his bookmarklet in your Bookmarks list (it says ABC to Tadpoles). Highlight the ABC, then go to your bookmarks and click "ABC to Tadpoles". On mine, it brought up the Montreal Session Tunebook Converter in a separate tab, with the score of my chosen tune filled in. The normal Montreal options incl pdf and midi are then available as usual.
With IE8, I had to allow pop-ups from melodeon.net as the converter loads in a new window, rather than a new tab.
-
Hating to drag computing into this forum but who in their right mind is still using Internet explorer 6, it is about the least secure browser in captivity. i'll shut up now
-
Got it now Bill! Thanks
AL
-
the least secure browser in captivity.
The whole of the NHS
Explains a great many things :o
-
Yep, another happy Firefox user. Thanks.
-
Nice one, Bill.
Thanks,
Andy
-
Thanks Jim, much appreciated.
-
works lovely!!
-
I can report it works in Firefox 3.6 under Ubuntu (lucid).
Many thanks, Very useful.
-
Works nicely in Safari 4.1.1 for Mac OS.
Thanks, Jim!
However, personally I probably won't use it very much, as I already use Barfly with all its great functionality for all my ABC stuff.
-
Doesn't work for me :( Safari 4.0.5
-
It works for me - a brilliantly simple shortcut, Jim, thanks.
This might be asking a lot, but what do people think would be the easiest way to convert the result into a readily editable form? I can see that it would be very useful to be able to vary the tune, transpose it, add harmonies, chords, text, or whatever. I use Musescore 0.9.6 or Finale notepad. I guess exporting in midi format might be one possibility, but I expect you'd lose any text.
-
Doesn't work for me :( Safari 4.0.5
Works for me in Safari. This is what I did:
1. Open the link mentioned at the start of the thread (or click HERE (http://jim.hawkridges.co.uk/abcbookmarklet/)). The ABC Bookmarklet page should open.
2. Drag the 'ABC to tadpoles' text to your Safari bookmarks bar, so that it always visible when you have Safari open.
3. To use it, find a page which has the ABC text you wish to convert. Using your mouse, highlight the ABC text only. Then, whilst the text is still highlighted, simply click on the bookmarklet in your Safari bookmarks bar. It should open the Montreal Session website in a new browser window where you should see your ABC text converted to nice tadpoles.
Note: The ABC text to be converted must already be in a Safari window, not in any other software such Word or other text editor.
-
Oh my word, oh my word, oh my word....i did it !
Many thanks!
Sandy
(:)
-
Jim:
You're a star, take a bow that man!
Being a newbie I'm ok-ish with dots, but haven't tried to make any sense of the ABC thing - too usy patting my head and rubbing my tummy!
A converter's just what I was looking for, and it's just worked a treat.
Good stuff.
Thanks
Q
-
I'm glad people are finding this useful.
But, just to be sure credit goes where it's due: The fantastic ABC converter at the Montreal Session Tunebook is nothing to do with me. All I did is the bookmarklet that saves you having to copy and paste manually.
This might be asking a lot, but what do people think would be the easiest way to convert the result into a readily editable form? I can see that it would be very useful to be able to vary the tune, transpose it, add harmonies, chords, text, or whatever. I use Musescore 0.9.6 or Finale notepad. I guess exporting in midi format might be one possibility, but I expect you'd lose any text.
I think that you probably don't need the bookmarklet or the Montreal Tunebook thing for this. A quick Google suggests Musescore can import musicXML. If so you can paste your ABC into this: http://abc2xml.appspot.com/ (http://abc2xml.appspot.com/) and then load the musicXML file into musescore.
- Jim
-
Thanks, Jim, I'm trying that. Initially I thought it worked perfectly, because it seemed to have no restrictions on file download, which was previously a problem. However, when I opened the file in MuseScore, all I got was a time signature and the title. I'll scratch my head a bit and keep you posted!
-
Doesn't work for me :( Safari 4.0.5
Works for me in Safari. This is what I did: etc..
Thanks Steve (:) (and Jim (:))
-
Well, I scratched my head but still couldn't get MuseScore to open that tune. So I tried another tune, and then converted the result to pdf:
Still some bugs, it seems. I'll seek guidance from MuseScore.
-
Amazing!! (wish I was clever ;))
Thanks!
(Chrome)
-
I have been talking on the MuseScore bug report forum about using the http://abc2xml.appspot.com/ converter, then pasting the musicXML file into MuseScore to allow editing. No immediate fixes. The general opinion seems to be that the bugs are easily overcome manually, and it is important to have a clean abc file to start with. Also the feeling seems to be that using a standard platform musicXML, is 'a good thing' from the point of view of development.
I must say that I have had some success with other abc files.
The main snag seems to be that if you have a file that doesn't open, you have to understand the whole of abc notation to correct any minor errors, which rather defeats the main object of converting into tadpoles for me. Jim's original suggestion does seem to be more stable at the moment.
However, I would like to sing the praises of MuseScore, having spent a day or two fiddling around with it. I was converted to it by this forum. It is free, under continuous development, remarkably straightforward to use, and seems not to have as many glitches as one or two other systems. Just try the 8 (not 10, despite appearances) tutorials for a superb introduction.
-
All I did is the bookmarklet that saves you having to copy and paste manually.
- Jim
That in itself is a marvellous thing! Thanks Jim. :D
-
The O'Regan's site is going through an upgrade.
The site is moving from http://music.gordfisch.net/oregans/ to http:/music.gordfisch.net/montrealsession/
To make the transition smooth I redirect all the old pages to the new ones, but if I do this with the editor, this bookmarklet breaks. It's such a nice tool I would rather not do that if I don't have to. I will keep the old editor up until I can work out what I need to do to keep the bookmarklet working, or until I can talk to Jim to see if the bookmarklet can be changed to fit the new site.
In the meantime, the new editor is at http://music.gordfisch.net/montrealsession/editor.php
-
Just try the 8 (not 10, despite appearances) tutorials for a superb introduction.
1-8 on youtube
http://www.youtube.com/watch?v=0mh6m2mbVHs&feature=PlayList&p=6BDCE01557636C85&index=0
eMuseScore in 10 Easy Steps: Part 2 the MuseScore screen
http://www.youtube.com/watch?v=K5FnEEwElDg&p=6BDCE01557636C85&index=2&playnext=1
etc
-
In the meantime, the new editor is at http://music.gordfisch.net/montrealsession/editor.html
Please don't abandon the multieditor! Amazingly useful tool for producing tunebooksĂ‚Â.
http://music.gordfisch.net/oregans/miscellaneous/multieditor.php
-
a little late but works like a charm. I bookmarked it in Firefox and had no need to drag it
-
The new version lacks some of the functionality of the earlier one (e.g., transposition) but I am told by Robin Beech that it will be restored.
-
The new editor has the multieditor functionality built in already. You can paste a single tune, or multiple tunes into the editor and it will format all of them.
I plan to add transpose buttons as on the old editor
Not sure if anyone uses the speed up/slow down of the old editor. If so I can add that in also.
The new editor is now fixed so that the bookmarklet works fine. In truth I stole the code from Jim's bookmarklet to make the edit link from any tune on the montrealsession site so that you can tweak a tune before you print it. By using the same code it will make it harder for me to break in future.
I won't redirect the old link to the new one until I have all the functions of the old one working. That way the old editor won't disappear.
If there is anything else you want to see on the new editor, drop me a message via the montreal session site.
-
Not sure if anyone uses the speed up/slow down of the old editor. If so I can add that in also.
.
Brain needs time to grapple with this iplet but DO put in the slow down function - most important for learning...
vgood.
-
Not sure if anyone uses the speed up/slow down of the old editor. If so I can add that in also.
Robin, I used it a great deal recently. I put together a pdf tunebook of 160 tunes for the ceili band, mostly by grabbing the ABCs from here and there and then editing them, sometimes very heavily, until I had what I wanted. I used the midi playback all the time and if I had played everything at the default speed I'd still be working on the book. Or foaming at the mouth in my padded cell at the local psychiatric facility. After a while I stopped clicking "Faster" and immediately inserted Q:240 into the headers or any jig or reel. But the Faster button allowed me to find out how to use the Q: header. I would suggest you keep it.
From my point of view, pasting in the contents of a large file rather than selecting it as an input file is not an improvement. Hmm, I just pasted in the contents of the said 160-tune abc file to the new editor and it did not format them or display them. Perhaps I didn't wait long enough? (:) All it did was start playing midi for the first tune, unprompted. (Which is really annoying by the way.)
And once it starts playing, how do you stop it? While it might appear an inconvenience in the old editor to have the midi playback open a new tab/window, it was useful because you could stop playback at any time. Whereas with the new editor, I don't see how you can turn the midi playback off without closing the page you are working with!
The old multieditor also allowed you to jump to and display any individual tune in the input file. Again, very convenient when working with large collections.
All in all the old multieditor was/is pretty damned brilliant, and thank you very much for it. I'd never have thought of undertaking production of the aforesaid pdf tunebook if I hadn't stumbled on its capabilities. Whereas the new editor, in its current state, seems to me to be a considerable step down for working with tunebooks. If it stays as it is, I don't think I'll be using it for that purpose.
Cheers
Steve
-
I think you have a good point. There is a lot to be said for two different editors. One for just pasting in a tune or two and getting the pdf/midi files and one with all the fancy stuff like transposition, speeding up/slowing down, editing one tune from a multiple set etc.
Might take a little fiddling around but I'll get to work :-)
-
Not sure why pasting in a big tunebook would cause the midi to start playing. I just tried pasting in all the jigs from the montreal session site, about 220 tunes and got nothing. I reduced that to 60 and I got a multipage pdf as I should. I haven't thought about big multitune abc for the new editor but I'll put it in my list of things to work on.
Just for interests sake, do people prefer a little midi player on the editor page, or a link to download a midi file to play separately?
-
For those interested in the new editor, I have added speed up/slow down/transpose/re-notate tune buttons under the advanced settings. I'm still working out some of the kinks so I'd be very interested in feedback on problems you find.
http://music.gordfisch.net/montrealsession/editor.php
-
The live update thing seems to cut away from the text box as the score updates, meaning that you have to untick it to do anything fast, which limits the usefulness of the thing. Also you need to put the transpose buttons back in (:)
-
The live update seems to be useless with Internet Explorer, but it works well with Safari and Firefox. Also, the transpose function doesn't work with IE but is fine with the other browsers. Have to do some digging to find the problem.