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?"

13 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 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.
    2. 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.

  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/

  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 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

    2. 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).

    3. 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.

  6. 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.
  7. 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