Difference between revisions of "IC Python API:Audio Driven"

From Reallusion Wiki!
Jump to: navigation, search
m (Modules Used)
m (main.py)
Line 58: Line 58:
 
* [[ IC_Python_API:RLPy_RGlobal#GetFps | RLPy.RGlobal.GetFps() ]]
 
* [[ IC_Python_API:RLPy_RGlobal#GetFps | RLPy.RGlobal.GetFps() ]]
 
* [[ IC_Python_API:RLPy_RScene#FindObject | RLPy.RScene.FindObject() ]]
 
* [[ IC_Python_API:RLPy_RScene#FindObject | RLPy.RScene.FindObject() ]]
* [[ IC_Python_API:RLPy_EObjectType_Prop, c#GetName | RLPy.EObjectType_Prop, c.GetName() ]]
 
 
* [[ IC_Python_API:RLPy_RScene#RemoveObject | RLPy.RScene.RemoveObject() ]]
 
* [[ IC_Python_API:RLPy_RScene#RemoveObject | RLPy.RScene.RemoveObject() ]]
 
* [[ IC_Python_API:RLPy_RTransformKey | RLPy.RTransformKey() ]]
 
* [[ IC_Python_API:RLPy_RTransformKey | RLPy.RTransformKey() ]]
Line 69: Line 68:
 
* [[ IC_Python_API:RLPy_RGlobal#Play | RLPy.RGlobal.Play() ]]
 
* [[ IC_Python_API:RLPy_RGlobal#Play | RLPy.RGlobal.Play() ]]
 
* [[ IC_Python_API:RLPy_RGlobal#GetStartTime | RLPy.RGlobal.GetStartTime() ]]
 
* [[ IC_Python_API:RLPy_RGlobal#GetStartTime | RLPy.RGlobal.GetStartTime() ]]
* [[ IC_Python_API:RLPy_EObjectType_Prop, clone#GetName | RLPy.EObjectType_Prop, clone.GetName() ]]
 
 
* [[ IC_Python_API:RLPy_RRgb | RLPy.RRgb() ]]
 
* [[ IC_Python_API:RLPy_RRgb | RLPy.RRgb() ]]
 
* [[ IC_Python_API:RLPy_RKey | RLPy.RKey() ]]
 
* [[ IC_Python_API:RLPy_RKey | RLPy.RKey() ]]

Revision as of 00:13, 26 June 2019

Main article: RL Python Samples.

Demo Video

Description

This script lets the user pick an audio file in wave format and apply an interpretation of it in movement to a selection of props.


Course Prerequisites

Make sure to install Numpy and Scipy Python modules by following the instructions here.

You should familiarize yourself with the following fundamental articles before you proceed:

Learn How to

  • Deal with audio files and data.
  • Create complex and responsive user interface elements.

Required Files

  • iClone scene with one or more props.
  • An audio file in wave (*.wav) format.
  • Audio Driven Python script.
  • Audio Driven Extensions Python script.

You can download this plugin from the Reallusion Marketplace. To acquire and view the source code, please visit Reallusion GitHub.

Steps to Take

Code Flow

APIs Used

You can research the following references for the APIs deployed in this code.

main.py

AD_Extensions.py