09-15-2014, 05:16 PM | #16 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Here is a trial version that may do what you need.
http://www.notation.com/Download.php A quick search turned this up. http://www.skytopia.com/project/articles/notation.html Dale |
09-15-2014, 05:30 PM | #17 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
http://www.musicxml.com/ http://www.musicxml-viewer.com/ I am definitely not familiar with including any of that javascript stuff in books, and it wouldn't work on most of the devices out there anyway, so I personally wouldn't waste my time (I would focus on the SVG/PNG side of things so it would be able to work on a maximum amount of devices). Quote:
http://homepage1.nifty.com/kuuku/pub...x/index-e.html Documentation on PMX: http://icking-music-archive.org/software/pmx/pmx270.pdf |
||
Advert | |
|
09-15-2014, 09:52 PM | #18 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
I'm using MuseScore 1.3, which _will_ do a midi file import. It doesn't use an import command, I just do an Open, and then browse to my midi file. No problem.
|
09-16-2014, 06:27 AM | #19 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
09-16-2014, 09:26 AM | #20 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
The only odd thing, though, is that it seems to have doubled-up all the music for some reason -- I've got 6 staves where there should be only 3 (two for piano, treble and bass, and one for voice), but all three are shown twice. I guess I could probably fix that up and delete those duplicated staves, but I'm a bit iffy about just using this, as there's a copyright notice (or, at least, credit for the creator of the MIDI file) embedded within it, and so I could run into issues in just using it for my own purposes -- plus it's in a different key signature, too, from the original sheet music that I had before. The nice thing about the latter was that I'd scanned it from a turn-of-the-century music book, so that's in the public domain. I guess that leaves me with a couple (or three) options: I could write to the creator of that MIDI (if they're still around on the web) and ask for permission to use it; or bite the bullet and transcribe the sheet music that I have into MuseScore; or try to figure out how to convert that already-scanned sheet music into SVG via Adobe Illustrator. I guess this looks like my project for today -- at least, play around the latter two ideas, and see if I get anywhere. Thanks for the eye-opener about opening up MIDI files in MuseScore, though, Pholy! |
|
Advert | |
|
09-16-2014, 10:16 AM | #21 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Okay! I actually managed to get the entire 2 pages of sheet music converted to SVG format (with each measure as a separate file, so I now have 9 separate SVG files), but I really feel stupid because I'm clueless as to what to do with them now. I took at the wiki here on using SVG images...
https://wiki.mobileread.com/wiki/SVG ...but all it does is confuse me even more! I also tried to upload one of my SVG images here, if only to see if you could tell me that I did them right, but when I try to upload it I get a message saying "Invalid File". I don't know what the heck I'm doing, but I guess if I knew what code I'm supposed to use in order to insert these SVG images into my book, then I could at least test it out and see if it works or not -- I just don't understand what I'm supposed to do with them now, though. |
09-16-2014, 11:16 AM | #22 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Okay, just to follow up on my last reply, I've been poking around here and there trying to find the answer to what I'm supposed to do, and did find one place that said to simply just insert the SVG images like one would insert any other image, basically. So I've tried that, and it does seem to work just fine in ADE -- if I re-size the window, the images stretch nicely and look good and everything -- but in iBooks on the iPad, although things seem okay at first when viewing it in two-page landscape mode, as soon as I rotate it to single-page portrait, the images don't stretch to the width of the page.
Like I said, I don't know what the heck I'm doing with these SVG images! In fact, what's the reasoning behind using them in the first place? Why not just simply use JPEG or PNG images instead? I'd have no problem plopping those in and getting them to fit/re-size to the width of the page. Anyway, here's an ebook I threw together with the sheet music in it, in SVG format, if you want to take a peek at how I did it (without knowing what I'm doing). |
09-16-2014, 07:32 PM | #23 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Nice effort on the ePub. Looks really good to me. You are paving some new ground here that will expand everyone's horizons on the power of SVG.
Dale |
09-16-2014, 08:01 PM | #24 | |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
And as I said, in iBooks, at least, it's not working correctly -- I have my width set at 100%, but when I go in portrait mode it's clearly not 100%. If I'd done them up as a JPEG or PNG, though, I'm sure that wouldn't have been a problem at all. I have no idea what I did wrong here -- any ideas? It does seem to display okay in ADE, but just not iBooks. |
|
09-17-2014, 09:12 AM | #25 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
I figured out the problem re the images showing up smaller in portrait mode in iBooks! My original scans of the two pages of sheet music were at 300dpi, and then I cropped those two pages down to individual measures, which gave me 9 separate PSD images (still at 300dpi). Then I brought those into Illustrator, did an "auto trace" on them (using the grayscale option) and then saved them as SVG -- but I guess that resolution info gets embedded in the SVG file.
Just as an experiment, I re-did the first image, changing the resolution to 72dpi, switched that one for the 300dpi one in my book, and now it stretches to the full width of the page. Interesting that iBooks pays attention to image resolution, and displays it accordingly! I guess I'd just assumed that, as with web pages, even if you insert a higher-res image it would still just display it "by pixels", essentially ignoring any different resolution. Anyway, that answers that -- although I'm still wondering why it's better to use SVG instead of JPEG or PNG. With SVG, isn't there more of a risk that the image format won't be supported by some device or other out there? I really don't know much (if anything) about SVG, never worked with them until now. |
09-17-2014, 10:17 AM | #26 |
Chief Bohemian Misfit
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Okay, here's another follow-up -- I've attached a couple of screenshots here to, um, "illustrate." They're basically the same image, one with a white background and one with a black ("night") background, but there's a couple of different issues that they show.
Looking at either one, you can see the problem I mentioned before re my having first put in images that had a resolution of 300dpi. The first measure (and third/fourth) of the music shown is after I'd re-done that measure/image at 72dpi, while the second (and fifth) measure is still at 300dpi -- both had exactly the same dimensions, essentially, as far as pixels go, but it was just the resolution that was different, and as you can see iBooks displays the higher-res one at a smaller size. For the third and fourth measures here, though (which are both the same image, but different formats), I thought I'd see what it would look like to use a bit of colour -- i.e. the colours that I use for the headings, ornaments, etc. throughout the book. Of those two duplicate measures, the first one is in SVG format, whereas the second is a transparent PNG. To me, they're virtually the same as far as quality goes, but with the PNG one, when you change your settings to black ("night") mode, at least the PNG is indeed transparent. Isn't that nicer? So why on earth would I use SVG, if PNG is basically just nicer (and probably more widely supported)? Inquiring minds wanna know! Last edited by Psymon; 09-17-2014 at 10:21 AM. |
09-17-2014, 11:05 AM | #27 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
SVG is vector imaging and PNG is raster/bitmap imaging check our wiki for details at Graphics. the text is real text in SVG and is searchable and scalable. SVG is fully supported in ePub 2 and ePub 3 but not the old mobi format although it is supported in KF8. As to scaling PNG, JPG, GIF etc scale by taking the image pixels and duplicating some number of them at the new resolution. It can cause jaggies in the image. SVG on the other hand draws the image at the new resolution. It scales the points where the lines end but the line itself is drawn at full resolution like a person would do if they were to redraw an image larger.
Think of SVG as drawing on a sheet of graph paper. The graph paper is rescaled at the new resolution and then the image is drawn on top of the graph paper. Dale Last edited by DaleDe; 09-17-2014 at 11:10 AM. |
09-17-2014, 11:22 AM | #28 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It should be possible to make the SVG transparent too, and with some luck to take the surrounding text colour.
|
09-17-2014, 11:50 AM | #29 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Code:
<svg version="1.1" id="tombowling-1a_xA0_Image_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="372.96px" height="86.88px" viewBox="0 0 372.96 86.88" enable-background="new 0 0 372.96 86.88" xml:space="preserve"> |
|
09-17-2014, 01:17 PM | #30 |
Addict
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Your book looks lovely - bravo!
I can't comment on the iPad, but it works just fine on my Kobo Mini, both as epub and kepub. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a Music Sheet | maestralien | Conversion | 16 | 01-04-2013 10:32 AM |
Sheet Music on the Kindle? | Prestidigitweeze | Amazon Kindle | 4 | 04-23-2012 09:13 AM |
902 Sheet Music (PDF) | tuxor | PocketBook | 6 | 10-06-2011 06:43 PM |
Sheet Music Now Available for Kindle | Gideon | News | 19 | 03-29-2010 04:52 AM |
A (Sheet) Music Reader | RWood | News | 14 | 06-02-2008 04:24 AM |