annot-server/webapp/templates/pianoroll.html
changeset 154 e35e7efb7b6b
parent 153 60bd2b36b9dc
child 155 63217081396f
equal deleted inserted replaced
153:60bd2b36b9dc 154:e35e7efb7b6b
    30 
    30 
    31     var logger = new annotviz.HtmlLogger(false, 'log');
    31     var logger = new annotviz.HtmlLogger(false, 'log');
    32 
    32 
    33     var stageView = new annotviz.StageView({
    33     var stageView = new annotviz.StageView({
    34         logger: logger,
    34         logger: logger,
    35         sceneWidth: 1024,
    35         sceneWidth: 1920,
       
    36         sceneHeight: 800,
    36     });
    37     });
    37     
    38     
    38     var doubleroll = new annotviz.DoubleRoll({
    39     var doubleroll = new annotviz.DoubleRoll({
    39     	logger: logger,
    40     	logger: logger,
    40         stageView: stageView,
    41         stageView: stageView,
    41         ws: new annotviz.WsWrapper(wsUri),
    42         ws: new annotviz.WsWrapper(wsUri),
    42     	orientation: 'horizontal',
    43     	orientation: 'horizontal',
    43     	showTimer: true,
    44     	showTimer: true,
    44     	sceneWidth: 1024,
    45     	sceneWidth: 1920,
    45     	sceneHeight: 768,
    46     	sceneHeight: 800,
    46     	zeroShift: 1,
    47     	zeroShift: 1,
    47         pianorolls : [
    48         pianorolls : [
    48 		  {
    49 		  {
    49 		    height: 384,
    50 		    height: 400,
    50 		    timeWidth: 10,
    51 		    timeWidth: 10,
    51 		    lineInterval: 5000,
    52 		    lineInterval: 5000,
    52 		    noteHeight: undefined,
    53 		    noteHeight: undefined,
    53 		    range: {
    54 		    range: {
    54 				bottom: 40,
    55 				bottom: 40,
    55 				top: 90,
    56 				top: 90,
    56 		    },
    57 		    },
    57 		    dynamicRange: true,
    58 		    dynamicRange: true,
    58 		  },
    59 		  },
    59 		  {
    60 		  {
    60 		    height: 384,
    61 		    height: 400,
    61 		    timeWidth: 60,
    62 		    timeWidth: 60,
    62 		    lineInterval: 5000,
    63 		    lineInterval: 5000,
    63 		    noteHeight: undefined,
    64 		    noteHeight: undefined,
    64 		    range:{
    65 		    range:{
    65 				bottom: 0,
    66 				bottom: 0,