Audio In class. More...
#include <pyfbsdk_generated.h>
Public Member Functions | |
FBAudioIn () | |
Constructor. | |
FBTime | GetDelay () |
Returns the delay currently set. | |
FBAudioOut | GetDestination () |
Returns the Audio Out object currently used as the destination. | |
FBAudioFmt | GetRecordingFormat () |
Returns the recording format (i.e. | |
FBAudioFmt | GetSupportedFormats () |
Returns all the Audio In supported formats (i.e. | |
bool | IsOnline () |
Is the Audio In online? | |
bool | IsReadyToRecord () |
Is the Audio In ready to record (has it been prepared properly)? | |
bool | PrepareToRecord (str pRecordingPath, FBExistingClipAction pExistingClipAction=kFBExistingClipAskUser, FBExistingFileAction pExistingFileAction=kFBExistingFileAskUser) |
Prepares the Audio In for recording (similar as checking the "Record" checkbox in the UI). | |
bool | SetDelay (FBTime pDelay) |
Sets the delay to use. | |
bool | SetDestination (FBAudioOut pAudioOut) |
Sets the Audio Out object to be used as the destination. | |
bool | SetOnline (bool pOnline) |
Turns Audio In online or offline. | |
bool | SetRecordingFormat (FBAudioFmt pAudioFormat) |
Sets the recording format (i.e. | |
bool | TurnOffRecording () |
Turns off the Audio In recording (similar as un-checking the "Record" checkbox in the UI). | |
![]() | |
FBComponent () | |
Constructor. | |
str | ClassName () |
Get the class name. | |
DisableObjectFlags (FBObjectFlag pFlags) | |
Disable a specific Object Flags. | |
EnableObjectFlags (FBObjectFlag pFlags) | |
Enable a specific Object Flags. | |
bool | FBCreate () |
Open Reality Creation function. | |
FBDelete () | |
Open Reality deletion function. | |
FBDestroy () | |
Open Reality destruction function. | |
FBObjectFlag | GetObjectFlags () |
Get all Object Flags (concatenated). | |
bool | GetObjectStatus (FBObjectStatus pStatus) |
Check to see if an object status is enabled. | |
FBFileReference | GetOwnerFileReference (p0) |
Get the owner FileReference object. | |
HardSelect () | |
HardSelect. | |
bool | HasObjectFlags (FBObjectFlag pFlags) |
Check whether a specific object flag is enabled. | |
bool | Is (int pTypeId) |
Returns true if object is of type TypeId. | |
bool | ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True) |
ProcessNamespaceHierarchy. | |
bool | ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True) |
ProcessObjectNamespace. | |
int | PropertyAdd (FBProperty pProperty) |
Add a property to the component's property manager. | |
bool | PropertyAddReferenceProperty (FBProperty pReferenceProperty) |
Add a reference property to the component's property manager. | |
FBProperty | PropertyCreate (str pName, FBType pType, str pDataType, bool pAnimatable, bool pIsUser=False, FBProperty pReferenceSource=None) |
Create user or dynamic property. | |
PropertyGetModifiedList (FBArrayTemplate< FB > pPropList, FBPlugModificationFlag pModificationFlags) | |
Get list of properties which have been modified since last loading. | |
PropertyRemove (FBProperty pProperty) | |
Remove a Property from the component's Property manager. | |
SetObjectFlags (FBObjectFlag pFlags) | |
SetObjectFlags. | |
SetObjectStatus (FBObjectStatus pStatus, bool pValue) | |
Enable/Disable a specific Object Status. | |
Additional Inherited Members | |
![]() | |
FBListComponent | Components |
List: List of components. | |
str | LongName |
Read Write Property: Name and namespace for object. | |
str | Name |
Read Write Property: Unique name of object. See sample: RemoveSuffixFromNameOfSceneElements.py. | |
FBListComponent | Parents |
List: Parents. | |
FBManager | PropertyList |
Read Only Property: Manages all of the properties for the component. | |
bool | Selected |
Read Write Property: Selected property. | |
int | TypeInfo |
Contains the Type information of the object. | |
![]() | |
str | ClassGroupName |
ClassGroupName of the object. | |
int | TypeInfo |
TypeInfo. | |
Audio In class.
Used to control Audio In objects (like a Microphone Audio Device).
FBAudioIn | ( | ) |
Constructor.
FBTime GetDelay | ( | ) |
Returns the delay currently set.
(Windows only).
FBAudioOut GetDestination | ( | ) |
Returns the Audio Out object currently used as the destination.
(Windows only).
FBAudioFmt GetRecordingFormat | ( | ) |
Returns the recording format (i.e.
Bit Depth, Rate and Channel(s)) currently set.
FBAudioFmt GetSupportedFormats | ( | ) |
Returns all the Audio In supported formats (i.e.
Bit Depths, Rates and Channels).
bool IsOnline | ( | ) |
Is the Audio In online?
bool IsReadyToRecord | ( | ) |
Is the Audio In ready to record (has it been prepared properly)?
bool PrepareToRecord | ( | str | pRecordingPath, |
FBExistingClipAction | pExistingClipAction = kFBExistingClipAskUser , |
||
FBExistingFileAction | pExistingFileAction = kFBExistingFileAskUser |
||
) |
Prepares the Audio In for recording (similar as checking the "Record" checkbox in the UI).
If the Audio In is not already online, it will turn it online automatically. If the Audio In is already ready to record, it will turn it off first automatically.
pRecordingPath | The file path for the desired output wav file. The file must have the .wav extension. |
pExistingClipAction | The action to perform when the action clip associated to the recording path is already in the scene. |
pExistingFileAction | The action to perform when the file associated to the recording path already exists on disk and it not empty. |
Sets the delay to use.
The Audio In must be offline when this method is called. (Windows only).
pDelay | The delay to use. To mimic the UI, the FBTime should refer to a frame number. |
bool SetDestination | ( | FBAudioOut | pAudioOut | ) |
Sets the Audio Out object to be used as the destination.
The Audio In must be offline when this method is called. (Windows only).
pAudioOut | The Audio Out object to be used as the destination. Use a NULL pointer (None in Python) to unset the destination. |
Turns Audio In online or offline.
pOnline | True to turn the Audio In online, false to turn it offline. |
bool SetRecordingFormat | ( | FBAudioFmt | pAudioFormat | ) |
Sets the recording format (i.e.
Bit Depth, Rate and Channel(s)) to use. The Audio In must be offline when this method is called.
pAudioFormat | The audio format to use for recording. It must specify a unique Bit Depth, Rate and Channels. |
bool TurnOffRecording | ( | ) |
Turns off the Audio In recording (similar as un-checking the "Record" checkbox in the UI).