equal
deleted
inserted
replaced
48 var doubleroll = new annotviz.DoubleRoll({ |
48 var doubleroll = new annotviz.DoubleRoll({ |
49 stageView : stageView, |
49 stageView : stageView, |
50 logger: logger, |
50 logger: logger, |
51 ws: new annotviz.WsWrapper(wsUriPianoroll, logger), |
51 ws: new annotviz.WsWrapper(wsUriPianoroll, logger), |
52 orientation: 'vertical', |
52 orientation: 'vertical', |
53 sceneHeight: 1080, |
53 sceneHeight: 768, |
54 pianorolls : [ |
54 pianorolls : [ |
55 { |
55 { |
56 height: 435, |
56 height: 435, |
57 timeWidth: 60, |
57 timeWidth: 60, |
58 lineInterval: 5000, |
58 lineInterval: 5000, |
64 var annotsroll = new annotviz.AnnotsRoll({ |
64 var annotsroll = new annotviz.AnnotsRoll({ |
65 stageView : stageView, |
65 stageView : stageView, |
66 logger: logger, |
66 logger: logger, |
67 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
67 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
68 parentContainer: doubleroll.stage, |
68 parentContainer: doubleroll.stage, |
69 xInit: 1920 - 435 - 300, |
69 xInit: 1024 - 435 - 300, |
70 yInit: 1080, |
70 yInit: 768, |
71 width: 435 + 300, |
71 width: 435 + 300, |
72 height: 1080, |
72 height: 768, |
73 widthRoll: 300, |
73 widthRoll: 300, |
74 framerate: doubleroll.framerate, |
74 framerate: doubleroll.framerate, |
75 pixelsPerSecond: Math.floor(1920 / 60), |
75 pixelsPerSecond: Math.floor(1920 / 60), |
76 annotColors: [{ts: 0, colors: {'ntm' : '#cdc83f'}}], |
76 annotColors: [{ts: 0, colors: {'ntm' : '#cdc83f'}}], |
77 }); |
77 }); |