Skip to content

Instantly share code, notes, and snippets.

View figs999's full-sized avatar

Chance Santana-Wees figs999

  • Austin, TX
View GitHub Profile
@figs999
figs999 / bvh_read.py
Last active April 19, 2017 22:30 — forked from johnfredcee/bvh_read.py
bvh file parser (tested w Python2.6)
#Added functionality for interpreting the motion annotations into transformation matrices and euclidean coordinates.
#Restructured the code into an easy to instantiate class.
#To use: BVH(<open file handle>)
import re
import time
import zipfile
from StringIO import StringIO
from math import radians, sqrt, cos, sin
from numpy import matrix, dot, zeros, array, eye, ravel, asarray
@figs999
figs999 / gist:0d220e419593ff20942afd6c12319794
Created August 21, 2022 13:48
AudioGenesis sample generated metadata
data:application/json;base64,eyJhdHRyaWJ1dGVzIjpbeyJ0cmFpdF90eXBlIjoiUHVsc2UgTW9kdWxvIiwidmFsdWUiOjIzfSx7InRyYWl0X3R5cGUiOiJMb3cgUHVsc2UgSHoiLCJ2YWx1ZSI6MTUwfSx7InRyYWl0X3R5cGUiOiJQdWxzZSBTdGVwIiwidmFsdWUiOjR9LHsidHJhaXRfdHlwZSI6IkxGTyBNb2R1bG8iLCJ2YWx1ZSI6N30seyJ0cmFpdF90eXBlIjoiVGltZSBNb2R1bG8iLCJ2YWx1ZSI6Mn0seyJ0cmFpdF90eXBlIjoiRmlsdGVyIEh6IiwidmFsdWUiOjI1MH0seyJ0cmFpdF90eXBlIjoiRmlsdGVyIEdhaW4iLCJ2YWx1ZSI6NDR9LHsidHJhaXRfdHlwZSI6IkZpbHRlciBRIiwidmFsdWUiOjI1fSx7InRyYWl0X3R5cGUiOiJGYWRlIEluIiwidmFsdWUiOjAuMn0seyJ0cmFpdF90eXBlIjoiRGVjYXkiLCJ2YWx1ZSI6MS4yNjB9LHsidHJhaXRfdHlwZSI6IlJldmVyYiBIaWdoIiwidmFsdWUiOjg1Mn0seyJ0cmFpdF90eXBlIjoiUmV2ZXJiIExvdyIsInZhbHVlIjozNTJ9LHsidHJhaXRfdHlwZSI6IlZpc3VhbGl6ZXIiLCJ2YWx1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