>SOLVED>GIMP genuises needed! Darken copied music...

Questions about applications and software
Locked
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4207
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

>SOLVED>GIMP genuises needed! Darken copied music...

Post by Fred Barclay » Wed Aug 12, 2015 4:42 pm

G'day all! I've got some copies of music that didn't turn out right (the "pixels"? or whatever the little dots are don't all connect to form lines, see attachment) and I thought that GIMP could perhaps fix this for me. The trouble is that I don't really don't understand how to use GIMP, and I don't have much time to learn! (I really haven't messed with images that much.) Can any of you give me an idea of what I could do to make the music look "right" ? :) I have the pages scanned as a pdf file.
Heaven's_Medley.png
(BTW: this is the worst--the others aren't quite this bad. It's also a little sideways, but that's not too great a consideration. I'd just like to be able to see the notes!)
Thanks!
Fred
Last edited by Fred Barclay on Tue Sep 29, 2015 4:08 pm, edited 1 time in total.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Wed Aug 12, 2015 6:58 pm

Hi Fred,

Hows it going?

In Gimp, I think you can use the "colors", "brightness and contrast tools" to change this easily enough. Just slide the brightness to the left to darken the image. You can also use the rectangle selection tool to highlight the whole image or a portion of it, like the middle of the image you showed, and darken just that. There are many more ways to do this, and I am not an expert in Gimp (yet). YouTube has many good tutorials. Recommend that you save copies of the images to another folder so you can try various Gimp options to see what happens.

It might be better to convert the images from PDF to a more editable photo file format so that you can use Gimp or any of the other image editing tools more effectively. Also, if they are in a color format rather than black and white, and the images are only black and white (greyscale), then convert them first to black and white (greyscale).

check out the links below:
https://www.google.com/?gws_rd=ssl#q=ho ... ge+in+gimp

* free Online photo editors to darken and do other stuff...
https://www.google.com/?gws_rd=ssl#q=da ... age+online
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

kevinthefixer
Level 4
Level 4
Posts: 278
Joined: Thu Jul 23, 2015 10:36 pm

Re: GIMP genuises needed! Darken copied music...

Post by kevinthefixer » Wed Aug 12, 2015 10:21 pm

GIMP will sort-of automatically convert the PDF when it opens it, it does not directly edit your PDF. So when you get it looking like you want (or as close as you get) then save it in your favorite format. I do not recommend using GIMP's native format because few other applications can read it. .gif, .jpg, even .tif, all should do for this.

Convert to greyscale is good advice. Image>mode>Grayscale

Unfortunately GIMP has quite a steep learning curve, this is the price of a tool this powerful. I'm told it's nearly indistinguishable from Adobe PhotoShop, but on my budget I'm not likely to find out firsthand. Oddly enough brightness and contrast are in Colors>Brightness-Contrast.

I recommend you make some time to learn some of the basic tools like this, it's well worth it. If you still find GIMP too daunting, try xnview-mp; it started out as a viewer and became extremely powerful. You may find it easier to use and still get the job done.

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Thu Aug 13, 2015 12:32 am

Hi Fred Barclay,

Just for the heck of it, I saved your image. Thought I would do a quick test ...

FYI: Update 08-13-2015 12:58am Eastern US: I also found a pretty cool Gimp Plugin called "Nuvola Tools" (link below) which looks like it would work really well for this, but I have not downloaded or installed yet.
NUVOLA TOOLs for Gimp offer advanced grayscale cleaning and processing functions for your scans, automates removal of shadows, dust and toner particles typical of less than perfect prints , screentones removal through automated shape and topology recognition and much more!

Five tools in one box: 1) remove speckles 2) fill white pores on black ink 3) remove specific shapes, user defined! Road map: 4) damaged lineart regeneration 5) topological decomposition.
http://registry.gimp.org/node/26402

http://nuvolagroup.blogspot.com/



1. I went to http://www181.lunapic.com/editor/, and clicked "upload" to upload this image to their online photo editor, then I ran their "adjust" options, first with "adaptive equalization", clicked save to my computer, then with "sharpness", clicked save to my computer, and it seconds this is what I got. I haven't even tried the other options yet.

and here is what happened:

Adaptive equalization
FB1.png
Sharpness
FB2.png
2. Gimp

Gimp Image - Convert to greyscale, then brightness = -51, contrast = 10
FB1-Gimp-GS-Br.jpg
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Thu Aug 13, 2015 4:39 pm

Hi Fred,

1. I have been playing around with Gimp. I found another easy method that might work well for improving your sheet music scans using the G'mic plugin which I think is available in the Software Manager or Synaptic Package Manager (SPM). It is also available via PPA method below (which I use). G'mic = Greyc's Magic for Image Computing. I have pretty much installed every plug-in from the Software Manager or Synaptic Package Manager (SPM) regarding Gimp, which you do not need to do, but, G'mic is a really good set of easy image tools for Gimp.

Install G'MIC plugin for Gimp
http://ubuntuhandbook.org/index.php/201 ... buntu-ppa/

a G'mic web site
http://gmic.eu/gimp.shtml

To install G'mic plugin using the PPA, get out of Gimp, bring up a console terminal prompt, type in each line below one at a time, or copy & paste each line below:

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp-gmic


2. Bring up Gimp, Open one of your images, then go to the "Filters", then "G'mic", click "details", click "Freaky Details" :) , increase "iterations" to 3 or 4, click "apply", click "ok", then I usually do "file", "export as", and pick a name and image type like ".jpg" to save space, you can pick whatever image file type you want, obviously.

Note: You might have even better results trying the various other G'mic options, or combinations of them, as well.

Here is what your image looks like after applying G'mic's "Freaky Details": (I think it did pretty well)
FB_Gmic_FD_1.jpg

Here is a screen shot of the Gimp G'mic screen using "Freaky Details"
FredBarclay_SheetMusic1.jpg
3. I am interested in the other Gimp plugin "Nuvola Tools" that I mentioned before, but as of now, I cannot get that working. I tried to install "Nuvola" manually without running their script, by making sure all their program dependencies were installed from the repositories, and then manually copying the script (.py) to my various Gimp folders, but it still did not show up in Gimp? I guess I'll give their script a try now.

4. I forgot to mention too, that if you have the original documents (ex: sheet music), then most scanners and scanning interface software have options in there for "greyscale" for enhanced black and white scans, and to increase "darken" and or to increase "sharpen (sharpness)" as well which might obsolete the need to enhance the images using any image editing software ...


But, since you seemed in a hurry, I thought I would let you know of some alternative methods to do this ...

Hope this helps ...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
JohnBobSmith
Level 4
Level 4
Posts: 338
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Re: GIMP genuises needed! Darken copied music...

Post by JohnBobSmith » Thu Aug 13, 2015 9:13 pm

Greetings fred,

There may be a way to use a gradient to selectively and gradually darken areas of the music. I am going to see what I can do and post the results. :D
Image
If you want to change the world, start by changing yourself.
Success is often 1% inspiration and 99% perspiration.
You get one shot at life, so live to the maximum, not the minimum.

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4207
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: GIMP genuises needed! Darken copied music...

Post by Fred Barclay » Fri Aug 14, 2015 3:08 pm

UPDATE: Thanks to everyone (esp. phd21) for their help! I'm continuing to work on it but I suspect any of you could do twice the work in half the time... :D

I think the "Freaky Details" one is probably the best so far. I do worry about how easy it'll be to play the piano with. I already know the words and the Bass and Alto parts so that's not so much of a worry.
Cheers, mates!
Fred
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
Try'n 2 Learn
Level 4
Level 4
Posts: 412
Joined: Tue Jun 02, 2015 12:54 pm

Re: GIMP genuises needed! Darken copied music...

Post by Try'n 2 Learn » Thu Aug 20, 2015 2:27 pm

god, i am such a newb Fred, so i really try to keep my mouth shut in the Debian area. but i have to offer this http://tipsfor.us/2006/12/26/run-finale ... with-wine/ i, by no means, understand wine yet, at all, and i have so much other learning stuff to attend to first... i hate to even say it, but my M$oft machine has a newer version of Finale. and let me tell you Fred, it is Extremely customizable. i just had to share this because of my love for the arts and music more specifically here in this post. thanks for your patience Debian members, i'll be going now.
Last edited by Try'n 2 Learn on Thu Aug 20, 2015 4:44 pm, edited 1 time in total.

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4207
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: GIMP genuises needed! Darken copied music...

Post by Fred Barclay » Thu Aug 20, 2015 2:43 pm

I'm still working on this. No "real" luck yet. I probably should have studied Gimp earlier!

@T2L: The only problem is that I don't have Finale... I'd probably run it under one of my virtual Windows too, that way I can avoid Wine.
@phd21: Forgot to say last time that a PPA and LMDE really arent supposed to go together. :(
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Thu Aug 20, 2015 3:47 pm

Hi Fred, Try'n 2 Learn, and anyone else interested in this,

Since user "Try'n 2 Learn", brought up "Finale" and a web link, I thought I would respond to it and give my thoughts on this as well. (of course :) ).

"Finale" Music Notation Software to "Compose. Arrange. Teach. Share" music. The article in the link makes assumptions, assertions, that well, put simply, are not accurate regarding current Linux operating systems, like Linux Mint, and that there are no Linux applications for certain comparable major software applications that run on MS Windows or Mac, see quote below. There are in fact applications that do exist in Linux that (arguably) run as well or better in Linux, some of those mentioned can run under Linux "Wine", like "Finale" as the article shows. Some might require the use of more than one Linux application to accomplish the same task, and most of the Linux programs are free. Of course, you can also run any of these applications under Linux Mint using a "Virtual Machine" as well, like "VirtualBox" or "VMware" with Windows or Mac OS's installed in either one,
"However, one major complaint about Linux is the lack of availability of specific major applications, especially those pertaining to professional video and audio production. Examples of such applications include Photoshop, Pro Tools, Final Cut, and Finale."
There are numerous really good posts and articles in this forum and other forums regarding really good Linux alternative programs to "Photoshop" (image editors), other Adobe products too, Pro Tools (Audio production), Final Cut (video editing), and Finale (music Composer, score writing, etc...).

And since this post's thread sort of pertains to music, which I love as well, I will now focus on Linux alternative to "Finale", although as already mentioned, you can run "Finale" in Linux Mint using "Wine".

Two Linux programs that come to mind immediately regarding "Finale" type programs are:

"MuseScore" is a free music notation and composition software available for Linux, Windows and Mac. Create, play and print beautiful sheet music. "Its open source community now boasts more than 250 contributors adding to the project. This includes making the software available in new languages, fixing bugs, writing documentation, creating video tutorials, and so on."
https://musescore.org/

"LilyPond" ... music notation for everyone, LilyPond is a music engraving program, devoted to producing the highest-quality sheet music possible. It brings the aesthetics of traditionally engraved music to computer printouts. LilyPond is free software and part of the GNU Project.
http://www.lilypond.org/

"Rosegarden" is a music composition and editing environment based around a MIDI sequencer that features a rich understanding of music notation and includes basic support for digital audio.
Rosegarden is an easy-to-learn, attractive application that runs on Linux, ideal for composers, musicians, music students, and small studio or home recording environments.
Rosegarden (http://www.rosegardenmusic.com/)


Linux Alternatives To "Finale"
http://alternativeto.net/software/final ... form=linux

Denemo (http://www.denemo.org/)

Brahms (http://brahms.sourceforge.net/)


"Impro-Visor", Open Source by Harvey Mudd College - Computer Science D... | Mac, Windows, Linux
Impro-Visor (short for “Improvisation Advisor”) is a music notation program designed to help jazz musicians compose and hear solos similar to ones that might be improvised. The objective is to improve...

"Melody Assistant" is dedicated to music writing, printing and rendering. Easy to use, Melody Assistant offers a user-friendly interface and powerful capabilities. Now used by a very active community of...

NtEd - Open Source | Linux
NtEd is a GTK+ score editor. It intends to be really WYSIWYG: what you see on the screen is exactly what you get on printer output. It supports up to 4 voices per staff, drum notes, 5 lyrics lines, N-Tuplets...

Frescobaldi - Open Source | Mac, Windows, Linux
Frescobaldi is a LilyPond sheet music text editor. It aims to be powerful, yet lightweight and easy to use. Frescobaldi is Free Software, freely available under the General Public License.

"Harmony Assistant" - Commercial by Myriad Software | Mac, Windows, Linux
Harmony Assistant is an unbeatable software for computer-assisted music composition and editing. Its harmonizing capabilities enable the composer to build quickly and efficiently tunes that include...

"music21" - Open Source by Michael Cuthbert, Christopher Ariza, Oth... | Mac, Windows, Linux
Music21 is a Python-based toolkit for computer-aided musicology. Applications of this toolkit include computational musicology, music informations, musical example extraction and generation, music notation...


"ABCJ" - Open Source by Steve Spencer-Jowett | Mac, Windows, Linux, Web / Cloud
ABCJ is a pure-Java editor, player and librarian for music files stored using Chris Walshaw's ABC notation. Features :-. • ABCJ maintains a library of ABC files. Once a tune book (ABC file) has been...


"DGuitar" - Open Source by Mauricio Gracia Gutierrez | Mac, Windows, Linux, BSD
DGuitar is a Small Guitar Pro iconGuitar Pro (*.GP4,*.GP3,GTP) viewer, player that works under Linux, MacOs, Solaris, BSD, Windows and any other Operational System that has Java Runtime Environment 1.4 or later installed.

"Canorus Music Score Editor" - Open Source by Georg Rudolph | Mac, Windows, Linux, BSD
Canorus is a free cross-platform music score editor. It supports an unlimited number and length of staffs, polyphony, a MIDI playback of notes, chord markings, lyrics, import/export filters to formats like...


Open Source Alternatives For Music Composition,Editing, and Recording
https://bbs.archlinux.org/viewtopic.php?id=120455

* 10 snazzy music production tools for Ubuntu
http://www.techdrivein.com/2014/02/10-m ... linux.html

* Professional Audio Production on Linux
https://www.linux.com/learn/docs/694629 ... n-on-linux

* Pro Audio
https://wiki.archlinux.org/index.php/Pro_Audio


So, can you hear the music now .... and see it, and compose it, and play it, etc.... :wink:
Last edited by phd21 on Fri Aug 21, 2015 3:02 am, edited 7 times in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Thu Aug 20, 2015 4:18 pm

Fred Barclay wrote:I'm still working on this. No "real" luck yet. I probably should have studied Gimp earlier!

@T2L: The only problem is that I don't have Finale... I'd probably run it under one of my virtual Windows too, that way I can avoid Wine.
@phd21: Forgot to say last time that a PPA and LMDE really arent supposed to go together. :(
Hi Fred,

I did not realize that you are using LMDE versus the regular Linux Mint based on Ubuntu. Did you check the Software Manager or Synaptic Package Manager (SPM) to see if "g'mic" was already in there, I think it might be... I remember reading that Linux Mint LMDE cannot use PPA's to install things, that's too bad, but I do not know if that is still the case. You can try it, if you want...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
phd21
Level 19
Level 19
Posts: 9296
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: GIMP genuises needed! Darken copied music...

Post by phd21 » Mon Sep 14, 2015 3:48 pm

Hi Fred Barclay,

Awhile ago (08-31-2015), I got your PM and email with your sheet music images to clean up and enhance like you asked me to do. That same day you sent them, I cleaned up and enhanced those and emailed them back to you. Yet, I have not heard from you whether you received them or not?
Hi Fred,

Ok, here are your enhanced Sheet Music images that you sent, saved as ".jpg" image files and Gimp's ".xcf" default image format in case you wanted to do any more image editing....

Project 08-31-2015
Linux Mint Forum User Fred Barclay

Enhance Sheet Music using Gimp G'mic plugins and email back...

Given: 8 images sent to me in one PDF file.
Processed: Used "Master PDF Editor", clicked "Documents" option, then "Extract pages" by page to separate files.
Brought up Gimp to edit them, Filters, G'mic, details, freaky details, iterations=3, apply, ok.

Best regards,
Phil
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4207
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: GIMP genuises needed! Darken copied music...

Post by Fred Barclay » Mon Sep 14, 2015 3:56 pm

Sorry--I was shipped off and haven't had a chance to print them yet--no printers near me. :oops: I'll probably be able to see within a week. :)
I haven't forgotten, I promise, but I should have at least let you know earlier.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4207
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: GIMP genuises needed! Darken copied music...

Post by Fred Barclay » Tue Sep 29, 2015 4:08 pm

I'm still not near a printer but they look great on my screen! I'd have no trouble playing the music now. :) The words are a tad difficult to read (on my small screen), but hey, I know 'em already!
Thanks, phd21!
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein

Locked

Return to “Software & Applications”