Package jm.music.data

Examples of jm.music.data.Score.addPart()


                    .doubleValue()
        );

        Score   s = new Score();
        Part    p = new Part();
        s.addPart(p);
        p.addPhrase(phrase);                    
    }               
   
    public boolean isTrebleStave() {
        return getProperty(STAVE_TYPE).equals(TREBLE_STAVE);            
View Full Code Here


    public static void main(String[] args) {

        //BELLS, CRYSTAL, ATMOSPHERE, DROPS, STAR_THEME, SOUNDEFFECTS, BIRD, HELICOPTER, APPLAUSE, GUNSHOT, FRET_NOISE, TOM, SOUNDTRACK

        Score score = new Score();
        score.addPart(new Part(Instruments.CLARINET));
        Phrase phrase = new Phrase();
        score.getPart(0).addPhrase(phrase);

//        addChord(new int[] {60, 63, 65}, 1d, 90, phrase, null, true);
        for (int i = 50; i < 70; i++) {
View Full Code Here

                new Note(JMC.A4, JMC.EIGHTH_NOTE) };

        MainPartGenerator generator = new MainPartGenerator();
        Score score = new Score();
        Part mainPart = new Part("Main", 1);
        score.addPart(mainPart);
        ScoreContext ctx = new ScoreContext();
        ctx.setMetre(new int[] {3, 8});
        ctx.setScale(Scale.MINOR);
        ctx.setKeyNote(5);
        ctx.setNoteLengthCoefficient(1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.