Skip to content

Instantly share code, notes, and snippets.

@erikolsson
Created March 3, 2020 18:55
Show Gist options
  • Save erikolsson/3e1df1cf6a135db2f8de842e3b5f1e06 to your computer and use it in GitHub Desktop.
Save erikolsson/3e1df1cf6a135db2f8de842e3b5f1e06 to your computer and use it in GitHub Desktop.
{
"Version": 1,
"Metadata": {
"Project": "",
"Created": ""
},
"Pattern": [
{
"Event":
{
"Time":0,
"EventType":"AudioCustom",
"EventWaveformPath":"camera_select.wav",
"EventParameters":
[
{"ParameterID":"AudioVolume","ParameterValue":1}
]
}
},
{
"Event": {
"Time": 0,
"EventType": "HapticContinuous",
"EventDuration": 0.6861224489795918,
"EventParameters": [
{
"ParameterID": "HapticIntensity",
"ParameterValue": 1
},
{
"ParameterID": "HapticSharpness",
"ParameterValue": 0
}
]
}
},
{
"ParameterCurve": {
"ParameterID": "HapticIntensityControl",
"Time": 0,
"ParameterCurveControlPoints": [
{
"Time": 0,
"ParameterValue": 0
},
{
"Time": 0.0058956916099773245,
"ParameterValue": 0.7897893802454332
},
{
"Time": 0.01904761904761905,
"ParameterValue": 0.709685133885303
},
{
"Time": 0.019954648526077097,
"ParameterValue": 0.9030466688569784
},
{
"Time": 0.036734693877551024,
"ParameterValue": 0.7148335146929528
},
{
"Time": 0.049886621315192746,
"ParameterValue": 0.68258523184983
},
{
"Time": 0.061224489795918366,
"ParameterValue": 0.8513191506989658
},
{
"Time": 0.09569160997732426,
"ParameterValue": 0.6043825836164655
},
{
"Time": 0.11746031746031746,
"ParameterValue": 0.5516693790967477
},
{
"Time": 0.12789115646258503,
"ParameterValue": 0.6983047407423392
},
{
"Time": 0.18594104308390022,
"ParameterValue": 0.5613584232208604
},
{
"Time": 0.18639455782312925,
"ParameterValue": 0.9055330584533169
},
{
"Time": 0.20226757369614512,
"ParameterValue": 0.7928986628745556
},
{
"Time": 0.20317460317460317,
"ParameterValue": 0.9772268149368911
},
{
"Time": 0.21678004535147394,
"ParameterValue": 0.7582331063292342
},
{
"Time": 0.24852607709750568,
"ParameterValue": 0.4022386650371905
}
]
}
},
{
"ParameterCurve": {
"ParameterID": "HapticIntensityControl",
"Time": 0.24852607709750568,
"ParameterCurveControlPoints": [
{
"Time": 0.24852607709750568,
"ParameterValue": 0.4022386650371905
},
{
"Time": 0.272562358276644,
"ParameterValue": 0.27408025398221225
},
{
"Time": 0.2943310657596372,
"ParameterValue": 0.37744797681453623
},
{
"Time": 0.33151927437641726,
"ParameterValue": 0.2071542114305535
},
{
"Time": 0.35555555555555557,
"ParameterValue": 0.332789896629304
},
{
"Time": 0.39954648526077097,
"ParameterValue": 0.15105069143659142
},
{
"Time": 0.45396825396825397,
"ParameterValue": 0.07198878058211144
},
{
"Time": 0.6857142857142857,
"ParameterValue": 0
}
]
}
},
{
"ParameterCurve": {
"ParameterID": "HapticSharpnessControl",
"Time": 0,
"ParameterCurveControlPoints": [
{
"Time": 0,
"ParameterValue": 0
},
{
"Time": 0.019954648526077097,
"ParameterValue": 0.7046538570564517
},
{
"Time": 0.05986394557823129,
"ParameterValue": 0.6896396381305963
},
{
"Time": 0.11836734693877551,
"ParameterValue": 0.4938452789662921
},
{
"Time": 0.14467120181405896,
"ParameterValue": 0.5831857434049755
},
{
"Time": 0.18594104308390022,
"ParameterValue": 0.4906177766528875
},
{
"Time": 0.20408163265306123,
"ParameterValue": 0.7459627534710681
},
{
"Time": 0.22993197278911565,
"ParameterValue": 0.5727011481352411
},
{
"Time": 0.28208616780045354,
"ParameterValue": 0.34024911207498654
},
{
"Time": 0.35192743764172335,
"ParameterValue": 0.19765074474557146
},
{
"Time": 0.47346938775510206,
"ParameterValue": 0.08090904842994627
},
{
"Time": 0.6857142857142857,
"ParameterValue": 0.008501797900852318
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment