Results 1 to 1 of 1
Thread: Create and play midi notes
- 04-26-2010, 12:18 AM #1
Member
- Join Date
- Apr 2010
- Location
- Pittsburgh
- Posts
- 1
- Rep Power
- 0
Create and play midi notes
How can I make a method that in one instant plays an ArrayList of notes (ints, I suppose)? I'm looking for something like
public static void playNotes(ArrayList<Integer> notes, volume) {
// code
}
So far, I have found a code that plays a single note, ( /home/matthias/java/jsresources/examples/src/MidiNote.java ), but the problem looping through my notes with this code, is that it will only play one note at a time, as it does not continue executing my code until it is done playing the note. I really don't want the playing of the notes to postpone the rest of runtime.
How should I attack this?
Similar Threads
-
Form Notes
By creel in forum Java AppletsReplies: 0Last Post: 02-02-2008, 01:25 AM -
How to create Lotus Notes controlled-access using java?
By menes in forum New To JavaReplies: 0Last Post: 01-22-2008, 03:31 AM -
printing MIDI notes on a music staff
By kbyrne in forum Advanced JavaReplies: 0Last Post: 12-29-2007, 07:50 PM -
printing MIDI notes on a music staff
By kbyrne in forum AWT / SwingReplies: 0Last Post: 12-29-2007, 05:30 PM -
how to play MIDI in java application?
By oregon in forum Advanced JavaReplies: 1Last Post: 08-07-2007, 02:26 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks