Opus+ Version 1.0 Java API

opusplus.core.lilypond
Class LilypondParser

java.lang.Object
  extended by opusplus.core.lilypond.LilypondParser

public class LilypondParser
extends java.lang.Object

    

Class that parses the simple Lilypond generated and handled by Opus+

Author:
Adrian Marriott

Constructor Summary
LilypondParser()
           
 
Method Summary
 java.util.ArrayList parse(java.lang.String lilypond)
          Parses simple Lilypond strings such as those representing single fragments.
 int pitchStringToValue(java.lang.String pitchString)
          Passed a pitchString in Lilypond format, this function returns the pitch value used internally by Opus+ to represent this note.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LilypondParser

public LilypondParser()
Method Detail

pitchStringToValue

public int pitchStringToValue(java.lang.String pitchString)
Passed a pitchString in Lilypond format, this function returns the pitch value used internally by Opus+ to represent this note. If the pitchString is incorrectly formatted, is outside the range of the pitch rep internals or is not found for some other reason, this method returns Integer.MIN_VALUE.


parse

public java.util.ArrayList parse(java.lang.String lilypond)
Parses simple Lilypond strings such as those representing single fragments.


Opus+ Version 1.0 Java API

Copyright © 2005-2010 Adrian Marriott.
All Rights Reserved.