OrderedGroup {
	children [
		Shape {
			appearance Appearance {
				material Material2D {
					emissiveColor 0.8 0.8 0.8
					filled TRUE
				}
			}
			geometry Rectangle {
				size 800 600
			}
		}
		Shape {
			appearance Appearance {
				material Material2D {
					emissiveColor 0 0 0 
					filled TRUE
				}
			}
			geometry Text {
				string ["Loading score..."]
				fontStyle FontStyle {
					family ["Arial"]
					justify ["MIDDLE"]
					size 20
				}
			}
		}

#MUSIC SCORE
		ScoreShape {
			score DEF SCORE MusicScore {
				url 10
				size 790 590
				partsShown [ 1 ]
				startTime 3
				stopTime 44.5 
				loop true
				speed 2
				hyperlinkEnable false
   				}
			geometry Bitmap {}
		}

#TIME HIGHLIGHT BAR
        DEF BAR Transform2D 
        {
            translation 0 0
			children 
            [
				Transform2D
				{
					translation 0 -40
					children
					[
						Shape {
							appearance Appearance {
								material Material2D {
									emissiveColor 0 0 1
									filled TRUE
									transparency 0.6
								}
							}
							geometry DEF BAR_RECT Rectangle {
								size 5 50
							}
						}
					]
				}
			]
		}
		DEF BAR_VAL Valuator {
		}
    ]
}

ROUTE SCORE.highlightPosition TO BAR_VAL.inSFVec3f
ROUTE BAR_VAL.outSFVec2f TO BAR.translation

AT 0
UPDATE OD [
{
   objectDescriptorID  10
   muxScript play.scr
}
]