public void Execute() { var score = new LilypondScoreBuilder(_lilypondText).Build(); var sequence = new SequenceBuilder(score).Build(); sequence.Save(_fileName); }
public bool Load(string input) { try { var score = new LilypondScoreBuilder(input).Build(); if (score == null) { return(false); } _score = score; return(true); } catch (Exception e) { throw new InvalidScoreException("Couldn't generate score", e); } }