Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By KevinWorkman

Thread: Coding a music composition program

  1. #1
    Daimoth's Avatar
    Daimoth is offline Member
    Join Date
    Jul 2011
    Posts
    35
    Rep Power
    0

    Default Coding a music composition program

    I'm coding a cross between a music composition program and a DAW. So like Finale or Guitar Pro, but with user provided audio samples (read: not necessarily midi bleeps) and some rudimentary effects/mixing that, ideally, won't require any external libraries which might threaten platform independence.

    I'm at the point where it's time to nail down how I will go turn sheet music into code, into audio output. I'll be starting simply, with quarter notes in 4/4, but with variable tempo. How I begin implementing this is critical, so I wanted to ask around before diving into it. How would you go about it? Would it be prudent to make use of the midi package, or just code my own little framework by leveraging the Timing Framework API? I'll probably make use of that API regardless, actually. And I'll be using Swing.

    Thanks in advance.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,143
    Rep Power
    14

    Default Re: Coding a music composition program

    You might look into using JavaFX instead of Swing, since JavaFX supposedly has better audio support: https://docs.oracle.com/javafx/2/media/overview.htm
    DarrylBurke likes this.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. Replies: 1
    Last Post: 07-13-2013, 03:05 AM
  2. How to insert music such mp3 to java program
    By palie in forum New To Java
    Replies: 4
    Last Post: 03-23-2012, 04:44 AM
  3. playing music while program runs
    By liluma in forum New To Java
    Replies: 2
    Last Post: 05-04-2011, 05:16 PM
  4. Change program written with inheritance to composition
    By subiedude101 in forum New To Java
    Replies: 1
    Last Post: 03-21-2011, 02:14 AM
  5. Music in Java Program
    By AWPtic in forum New To Java
    Replies: 1
    Last Post: 04-06-2009, 06:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •