equal
deleted
inserted
replaced
96 lineColor: this.lineColor, |
96 lineColor: this.lineColor, |
97 lineInterval: lineInterval, |
97 lineInterval: lineInterval, |
98 offsetMusic: offsetMusic, |
98 offsetMusic: offsetMusic, |
99 }; |
99 }; |
100 |
100 |
101 var yInit = 0; |
101 var yInit = opts.yInit || 0; |
102 var linesDown = true; |
102 var linesDown = true; |
103 _(opts.pianorolls).forEach(function(prDef, i) { |
103 _(opts.pianorolls).forEach(function(prDef, i) { |
104 var prNoteHeight = noteHeight || prDef.noteHeight || prDef.height / 128; |
104 var prNoteHeight = noteHeight || prDef.noteHeight || prDef.height / 128; |
105 var prTimeWidth = prDef.timeWidth || timeWidth; |
105 var prTimeWidth = prDef.timeWidth || timeWidth; |
106 pianorollList.push(new PianoRoll(_({ |
106 pianorollList.push(new PianoRoll(_({ |