#!/bin/bash
THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$THISDIR"
cd ..

#MID 0 / Joint 0/ Channel 1 / hip Xposition 
#MID 1 / Joint 0/ Channel 2 / hip Yposition 
#MID 2 / Joint 0/ Channel 3 / hip Zposition 
#MID 3 / Joint 0/ Channel 7 / hip Zrotation 
#MID 4 / Joint 0/ Channel 6 / hip Yrotation 
#MID 5 / Joint 0/ Channel 5 / hip Xrotation 
#MID 6 / Joint 1/ Channel 7 / abdomen Zrotation 
#MID 7 / Joint 1/ Channel 5 / abdomen Xrotation 
#MID 8 / Joint 1/ Channel 6 / abdomen Yrotation 
#MID 9 / Joint 2/ Channel 7 / chest Zrotation 
#MID 10 / Joint 2/ Channel 5 / chest Xrotation 
#MID 11 / Joint 2/ Channel 6 / chest Yrotation 
#MID 12 / Joint 3/ Channel 7 / neck Zrotation 
#MID 13 / Joint 3/ Channel 5 / neck Xrotation 
#MID 14 / Joint 3/ Channel 6 / neck Yrotation 
#MID 15 / Joint 4/ Channel 7 / neck1 Zrotation 
#MID 16 / Joint 4/ Channel 5 / neck1 Xrotation 
#MID 17 / Joint 4/ Channel 6 / neck1 Yrotation 
#MID 18 / Joint 5/ Channel 7 / head Zrotation 
#MID 19 / Joint 5/ Channel 5 / head Xrotation 
#MID 20 / Joint 5/ Channel 6 / head Yrotation 
#MID 21 / Joint 6/ Channel 7 / __jaw Zrotation 
#MID 22 / Joint 6/ Channel 5 / __jaw Xrotation 
#MID 23 / Joint 6/ Channel 6 / __jaw Yrotation 
#MID 24 / Joint 7/ Channel 7 / jaw Zrotation 
#MID 25 / Joint 7/ Channel 5 / jaw Xrotation 
#MID 26 / Joint 7/ Channel 6 / jaw Yrotation 
#MID 27 / Joint 8/ Channel 7 / special04 Zrotation 
#MID 28 / Joint 8/ Channel 5 / special04 Xrotation 
#MID 29 / Joint 8/ Channel 6 / special04 Yrotation 
#MID 30 / Joint 9/ Channel 7 / oris02 Zrotation 
#MID 31 / Joint 9/ Channel 5 / oris02 Xrotation 
#MID 32 / Joint 9/ Channel 6 / oris02 Yrotation 
#MID 33 / Joint 10/ Channel 7 / oris01 Zrotation 
#MID 34 / Joint 10/ Channel 5 / oris01 Xrotation 
#MID 35 / Joint 10/ Channel 6 / oris01 Yrotation 
#MID 36 / Joint 12/ Channel 7 / oris06.l Zrotation 
#MID 37 / Joint 12/ Channel 5 / oris06.l Xrotation 
#MID 38 / Joint 12/ Channel 6 / oris06.l Yrotation 
#MID 39 / Joint 13/ Channel 7 / oris07.l Zrotation 
#MID 40 / Joint 13/ Channel 5 / oris07.l Xrotation 
#MID 41 / Joint 13/ Channel 6 / oris07.l Yrotation 
#MID 42 / Joint 15/ Channel 7 / oris06.r Zrotation 
#MID 43 / Joint 15/ Channel 5 / oris06.r Xrotation 
#MID 44 / Joint 15/ Channel 6 / oris06.r Yrotation 
#MID 45 / Joint 16/ Channel 7 / oris07.r Zrotation 
#MID 46 / Joint 16/ Channel 5 / oris07.r Xrotation 
#MID 47 / Joint 16/ Channel 6 / oris07.r Yrotation 
#MID 48 / Joint 18/ Channel 7 / tongue00 Zrotation 
#MID 49 / Joint 18/ Channel 5 / tongue00 Xrotation 
#MID 50 / Joint 18/ Channel 6 / tongue00 Yrotation 
#MID 51 / Joint 19/ Channel 7 / tongue01 Zrotation 
#MID 52 / Joint 19/ Channel 5 / tongue01 Xrotation 
#MID 53 / Joint 19/ Channel 6 / tongue01 Yrotation 
#MID 54 / Joint 20/ Channel 7 / tongue02 Zrotation 
#MID 55 / Joint 20/ Channel 5 / tongue02 Xrotation 
#MID 56 / Joint 20/ Channel 6 / tongue02 Yrotation 
#MID 57 / Joint 21/ Channel 7 / tongue03 Zrotation 
#MID 58 / Joint 21/ Channel 5 / tongue03 Xrotation 
#MID 59 / Joint 21/ Channel 6 / tongue03 Yrotation 
#MID 60 / Joint 22/ Channel 7 / __tongue04 Zrotation 
#MID 61 / Joint 22/ Channel 5 / __tongue04 Xrotation 
#MID 62 / Joint 22/ Channel 6 / __tongue04 Yrotation 
#MID 63 / Joint 23/ Channel 7 / tongue04 Zrotation 
#MID 64 / Joint 23/ Channel 5 / tongue04 Xrotation 
#MID 65 / Joint 23/ Channel 6 / tongue04 Yrotation 
#MID 66 / Joint 25/ Channel 7 / tongue07.l Zrotation 
#MID 67 / Joint 25/ Channel 5 / tongue07.l Xrotation 
#MID 68 / Joint 25/ Channel 6 / tongue07.l Yrotation 
#MID 69 / Joint 27/ Channel 7 / tongue07.r Zrotation 
#MID 70 / Joint 27/ Channel 5 / tongue07.r Xrotation 
#MID 71 / Joint 27/ Channel 6 / tongue07.r Yrotation 
#MID 72 / Joint 29/ Channel 7 / tongue06.l Zrotation 
#MID 73 / Joint 29/ Channel 5 / tongue06.l Xrotation 
#MID 74 / Joint 29/ Channel 6 / tongue06.l Yrotation 
#MID 75 / Joint 31/ Channel 7 / tongue06.r Zrotation 
#MID 76 / Joint 31/ Channel 5 / tongue06.r Xrotation 
#MID 77 / Joint 31/ Channel 6 / tongue06.r Yrotation 
#MID 78 / Joint 33/ Channel 7 / tongue05.l Zrotation 
#MID 79 / Joint 33/ Channel 5 / tongue05.l Xrotation 
#MID 80 / Joint 33/ Channel 6 / tongue05.l Yrotation 
#MID 81 / Joint 35/ Channel 7 / tongue05.r Zrotation 
#MID 82 / Joint 35/ Channel 5 / tongue05.r Xrotation 
#MID 83 / Joint 35/ Channel 6 / tongue05.r Yrotation 
#MID 84 / Joint 37/ Channel 7 / __levator02.l Zrotation 
#MID 85 / Joint 37/ Channel 5 / __levator02.l Xrotation 
#MID 86 / Joint 37/ Channel 6 / __levator02.l Yrotation 
#MID 87 / Joint 38/ Channel 7 / levator02.l Zrotation 
#MID 88 / Joint 38/ Channel 5 / levator02.l Xrotation 
#MID 89 / Joint 38/ Channel 6 / levator02.l Yrotation 
#MID 90 / Joint 39/ Channel 7 / levator03.l Zrotation 
#MID 91 / Joint 39/ Channel 5 / levator03.l Xrotation 
#MID 92 / Joint 39/ Channel 6 / levator03.l Yrotation 
#MID 93 / Joint 40/ Channel 7 / levator04.l Zrotation 
#MID 94 / Joint 40/ Channel 5 / levator04.l Xrotation 
#MID 95 / Joint 40/ Channel 6 / levator04.l Yrotation 
#MID 96 / Joint 41/ Channel 7 / levator05.l Zrotation 
#MID 97 / Joint 41/ Channel 5 / levator05.l Xrotation 
#MID 98 / Joint 41/ Channel 6 / levator05.l Yrotation 
#MID 99 / Joint 43/ Channel 7 / __levator02.r Zrotation 
#MID 100 / Joint 43/ Channel 5 / __levator02.r Xrotation 
#MID 101 / Joint 43/ Channel 6 / __levator02.r Yrotation 
#MID 102 / Joint 44/ Channel 7 / levator02.r Zrotation 
#MID 103 / Joint 44/ Channel 5 / levator02.r Xrotation 
#MID 104 / Joint 44/ Channel 6 / levator02.r Yrotation 
#MID 105 / Joint 45/ Channel 7 / levator03.r Zrotation 
#MID 106 / Joint 45/ Channel 5 / levator03.r Xrotation 
#MID 107 / Joint 45/ Channel 6 / levator03.r Yrotation 
#MID 108 / Joint 46/ Channel 7 / levator04.r Zrotation 
#MID 109 / Joint 46/ Channel 5 / levator04.r Xrotation 
#MID 110 / Joint 46/ Channel 6 / levator04.r Yrotation 
#MID 111 / Joint 47/ Channel 7 / levator05.r Zrotation 
#MID 112 / Joint 47/ Channel 5 / levator05.r Xrotation 
#MID 113 / Joint 47/ Channel 6 / levator05.r Yrotation 
#MID 114 / Joint 49/ Channel 7 / __special01 Zrotation 
#MID 115 / Joint 49/ Channel 5 / __special01 Xrotation 
#MID 116 / Joint 49/ Channel 6 / __special01 Yrotation 
#MID 117 / Joint 50/ Channel 7 / special01 Zrotation 
#MID 118 / Joint 50/ Channel 5 / special01 Xrotation 
#MID 119 / Joint 50/ Channel 6 / special01 Yrotation 
#MID 120 / Joint 51/ Channel 7 / oris04.l Zrotation 
#MID 121 / Joint 51/ Channel 5 / oris04.l Xrotation 
#MID 122 / Joint 51/ Channel 6 / oris04.l Yrotation 
#MID 123 / Joint 52/ Channel 7 / oris03.l Zrotation 
#MID 124 / Joint 52/ Channel 5 / oris03.l Xrotation 
#MID 125 / Joint 52/ Channel 6 / oris03.l Yrotation 
#MID 126 / Joint 54/ Channel 7 / oris04.r Zrotation 
#MID 127 / Joint 54/ Channel 5 / oris04.r Xrotation 
#MID 128 / Joint 54/ Channel 6 / oris04.r Yrotation 
#MID 129 / Joint 55/ Channel 7 / oris03.r Zrotation 
#MID 130 / Joint 55/ Channel 5 / oris03.r Xrotation 
#MID 131 / Joint 55/ Channel 6 / oris03.r Yrotation 
#MID 132 / Joint 57/ Channel 7 / oris06 Zrotation 
#MID 133 / Joint 57/ Channel 5 / oris06 Xrotation 
#MID 134 / Joint 57/ Channel 6 / oris06 Yrotation 
#MID 135 / Joint 58/ Channel 7 / oris05 Zrotation 
#MID 136 / Joint 58/ Channel 5 / oris05 Xrotation 
#MID 137 / Joint 58/ Channel 6 / oris05 Yrotation 
#MID 138 / Joint 60/ Channel 7 / __special03 Zrotation 
#MID 139 / Joint 60/ Channel 5 / __special03 Xrotation 
#MID 140 / Joint 60/ Channel 6 / __special03 Yrotation 
#MID 141 / Joint 61/ Channel 7 / special03 Zrotation 
#MID 142 / Joint 61/ Channel 5 / special03 Xrotation 
#MID 143 / Joint 61/ Channel 6 / special03 Yrotation 
#MID 144 / Joint 62/ Channel 7 / __levator06.l Zrotation 
#MID 145 / Joint 62/ Channel 5 / __levator06.l Xrotation 
#MID 146 / Joint 62/ Channel 6 / __levator06.l Yrotation 
#MID 147 / Joint 63/ Channel 7 / levator06.l Zrotation 
#MID 148 / Joint 63/ Channel 5 / levator06.l Xrotation 
#MID 149 / Joint 63/ Channel 6 / levator06.l Yrotation 
#MID 150 / Joint 65/ Channel 7 / __levator06.r Zrotation 
#MID 151 / Joint 65/ Channel 5 / __levator06.r Xrotation 
#MID 152 / Joint 65/ Channel 6 / __levator06.r Yrotation 
#MID 153 / Joint 66/ Channel 7 / levator06.r Zrotation 
#MID 154 / Joint 66/ Channel 5 / levator06.r Xrotation 
#MID 155 / Joint 66/ Channel 6 / levator06.r Yrotation 
#MID 156 / Joint 68/ Channel 7 / special06.l Zrotation 
#MID 157 / Joint 68/ Channel 5 / special06.l Xrotation 
#MID 158 / Joint 68/ Channel 6 / special06.l Yrotation 
#MID 159 / Joint 69/ Channel 7 / special05.l Zrotation 
#MID 160 / Joint 69/ Channel 5 / special05.l Xrotation 
#MID 161 / Joint 69/ Channel 6 / special05.l Yrotation 
#MID 162 / Joint 70/ Channel 7 / eye.l Zrotation 
#MID 163 / Joint 70/ Channel 5 / eye.l Xrotation 
#MID 164 / Joint 70/ Channel 6 / eye.l Yrotation 
#MID 165 / Joint 72/ Channel 7 / orbicularis03.l Zrotation 
#MID 166 / Joint 72/ Channel 5 / orbicularis03.l Xrotation 
#MID 167 / Joint 72/ Channel 6 / orbicularis03.l Yrotation 
#MID 168 / Joint 74/ Channel 7 / orbicularis04.l Zrotation 
#MID 169 / Joint 74/ Channel 5 / orbicularis04.l Xrotation 
#MID 170 / Joint 74/ Channel 6 / orbicularis04.l Yrotation 
#MID 171 / Joint 76/ Channel 7 / special06.r Zrotation 
#MID 172 / Joint 76/ Channel 5 / special06.r Xrotation 
#MID 173 / Joint 76/ Channel 6 / special06.r Yrotation 
#MID 174 / Joint 77/ Channel 7 / special05.r Zrotation 
#MID 175 / Joint 77/ Channel 5 / special05.r Xrotation 
#MID 176 / Joint 77/ Channel 6 / special05.r Yrotation 
#MID 177 / Joint 78/ Channel 7 / eye.r Zrotation 
#MID 178 / Joint 78/ Channel 5 / eye.r Xrotation 
#MID 179 / Joint 78/ Channel 6 / eye.r Yrotation 
#MID 180 / Joint 80/ Channel 7 / orbicularis03.r Zrotation 
#MID 181 / Joint 80/ Channel 5 / orbicularis03.r Xrotation 
#MID 182 / Joint 80/ Channel 6 / orbicularis03.r Yrotation 
#MID 183 / Joint 82/ Channel 7 / orbicularis04.r Zrotation 
#MID 184 / Joint 82/ Channel 5 / orbicularis04.r Xrotation 
#MID 185 / Joint 82/ Channel 6 / orbicularis04.r Yrotation 
#MID 186 / Joint 84/ Channel 7 / __temporalis01.l Zrotation 
#MID 187 / Joint 84/ Channel 5 / __temporalis01.l Xrotation 
#MID 188 / Joint 84/ Channel 6 / __temporalis01.l Yrotation 
#MID 189 / Joint 85/ Channel 7 / temporalis01.l Zrotation 
#MID 190 / Joint 85/ Channel 5 / temporalis01.l Xrotation 
#MID 191 / Joint 85/ Channel 6 / temporalis01.l Yrotation 
#MID 192 / Joint 86/ Channel 7 / oculi02.l Zrotation 
#MID 193 / Joint 86/ Channel 5 / oculi02.l Xrotation 
#MID 194 / Joint 86/ Channel 6 / oculi02.l Yrotation 
#MID 195 / Joint 87/ Channel 7 / oculi01.l Zrotation 
#MID 196 / Joint 87/ Channel 5 / oculi01.l Xrotation 
#MID 197 / Joint 87/ Channel 6 / oculi01.l Yrotation 
#MID 198 / Joint 89/ Channel 7 / __temporalis01.r Zrotation 
#MID 199 / Joint 89/ Channel 5 / __temporalis01.r Xrotation 
#MID 200 / Joint 89/ Channel 6 / __temporalis01.r Yrotation 
#MID 201 / Joint 90/ Channel 7 / temporalis01.r Zrotation 
#MID 202 / Joint 90/ Channel 5 / temporalis01.r Xrotation 
#MID 203 / Joint 90/ Channel 6 / temporalis01.r Yrotation 
#MID 204 / Joint 91/ Channel 7 / oculi02.r Zrotation 
#MID 205 / Joint 91/ Channel 5 / oculi02.r Xrotation 
#MID 206 / Joint 91/ Channel 6 / oculi02.r Yrotation 
#MID 207 / Joint 92/ Channel 7 / oculi01.r Zrotation 
#MID 208 / Joint 92/ Channel 5 / oculi01.r Xrotation 
#MID 209 / Joint 92/ Channel 6 / oculi01.r Yrotation 
#MID 210 / Joint 94/ Channel 7 / __temporalis02.l Zrotation 
#MID 211 / Joint 94/ Channel 5 / __temporalis02.l Xrotation 
#MID 212 / Joint 94/ Channel 6 / __temporalis02.l Yrotation 
#MID 213 / Joint 95/ Channel 7 / temporalis02.l Zrotation 
#MID 214 / Joint 95/ Channel 5 / temporalis02.l Xrotation 
#MID 215 / Joint 95/ Channel 6 / temporalis02.l Yrotation 
#MID 216 / Joint 96/ Channel 7 / risorius02.l Zrotation 
#MID 217 / Joint 96/ Channel 5 / risorius02.l Xrotation 
#MID 218 / Joint 96/ Channel 6 / risorius02.l Yrotation 
#MID 219 / Joint 97/ Channel 7 / risorius03.l Zrotation 
#MID 220 / Joint 97/ Channel 5 / risorius03.l Xrotation 
#MID 221 / Joint 97/ Channel 6 / risorius03.l Yrotation 
#MID 222 / Joint 99/ Channel 7 / __temporalis02.r Zrotation 
#MID 223 / Joint 99/ Channel 5 / __temporalis02.r Xrotation 
#MID 224 / Joint 99/ Channel 6 / __temporalis02.r Yrotation 
#MID 225 / Joint 100/ Channel 7 / temporalis02.r Zrotation 
#MID 226 / Joint 100/ Channel 5 / temporalis02.r Xrotation 
#MID 227 / Joint 100/ Channel 6 / temporalis02.r Yrotation 
#MID 228 / Joint 101/ Channel 7 / risorius02.r Zrotation 
#MID 229 / Joint 101/ Channel 5 / risorius02.r Xrotation 
#MID 230 / Joint 101/ Channel 6 / risorius02.r Yrotation 
#MID 231 / Joint 102/ Channel 7 / risorius03.r Zrotation 
#MID 232 / Joint 102/ Channel 5 / risorius03.r Xrotation 
#MID 233 / Joint 102/ Channel 6 / risorius03.r Yrotation 
#MID 234 / Joint 104/ Channel 7 / rcollar Zrotation 
#MID 235 / Joint 104/ Channel 5 / rcollar Xrotation 
#MID 236 / Joint 104/ Channel 6 / rcollar Yrotation 
#MID 237 / Joint 105/ Channel 7 / rshoulder Zrotation 
#MID 238 / Joint 105/ Channel 5 / rshoulder Xrotation 
#MID 239 / Joint 105/ Channel 6 / rshoulder Yrotation 
#MID 240 / Joint 106/ Channel 7 / relbow Zrotation 
#MID 241 / Joint 106/ Channel 5 / relbow Xrotation 
#MID 242 / Joint 106/ Channel 6 / relbow Yrotation 
#MID 243 / Joint 107/ Channel 7 / rhand Zrotation 
#MID 244 / Joint 107/ Channel 5 / rhand Xrotation 
#MID 245 / Joint 107/ Channel 6 / rhand Yrotation 
#MID 246 / Joint 108/ Channel 7 / metacarpal1.r Zrotation 
#MID 247 / Joint 108/ Channel 5 / metacarpal1.r Xrotation 
#MID 248 / Joint 108/ Channel 6 / metacarpal1.r Yrotation 
#MID 249 / Joint 109/ Channel 7 / finger2-1.r Zrotation 
#MID 250 / Joint 109/ Channel 5 / finger2-1.r Xrotation 
#MID 251 / Joint 109/ Channel 6 / finger2-1.r Yrotation 
#MID 252 / Joint 110/ Channel 7 / finger2-2.r Zrotation 
#MID 253 / Joint 110/ Channel 5 / finger2-2.r Xrotation 
#MID 254 / Joint 110/ Channel 6 / finger2-2.r Yrotation 
#MID 255 / Joint 111/ Channel 7 / finger2-3.r Zrotation 
#MID 256 / Joint 111/ Channel 5 / finger2-3.r Xrotation 
#MID 257 / Joint 111/ Channel 6 / finger2-3.r Yrotation 
#MID 258 / Joint 113/ Channel 7 / metacarpal2.r Zrotation 
#MID 259 / Joint 113/ Channel 5 / metacarpal2.r Xrotation 
#MID 260 / Joint 113/ Channel 6 / metacarpal2.r Yrotation 
#MID 261 / Joint 114/ Channel 7 / finger3-1.r Zrotation 
#MID 262 / Joint 114/ Channel 5 / finger3-1.r Xrotation 
#MID 263 / Joint 114/ Channel 6 / finger3-1.r Yrotation 
#MID 264 / Joint 115/ Channel 7 / finger3-2.r Zrotation 
#MID 265 / Joint 115/ Channel 5 / finger3-2.r Xrotation 
#MID 266 / Joint 115/ Channel 6 / finger3-2.r Yrotation 
#MID 267 / Joint 116/ Channel 7 / finger3-3.r Zrotation 
#MID 268 / Joint 116/ Channel 5 / finger3-3.r Xrotation 
#MID 269 / Joint 116/ Channel 6 / finger3-3.r Yrotation 
#MID 270 / Joint 118/ Channel 7 / __metacarpal3.r Zrotation 
#MID 271 / Joint 118/ Channel 5 / __metacarpal3.r Xrotation 
#MID 272 / Joint 118/ Channel 6 / __metacarpal3.r Yrotation 
#MID 273 / Joint 119/ Channel 7 / metacarpal3.r Zrotation 
#MID 274 / Joint 119/ Channel 5 / metacarpal3.r Xrotation 
#MID 275 / Joint 119/ Channel 6 / metacarpal3.r Yrotation 
#MID 276 / Joint 120/ Channel 7 / finger4-1.r Zrotation 
#MID 277 / Joint 120/ Channel 5 / finger4-1.r Xrotation 
#MID 278 / Joint 120/ Channel 6 / finger4-1.r Yrotation 
#MID 279 / Joint 121/ Channel 7 / finger4-2.r Zrotation 
#MID 280 / Joint 121/ Channel 5 / finger4-2.r Xrotation 
#MID 281 / Joint 121/ Channel 6 / finger4-2.r Yrotation 
#MID 282 / Joint 122/ Channel 7 / finger4-3.r Zrotation 
#MID 283 / Joint 122/ Channel 5 / finger4-3.r Xrotation 
#MID 284 / Joint 122/ Channel 6 / finger4-3.r Yrotation 
#MID 285 / Joint 124/ Channel 7 / __metacarpal4.r Zrotation 
#MID 286 / Joint 124/ Channel 5 / __metacarpal4.r Xrotation 
#MID 287 / Joint 124/ Channel 6 / __metacarpal4.r Yrotation 
#MID 288 / Joint 125/ Channel 7 / metacarpal4.r Zrotation 
#MID 289 / Joint 125/ Channel 5 / metacarpal4.r Xrotation 
#MID 290 / Joint 125/ Channel 6 / metacarpal4.r Yrotation 
#MID 291 / Joint 126/ Channel 7 / finger5-1.r Zrotation 
#MID 292 / Joint 126/ Channel 5 / finger5-1.r Xrotation 
#MID 293 / Joint 126/ Channel 6 / finger5-1.r Yrotation 
#MID 294 / Joint 127/ Channel 7 / finger5-2.r Zrotation 
#MID 295 / Joint 127/ Channel 5 / finger5-2.r Xrotation 
#MID 296 / Joint 127/ Channel 6 / finger5-2.r Yrotation 
#MID 297 / Joint 128/ Channel 7 / finger5-3.r Zrotation 
#MID 298 / Joint 128/ Channel 5 / finger5-3.r Xrotation 
#MID 299 / Joint 128/ Channel 6 / finger5-3.r Yrotation 
#MID 300 / Joint 130/ Channel 7 / __rthumb Zrotation 
#MID 301 / Joint 130/ Channel 5 / __rthumb Xrotation 
#MID 302 / Joint 130/ Channel 6 / __rthumb Yrotation 
#MID 303 / Joint 131/ Channel 7 / rthumb Zrotation 
#MID 304 / Joint 131/ Channel 5 / rthumb Xrotation 
#MID 305 / Joint 131/ Channel 6 / rthumb Yrotation 
#MID 306 / Joint 132/ Channel 7 / finger1-2.r Zrotation 
#MID 307 / Joint 132/ Channel 5 / finger1-2.r Xrotation 
#MID 308 / Joint 132/ Channel 6 / finger1-2.r Yrotation 
#MID 309 / Joint 133/ Channel 7 / finger1-3.r Zrotation 
#MID 310 / Joint 133/ Channel 5 / finger1-3.r Xrotation 
#MID 311 / Joint 133/ Channel 6 / finger1-3.r Yrotation 
#MID 312 / Joint 135/ Channel 7 / lcollar Zrotation 
#MID 313 / Joint 135/ Channel 5 / lcollar Xrotation 
#MID 314 / Joint 135/ Channel 6 / lcollar Yrotation 
#MID 315 / Joint 136/ Channel 7 / lshoulder Zrotation 
#MID 316 / Joint 136/ Channel 5 / lshoulder Xrotation 
#MID 317 / Joint 136/ Channel 6 / lshoulder Yrotation 
#MID 318 / Joint 137/ Channel 7 / lelbow Zrotation 
#MID 319 / Joint 137/ Channel 5 / lelbow Xrotation 
#MID 320 / Joint 137/ Channel 6 / lelbow Yrotation 
#MID 321 / Joint 138/ Channel 7 / lhand Zrotation 
#MID 322 / Joint 138/ Channel 5 / lhand Xrotation 
#MID 323 / Joint 138/ Channel 6 / lhand Yrotation 
#MID 324 / Joint 139/ Channel 7 / metacarpal1.l Zrotation 
#MID 325 / Joint 139/ Channel 5 / metacarpal1.l Xrotation 
#MID 326 / Joint 139/ Channel 6 / metacarpal1.l Yrotation 
#MID 327 / Joint 140/ Channel 7 / finger2-1.l Zrotation 
#MID 328 / Joint 140/ Channel 5 / finger2-1.l Xrotation 
#MID 329 / Joint 140/ Channel 6 / finger2-1.l Yrotation 
#MID 330 / Joint 141/ Channel 7 / finger2-2.l Zrotation 
#MID 331 / Joint 141/ Channel 5 / finger2-2.l Xrotation 
#MID 332 / Joint 141/ Channel 6 / finger2-2.l Yrotation 
#MID 333 / Joint 142/ Channel 7 / finger2-3.l Zrotation 
#MID 334 / Joint 142/ Channel 5 / finger2-3.l Xrotation 
#MID 335 / Joint 142/ Channel 6 / finger2-3.l Yrotation 
#MID 336 / Joint 144/ Channel 7 / metacarpal2.l Zrotation 
#MID 337 / Joint 144/ Channel 5 / metacarpal2.l Xrotation 
#MID 338 / Joint 144/ Channel 6 / metacarpal2.l Yrotation 
#MID 339 / Joint 145/ Channel 7 / finger3-1.l Zrotation 
#MID 340 / Joint 145/ Channel 5 / finger3-1.l Xrotation 
#MID 341 / Joint 145/ Channel 6 / finger3-1.l Yrotation 
#MID 342 / Joint 146/ Channel 7 / finger3-2.l Zrotation 
#MID 343 / Joint 146/ Channel 5 / finger3-2.l Xrotation 
#MID 344 / Joint 146/ Channel 6 / finger3-2.l Yrotation 
#MID 345 / Joint 147/ Channel 7 / finger3-3.l Zrotation 
#MID 346 / Joint 147/ Channel 5 / finger3-3.l Xrotation 
#MID 347 / Joint 147/ Channel 6 / finger3-3.l Yrotation 
#MID 348 / Joint 149/ Channel 7 / __metacarpal3.l Zrotation 
#MID 349 / Joint 149/ Channel 5 / __metacarpal3.l Xrotation 
#MID 350 / Joint 149/ Channel 6 / __metacarpal3.l Yrotation 
#MID 351 / Joint 150/ Channel 7 / metacarpal3.l Zrotation 
#MID 352 / Joint 150/ Channel 5 / metacarpal3.l Xrotation 
#MID 353 / Joint 150/ Channel 6 / metacarpal3.l Yrotation 
#MID 354 / Joint 151/ Channel 7 / finger4-1.l Zrotation 
#MID 355 / Joint 151/ Channel 5 / finger4-1.l Xrotation 
#MID 356 / Joint 151/ Channel 6 / finger4-1.l Yrotation 
#MID 357 / Joint 152/ Channel 7 / finger4-2.l Zrotation 
#MID 358 / Joint 152/ Channel 5 / finger4-2.l Xrotation 
#MID 359 / Joint 152/ Channel 6 / finger4-2.l Yrotation 
#MID 360 / Joint 153/ Channel 7 / finger4-3.l Zrotation 
#MID 361 / Joint 153/ Channel 5 / finger4-3.l Xrotation 
#MID 362 / Joint 153/ Channel 6 / finger4-3.l Yrotation 
#MID 363 / Joint 155/ Channel 7 / __metacarpal4.l Zrotation 
#MID 364 / Joint 155/ Channel 5 / __metacarpal4.l Xrotation 
#MID 365 / Joint 155/ Channel 6 / __metacarpal4.l Yrotation 
#MID 366 / Joint 156/ Channel 7 / metacarpal4.l Zrotation 
#MID 367 / Joint 156/ Channel 5 / metacarpal4.l Xrotation 
#MID 368 / Joint 156/ Channel 6 / metacarpal4.l Yrotation 
#MID 369 / Joint 157/ Channel 7 / finger5-1.l Zrotation 
#MID 370 / Joint 157/ Channel 5 / finger5-1.l Xrotation 
#MID 371 / Joint 157/ Channel 6 / finger5-1.l Yrotation 
#MID 372 / Joint 158/ Channel 7 / finger5-2.l Zrotation 
#MID 373 / Joint 158/ Channel 5 / finger5-2.l Xrotation 
#MID 374 / Joint 158/ Channel 6 / finger5-2.l Yrotation 
#MID 375 / Joint 159/ Channel 7 / finger5-3.l Zrotation 
#MID 376 / Joint 159/ Channel 5 / finger5-3.l Xrotation 
#MID 377 / Joint 159/ Channel 6 / finger5-3.l Yrotation 
#MID 378 / Joint 161/ Channel 7 / __lthumb Zrotation 
#MID 379 / Joint 161/ Channel 5 / __lthumb Xrotation 
#MID 380 / Joint 161/ Channel 6 / __lthumb Yrotation 
#MID 381 / Joint 162/ Channel 7 / lthumb Zrotation 
#MID 382 / Joint 162/ Channel 5 / lthumb Xrotation 
#MID 383 / Joint 162/ Channel 6 / lthumb Yrotation 
#MID 384 / Joint 163/ Channel 7 / finger1-2.l Zrotation 
#MID 385 / Joint 163/ Channel 5 / finger1-2.l Xrotation 
#MID 386 / Joint 163/ Channel 6 / finger1-2.l Yrotation 
#MID 387 / Joint 164/ Channel 7 / finger1-3.l Zrotation 
#MID 388 / Joint 164/ Channel 5 / finger1-3.l Xrotation 
#MID 389 / Joint 164/ Channel 6 / finger1-3.l Yrotation 
#MID 390 / Joint 166/ Channel 7 / rbuttock Zrotation 
#MID 391 / Joint 166/ Channel 5 / rbuttock Xrotation 
#MID 392 / Joint 166/ Channel 6 / rbuttock Yrotation 
#MID 393 / Joint 167/ Channel 7 / rhip Zrotation 
#MID 394 / Joint 167/ Channel 5 / rhip Xrotation 
#MID 395 / Joint 167/ Channel 6 / rhip Yrotation 
#MID 396 / Joint 168/ Channel 7 / rknee Zrotation 
#MID 397 / Joint 168/ Channel 5 / rknee Xrotation 
#MID 398 / Joint 168/ Channel 6 / rknee Yrotation 
#MID 399 / Joint 169/ Channel 7 / rfoot Zrotation 
#MID 400 / Joint 169/ Channel 5 / rfoot Xrotation 
#MID 401 / Joint 169/ Channel 6 / rfoot Yrotation 
#MID 402 / Joint 170/ Channel 7 / toe1-1.r Zrotation 
#MID 403 / Joint 170/ Channel 5 / toe1-1.r Xrotation 
#MID 404 / Joint 170/ Channel 6 / toe1-1.r Yrotation 
#MID 405 / Joint 171/ Channel 7 / toe1-2.r Zrotation 
#MID 406 / Joint 171/ Channel 5 / toe1-2.r Xrotation 
#MID 407 / Joint 171/ Channel 6 / toe1-2.r Yrotation 
#MID 408 / Joint 173/ Channel 7 / toe2-1.r Zrotation 
#MID 409 / Joint 173/ Channel 5 / toe2-1.r Xrotation 
#MID 410 / Joint 173/ Channel 6 / toe2-1.r Yrotation 
#MID 411 / Joint 174/ Channel 7 / toe2-2.r Zrotation 
#MID 412 / Joint 174/ Channel 5 / toe2-2.r Xrotation 
#MID 413 / Joint 174/ Channel 6 / toe2-2.r Yrotation 
#MID 414 / Joint 175/ Channel 7 / toe2-3.r Zrotation 
#MID 415 / Joint 175/ Channel 5 / toe2-3.r Xrotation 
#MID 416 / Joint 175/ Channel 6 / toe2-3.r Yrotation 
#MID 417 / Joint 177/ Channel 7 / toe3-1.r Zrotation 
#MID 418 / Joint 177/ Channel 5 / toe3-1.r Xrotation 
#MID 419 / Joint 177/ Channel 6 / toe3-1.r Yrotation 
#MID 420 / Joint 178/ Channel 7 / toe3-2.r Zrotation 
#MID 421 / Joint 178/ Channel 5 / toe3-2.r Xrotation 
#MID 422 / Joint 178/ Channel 6 / toe3-2.r Yrotation 
#MID 423 / Joint 179/ Channel 7 / toe3-3.r Zrotation 
#MID 424 / Joint 179/ Channel 5 / toe3-3.r Xrotation 
#MID 425 / Joint 179/ Channel 6 / toe3-3.r Yrotation 
#MID 426 / Joint 181/ Channel 7 / toe4-1.r Zrotation 
#MID 427 / Joint 181/ Channel 5 / toe4-1.r Xrotation 
#MID 428 / Joint 181/ Channel 6 / toe4-1.r Yrotation 
#MID 429 / Joint 182/ Channel 7 / toe4-2.r Zrotation 
#MID 430 / Joint 182/ Channel 5 / toe4-2.r Xrotation 
#MID 431 / Joint 182/ Channel 6 / toe4-2.r Yrotation 
#MID 432 / Joint 183/ Channel 7 / toe4-3.r Zrotation 
#MID 433 / Joint 183/ Channel 5 / toe4-3.r Xrotation 
#MID 434 / Joint 183/ Channel 6 / toe4-3.r Yrotation 
#MID 435 / Joint 185/ Channel 7 / toe5-1.r Zrotation 
#MID 436 / Joint 185/ Channel 5 / toe5-1.r Xrotation 
#MID 437 / Joint 185/ Channel 6 / toe5-1.r Yrotation 
#MID 438 / Joint 186/ Channel 7 / toe5-2.r Zrotation 
#MID 439 / Joint 186/ Channel 5 / toe5-2.r Xrotation 
#MID 440 / Joint 186/ Channel 6 / toe5-2.r Yrotation 
#MID 441 / Joint 187/ Channel 7 / toe5-3.r Zrotation 
#MID 442 / Joint 187/ Channel 5 / toe5-3.r Xrotation 
#MID 443 / Joint 187/ Channel 6 / toe5-3.r Yrotation 
#MID 444 / Joint 189/ Channel 7 / lbuttock Zrotation 
#MID 445 / Joint 189/ Channel 5 / lbuttock Xrotation 
#MID 446 / Joint 189/ Channel 6 / lbuttock Yrotation 
#MID 447 / Joint 190/ Channel 7 / lhip Zrotation 
#MID 448 / Joint 190/ Channel 5 / lhip Xrotation 
#MID 449 / Joint 190/ Channel 6 / lhip Yrotation 
#MID 450 / Joint 191/ Channel 7 / lknee Zrotation 
#MID 451 / Joint 191/ Channel 5 / lknee Xrotation 
#MID 452 / Joint 191/ Channel 6 / lknee Yrotation 
#MID 453 / Joint 192/ Channel 7 / lfoot Zrotation 
#MID 454 / Joint 192/ Channel 5 / lfoot Xrotation 
#MID 455 / Joint 192/ Channel 6 / lfoot Yrotation 
#MID 456 / Joint 193/ Channel 7 / toe1-1.l Zrotation 
#MID 457 / Joint 193/ Channel 5 / toe1-1.l Xrotation 
#MID 458 / Joint 193/ Channel 6 / toe1-1.l Yrotation 
#MID 459 / Joint 194/ Channel 7 / toe1-2.l Zrotation 
#MID 460 / Joint 194/ Channel 5 / toe1-2.l Xrotation 
#MID 461 / Joint 194/ Channel 6 / toe1-2.l Yrotation 
#MID 462 / Joint 196/ Channel 7 / toe2-1.l Zrotation 
#MID 463 / Joint 196/ Channel 5 / toe2-1.l Xrotation 
#MID 464 / Joint 196/ Channel 6 / toe2-1.l Yrotation 
#MID 465 / Joint 197/ Channel 7 / toe2-2.l Zrotation 
#MID 466 / Joint 197/ Channel 5 / toe2-2.l Xrotation 
#MID 467 / Joint 197/ Channel 6 / toe2-2.l Yrotation 
#MID 468 / Joint 198/ Channel 7 / toe2-3.l Zrotation 
#MID 469 / Joint 198/ Channel 5 / toe2-3.l Xrotation 
#MID 470 / Joint 198/ Channel 6 / toe2-3.l Yrotation 
#MID 471 / Joint 200/ Channel 7 / toe3-1.l Zrotation 
#MID 472 / Joint 200/ Channel 5 / toe3-1.l Xrotation 
#MID 473 / Joint 200/ Channel 6 / toe3-1.l Yrotation 
#MID 474 / Joint 201/ Channel 7 / toe3-2.l Zrotation 
#MID 475 / Joint 201/ Channel 5 / toe3-2.l Xrotation 
#MID 476 / Joint 201/ Channel 6 / toe3-2.l Yrotation 
#MID 477 / Joint 202/ Channel 7 / toe3-3.l Zrotation 
#MID 478 / Joint 202/ Channel 5 / toe3-3.l Xrotation 
#MID 479 / Joint 202/ Channel 6 / toe3-3.l Yrotation 
#MID 480 / Joint 204/ Channel 7 / toe4-1.l Zrotation 
#MID 481 / Joint 204/ Channel 5 / toe4-1.l Xrotation 
#MID 482 / Joint 204/ Channel 6 / toe4-1.l Yrotation 
#MID 483 / Joint 205/ Channel 7 / toe4-2.l Zrotation 
#MID 484 / Joint 205/ Channel 5 / toe4-2.l Xrotation 
#MID 485 / Joint 205/ Channel 6 / toe4-2.l Yrotation 
#MID 486 / Joint 206/ Channel 7 / toe4-3.l Zrotation 
#MID 487 / Joint 206/ Channel 5 / toe4-3.l Xrotation 
#MID 488 / Joint 206/ Channel 6 / toe4-3.l Yrotation 
#MID 489 / Joint 208/ Channel 7 / toe5-1.l Zrotation 
#MID 490 / Joint 208/ Channel 5 / toe5-1.l Xrotation 
#MID 491 / Joint 208/ Channel 6 / toe5-1.l Yrotation 
#MID 492 / Joint 209/ Channel 7 / toe5-2.l Zrotation 
#MID 493 / Joint 209/ Channel 5 / toe5-2.l Xrotation 
#MID 494 / Joint 209/ Channel 6 / toe5-2.l Yrotation 
#MID 495 / Joint 210/ Channel 7 / toe5-3.l Zrotation 
#MID 496 / Joint 210/ Channel 5 / toe5-3.l Xrotation 
#MID 497 / Joint 210/ Channel 6 / toe5-3.l Yrotation 
 
#./BVHTester --from Motions/05_01.bvh --symmetricflip --bvh symmetricflip.bvh
./BVHTester --from Motions/05_01.bvh --repeatsymmetry --bvh symmetricflip.bvh
 

exit 0
