Package com.gmail.jafelds.ppedits

Examples of com.gmail.jafelds.ppedits.Chart


    stepChart.setLayer(mcp, 1000);
    shadow.setBounds(96, 96, shadow.getWidth(), shadow.getHeight());
    stepChart.add(shadow);
    stepChart.setLayer(shadow, Integer.MAX_VALUE - 10000);
   
    ch = new Chart(); // reasonable default
    ch.setStyle(Styles.DUMMY);
    ch.setDifficulty(Integer.parseInt(DEFAULT_DIFF));
    ch.setEditName(DEFAULT_EDIT);
   
    ArrayList<String> sList = ch.getSQLite().getSongList();
View Full Code Here


   * @throws SQLException
   * @throws ClassNotFoundException
   */
  public static void main(String[] args) throws SQLException, ClassNotFoundException
  {
    Chart ch = new Chart("2006 Love Song", Styles.SINGLE);
   
    // Insert a topleft hold ending on the 3rd 6th on the 2nd measure.
    ch.getMeasure(1).getBeat(0).setNote(1, Notes.HOLD_HEAD);
    ch.getMeasure(1).getBeat(64).setNote(1, Notes.HOLD_TAIL);
   
    // Insert a topright arrow on the 3rd measure, last possible "3rd" note.
    ch.getMeasure(2).getBeat(128).setNote(3, Notes.TAP);
   
    // Insert a mine row on the 4th measure, last possible "8th" note.
    for (int i = 0; i < 5; i++)
    ch.getMeasure(3).getBeat(168).setNote(i, Notes.MINE);
   
    // Insert a center arrow on the 5th measure, quarter note.
    ch.getMeasure(4).getBeat(0).setNote(2, Notes.TAP);
   
    // Insert a bottom jump on the 6th measure, half note.
    ch.getMeasure(5).getBeat(96).setNote(0, Notes.TAP);
    ch.getMeasure(5).getBeat(96).setNote(4, Notes.TAP);
   
    System.out.println(ch);
  }
View Full Code Here

TOP

Related Classes of com.gmail.jafelds.ppedits.Chart

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.