Package jm.audio

Examples of jm.audio.Instrument


                    } else System.out.print(".");
          Note new_note = note.copy();
                    //System.out.println("new note pitch = " + new_note.getPitch());
          new_note.setDuration(phrase_ratio * note.getDuration());
          new_note.setRhythmValue(phrase_ratio * note.getRhythmValue());
                    Instrument currInst = (Instrument)inst.peek();
          currInst.setBlock(false);
          currInst.setFinished(true);
          currInst.renderNote(new_note,((double)time+ntime));
          currInst.setFinished(false);
          currInst.iterateChain();
          ntime += phrase_ratio * note.getRhythmValue();
        }
                               
        System.out.println();
                // remove phrase instrument from stack
View Full Code Here

TOP

Related Classes of jm.audio.Instrument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.