Slashdot Mirror


Converting a Musical Score to a Playable Melody?

SA_Democrat asks: "As a geek who has recently discovered that he has a voice, I find myself looking for a particular style of software. I've joined a local chorale group, and am often the only bass singer in attendance. This means that I have to puzzle out fairly complicated pieces of music and pick out the melody on a keyboard between rehearsals. As a person who decodes music rather than someone who sight-reads, I find this extraordinarily difficult, especially when managing differing key and time signatures within a given piece. Does anyone have any experience with open-source software that allows the user to enter a piece of music using musical notation, and then plays that piece? I have found an astonishing array of programs that will play MP3, WAV files etc. but have not located anything that uses this more old fashioned method. If possible, the software should understand common notation like time signatures, keys, glissades, and so forth. What does Slashdot recommend?"

24 of 78 comments (clear)

  1. Easy Question. by students · · Score: 5, Informative

    There are a wide variety of these programs. I use NoteEdit. It was very hard for me to install it on my SuSE 9 machine, but it works well. Make sure you have TiMidity server, which is used for playback, installed and running or else NoteEdit will crash as soon as you start it, giving a cryptic error message. Sometimes running TiMidity will interfere with other sounds on my box, which is annoying, so I have to turn it on and off. If you want to print music you've inputed to NoteEdit, you need LaTeX installed. Remember, the commands to convert a LaTeX file to a musical score are:

    $ latex filename.tex
    $ musixflx filename.tex
    $ latex filename.tex

    I got this wrong for a while, even with the VERY noticable reminder from NoteEdit.

    One of the other programs available is Rose Garden. Rose Garden is more mature but also less intuitive and oriented towards synthesis as opposed to performances.

    If you get to be hard-core about editing scores on your Linux box, the best program around for professional score engraving will already be installed on your computer with the LaTeX distribution you aquired for printing the output from NoteEdit. See this Giant Musixtex Manual. I often typeset complex mathematics, but I have not yet been able to master musixtex, so good luck there.

    1. Re:Easy Question. by jrockway · · Score: 4, Insightful

      Problems? This is how UNIX works. One program handles sound. Another program handles typesetting. A third program handles data entry. This allows people to change one component without changing (or reimplementing) the others. It's a good thing. If you write your own typesetting engine, for example, you can still use the same software to edit and play the music. That's pretty cool. And it wouldn't happen if everything was one giant rolled-together piece of software.

      As for it being hard to install, Debian didn't seem to have a problem with it. Not my cup of tea (I use emacs + lilypond + timidity), but it's not as bad as you would think. If you're a Windows or Mac user used to having everything under one GUI and one program performing thousands of tasks, it's a change in your workflow. But it's how UNIX works, and this program is not the first to work like this. (Look at any X program. It requires an X server to run. A sound program requiring a sound server is no different! Not every app can use the screen at once, so X manages it. Not every app can use the CPU at once, so the kernel manages that. Not every app can play/record sound/midi at once, so a sound server manages that.)

      If there are other problems (with usability, etc.), I think the developers would like to hear about them so they can fix them :) If you know how to code, providing code would be good. That's how OSS works. Whining on slashdot about how something you didn't pay for is hard to use isn't going to get you sympathy or, for that matter, anywhere useful. Be part of the solution, not the problem :)

      --
      My other car is first.
  2. Midi? by jZnat · · Score: 3, Informative

    I'm assuming you don't want MIDI despite its wide range of support and whatnot. It is limited, however, so I can see why you'd like something better. Honestly though, have you tried using MIDI? It's decades old and still used widely.

    --
    'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    1. Re:Midi? by mabinogi · · Score: 2, Informative

      MIDI is a wire protocol and physical interface for communicating between different instruments. (Musical Instrument Digital Interface)
      It has nothing whatsoever to do with notation.

      --
      Advanced users are users too!
    2. Re:Midi? by bleaknik · · Score: 3, Informative

      Anvil Studio was one of my favorite editors... no less than three years ago when I last used it.

      You may wish to investigate FInale, although I believe that will cost you a pretty penny these days.

      --
      Deja Vu
      n. 1. The sensation that you've read this very article before.
    3. Re:Midi? by Geoffreyerffoeg · · Score: 4, Insightful

      MIDI is a wire protocol and physical interface for communicating between different instruments. (Musical Instrument Digital Interface)
      It has nothing whatsoever to do with notation.


      And MP3 is a compression codec and has nothing to do with music, right?

      MIDI is both a wire interface/protocol and a file format; it lends itself to describing music in terms of notes as opposed to waveforms, which is what this guy was asking about.

    4. Re:Midi? by mabinogi · · Score: 2, Informative

      MIDI has something to do with Music, but nothing to do with Notation.
      It does not describe music as notes, but as events, and has no direct representation of most score notations.

      Some (most) Notation editors may well have export to MIDI files, and will probably allow playback via a MIDI device.
      Also, most MIDI sequencing software will probably have some sort of notation view for entry. But that still doesn't change the fact that MIDI is not the answer, software that allows entry of Notation, and playback by some (any) means is what he's asking for.

      He most probably wants a notation program, like Finale, Sibelius, or Harmony Assistant / Melody Assistant (There's OSS ones too, but I'm not familiar with them) as MIDI sequencers like Cakewalk, Cubase and Logic tend to have fairly poor notation entry capabilities, and you have to make a tradeoff between accurate playback, or correct notation.

      --
      Advanced users are users too!
  3. Free music notation software by Ugmo · · Score: 5, Informative

    For simple songs and melodies there are various utilities that use abc music notation.
    Here is a page listing them: http://staffweb.cms.gre.ac.uk/~c.walshaw/abc/

    This lets you enter music using letters and other utilities will convert it into midi or wav files.

    Something similiar and free is the Guido system. It is designed to handle more complicated pieces:
    http://www.informatik.tu-darmstadt.de/AFS/GUIDO/

    Another free system is Rosegarden:http://www.rosegardenmusic.com/

    1. Re:Free music notation software by tonsofpcs · · Score: 2

      and for the DOS user in you, you can use the PLAY command in QBASIC or QuickBASIC.

  4. Lilypond by Matt+Perry · · Score: 3, Informative
    This might be more work than you want to do. You can re-enter the music in Lilypond's format and then use Lilypond to convert the score to a MIDI file for playback. You can covert a score by doing the following:
    lilypond -m score.ly
    which should output a MIDI file for you.

    As an alternative you can use the ABC format. You can then use abc2ly to convert to Lilypond format and then use the command above to convert to MIDI. Example:

    abc2ly score.abc
    lilypond -m score.ly

    I know you asked for open-source software, but if you are using a Mac or Windows machine you might want to look at Finale Notepad. It's free and should let you drag and drop notes to recreate the score and then play it back as MIDI.

    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  5. Maybe you should learn to sight-sing? by jrockway · · Score: 4, Insightful

    I don't think this is a problem that a computer can solve for you. I think you need to learn to sight-sing like everyone else. If you can at least sing major scales, then I think practicing from a book like "Music for Sight Singing" by Robert W. Ottman (ISBN 0-13-189662-8) might be helpful. Knowing "how music works" is essential for singing it -- the notes on the page aren't randomly generated, you know. Therefore, knowing something about music theory would also help you. More than some computer program, anyway.

    Anyway, I'm a music minor so maybe I am too much of a purist.

    --
    My other car is first.
    1. Re:Maybe you should learn to sight-sing? by John+Hasler · · Score: 2, Insightful

      > Anyway, I'm a music minor so maybe I am too much of a purist.

      You are.

      > Knowing "how music works" is essential for singing it -- the notes
      > on the page aren't randomly generated, you know. Therefore, knowing
      > something about music theory would also help you. More than some
      > computer program, anyway.

      What's wrong with using the computer as a learning tool? Like the OP, I would like to learn to read music (he's farther along than I am). With the program I am looking for, I could enter bits of notation and see if it means what I think it does. Why would that not be helpful?

      When I last looked into this a year or so ago the available tools were either so buggy as to be useless or excessively complex for my purpose (or, in some cases, both)

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Maybe you should learn to sight-sing? by bcrowell · · Score: 4, Informative

      If you can at least sing major scales, then I think practicing from a book like "Music for Sight Singing" by Robert W. Ottman (ISBN 0-13-189662-8) might be helpful.
      A free alternative to Ottman: Eyes and Ears

    3. Re:Maybe you should learn to sight-sing? by bcrowell · · Score: 3, Informative

      The OP sounds like he wants to do some pretty serious choral singing. If he wants to do that, it's going to be extremely limiting if he doesn't learn at least a little bit of sight reading. The simplest thing to do would be to enroll in a musicianship course at a community college (typically 1 unit).

    4. Re:Maybe you should learn to sight-sing? by fm6 · · Score: 4, Informative
      Knowing "how music works" is essential for singing it
      Nonsense. There was music long before there were books about it. Music is hard-wired into the mammalian brain. The skills you learn from a music teacher is extremely helpful and useful, but music itself is something you're born knowing how to do.

      Irving Berlin is a case in point. Despite being a gifted songwriter (literally hundreds of hits), he never learned to read music at all, and only learned to play the piano in one key. Solution: hire somebody to build a special piano that could transpose with the pull of a lever, and somebody else to transcribe the music and songs he created.

      OK, not a solution for everybody. And besides, the musical skills you mention are certainly work acquiring. But there are passable technological substitutes. Berlin had no trouble finding them 80 years ago. He'd have even less now.

      I'm told that Danny Elfman also resorts to technological substitutes for musical training. But I find his work predictable and repetitive, so never mind.

    5. Re:Maybe you should learn to sight-sing? by John+Hasler · · Score: 2, Insightful

      > OK, not a solution for everybody. And besides, the musical skills
      > you mention are certainly work acquiring. But there are passable
      > technological substitutes.

      Like me, the OP appears to be looking for technological learning tools, not technological subsitutes for learning.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    6. Re:Maybe you should learn to sight-sing? by gowen · · Score: 2, Insightful

      I agree that some sight-reading is necessary, but it takes a hell of a long time to become really proficient at it. And, in the absence of dedicated teaching, or sufficient skill on an instrument to play it for yourself [which won't help if you can't figure out complicated rhythmic notation], you'll need some method of knowing how it should sound.

      Which leads us back to the original question...

      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
  6. Finale!!! by Keick · · Score: 2, Informative

    Try Finale at http://www.finalemusic.com/ from Code software.

    It will let you enter music note by note, or from a midi keyboard. Best of all, it will let you import sheet music with your scanner, very slick.

    I know that at my local college I can pick up the student edition for next to nothing.

  7. Parent is dead on by Corf · · Score: 4, Informative

    Several semesters of music theory in college - three hours a week analyzing and two hours a week singing - did amazing things for my sightsinging ability. Go to your local university music department and audit a class, if that's an option. You will learn far more than you thought you would. Before that class, I couldn't find middle C on a piano. Now, I can sing just about any interval you like, up to and including twelve-tone stuff. It ain't just me.

    Also in my case, playin' French horn tends to make one need to know this stuff, since the intervals are too close to just mash the keys and hope the right note comes out. :P Singing isn't really too much farther off.

    --
    The pain was excruciating and the scarring is likely permanent, but that just means it's working.
  8. My take by SocialEngineer · · Score: 3, Informative

    As a composer and instrumentalist, I love Rosegarden. I haven't had a chance to produce any major works in it yet, though; I'm still familiarizing myself with it. Regardless, the power of it is incredible.

    Only problem is it can be a bit of a hassle to get working. Other than that, I love it.

    Most of my recent pieces I have done in Steinberg Cubasis VST (Creative Edition), just because I can use the Sampletank2 Free VST instrument with it (in Windows). If you'd like to hear some of my stuff, you'll have to visit my site and find em' (sorry, gotta save bandwidth, so lazy people aren't just downloading because they have phat pipe :)).

    --
    "Better to be vulgar than non-existent" -Bev Henson
  9. Try LilyPond by Michael+Duggan · · Score: 2, Informative
    I have had much the same problem myself. As for me, I use LilyPond. Technically, it is a music typesetting program, but has MIDI output capability, primarily for proofing scores. Whenever my wife or I need an accompaniment, I type in the score, and produce MIDI files for voice, accompaniment, and both.

    Like TeX, LilyPond uses text input rather than a GUI (although GUIs exist which output in LilyPond format). It is a little awkward at first, but with practice I (and several others) have found that inputting scores is much faster via this method.

  10. linux-sound.org by zerblat · · Score: 2, Informative

    Since nobody has mentioned it yet, the best place to find music and sound related software for Linux based systems is Dave Phillips's site linux-sound.org. It lists, among other things, lots of notation software and helpful tools for musicians.

    --
    Please alter my pants as fashion dictates.
  11. learn solfege by hanwen · · Score: 2, Informative
    There are some packages for dealing with music (in the sense of notes), like RoseGarden and LilyPond (which I wrote, incidentally). You could use them to enter the score, and then play it back to you over MIDI.

    However, I think that improving your solfege skills directly a much better investment of your time, since you won't have to muck around with producing notation. It's something you can practice with a piano, but there is also software. If you run linux you can consider GNU Solfege. It's got a lot of theoretical stuff that's not useful for a beginning singer, but there are also a lot of practical excercises IIRC.

    --

    Han-Wen Nienhuys -- LilyPond

  12. Optical Music Recognition by Paul+Lamere · · Score: 2, Interesting
    There's a nice table of OMR programs (some free, some commercial) maintained by Don Byrd of the School of Music at Indiana University: OMR Systems.

    For fun, Don also maintains the Extremes of Conventional Music Notation where he records the extremes found in written music. Some interesting excerpted tidbits:

    • softest pppppppp (8 p's) in Ligeti's Etudes for Piano, 1st Book
    • loudest ffffffff (8 f's) in Ligeti: Etudes for Piano, 2nd Book, (the 1812 overture only reaches ffff)
    • Instruments to be played by one performer in a piece - *Mahler: Symphony no. 5 calls for one clarinetist playing six different instruments.
    • Most repeated notes in a melody - 32 in Prokofieff: Toccata, Op. 11 (1912)

    There are many others, quite interesting.