Last active
March 30, 2021 23:05
-
-
Save goldzulu/3e695a841dc0c99db3261e1683e90b8a to your computer and use it in GitHub Desktop.
APLA - Making FadeIn,FadeOut Work when using trimToParent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "APLA", | |
"version": "0.91", | |
"resources": [ | |
{ | |
"number": { | |
"fadeDuration": 500 | |
} | |
} | |
], | |
"mainTemplate": { | |
"parameters": [ | |
"payload" | |
], | |
"item": { | |
"type": "Mixer", | |
"items": [ | |
{ | |
"type": "Sequencer", | |
"items": [ | |
{ | |
"type": "Speech", | |
"content": "In Seattle, it's 48 degrees and rainy. If you're headed outside, I suggest a jacket!" | |
}, | |
{ | |
"type": "Silence", | |
"duration": "@fadeDuration" | |
} | |
] | |
}, | |
{ | |
"type": "Audio", | |
"source": "soundbank://soundlibrary/nature/amzn_sfx_rain_03", | |
"duration": "trimToParent", | |
"filter": [ | |
{ | |
"type": "Repeat", | |
"repeatCount": -1 | |
}, | |
{ | |
"type": "FadeIn", | |
"duration": "@fadeDuration" | |
}, | |
{ | |
"type": "Volume", | |
"amount": "20%" | |
} | |
] | |
} | |
], | |
"filter": [ | |
{ | |
"type": "FadeOut", | |
"duration": "@fadeDuration" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is amazing, thank you for the sample APLA!